// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: bgs/low/pb/client/challenge_service.proto // #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.Challenge.V1 { /// Holder for reflection information generated from bgs/low/pb/client/challenge_service.proto public static partial class ChallengeServiceReflection { #region Descriptor /// File descriptor for bgs/low/pb/client/challenge_service.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ChallengeServiceReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiliZ3MvbG93L3BiL2NsaWVudC9jaGFsbGVuZ2Vfc2VydmljZS5wcm90bxIZ", "YmdzLnByb3RvY29sLmNoYWxsZW5nZS52MRohYmdzL2xvdy9wYi9jbGllbnQv", "cnBjX3R5cGVzLnByb3RvGjdiZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0", "ZW5zaW9ucy9maWVsZF9vcHRpb25zLnByb3RvGjliZ3MvbG93L3BiL2NsaWVu", "dC9nbG9iYWxfZXh0ZW5zaW9ucy9tZXNzYWdlX29wdGlvbnMucHJvdG8aOGJn", "cy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRlbnNpb25zL21ldGhvZF9vcHRp", "b25zLnByb3RvGjliZ3MvbG93L3BiL2NsaWVudC9nbG9iYWxfZXh0ZW5zaW9u", "cy9zZXJ2aWNlX29wdGlvbnMucHJvdG8iWAoYQ2hhbGxlbmdlRXh0ZXJuYWxS", "ZXF1ZXN0EhUKDXJlcXVlc3RfdG9rZW4YASABKAkSFAoMcGF5bG9hZF90eXBl", "GAIgASgJEg8KB3BheWxvYWQYAyABKAwiRgoXQ2hhbGxlbmdlRXh0ZXJuYWxS", "ZXN1bHQSFQoNcmVxdWVzdF90b2tlbhgBIAEoCRIUCgZwYXNzZWQYAiABKAg6", "BHRydWUytwIKEUNoYWxsZW5nZUxpc3RlbmVyEm0KE09uRXh0ZXJuYWxDaGFs", "bGVuZ2USMy5iZ3MucHJvdG9jb2wuY2hhbGxlbmdlLnYxLkNoYWxsZW5nZUV4", "dGVybmFsUmVxdWVzdBoZLmJncy5wcm90b2NvbC5OT19SRVNQT05TRSIGgvkr", "AggDEnIKGU9uRXh0ZXJuYWxDaGFsbGVuZ2VSZXN1bHQSMi5iZ3MucHJvdG9j", "b2wuY2hhbGxlbmdlLnYxLkNoYWxsZW5nZUV4dGVybmFsUmVzdWx0GhkuYmdz", "LnByb3RvY29sLk5PX1JFU1BPTlNFIgaC+SsCCAQaP4L5KykKJ2JuZXQucHJv", "dG9jb2wuY2hhbGxlbmdlLkNoYWxsZW5nZU5vdGlmeYL5KwI4AYr5KwIIAYr5", "KwIgAUIDgAEA")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.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.Challenge.V1.ChallengeExternalRequest), global::Bgs.Protocol.Challenge.V1.ChallengeExternalRequest.Parser, new[]{ "RequestToken", "PayloadType", "Payload" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Challenge.V1.ChallengeExternalResult), global::Bgs.Protocol.Challenge.V1.ChallengeExternalResult.Parser, new[]{ "RequestToken", "Passed" }, null, null, null, null) })); } #endregion } #region Messages public sealed partial class ChallengeExternalRequest : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChallengeExternalRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.Challenge.V1.ChallengeServiceReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ChallengeExternalRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ChallengeExternalRequest(ChallengeExternalRequest other) : this() { requestToken_ = other.requestToken_; payloadType_ = other.payloadType_; payload_ = other.payload_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ChallengeExternalRequest Clone() { return new ChallengeExternalRequest(this); } /// Field number for the "request_token" field. public const int RequestTokenFieldNumber = 1; private readonly static string RequestTokenDefaultValue = ""; private string requestToken_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string RequestToken { get { return requestToken_ ?? RequestTokenDefaultValue; } set { requestToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "request_token" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasRequestToken { get { return requestToken_ != null; } } /// Clears the value of the "request_token" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearRequestToken() { requestToken_ = null; } /// Field number for the "payload_type" field. public const int PayloadTypeFieldNumber = 2; private readonly static string PayloadTypeDefaultValue = ""; private string payloadType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string PayloadType { get { return payloadType_ ?? PayloadTypeDefaultValue; } set { payloadType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "payload_type" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasPayloadType { get { return payloadType_ != null; } } /// Clears the value of the "payload_type" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearPayloadType() { payloadType_ = null; } /// Field number for the "payload" field. public const int PayloadFieldNumber = 3; private readonly static pb::ByteString PayloadDefaultValue = pb::ByteString.Empty; private pb::ByteString payload_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pb::ByteString Payload { get { return payload_ ?? PayloadDefaultValue; } set { payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "payload" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasPayload { get { return payload_ != null; } } /// Clears the value of the "payload" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearPayload() { payload_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ChallengeExternalRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(ChallengeExternalRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RequestToken != other.RequestToken) return false; if (PayloadType != other.PayloadType) return false; if (Payload != other.Payload) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasRequestToken) hash ^= RequestToken.GetHashCode(); if (HasPayloadType) hash ^= PayloadType.GetHashCode(); if (HasPayload) hash ^= Payload.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 (HasRequestToken) { output.WriteRawTag(10); output.WriteString(RequestToken); } if (HasPayloadType) { output.WriteRawTag(18); output.WriteString(PayloadType); } if (HasPayload) { output.WriteRawTag(26); output.WriteBytes(Payload); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasRequestToken) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RequestToken); } if (HasPayloadType) { size += 1 + pb::CodedOutputStream.ComputeStringSize(PayloadType); } if (HasPayload) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(ChallengeExternalRequest other) { if (other == null) { return; } if (other.HasRequestToken) { RequestToken = other.RequestToken; } if (other.HasPayloadType) { PayloadType = other.PayloadType; } if (other.HasPayload) { Payload = other.Payload; } _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: { RequestToken = input.ReadString(); break; } case 18: { PayloadType = input.ReadString(); break; } case 26: { Payload = input.ReadBytes(); break; } } } } } public sealed partial class ChallengeExternalResult : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChallengeExternalResult()); private pb::UnknownFieldSet _unknownFields; private int _hasBits0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Bgs.Protocol.Challenge.V1.ChallengeServiceReflection.Descriptor.MessageTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ChallengeExternalResult() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ChallengeExternalResult(ChallengeExternalResult other) : this() { _hasBits0 = other._hasBits0; requestToken_ = other.requestToken_; passed_ = other.passed_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ChallengeExternalResult Clone() { return new ChallengeExternalResult(this); } /// Field number for the "request_token" field. public const int RequestTokenFieldNumber = 1; private readonly static string RequestTokenDefaultValue = ""; private string requestToken_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public string RequestToken { get { return requestToken_ ?? RequestTokenDefaultValue; } set { requestToken_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Gets whether the "request_token" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasRequestToken { get { return requestToken_ != null; } } /// Clears the value of the "request_token" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearRequestToken() { requestToken_ = null; } /// Field number for the "passed" field. public const int PassedFieldNumber = 2; private readonly static bool PassedDefaultValue = true; private bool passed_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Passed { get { if ((_hasBits0 & 1) != 0) { return passed_; } else { return PassedDefaultValue; } } set { _hasBits0 |= 1; passed_ = value; } } /// Gets whether the "passed" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool HasPassed { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "passed" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void ClearPassed() { _hasBits0 &= ~1; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ChallengeExternalResult); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(ChallengeExternalResult other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RequestToken != other.RequestToken) return false; if (Passed != other.Passed) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; if (HasRequestToken) hash ^= RequestToken.GetHashCode(); if (HasPassed) hash ^= Passed.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 (HasRequestToken) { output.WriteRawTag(10); output.WriteString(RequestToken); } if (HasPassed) { output.WriteRawTag(16); output.WriteBool(Passed); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; if (HasRequestToken) { size += 1 + pb::CodedOutputStream.ComputeStringSize(RequestToken); } if (HasPassed) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(ChallengeExternalResult other) { if (other == null) { return; } if (other.HasRequestToken) { RequestToken = other.RequestToken; } if (other.HasPassed) { Passed = other.Passed; } _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: { RequestToken = input.ReadString(); break; } case 16: { Passed = input.ReadBool(); break; } } } } } #endregion } #endregion Designer generated code