diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/DataStore/PutDataStoreItemRequest.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.PMR/DataStore/PutDataStoreItemRequest.cs | 223 |
1 files changed, 0 insertions, 223 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/DataStore/PutDataStoreItemRequest.cs b/Software/Visual_Studio/Tango.PMR/DataStore/PutDataStoreItemRequest.cs deleted file mode 100644 index 9e9be6768..000000000 --- a/Software/Visual_Studio/Tango.PMR/DataStore/PutDataStoreItemRequest.cs +++ /dev/null @@ -1,223 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: PutDataStoreItemRequest.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.DataStore { - - /// <summary>Holder for reflection information generated from PutDataStoreItemRequest.proto</summary> - public static partial class PutDataStoreItemRequestReflection { - - #region Descriptor - /// <summary>File descriptor for PutDataStoreItemRequest.proto</summary> - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PutDataStoreItemRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch1QdXREYXRhU3RvcmVJdGVtUmVxdWVzdC5wcm90bxITVGFuZ28uUE1SLkRh", - "dGFTdG9yZRoTRGF0YVN0b3JlSXRlbS5wcm90byJsChdQdXREYXRhU3RvcmVJ", - "dGVtUmVxdWVzdBISCgpDb2xsZWN0aW9uGAEgASgJEgsKA0tleRgCIAEoCRIw", - "CgRJdGVtGAMgASgLMiIuVGFuZ28uUE1SLkRhdGFTdG9yZS5EYXRhU3RvcmVJ", - "dGVtQh8KHWNvbS50d2luZS50YW5nby5wbXIuZGF0YXN0b3JlYgZwcm90bzM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tango.PMR.DataStore.DataStoreItemReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.DataStore.PutDataStoreItemRequest), global::Tango.PMR.DataStore.PutDataStoreItemRequest.Parser, new[]{ "Collection", "Key", "Item" }, null, null, null) - })); - } - #endregion - - } - #region Messages - public sealed partial class PutDataStoreItemRequest : pb::IMessage<PutDataStoreItemRequest> { - private static readonly pb::MessageParser<PutDataStoreItemRequest> _parser = new pb::MessageParser<PutDataStoreItemRequest>(() => new PutDataStoreItemRequest()); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser<PutDataStoreItemRequest> Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tango.PMR.DataStore.PutDataStoreItemRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PutDataStoreItemRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PutDataStoreItemRequest(PutDataStoreItemRequest other) : this() { - collection_ = other.collection_; - key_ = other.key_; - Item = other.item_ != null ? other.Item.Clone() : null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public PutDataStoreItemRequest Clone() { - return new PutDataStoreItemRequest(this); - } - - /// <summary>Field number for the "Collection" field.</summary> - public const int CollectionFieldNumber = 1; - private string collection_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Collection { - get { return collection_; } - set { - collection_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "Key" field.</summary> - public const int KeyFieldNumber = 2; - private string key_ = ""; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Key { - get { return key_; } - set { - key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// <summary>Field number for the "Item" field.</summary> - public const int ItemFieldNumber = 3; - private global::Tango.PMR.DataStore.DataStoreItem item_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::Tango.PMR.DataStore.DataStoreItem Item { - get { return item_; } - set { - item_ = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as PutDataStoreItemRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(PutDataStoreItemRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Collection != other.Collection) return false; - if (Key != other.Key) return false; - if (!object.Equals(Item, other.Item)) return false; - return true; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Collection.Length != 0) hash ^= Collection.GetHashCode(); - if (Key.Length != 0) hash ^= Key.GetHashCode(); - if (item_ != null) hash ^= Item.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 (Collection.Length != 0) { - output.WriteRawTag(10); - output.WriteString(Collection); - } - if (Key.Length != 0) { - output.WriteRawTag(18); - output.WriteString(Key); - } - if (item_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Item); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int CalculateSize() { - int size = 0; - if (Collection.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Collection); - } - if (Key.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); - } - if (item_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Item); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(PutDataStoreItemRequest other) { - if (other == null) { - return; - } - if (other.Collection.Length != 0) { - Collection = other.Collection; - } - if (other.Key.Length != 0) { - Key = other.Key; - } - if (other.item_ != null) { - if (item_ == null) { - item_ = new global::Tango.PMR.DataStore.DataStoreItem(); - } - Item.MergeFrom(other.Item); - } - } - - [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: { - Collection = input.ReadString(); - break; - } - case 18: { - Key = input.ReadString(); - break; - } - case 26: { - if (item_ == null) { - item_ = new global::Tango.PMR.DataStore.DataStoreItem(); - } - input.ReadMessage(item_); - break; - } - } - } - } - - } - - #endregion - -} - -#endregion Designer generated code |
