// Generated by the protocol buffer compiler. DO NOT EDIT! // source: GetVersionDescriptorsResponse.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 Tango.PMR.FirmwareUpgrade { /// Holder for reflection information generated from GetVersionDescriptorsResponse.proto public static partial class GetVersionDescriptorsResponseReflection { #region Descriptor /// File descriptor for GetVersionDescriptorsResponse.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static GetVersionDescriptorsResponseReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiNHZXRWZXJzaW9uRGVzY3JpcHRvcnNSZXNwb25zZS5wcm90bxIZVGFuZ28u", "UE1SLkZpcm13YXJlVXBncmFkZRobVmVyc2lvbkZpbGVEZXNjcmlwdG9yLnBy", "b3RvImYKHUdldFZlcnNpb25EZXNjcmlwdG9yc1Jlc3BvbnNlEkUKC0Rlc2Ny", "aXB0b3JzGAEgAygLMjAuVGFuZ28uUE1SLkZpcm13YXJlVXBncmFkZS5WZXJz", "aW9uRmlsZURlc2NyaXB0b3JCJQojY29tLnR3aW5lLnRhbmdvLnBtci5maXJt", "d2FyZXVwZ3JhZGViBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Tango.PMR.FirmwareUpgrade.VersionFileDescriptorReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.FirmwareUpgrade.GetVersionDescriptorsResponse), global::Tango.PMR.FirmwareUpgrade.GetVersionDescriptorsResponse.Parser, new[]{ "Descriptors" }, null, null, null) })); } #endregion } #region Messages public sealed partial class GetVersionDescriptorsResponse : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetVersionDescriptorsResponse()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Tango.PMR.FirmwareUpgrade.GetVersionDescriptorsResponseReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetVersionDescriptorsResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetVersionDescriptorsResponse(GetVersionDescriptorsResponse other) : this() { descriptors_ = other.descriptors_.Clone(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public GetVersionDescriptorsResponse Clone() { return new GetVersionDescriptorsResponse(this); } /// Field number for the "Descriptors" field. public const int DescriptorsFieldNumber = 1; private static readonly pb::FieldCodec _repeated_descriptors_codec = pb::FieldCodec.ForMessage(10, global::Tango.PMR.FirmwareUpgrade.VersionFileDescriptor.Parser); private readonly pbc::RepeatedField descriptors_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField Descriptors { get { return descriptors_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as GetVersionDescriptorsResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(GetVersionDescriptorsResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!descriptors_.Equals(other.descriptors_)) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; hash ^= descriptors_.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) { descriptors_.WriteTo(output, _repeated_descriptors_codec); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; size += descriptors_.CalculateSize(_repeated_descriptors_codec); return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(GetVersionDescriptorsResponse other) { if (other == null) { return; } descriptors_.Add(other.descriptors_); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; case 10: { descriptors_.AddEntriesFrom(input, _repeated_descriptors_codec); break; } } } } } #endregion } #endregion Designer generated code