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: { if (!HasAccountId) { AccountId = new global::Bgs.Protocol.Account.V1.AccountId(); } input.ReadMessage(AccountId); break; } case 16: { UniqueId = input.ReadUInt64(); break; } } } }
public void MergeFrom(UserOptions other) { if (other == null) { return; } if (other.HasTargetId) { if (!HasTargetId) { TargetId = new global::Bgs.Protocol.Account.V1.AccountId(); } TargetId.MergeFrom(other.TargetId); } if (other.HasType) { Type = other.Type; } if (other.HasSource) { Source = other.Source; } if (other.HasItem) { if (!HasItem) { Item = new global::Bgs.Protocol.Report.V2.ReportItem(); } Item.MergeFrom(other.Item); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
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: { if (!HasSubscriberId) { SubscriberId = new global::Bgs.Protocol.Account.V1.AccountId(); } input.ReadMessage(SubscriberId); break; } case 18: { state_.AddEntriesFrom(input, _repeated_state_codec); break; } } } }
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: { if (!HasAgentId) { AgentId = new global::Bgs.Protocol.Account.V1.AccountId(); } input.ReadMessage(AgentId); break; } case 18: { UserDescription = input.ReadString(); break; } case 24: { Program = input.ReadUInt32(); break; } case 82: { global::Bgs.Protocol.Report.V2.UserOptions subBuilder = new global::Bgs.Protocol.Report.V2.UserOptions(); if (HasUserOptions) { subBuilder.MergeFrom(UserOptions); } input.ReadMessage(subBuilder); UserOptions = subBuilder; break; } case 90: { global::Bgs.Protocol.Report.V2.ClubOptions subBuilder = new global::Bgs.Protocol.Report.V2.ClubOptions(); if (HasClubOptions) { subBuilder.MergeFrom(ClubOptions); } input.ReadMessage(subBuilder); ClubOptions = subBuilder; break; } } } }
public void MergeFrom(StateChangedNotification other) { if (other == null) { return; } if (other.HasSubscriberId) { if (!HasSubscriberId) { SubscriberId = new global::Bgs.Protocol.Account.V1.AccountId(); } SubscriberId.MergeFrom(other.SubscriberId); } state_.Add(other.state_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(SubmitReportRequest other) { if (other == null) { return; } if (other.HasAgentId) { if (!HasAgentId) { AgentId = new global::Bgs.Protocol.Account.V1.AccountId(); } AgentId.MergeFrom(other.AgentId); } if (other.HasUserDescription) { UserDescription = other.UserDescription; } switch (other.TypeCase) { case TypeOneofCase.UserOptions: if (UserOptions == null) { UserOptions = new global::Bgs.Protocol.Report.V2.UserOptions(); } UserOptions.MergeFrom(other.UserOptions); break; case TypeOneofCase.ClubOptions: if (ClubOptions == null) { ClubOptions = new global::Bgs.Protocol.Report.V2.ClubOptions(); } ClubOptions.MergeFrom(other.ClubOptions); break; case TypeOneofCase.EntityOptions: if (EntityOptions == null) { EntityOptions = new global::Bgs.Protocol.Report.V2.EntityOptions(); } EntityOptions.MergeFrom(other.EntityOptions); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
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: { if (!HasTargetId) { TargetId = new global::Bgs.Protocol.Account.V1.AccountId(); } input.ReadMessage(TargetId); break; } case 16: { Type = (global::Bgs.Protocol.Report.V2.IssueType)input.ReadEnum(); break; } case 24: { Source = (global::Bgs.Protocol.Report.V2.UserSource)input.ReadEnum(); break; } case 34: { if (!HasItem) { Item = new global::Bgs.Protocol.Report.V2.ReportItem(); } input.ReadMessage(Item); break; } } } }
public void MergeFrom(MemberId other) { if (other == null) { return; } if (other.HasAccountId) { if (!HasAccountId) { AccountId = new global::Bgs.Protocol.Account.V1.AccountId(); } AccountId.MergeFrom(other.AccountId); } if (other.HasUniqueId) { UniqueId = other.UniqueId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void ClearAgentId() { agentId_ = null; }
public void ClearTargetId() { targetId_ = null; }
public void ClearAccountId() { accountId_ = null; }
public void ClearSubscriberId() { subscriberId_ = null; }