diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Integration/GenericRequest.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.PMR/Integration/GenericRequest.cs | 187 |
1 files changed, 0 insertions, 187 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Integration/GenericRequest.cs b/Software/Visual_Studio/Tango.PMR/Integration/GenericRequest.cs deleted file mode 100644 index ff158a455..000000000 --- a/Software/Visual_Studio/Tango.PMR/Integration/GenericRequest.cs +++ /dev/null @@ -1,187 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: GenericRequest.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.Integration { - - /// <summary>Holder for reflection information generated from GenericRequest.proto</summary> - public static partial class GenericRequestReflection { - - #region Descriptor - /// <summary>File descriptor for GenericRequest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static GenericRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRHZW5lcmljUmVxdWVzdC5wcm90bxIVVGFuZ28uUE1SLkludGVncmF0aW9u", - "IiwKDkdlbmVyaWNSZXF1ZXN0EgwKBFR5cGUYASABKAkSDAoERGF0YRgCIAEo", - "DEIhCh9jb20udHdpbmUudGFuZ28ucG1yLmludGVncmF0aW9uYgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Integration.GenericRequest), global::Tango.PMR.Integration.GenericRequest.Parser, new[]{ "Type", "Data" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class GenericRequest : pb::IMessage<GenericRequest> { - private static readonly pb::MessageParser<GenericRequest> _parser = new pb::MessageParser<GenericRequest>(() => new GenericRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<GenericRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.Integration.GenericRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GenericRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GenericRequest(GenericRequest other) : this() { - type_ = other.type_; - data_ = other.data_; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public GenericRequest Clone() { - return new GenericRequest(this); - } - - /// <summary>Field number for the "Type" field.</summary> - public const int TypeFieldNumber = 1; - private string type_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Type { - get { return type_; } - set { - type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "Data" field.</summary> - public const int DataFieldNumber = 2; - private pb::ByteString data_ = pb::ByteString.Empty; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pb::ByteString Data { - get { return data_; } - set { - data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as GenericRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(GenericRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Type != other.Type) return false; - if (Data != other.Data) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Type.Length != 0) hash ^= Type.GetHashCode(); - if (Data.Length != 0) hash ^= Data.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 (Type.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Type); - } - if (Data.Length != 0) { - output.WriteRawTag(18); - output.WriteBytes(Data); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Type.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); - } - if (Data.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(GenericRequest other) { - if (other == null) { - return; - } - if (other.Type.Length != 0) { - Type = other.Type; - } - if (other.Data.Length != 0) { - Data = other.Data; - } - } - - [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: { - Type = input.ReadString(); - break; - } - case 18: { - Data = input.ReadBytes(); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code |
