public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Name = input.ReadString(); break; } case 18: { ConnectionGroupId = input.ReadString(); break; } case 24: { Privacy = (global::Tron.Protocol.Messages.Common.Privacy)input.ReadEnum(); break; } } } }
public void MergeFrom(Request other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.ConnectionGroupId.Length != 0) { ConnectionGroupId = other.ConnectionGroupId; } if (other.Privacy != global::Tron.Protocol.Messages.Common.Privacy.Public) { Privacy = other.Privacy; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }