// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: deviceapis/device/v1/deviceapis_device_dtmf_v1.proto // #pragma warning disable 1591, 0612, 3021, 8981 #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 Deviceapis.Device.V1 { /// Holder for reflection information generated from deviceapis/device/v1/deviceapis_device_dtmf_v1.proto public static partial class DeviceapisDeviceDtmfV1Reflection { #region Descriptor /// File descriptor for deviceapis/device/v1/deviceapis_device_dtmf_v1.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static DeviceapisDeviceDtmfV1Reflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CjRkZXZpY2VhcGlzL2RldmljZS92MS9kZXZpY2VhcGlzX2RldmljZV9kdG1m", "X3YxLnByb3RvEhRkZXZpY2VhcGlzLmRldmljZS52MRo2ZGV2aWNlYXBpcy9k", "ZXZpY2UvdjEvZGV2aWNlYXBpc19kZXZpY2VfY29tbW9uX3YxLnByb3RvGhxn", "b29nbGUvYXBpL2Fubm90YXRpb25zLnByb3RvGh9nb29nbGUvYXBpL2ZpZWxk", "X2JlaGF2aW9yLnByb3RvGiBnb29nbGUvcHJvdG9idWYvZmllbGRfbWFzay5w", "cm90bxoucHJvdG9jLWdlbi1vcGVuYXBpdjIvb3B0aW9ucy9hbm5vdGF0aW9u", "cy5wcm90byJwCgxEdG1mU2V0dGluZ3MSHAoJaXNfcmZjX29uGAEgASgIQgmS", "QQZKBHRydWUSIAoNaXNfaW5ib3VuZF9vbhgCIAEoCEIJkkEGSgR0cnVlEiAK", "DWlzX3NpcGluZm9fb24YAyABKAhCCZJBBkoEdHJ1ZSKBAQoXRWRpdER0bWZT", "ZXR0aW5nc1JlcXVlc3QSNQoEZGF0YRgBIAEoCzIiLmRldmljZWFwaXMuZGV2", "aWNlLnYxLkR0bWZTZXR0aW5nc0ID4EECEi8KC3VwZGF0ZV9tYXNrGAIgASgL", "MhouZ29vZ2xlLnByb3RvYnVmLkZpZWxkTWFzayK5AQoYRWRpdER0bWZTZXR0", "aW5nc1Jlc3BvbnNlEkUKBWVycm9yGAEgASgLMjQuZGV2aWNlYXBpcy5kZXZp", "Y2UudjEuRWRpdER0bWZTZXR0aW5nc1Jlc3BvbnNlLkVycm9ySAAaTgoFRXJy", "b3ISOwoKdmFsaWRhdGlvbhgBIAEoCzIlLmRldmljZWFwaXMuZGV2aWNlLnYx", "LlZhbGlkYXRpb25FcnJvckgAQggKBnJlYXNvbkIGCgR0eXBlIhgKFkdldER0", "bWZTZXR0aW5nc1JlcXVlc3QiVQoXR2V0RHRtZlNldHRpbmdzUmVzcG9uc2US", "MgoEZGF0YRgBIAEoCzIiLmRldmljZWFwaXMuZGV2aWNlLnYxLkR0bWZTZXR0", "aW5nc0gAQgYKBHR5cGUyzAIKE0R0bWZTZXR0aW5nc1NlcnZpY2USnQEKEEVk", "aXREdG1mU2V0dGluZ3MSLS5kZXZpY2VhcGlzLmRldmljZS52MS5FZGl0RHRt", "ZlNldHRpbmdzUmVxdWVzdBouLmRldmljZWFwaXMuZGV2aWNlLnYxLkVkaXRE", "dG1mU2V0dGluZ3NSZXNwb25zZSIqgtPkkwIkMhwvZGV2aWNlL2FwaS92MS9k", "dG1mL3NldHRpbmdzOgRkYXRhEpQBCg9HZXREdG1mU2V0dGluZ3MSLC5kZXZp", "Y2VhcGlzLmRldmljZS52MS5HZXREdG1mU2V0dGluZ3NSZXF1ZXN0Gi0uZGV2", "aWNlYXBpcy5kZXZpY2UudjEuR2V0RHRtZlNldHRpbmdzUmVzcG9uc2UiJILT", "5JMCHhIcL2RldmljZS9hcGkvdjEvZHRtZi9zZXR0aW5nc0KvAQoXcnUuZGV2", "aWNlYXBpcy5kZXZpY2UudjFCF0RldmljZWFwaXNEZXZpY2VWMVByb3RvSANQ", "AFoVL2RldmljZWFwaXNfZGV2aWNlX3Yx2AEB+AEBogISREVWSUNFQVBJU0RF", "VklDRVYxqgIURGV2aWNlYXBpcy5EZXZpY2UuVjHKAhREZXZpY2VhcGlzXERl", "dmljZVxWMeoCFkRldmljZWFwaXM6OkRldmljZTo6VjFiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Deviceapis.Device.V1.DeviceapisDeviceCommonV1Reflection.Descriptor, global::Google.Api.AnnotationsReflection.Descriptor, global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Grpc.Gateway.ProtocGenOpenapiv2.Options.AnnotationsReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Deviceapis.Device.V1.DtmfSettings), global::Deviceapis.Device.V1.DtmfSettings.Parser, new[]{ "IsRfcOn", "IsInboundOn", "IsSipinfoOn" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Deviceapis.Device.V1.EditDtmfSettingsRequest), global::Deviceapis.Device.V1.EditDtmfSettingsRequest.Parser, new[]{ "Data", "UpdateMask" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Deviceapis.Device.V1.EditDtmfSettingsResponse), global::Deviceapis.Device.V1.EditDtmfSettingsResponse.Parser, new[]{ "Error" }, new[]{ "Type" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Deviceapis.Device.V1.EditDtmfSettingsResponse.Types.Error), global::Deviceapis.Device.V1.EditDtmfSettingsResponse.Types.Error.Parser, new[]{ "Validation" }, new[]{ "Reason" }, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Deviceapis.Device.V1.GetDtmfSettingsRequest), global::Deviceapis.Device.V1.GetDtmfSettingsRequest.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Deviceapis.Device.V1.GetDtmfSettingsResponse), global::Deviceapis.Device.V1.GetDtmfSettingsResponse.Parser, new[]{ "Data" }, new[]{ "Type" }, null, null, null) })); } #endregion } #region Messages /// /// Настройки DTMF /// public sealed partial class DtmfSettings : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DtmfSettings()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Deviceapis.Device.V1.DeviceapisDeviceDtmfV1Reflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DtmfSettings() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DtmfSettings(DtmfSettings other) : this() { isRfcOn_ = other.isRfcOn_; isInboundOn_ = other.isInboundOn_; isSipinfoOn_ = other.isSipinfoOn_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DtmfSettings Clone() { return new DtmfSettings(this); } /// Field number for the "is_rfc_on" field. public const int IsRfcOnFieldNumber = 1; private bool isRfcOn_; /// /// Флаг приема DTMF сигнала в варианте RFC /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsRfcOn { get { return isRfcOn_; } set { isRfcOn_ = value; } } /// Field number for the "is_inbound_on" field. public const int IsInboundOnFieldNumber = 2; private bool isInboundOn_; /// /// Флаг приема DTMF сигнала в варианте inbound /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsInboundOn { get { return isInboundOn_; } set { isInboundOn_ = value; } } /// Field number for the "is_sipinfo_on" field. public const int IsSipinfoOnFieldNumber = 3; private bool isSipinfoOn_; /// /// Флаг приема DTMF сигнала в варианте sipinfo /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsSipinfoOn { get { return isSipinfoOn_; } set { isSipinfoOn_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as DtmfSettings); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DtmfSettings other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (IsRfcOn != other.IsRfcOn) return false; if (IsInboundOn != other.IsInboundOn) return false; if (IsSipinfoOn != other.IsSipinfoOn) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (IsRfcOn != false) hash ^= IsRfcOn.GetHashCode(); if (IsInboundOn != false) hash ^= IsInboundOn.GetHashCode(); if (IsSipinfoOn != false) hash ^= IsSipinfoOn.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (IsRfcOn != false) { output.WriteRawTag(8); output.WriteBool(IsRfcOn); } if (IsInboundOn != false) { output.WriteRawTag(16); output.WriteBool(IsInboundOn); } if (IsSipinfoOn != false) { output.WriteRawTag(24); output.WriteBool(IsSipinfoOn); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (IsRfcOn != false) { output.WriteRawTag(8); output.WriteBool(IsRfcOn); } if (IsInboundOn != false) { output.WriteRawTag(16); output.WriteBool(IsInboundOn); } if (IsSipinfoOn != false) { output.WriteRawTag(24); output.WriteBool(IsSipinfoOn); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (IsRfcOn != false) { size += 1 + 1; } if (IsInboundOn != false) { size += 1 + 1; } if (IsSipinfoOn != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DtmfSettings other) { if (other == null) { return; } if (other.IsRfcOn != false) { IsRfcOn = other.IsRfcOn; } if (other.IsInboundOn != false) { IsInboundOn = other.IsInboundOn; } if (other.IsSipinfoOn != false) { IsSipinfoOn = other.IsSipinfoOn; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { IsRfcOn = input.ReadBool(); break; } case 16: { IsInboundOn = input.ReadBool(); break; } case 24: { IsSipinfoOn = input.ReadBool(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { IsRfcOn = input.ReadBool(); break; } case 16: { IsInboundOn = input.ReadBool(); break; } case 24: { IsSipinfoOn = input.ReadBool(); break; } } } } #endif } /// /// Запрос редактирования настроек DTMF /// public sealed partial class EditDtmfSettingsRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EditDtmfSettingsRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Deviceapis.Device.V1.DeviceapisDeviceDtmfV1Reflection.Descriptor.MessageTypes[1]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EditDtmfSettingsRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EditDtmfSettingsRequest(EditDtmfSettingsRequest other) : this() { data_ = other.data_ != null ? other.data_.Clone() : null; updateMask_ = other.updateMask_ != null ? other.updateMask_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EditDtmfSettingsRequest Clone() { return new EditDtmfSettingsRequest(this); } /// Field number for the "data" field. public const int DataFieldNumber = 1; private global::Deviceapis.Device.V1.DtmfSettings data_; /// /// Настройки DTMF /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Deviceapis.Device.V1.DtmfSettings Data { get { return data_; } set { data_ = value; } } /// Field number for the "update_mask" field. public const int UpdateMaskFieldNumber = 2; private global::Google.Protobuf.WellKnownTypes.FieldMask updateMask_; /// /// Маска полей обновления /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Google.Protobuf.WellKnownTypes.FieldMask UpdateMask { get { return updateMask_; } set { updateMask_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as EditDtmfSettingsRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(EditDtmfSettingsRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Data, other.Data)) return false; if (!object.Equals(UpdateMask, other.UpdateMask)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (data_ != null) hash ^= Data.GetHashCode(); if (updateMask_ != null) hash ^= UpdateMask.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (data_ != null) { output.WriteRawTag(10); output.WriteMessage(Data); } if (updateMask_ != null) { output.WriteRawTag(18); output.WriteMessage(UpdateMask); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (data_ != null) { output.WriteRawTag(10); output.WriteMessage(Data); } if (updateMask_ != null) { output.WriteRawTag(18); output.WriteMessage(UpdateMask); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (data_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); } if (updateMask_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateMask); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(EditDtmfSettingsRequest other) { if (other == null) { return; } if (other.data_ != null) { if (data_ == null) { Data = new global::Deviceapis.Device.V1.DtmfSettings(); } Data.MergeFrom(other.Data); } if (other.updateMask_ != null) { if (updateMask_ == null) { UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); } UpdateMask.MergeFrom(other.UpdateMask); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (data_ == null) { Data = new global::Deviceapis.Device.V1.DtmfSettings(); } input.ReadMessage(Data); break; } case 18: { if (updateMask_ == null) { UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); } input.ReadMessage(UpdateMask); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (data_ == null) { Data = new global::Deviceapis.Device.V1.DtmfSettings(); } input.ReadMessage(Data); break; } case 18: { if (updateMask_ == null) { UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); } input.ReadMessage(UpdateMask); break; } } } } #endif } /// /// Ответ на запрос редактирования настроек DTMF /// public sealed partial class EditDtmfSettingsResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EditDtmfSettingsResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Deviceapis.Device.V1.DeviceapisDeviceDtmfV1Reflection.Descriptor.MessageTypes[2]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EditDtmfSettingsResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EditDtmfSettingsResponse(EditDtmfSettingsResponse other) : this() { switch (other.TypeCase) { case TypeOneofCase.Error: Error = other.Error.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public EditDtmfSettingsResponse Clone() { return new EditDtmfSettingsResponse(this); } /// Field number for the "error" field. public const int ErrorFieldNumber = 1; /// /// Ошибка /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Deviceapis.Device.V1.EditDtmfSettingsResponse.Types.Error Error { get { return typeCase_ == TypeOneofCase.Error ? (global::Deviceapis.Device.V1.EditDtmfSettingsResponse.Types.Error) type_ : null; } set { type_ = value; typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Error; } } private object type_; /// Enum of possible cases for the "type" oneof. public enum TypeOneofCase { None = 0, Error = 1, } private TypeOneofCase typeCase_ = TypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TypeOneofCase TypeCase { get { return typeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearType() { typeCase_ = TypeOneofCase.None; type_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as EditDtmfSettingsResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(EditDtmfSettingsResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Error, other.Error)) return false; if (TypeCase != other.TypeCase) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (typeCase_ == TypeOneofCase.Error) hash ^= Error.GetHashCode(); hash ^= (int) typeCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (typeCase_ == TypeOneofCase.Error) { output.WriteRawTag(10); output.WriteMessage(Error); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (typeCase_ == TypeOneofCase.Error) { output.WriteRawTag(10); output.WriteMessage(Error); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (typeCase_ == TypeOneofCase.Error) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Error); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(EditDtmfSettingsResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Error: if (Error == null) { Error = new global::Deviceapis.Device.V1.EditDtmfSettingsResponse.Types.Error(); } Error.MergeFrom(other.Error); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { global::Deviceapis.Device.V1.EditDtmfSettingsResponse.Types.Error subBuilder = new global::Deviceapis.Device.V1.EditDtmfSettingsResponse.Types.Error(); if (typeCase_ == TypeOneofCase.Error) { subBuilder.MergeFrom(Error); } input.ReadMessage(subBuilder); Error = subBuilder; break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { global::Deviceapis.Device.V1.EditDtmfSettingsResponse.Types.Error subBuilder = new global::Deviceapis.Device.V1.EditDtmfSettingsResponse.Types.Error(); if (typeCase_ == TypeOneofCase.Error) { subBuilder.MergeFrom(Error); } input.ReadMessage(subBuilder); Error = subBuilder; break; } } } } #endif #region Nested types /// Container for nested types declared in the EditDtmfSettingsResponse message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// Ошибка запроса /// public sealed partial class Error : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Error()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Deviceapis.Device.V1.EditDtmfSettingsResponse.Descriptor.NestedTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Error() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Error(Error other) : this() { switch (other.ReasonCase) { case ReasonOneofCase.Validation: Validation = other.Validation.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Error Clone() { return new Error(this); } /// Field number for the "validation" field. public const int ValidationFieldNumber = 1; /// /// Ошибка валидации /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Deviceapis.Device.V1.ValidationError Validation { get { return reasonCase_ == ReasonOneofCase.Validation ? (global::Deviceapis.Device.V1.ValidationError) reason_ : null; } set { reason_ = value; reasonCase_ = value == null ? ReasonOneofCase.None : ReasonOneofCase.Validation; } } private object reason_; /// Enum of possible cases for the "reason" oneof. public enum ReasonOneofCase { None = 0, Validation = 1, } private ReasonOneofCase reasonCase_ = ReasonOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ReasonOneofCase ReasonCase { get { return reasonCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearReason() { reasonCase_ = ReasonOneofCase.None; reason_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as Error); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(Error other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Validation, other.Validation)) return false; if (ReasonCase != other.ReasonCase) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (reasonCase_ == ReasonOneofCase.Validation) hash ^= Validation.GetHashCode(); hash ^= (int) reasonCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (reasonCase_ == ReasonOneofCase.Validation) { output.WriteRawTag(10); output.WriteMessage(Validation); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (reasonCase_ == ReasonOneofCase.Validation) { output.WriteRawTag(10); output.WriteMessage(Validation); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (reasonCase_ == ReasonOneofCase.Validation) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Validation); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(Error other) { if (other == null) { return; } switch (other.ReasonCase) { case ReasonOneofCase.Validation: if (Validation == null) { Validation = new global::Deviceapis.Device.V1.ValidationError(); } Validation.MergeFrom(other.Validation); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { global::Deviceapis.Device.V1.ValidationError subBuilder = new global::Deviceapis.Device.V1.ValidationError(); if (reasonCase_ == ReasonOneofCase.Validation) { subBuilder.MergeFrom(Validation); } input.ReadMessage(subBuilder); Validation = subBuilder; break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { global::Deviceapis.Device.V1.ValidationError subBuilder = new global::Deviceapis.Device.V1.ValidationError(); if (reasonCase_ == ReasonOneofCase.Validation) { subBuilder.MergeFrom(Validation); } input.ReadMessage(subBuilder); Validation = subBuilder; break; } } } } #endif } } #endregion } /// /// Запрос получения настроек DTMF /// public sealed partial class GetDtmfSettingsRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetDtmfSettingsRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Deviceapis.Device.V1.DeviceapisDeviceDtmfV1Reflection.Descriptor.MessageTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDtmfSettingsRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDtmfSettingsRequest(GetDtmfSettingsRequest other) : this() { _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDtmfSettingsRequest Clone() { return new GetDtmfSettingsRequest(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetDtmfSettingsRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetDtmfSettingsRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetDtmfSettingsRequest other) { if (other == null) { return; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; } } } #endif } /// /// Ответ на запрос получения настроек DTMF /// public sealed partial class GetDtmfSettingsResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetDtmfSettingsResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Deviceapis.Device.V1.DeviceapisDeviceDtmfV1Reflection.Descriptor.MessageTypes[4]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDtmfSettingsResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDtmfSettingsResponse(GetDtmfSettingsResponse other) : this() { switch (other.TypeCase) { case TypeOneofCase.Data: Data = other.Data.Clone(); break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetDtmfSettingsResponse Clone() { return new GetDtmfSettingsResponse(this); } /// Field number for the "data" field. public const int DataFieldNumber = 1; /// /// Настройки DTMF /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Deviceapis.Device.V1.DtmfSettings Data { get { return typeCase_ == TypeOneofCase.Data ? (global::Deviceapis.Device.V1.DtmfSettings) type_ : null; } set { type_ = value; typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Data; } } private object type_; /// Enum of possible cases for the "type" oneof. public enum TypeOneofCase { None = 0, Data = 1, } private TypeOneofCase typeCase_ = TypeOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public TypeOneofCase TypeCase { get { return typeCase_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearType() { typeCase_ = TypeOneofCase.None; type_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetDtmfSettingsResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetDtmfSettingsResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(Data, other.Data)) return false; if (TypeCase != other.TypeCase) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (typeCase_ == TypeOneofCase.Data) hash ^= Data.GetHashCode(); hash ^= (int) typeCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(10); output.WriteMessage(Data); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (typeCase_ == TypeOneofCase.Data) { output.WriteRawTag(10); output.WriteMessage(Data); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (typeCase_ == TypeOneofCase.Data) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetDtmfSettingsResponse other) { if (other == null) { return; } switch (other.TypeCase) { case TypeOneofCase.Data: if (Data == null) { Data = new global::Deviceapis.Device.V1.DtmfSettings(); } Data.MergeFrom(other.Data); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { global::Deviceapis.Device.V1.DtmfSettings subBuilder = new global::Deviceapis.Device.V1.DtmfSettings(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { global::Deviceapis.Device.V1.DtmfSettings subBuilder = new global::Deviceapis.Device.V1.DtmfSettings(); if (typeCase_ == TypeOneofCase.Data) { subBuilder.MergeFrom(Data); } input.ReadMessage(subBuilder); Data = subBuilder; break; } } } } #endif } #endregion } #endregion Designer generated code