1816 lines
66 KiB
C#
1816 lines
66 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: bgs/low/pb/client/club_membership_service.proto
|
|
// </auto-generated>
|
|
#pragma warning disable 1591, 0612, 3021
|
|
#region Designer generated code
|
|
|
|
using pb = global::Google.Protobuf;
|
|
using pbc = global::Google.Protobuf.Collections;
|
|
using pbr = global::Google.Protobuf.Reflection;
|
|
using scg = global::System.Collections.Generic;
|
|
namespace Bgs.Protocol.Club.V1.Membership {
|
|
|
|
/// <summary>Holder for reflection information generated from bgs/low/pb/client/club_membership_service.proto</summary>
|
|
public static partial class ClubMembershipServiceReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for bgs/low/pb/client/club_membership_service.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ClubMembershipServiceReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ci9iZ3MvbG93L3BiL2NsaWVudC9jbHViX21lbWJlcnNoaXBfc2VydmljZS5w",
|
|
"cm90bxIfYmdzLnByb3RvY29sLmNsdWIudjEubWVtYmVyc2hpcBoiYmdzL2xv",
|
|
"dy9wYi9jbGllbnQvY2x1Yl90eXBlcy5wcm90bxojYmdzL2xvdy9wYi9jbGll",
|
|
"bnQvY2x1Yl9zdHJlYW0ucHJvdG8aOWJncy9sb3cvcGIvY2xpZW50L2dsb2Jh",
|
|
"bF9leHRlbnNpb25zL21lc3NhZ2Vfb3B0aW9ucy5wcm90bxo3YmdzL2xvdy9w",
|
|
"Yi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvZmllbGRfb3B0aW9ucy5wcm90",
|
|
"bxo4YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvbWV0aG9k",
|
|
"X29wdGlvbnMucHJvdG8aOWJncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRl",
|
|
"bnNpb25zL3NlcnZpY2Vfb3B0aW9ucy5wcm90byKPAQoQU3Vic2NyaWJlUmVx",
|
|
"dWVzdBI0CghhZ2VudF9pZBgBIAEoCzIiLmJncy5wcm90b2NvbC5hY2NvdW50",
|
|
"LnYxLkFjY291bnRJZBJFCgdvcHRpb25zGAIgASgLMjQuYmdzLnByb3RvY29s",
|
|
"LmNsdWIudjEuQ2x1Yk1lbWJlcnNoaXBTdWJzY3JpYmVPcHRpb25zIk0KEVN1",
|
|
"YnNjcmliZVJlc3BvbnNlEjgKBXN0YXRlGAEgASgLMikuYmdzLnByb3RvY29s",
|
|
"LmNsdWIudjEuQ2x1Yk1lbWJlcnNoaXBTdGF0ZSJKChJVbnN1YnNjcmliZVJl",
|
|
"cXVlc3QSNAoIYWdlbnRfaWQYASABKAsyIi5iZ3MucHJvdG9jb2wuYWNjb3Vu",
|
|
"dC52MS5BY2NvdW50SWQijQEKD0dldFN0YXRlUmVxdWVzdBI0CghhZ2VudF9p",
|
|
"ZBgBIAEoCzIiLmJncy5wcm90b2NvbC5hY2NvdW50LnYxLkFjY291bnRJZBJE",
|
|
"CgdvcHRpb25zGAIgASgLMjMuYmdzLnByb3RvY29sLmNsdWIudjEuQ2x1Yk1l",
|
|
"bWJlcnNoaXBHZXRTdGF0ZU9wdGlvbnMiTAoQR2V0U3RhdGVSZXNwb25zZRI4",
|
|
"CgVzdGF0ZRgBIAEoCzIpLmJncy5wcm90b2NvbC5jbHViLnYxLkNsdWJNZW1i",
|
|
"ZXJzaGlwU3RhdGUimQEKH1VwZGF0ZUNsdWJTaGFyZWRTZXR0aW5nc1JlcXVl",
|
|
"c3QSNAoIYWdlbnRfaWQYASABKAsyIi5iZ3MucHJvdG9jb2wuYWNjb3VudC52",
|
|
"MS5BY2NvdW50SWQSQAoHb3B0aW9ucxgCIAEoCzIvLmJncy5wcm90b2NvbC5j",
|
|
"bHViLnYxLkNsdWJTaGFyZWRTZXR0aW5nc09wdGlvbnMimAEKGEdldFN0cmVh",
|
|
"bU1lbnRpb25zUmVxdWVzdBI0CghhZ2VudF9pZBgBIAEoCzIiLmJncy5wcm90",
|
|
"b2NvbC5hY2NvdW50LnYxLkFjY291bnRJZBIuCgdvcHRpb25zGAIgASgLMh0u",
|
|
"YmdzLnByb3RvY29sLkdldEV2ZW50T3B0aW9ucxIWCg5mZXRjaF9tZXNzYWdl",
|
|
"cxgDIAEoCCJnChlHZXRTdHJlYW1NZW50aW9uc1Jlc3BvbnNlEjQKB21lbnRp",
|
|
"b24YASADKAsyIy5iZ3MucHJvdG9jb2wuY2x1Yi52MS5TdHJlYW1NZW50aW9u",
|
|
"EhQKDGNvbnRpbnVhdGlvbhgCIAEoBCKDAQobUmVtb3ZlU3RyZWFtTWVudGlv",
|
|
"bnNSZXF1ZXN0EjQKCGFnZW50X2lkGAEgASgLMiIuYmdzLnByb3RvY29sLmFj",
|
|
"Y291bnQudjEuQWNjb3VudElkEi4KCm1lbnRpb25faWQYAiADKAsyGi5iZ3Mu",
|
|
"cHJvdG9jb2wuVGltZVNlcmllc0lkIlsKI0FkdmFuY2VTdHJlYW1NZW50aW9u",
|
|
"Vmlld1RpbWVSZXF1ZXN0EjQKCGFnZW50X2lkGAEgASgLMiIuYmdzLnByb3Rv",
|
|
"Y29sLmFjY291bnQudjEuQWNjb3VudElkMswHChVDbHViTWVtYmVyc2hpcFNl",
|
|
"cnZpY2USegoJU3Vic2NyaWJlEjEuYmdzLnByb3RvY29sLmNsdWIudjEubWVt",
|
|
"YmVyc2hpcC5TdWJzY3JpYmVSZXF1ZXN0GjIuYmdzLnByb3RvY29sLmNsdWIu",
|
|
"djEubWVtYmVyc2hpcC5TdWJzY3JpYmVSZXNwb25zZSIGgvkrAggBEmAKC1Vu",
|
|
"c3Vic2NyaWJlEjMuYmdzLnByb3RvY29sLmNsdWIudjEubWVtYmVyc2hpcC5V",
|
|
"bnN1YnNjcmliZVJlcXVlc3QaFC5iZ3MucHJvdG9jb2wuTm9EYXRhIgaC+SsC",
|
|
"CAISdwoIR2V0U3RhdGUSMC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5tZW1iZXJz",
|
|
"aGlwLkdldFN0YXRlUmVxdWVzdBoxLmJncy5wcm90b2NvbC5jbHViLnYxLm1l",
|
|
"bWJlcnNoaXAuR2V0U3RhdGVSZXNwb25zZSIGgvkrAggDEnoKGFVwZGF0ZUNs",
|
|
"dWJTaGFyZWRTZXR0aW5ncxJALmJncy5wcm90b2NvbC5jbHViLnYxLm1lbWJl",
|
|
"cnNoaXAuVXBkYXRlQ2x1YlNoYXJlZFNldHRpbmdzUmVxdWVzdBoULmJncy5w",
|
|
"cm90b2NvbC5Ob0RhdGEiBoL5KwIIBBKSAQoRR2V0U3RyZWFtTWVudGlvbnMS",
|
|
"OS5iZ3MucHJvdG9jb2wuY2x1Yi52MS5tZW1iZXJzaGlwLkdldFN0cmVhbU1l",
|
|
"bnRpb25zUmVxdWVzdBo6LmJncy5wcm90b2NvbC5jbHViLnYxLm1lbWJlcnNo",
|
|
"aXAuR2V0U3RyZWFtTWVudGlvbnNSZXNwb25zZSIGgvkrAggFEnIKFFJlbW92",
|
|
"ZVN0cmVhbU1lbnRpb25zEjwuYmdzLnByb3RvY29sLmNsdWIudjEubWVtYmVy",
|
|
"c2hpcC5SZW1vdmVTdHJlYW1NZW50aW9uc1JlcXVlc3QaFC5iZ3MucHJvdG9j",
|
|
"b2wuTm9EYXRhIgaC+SsCCAYSggEKHEFkdmFuY2VTdHJlYW1NZW50aW9uVmll",
|
|
"d1RpbWUSRC5iZ3MucHJvdG9jb2wuY2x1Yi52MS5tZW1iZXJzaGlwLkFkdmFu",
|
|
"Y2VTdHJlYW1NZW50aW9uVmlld1RpbWVSZXF1ZXN0GhQuYmdzLnByb3RvY29s",
|
|
"Lk5vRGF0YSIGgvkrAggHGlKC+SstCitibmV0LnByb3RvY29sLmNsdWIudjEu",
|
|
"Q2x1Yk1lbWJlcnNoaXBTZXJ2aWNlgvkrESoPY2x1Yl9tZW1iZXJzaGlwivkr",
|
|
"AhABivkrAhgBQgOAAQA="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::Bgs.Protocol.Club.V1.ClubTypesReflection.Descriptor, global::Bgs.Protocol.Club.V1.ClubStreamReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Membership.SubscribeRequest), global::Bgs.Protocol.Club.V1.Membership.SubscribeRequest.Parser, new[]{ "AgentId", "Options" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Membership.SubscribeResponse), global::Bgs.Protocol.Club.V1.Membership.SubscribeResponse.Parser, new[]{ "State" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Membership.UnsubscribeRequest), global::Bgs.Protocol.Club.V1.Membership.UnsubscribeRequest.Parser, new[]{ "AgentId" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Membership.GetStateRequest), global::Bgs.Protocol.Club.V1.Membership.GetStateRequest.Parser, new[]{ "AgentId", "Options" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Membership.GetStateResponse), global::Bgs.Protocol.Club.V1.Membership.GetStateResponse.Parser, new[]{ "State" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Membership.UpdateClubSharedSettingsRequest), global::Bgs.Protocol.Club.V1.Membership.UpdateClubSharedSettingsRequest.Parser, new[]{ "AgentId", "Options" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Membership.GetStreamMentionsRequest), global::Bgs.Protocol.Club.V1.Membership.GetStreamMentionsRequest.Parser, new[]{ "AgentId", "Options", "FetchMessages" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Membership.GetStreamMentionsResponse), global::Bgs.Protocol.Club.V1.Membership.GetStreamMentionsResponse.Parser, new[]{ "Mention", "Continuation" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Membership.RemoveStreamMentionsRequest), global::Bgs.Protocol.Club.V1.Membership.RemoveStreamMentionsRequest.Parser, new[]{ "AgentId", "MentionId" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Club.V1.Membership.AdvanceStreamMentionViewTimeRequest), global::Bgs.Protocol.Club.V1.Membership.AdvanceStreamMentionViewTimeRequest.Parser, new[]{ "AgentId" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
public sealed partial class SubscribeRequest : pb::IMessage<SubscribeRequest> {
|
|
private static readonly pb::MessageParser<SubscribeRequest> _parser = new pb::MessageParser<SubscribeRequest>(() => new SubscribeRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<SubscribeRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[0]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public SubscribeRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public SubscribeRequest(SubscribeRequest other) : this() {
|
|
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
|
|
options_ = other.HasOptions ? other.options_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public SubscribeRequest Clone() {
|
|
return new SubscribeRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "agent_id" field.</summary>
|
|
public const int AgentIdFieldNumber = 1;
|
|
private global::Bgs.Protocol.Account.V1.AccountId agentId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.Account.V1.AccountId AgentId {
|
|
get { return agentId_; }
|
|
set {
|
|
agentId_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the agent_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasAgentId {
|
|
get { return agentId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the agent_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearAgentId() {
|
|
agentId_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "options" field.</summary>
|
|
public const int OptionsFieldNumber = 2;
|
|
private global::Bgs.Protocol.Club.V1.ClubMembershipSubscribeOptions options_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.Club.V1.ClubMembershipSubscribeOptions Options {
|
|
get { return options_; }
|
|
set {
|
|
options_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the options field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasOptions {
|
|
get { return options_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the options field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearOptions() {
|
|
options_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as SubscribeRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(SubscribeRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(AgentId, other.AgentId)) return false;
|
|
if (!object.Equals(Options, other.Options)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasAgentId) hash ^= AgentId.GetHashCode();
|
|
if (HasOptions) hash ^= Options.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
if (HasAgentId) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(AgentId);
|
|
}
|
|
if (HasOptions) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Options);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasAgentId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
|
|
}
|
|
if (HasOptions) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(SubscribeRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasAgentId) {
|
|
if (!HasAgentId) {
|
|
AgentId = new global::Bgs.Protocol.Account.V1.AccountId();
|
|
}
|
|
AgentId.MergeFrom(other.AgentId);
|
|
}
|
|
if (other.HasOptions) {
|
|
if (!HasOptions) {
|
|
Options = new global::Bgs.Protocol.Club.V1.ClubMembershipSubscribeOptions();
|
|
}
|
|
Options.MergeFrom(other.Options);
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
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: {
|
|
if (!HasOptions) {
|
|
Options = new global::Bgs.Protocol.Club.V1.ClubMembershipSubscribeOptions();
|
|
}
|
|
input.ReadMessage(Options);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class SubscribeResponse : pb::IMessage<SubscribeResponse> {
|
|
private static readonly pb::MessageParser<SubscribeResponse> _parser = new pb::MessageParser<SubscribeResponse>(() => new SubscribeResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<SubscribeResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[1]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public SubscribeResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public SubscribeResponse(SubscribeResponse other) : this() {
|
|
state_ = other.HasState ? other.state_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public SubscribeResponse Clone() {
|
|
return new SubscribeResponse(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "state" field.</summary>
|
|
public const int StateFieldNumber = 1;
|
|
private global::Bgs.Protocol.Club.V1.ClubMembershipState state_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.Club.V1.ClubMembershipState State {
|
|
get { return state_; }
|
|
set {
|
|
state_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the state field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasState {
|
|
get { return state_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the state field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearState() {
|
|
state_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as SubscribeResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(SubscribeResponse other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(State, other.State)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasState) hash ^= State.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
if (HasState) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(State);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasState) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(State);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(SubscribeResponse other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasState) {
|
|
if (!HasState) {
|
|
State = new global::Bgs.Protocol.Club.V1.ClubMembershipState();
|
|
}
|
|
State.MergeFrom(other.State);
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
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 (!HasState) {
|
|
State = new global::Bgs.Protocol.Club.V1.ClubMembershipState();
|
|
}
|
|
input.ReadMessage(State);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class UnsubscribeRequest : pb::IMessage<UnsubscribeRequest> {
|
|
private static readonly pb::MessageParser<UnsubscribeRequest> _parser = new pb::MessageParser<UnsubscribeRequest>(() => new UnsubscribeRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<UnsubscribeRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[2]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public UnsubscribeRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public UnsubscribeRequest(UnsubscribeRequest other) : this() {
|
|
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public UnsubscribeRequest Clone() {
|
|
return new UnsubscribeRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "agent_id" field.</summary>
|
|
public const int AgentIdFieldNumber = 1;
|
|
private global::Bgs.Protocol.Account.V1.AccountId agentId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.Account.V1.AccountId AgentId {
|
|
get { return agentId_; }
|
|
set {
|
|
agentId_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the agent_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasAgentId {
|
|
get { return agentId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the agent_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearAgentId() {
|
|
agentId_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as UnsubscribeRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(UnsubscribeRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(AgentId, other.AgentId)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasAgentId) hash ^= AgentId.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
if (HasAgentId) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(AgentId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasAgentId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(UnsubscribeRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasAgentId) {
|
|
if (!HasAgentId) {
|
|
AgentId = new global::Bgs.Protocol.Account.V1.AccountId();
|
|
}
|
|
AgentId.MergeFrom(other.AgentId);
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GetStateRequest : pb::IMessage<GetStateRequest> {
|
|
private static readonly pb::MessageParser<GetStateRequest> _parser = new pb::MessageParser<GetStateRequest>(() => new GetStateRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GetStateRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[3]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetStateRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetStateRequest(GetStateRequest other) : this() {
|
|
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
|
|
options_ = other.HasOptions ? other.options_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetStateRequest Clone() {
|
|
return new GetStateRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "agent_id" field.</summary>
|
|
public const int AgentIdFieldNumber = 1;
|
|
private global::Bgs.Protocol.Account.V1.AccountId agentId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.Account.V1.AccountId AgentId {
|
|
get { return agentId_; }
|
|
set {
|
|
agentId_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the agent_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasAgentId {
|
|
get { return agentId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the agent_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearAgentId() {
|
|
agentId_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "options" field.</summary>
|
|
public const int OptionsFieldNumber = 2;
|
|
private global::Bgs.Protocol.Club.V1.ClubMembershipGetStateOptions options_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.Club.V1.ClubMembershipGetStateOptions Options {
|
|
get { return options_; }
|
|
set {
|
|
options_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the options field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasOptions {
|
|
get { return options_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the options field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearOptions() {
|
|
options_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetStateRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GetStateRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(AgentId, other.AgentId)) return false;
|
|
if (!object.Equals(Options, other.Options)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasAgentId) hash ^= AgentId.GetHashCode();
|
|
if (HasOptions) hash ^= Options.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
if (HasAgentId) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(AgentId);
|
|
}
|
|
if (HasOptions) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Options);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasAgentId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
|
|
}
|
|
if (HasOptions) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GetStateRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasAgentId) {
|
|
if (!HasAgentId) {
|
|
AgentId = new global::Bgs.Protocol.Account.V1.AccountId();
|
|
}
|
|
AgentId.MergeFrom(other.AgentId);
|
|
}
|
|
if (other.HasOptions) {
|
|
if (!HasOptions) {
|
|
Options = new global::Bgs.Protocol.Club.V1.ClubMembershipGetStateOptions();
|
|
}
|
|
Options.MergeFrom(other.Options);
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
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: {
|
|
if (!HasOptions) {
|
|
Options = new global::Bgs.Protocol.Club.V1.ClubMembershipGetStateOptions();
|
|
}
|
|
input.ReadMessage(Options);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GetStateResponse : pb::IMessage<GetStateResponse> {
|
|
private static readonly pb::MessageParser<GetStateResponse> _parser = new pb::MessageParser<GetStateResponse>(() => new GetStateResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GetStateResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[4]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetStateResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetStateResponse(GetStateResponse other) : this() {
|
|
state_ = other.HasState ? other.state_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetStateResponse Clone() {
|
|
return new GetStateResponse(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "state" field.</summary>
|
|
public const int StateFieldNumber = 1;
|
|
private global::Bgs.Protocol.Club.V1.ClubMembershipState state_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.Club.V1.ClubMembershipState State {
|
|
get { return state_; }
|
|
set {
|
|
state_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the state field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasState {
|
|
get { return state_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the state field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearState() {
|
|
state_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetStateResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GetStateResponse other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(State, other.State)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasState) hash ^= State.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
if (HasState) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(State);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasState) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(State);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GetStateResponse other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasState) {
|
|
if (!HasState) {
|
|
State = new global::Bgs.Protocol.Club.V1.ClubMembershipState();
|
|
}
|
|
State.MergeFrom(other.State);
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
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 (!HasState) {
|
|
State = new global::Bgs.Protocol.Club.V1.ClubMembershipState();
|
|
}
|
|
input.ReadMessage(State);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class UpdateClubSharedSettingsRequest : pb::IMessage<UpdateClubSharedSettingsRequest> {
|
|
private static readonly pb::MessageParser<UpdateClubSharedSettingsRequest> _parser = new pb::MessageParser<UpdateClubSharedSettingsRequest>(() => new UpdateClubSharedSettingsRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<UpdateClubSharedSettingsRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[5]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public UpdateClubSharedSettingsRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public UpdateClubSharedSettingsRequest(UpdateClubSharedSettingsRequest other) : this() {
|
|
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
|
|
options_ = other.HasOptions ? other.options_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public UpdateClubSharedSettingsRequest Clone() {
|
|
return new UpdateClubSharedSettingsRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "agent_id" field.</summary>
|
|
public const int AgentIdFieldNumber = 1;
|
|
private global::Bgs.Protocol.Account.V1.AccountId agentId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.Account.V1.AccountId AgentId {
|
|
get { return agentId_; }
|
|
set {
|
|
agentId_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the agent_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasAgentId {
|
|
get { return agentId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the agent_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearAgentId() {
|
|
agentId_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "options" field.</summary>
|
|
public const int OptionsFieldNumber = 2;
|
|
private global::Bgs.Protocol.Club.V1.ClubSharedSettingsOptions options_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.Club.V1.ClubSharedSettingsOptions Options {
|
|
get { return options_; }
|
|
set {
|
|
options_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the options field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasOptions {
|
|
get { return options_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the options field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearOptions() {
|
|
options_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as UpdateClubSharedSettingsRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(UpdateClubSharedSettingsRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(AgentId, other.AgentId)) return false;
|
|
if (!object.Equals(Options, other.Options)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasAgentId) hash ^= AgentId.GetHashCode();
|
|
if (HasOptions) hash ^= Options.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
if (HasAgentId) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(AgentId);
|
|
}
|
|
if (HasOptions) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Options);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasAgentId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
|
|
}
|
|
if (HasOptions) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(UpdateClubSharedSettingsRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasAgentId) {
|
|
if (!HasAgentId) {
|
|
AgentId = new global::Bgs.Protocol.Account.V1.AccountId();
|
|
}
|
|
AgentId.MergeFrom(other.AgentId);
|
|
}
|
|
if (other.HasOptions) {
|
|
if (!HasOptions) {
|
|
Options = new global::Bgs.Protocol.Club.V1.ClubSharedSettingsOptions();
|
|
}
|
|
Options.MergeFrom(other.Options);
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
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: {
|
|
if (!HasOptions) {
|
|
Options = new global::Bgs.Protocol.Club.V1.ClubSharedSettingsOptions();
|
|
}
|
|
input.ReadMessage(Options);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GetStreamMentionsRequest : pb::IMessage<GetStreamMentionsRequest> {
|
|
private static readonly pb::MessageParser<GetStreamMentionsRequest> _parser = new pb::MessageParser<GetStreamMentionsRequest>(() => new GetStreamMentionsRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
private int _hasBits0;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GetStreamMentionsRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[6]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetStreamMentionsRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetStreamMentionsRequest(GetStreamMentionsRequest other) : this() {
|
|
_hasBits0 = other._hasBits0;
|
|
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
|
|
options_ = other.HasOptions ? other.options_.Clone() : null;
|
|
fetchMessages_ = other.fetchMessages_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetStreamMentionsRequest Clone() {
|
|
return new GetStreamMentionsRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "agent_id" field.</summary>
|
|
public const int AgentIdFieldNumber = 1;
|
|
private global::Bgs.Protocol.Account.V1.AccountId agentId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.Account.V1.AccountId AgentId {
|
|
get { return agentId_; }
|
|
set {
|
|
agentId_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the agent_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasAgentId {
|
|
get { return agentId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the agent_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearAgentId() {
|
|
agentId_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "options" field.</summary>
|
|
public const int OptionsFieldNumber = 2;
|
|
private global::Bgs.Protocol.GetEventOptions options_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.GetEventOptions Options {
|
|
get { return options_; }
|
|
set {
|
|
options_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the options field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasOptions {
|
|
get { return options_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the options field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearOptions() {
|
|
options_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "fetch_messages" field.</summary>
|
|
public const int FetchMessagesFieldNumber = 3;
|
|
private readonly static bool FetchMessagesDefaultValue = false;
|
|
|
|
private bool fetchMessages_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool FetchMessages {
|
|
get { if ((_hasBits0 & 1) != 0) { return fetchMessages_; } else { return FetchMessagesDefaultValue; } }
|
|
set {
|
|
_hasBits0 |= 1;
|
|
fetchMessages_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the "fetch_messages" field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasFetchMessages {
|
|
get { return (_hasBits0 & 1) != 0; }
|
|
}
|
|
/// <summary>Clears the value of the "fetch_messages" field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearFetchMessages() {
|
|
_hasBits0 &= ~1;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetStreamMentionsRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GetStreamMentionsRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(AgentId, other.AgentId)) return false;
|
|
if (!object.Equals(Options, other.Options)) return false;
|
|
if (FetchMessages != other.FetchMessages) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasAgentId) hash ^= AgentId.GetHashCode();
|
|
if (HasOptions) hash ^= Options.GetHashCode();
|
|
if (HasFetchMessages) hash ^= FetchMessages.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
if (HasAgentId) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(AgentId);
|
|
}
|
|
if (HasOptions) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(Options);
|
|
}
|
|
if (HasFetchMessages) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(FetchMessages);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasAgentId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
|
|
}
|
|
if (HasOptions) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
|
|
}
|
|
if (HasFetchMessages) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GetStreamMentionsRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasAgentId) {
|
|
if (!HasAgentId) {
|
|
AgentId = new global::Bgs.Protocol.Account.V1.AccountId();
|
|
}
|
|
AgentId.MergeFrom(other.AgentId);
|
|
}
|
|
if (other.HasOptions) {
|
|
if (!HasOptions) {
|
|
Options = new global::Bgs.Protocol.GetEventOptions();
|
|
}
|
|
Options.MergeFrom(other.Options);
|
|
}
|
|
if (other.HasFetchMessages) {
|
|
FetchMessages = other.FetchMessages;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
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: {
|
|
if (!HasOptions) {
|
|
Options = new global::Bgs.Protocol.GetEventOptions();
|
|
}
|
|
input.ReadMessage(Options);
|
|
break;
|
|
}
|
|
case 24: {
|
|
FetchMessages = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class GetStreamMentionsResponse : pb::IMessage<GetStreamMentionsResponse> {
|
|
private static readonly pb::MessageParser<GetStreamMentionsResponse> _parser = new pb::MessageParser<GetStreamMentionsResponse>(() => new GetStreamMentionsResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
private int _hasBits0;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<GetStreamMentionsResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[7]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetStreamMentionsResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetStreamMentionsResponse(GetStreamMentionsResponse other) : this() {
|
|
_hasBits0 = other._hasBits0;
|
|
mention_ = other.mention_.Clone();
|
|
continuation_ = other.continuation_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public GetStreamMentionsResponse Clone() {
|
|
return new GetStreamMentionsResponse(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "mention" field.</summary>
|
|
public const int MentionFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Bgs.Protocol.Club.V1.StreamMention> _repeated_mention_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Bgs.Protocol.Club.V1.StreamMention.Parser);
|
|
private readonly pbc::RepeatedField<global::Bgs.Protocol.Club.V1.StreamMention> mention_ = new pbc::RepeatedField<global::Bgs.Protocol.Club.V1.StreamMention>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Bgs.Protocol.Club.V1.StreamMention> Mention {
|
|
get { return mention_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "continuation" field.</summary>
|
|
public const int ContinuationFieldNumber = 2;
|
|
private readonly static ulong ContinuationDefaultValue = 0UL;
|
|
|
|
private ulong continuation_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public ulong Continuation {
|
|
get { if ((_hasBits0 & 1) != 0) { return continuation_; } else { return ContinuationDefaultValue; } }
|
|
set {
|
|
_hasBits0 |= 1;
|
|
continuation_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the "continuation" field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasContinuation {
|
|
get { return (_hasBits0 & 1) != 0; }
|
|
}
|
|
/// <summary>Clears the value of the "continuation" field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearContinuation() {
|
|
_hasBits0 &= ~1;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetStreamMentionsResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(GetStreamMentionsResponse other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!mention_.Equals(other.mention_)) return false;
|
|
if (Continuation != other.Continuation) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
hash ^= mention_.GetHashCode();
|
|
if (HasContinuation) hash ^= Continuation.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
mention_.WriteTo(output, _repeated_mention_codec);
|
|
if (HasContinuation) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt64(Continuation);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += mention_.CalculateSize(_repeated_mention_codec);
|
|
if (HasContinuation) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Continuation);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(GetStreamMentionsResponse other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
mention_.Add(other.mention_);
|
|
if (other.HasContinuation) {
|
|
Continuation = other.Continuation;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
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: {
|
|
mention_.AddEntriesFrom(input, _repeated_mention_codec);
|
|
break;
|
|
}
|
|
case 16: {
|
|
Continuation = input.ReadUInt64();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class RemoveStreamMentionsRequest : pb::IMessage<RemoveStreamMentionsRequest> {
|
|
private static readonly pb::MessageParser<RemoveStreamMentionsRequest> _parser = new pb::MessageParser<RemoveStreamMentionsRequest>(() => new RemoveStreamMentionsRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<RemoveStreamMentionsRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[8]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public RemoveStreamMentionsRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public RemoveStreamMentionsRequest(RemoveStreamMentionsRequest other) : this() {
|
|
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
|
|
mentionId_ = other.mentionId_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public RemoveStreamMentionsRequest Clone() {
|
|
return new RemoveStreamMentionsRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "agent_id" field.</summary>
|
|
public const int AgentIdFieldNumber = 1;
|
|
private global::Bgs.Protocol.Account.V1.AccountId agentId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.Account.V1.AccountId AgentId {
|
|
get { return agentId_; }
|
|
set {
|
|
agentId_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the agent_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasAgentId {
|
|
get { return agentId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the agent_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearAgentId() {
|
|
agentId_ = null;
|
|
}
|
|
|
|
/// <summary>Field number for the "mention_id" field.</summary>
|
|
public const int MentionIdFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<global::Bgs.Protocol.TimeSeriesId> _repeated_mentionId_codec
|
|
= pb::FieldCodec.ForMessage(18, global::Bgs.Protocol.TimeSeriesId.Parser);
|
|
private readonly pbc::RepeatedField<global::Bgs.Protocol.TimeSeriesId> mentionId_ = new pbc::RepeatedField<global::Bgs.Protocol.TimeSeriesId>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Bgs.Protocol.TimeSeriesId> MentionId {
|
|
get { return mentionId_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RemoveStreamMentionsRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(RemoveStreamMentionsRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(AgentId, other.AgentId)) return false;
|
|
if(!mentionId_.Equals(other.mentionId_)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasAgentId) hash ^= AgentId.GetHashCode();
|
|
hash ^= mentionId_.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
if (HasAgentId) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(AgentId);
|
|
}
|
|
mentionId_.WriteTo(output, _repeated_mentionId_codec);
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasAgentId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
|
|
}
|
|
size += mentionId_.CalculateSize(_repeated_mentionId_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(RemoveStreamMentionsRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasAgentId) {
|
|
if (!HasAgentId) {
|
|
AgentId = new global::Bgs.Protocol.Account.V1.AccountId();
|
|
}
|
|
AgentId.MergeFrom(other.AgentId);
|
|
}
|
|
mentionId_.Add(other.mentionId_);
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
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: {
|
|
mentionId_.AddEntriesFrom(input, _repeated_mentionId_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class AdvanceStreamMentionViewTimeRequest : pb::IMessage<AdvanceStreamMentionViewTimeRequest> {
|
|
private static readonly pb::MessageParser<AdvanceStreamMentionViewTimeRequest> _parser = new pb::MessageParser<AdvanceStreamMentionViewTimeRequest>(() => new AdvanceStreamMentionViewTimeRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<AdvanceStreamMentionViewTimeRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Bgs.Protocol.Club.V1.Membership.ClubMembershipServiceReflection.Descriptor.MessageTypes[9]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public AdvanceStreamMentionViewTimeRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public AdvanceStreamMentionViewTimeRequest(AdvanceStreamMentionViewTimeRequest other) : this() {
|
|
agentId_ = other.HasAgentId ? other.agentId_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public AdvanceStreamMentionViewTimeRequest Clone() {
|
|
return new AdvanceStreamMentionViewTimeRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "agent_id" field.</summary>
|
|
public const int AgentIdFieldNumber = 1;
|
|
private global::Bgs.Protocol.Account.V1.AccountId agentId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public global::Bgs.Protocol.Account.V1.AccountId AgentId {
|
|
get { return agentId_; }
|
|
set {
|
|
agentId_ = value;
|
|
}
|
|
}
|
|
/// <summary>Gets whether the agent_id field is set</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool HasAgentId {
|
|
get { return agentId_ != null; }
|
|
}
|
|
/// <summary>Clears the value of the agent_id field</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void ClearAgentId() {
|
|
agentId_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as AdvanceStreamMentionViewTimeRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(AdvanceStreamMentionViewTimeRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(AgentId, other.AgentId)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (HasAgentId) hash ^= AgentId.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
if (HasAgentId) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(AgentId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (HasAgentId) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AgentId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(AdvanceStreamMentionViewTimeRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.HasAgentId) {
|
|
if (!HasAgentId) {
|
|
AgentId = new global::Bgs.Protocol.Account.V1.AccountId();
|
|
}
|
|
AgentId.MergeFrom(other.AgentId);
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|