diff options
| author | Roy <roy.mail.net@gmail.com> | 2017-12-26 21:16:15 +0200 |
|---|---|---|
| committer | Roy <roy.mail.net@gmail.com> | 2017-12-26 21:16:15 +0200 |
| commit | 2ea2bb5bcd96045f1bd6cb4c3d8b8416dbaa05dc (patch) | |
| tree | a21ff27fff08876e835df82c5242def1f0d09c17 /Software/Visual_Studio/Tango.PMR/Integration | |
| parent | 6450fc175114a6f8d0b75cb21386d1bb0c902711 (diff) | |
| download | Tango-2ea2bb5bcd96045f1bd6cb4c3d8b8416dbaa05dc.tar.gz Tango-2ea2bb5bcd96045f1bd6cb4c3d8b8416dbaa05dc.zip | |
MERGE
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Integration')
5 files changed, 631 insertions, 20 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Integration/DirectSynchronizationRequest.cs b/Software/Visual_Studio/Tango.PMR/Integration/DirectSynchronizationRequest.cs new file mode 100644 index 000000000..ef2ae14c0 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Integration/DirectSynchronizationRequest.cs @@ -0,0 +1,131 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DirectSynchronizationRequest.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 DirectSynchronizationRequest.proto</summary> + public static partial class DirectSynchronizationRequestReflection { + + #region Descriptor + /// <summary>File descriptor for DirectSynchronizationRequest.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static DirectSynchronizationRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiJEaXJlY3RTeW5jaHJvbml6YXRpb25SZXF1ZXN0LnByb3RvEhVUYW5nby5Q", + "TVIuSW50ZWdyYXRpb24iHgocRGlyZWN0U3luY2hyb25pemF0aW9uUmVxdWVz", + "dEIhCh9jb20udHdpbmUudGFuZ28ucG1yLmludGVncmF0aW9uYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Integration.DirectSynchronizationRequest), global::Tango.PMR.Integration.DirectSynchronizationRequest.Parser, null, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class DirectSynchronizationRequest : pb::IMessage<DirectSynchronizationRequest> { + private static readonly pb::MessageParser<DirectSynchronizationRequest> _parser = new pb::MessageParser<DirectSynchronizationRequest>(() => new DirectSynchronizationRequest()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<DirectSynchronizationRequest> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Integration.DirectSynchronizationRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public DirectSynchronizationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public DirectSynchronizationRequest(DirectSynchronizationRequest other) : this() { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public DirectSynchronizationRequest Clone() { + return new DirectSynchronizationRequest(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as DirectSynchronizationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(DirectSynchronizationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + 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) { + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(DirectSynchronizationRequest other) { + if (other == null) { + return; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + input.SkipLastField(); + break; + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Integration/DirectSynchronizationResponse.cs b/Software/Visual_Studio/Tango.PMR/Integration/DirectSynchronizationResponse.cs new file mode 100644 index 000000000..c881eb5a2 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Integration/DirectSynchronizationResponse.cs @@ -0,0 +1,160 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DirectSynchronizationResponse.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 DirectSynchronizationResponse.proto</summary> + public static partial class DirectSynchronizationResponseReflection { + + #region Descriptor + /// <summary>File descriptor for DirectSynchronizationResponse.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static DirectSynchronizationResponseReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiNEaXJlY3RTeW5jaHJvbml6YXRpb25SZXNwb25zZS5wcm90bxIVVGFuZ28u", + "UE1SLkludGVncmF0aW9uIjAKHURpcmVjdFN5bmNocm9uaXphdGlvblJlc3Bv", + "bnNlEg8KB0xvY2FsREIYASABKAxCIQofY29tLnR3aW5lLnRhbmdvLnBtci5p", + "bnRlZ3JhdGlvbmIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Integration.DirectSynchronizationResponse), global::Tango.PMR.Integration.DirectSynchronizationResponse.Parser, new[]{ "LocalDB" }, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class DirectSynchronizationResponse : pb::IMessage<DirectSynchronizationResponse> { + private static readonly pb::MessageParser<DirectSynchronizationResponse> _parser = new pb::MessageParser<DirectSynchronizationResponse>(() => new DirectSynchronizationResponse()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<DirectSynchronizationResponse> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Integration.DirectSynchronizationResponseReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public DirectSynchronizationResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public DirectSynchronizationResponse(DirectSynchronizationResponse other) : this() { + localDB_ = other.localDB_; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public DirectSynchronizationResponse Clone() { + return new DirectSynchronizationResponse(this); + } + + /// <summary>Field number for the "LocalDB" field.</summary> + public const int LocalDBFieldNumber = 1; + private pb::ByteString localDB_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString LocalDB { + get { return localDB_; } + set { + localDB_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as DirectSynchronizationResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(DirectSynchronizationResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (LocalDB != other.LocalDB) return false; + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (LocalDB.Length != 0) hash ^= LocalDB.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 (LocalDB.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(LocalDB); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (LocalDB.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(LocalDB); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(DirectSynchronizationResponse other) { + if (other == null) { + return; + } + if (other.LocalDB.Length != 0) { + LocalDB = other.LocalDB; + } + } + + [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: { + LocalDB = input.ReadBytes(); + break; + } + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Integration/ExternalClientLoginRequest.cs b/Software/Visual_Studio/Tango.PMR/Integration/ExternalClientLoginRequest.cs index 2b614b2ed..a3a1295d5 100644 --- a/Software/Visual_Studio/Tango.PMR/Integration/ExternalClientLoginRequest.cs +++ b/Software/Visual_Studio/Tango.PMR/Integration/ExternalClientLoginRequest.cs @@ -23,13 +23,13 @@ namespace Tango.PMR.Integration { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiBFeHRlcm5hbENsaWVudExvZ2luUmVxdWVzdC5wcm90bxIVVGFuZ28uUE1S", - "LkludGVncmF0aW9uIikKGkV4dGVybmFsQ2xpZW50TG9naW5SZXF1ZXN0EgsK", - "A2tleRgBIAEoCUIhCh9jb20udHdpbmUudGFuZ28ucG1yLmludGVncmF0aW9u", - "YgZwcm90bzM=")); + "LkludGVncmF0aW9uIi4KGkV4dGVybmFsQ2xpZW50TG9naW5SZXF1ZXN0EhAK", + "CFBhc3N3b3JkGAEgASgJQiEKH2NvbS50d2luZS50YW5nby5wbXIuaW50ZWdy", + "YXRpb25iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Integration.ExternalClientLoginRequest), global::Tango.PMR.Integration.ExternalClientLoginRequest.Parser, new[]{ "Key" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Integration.ExternalClientLoginRequest), global::Tango.PMR.Integration.ExternalClientLoginRequest.Parser, new[]{ "Password" }, null, null, null) })); } #endregion @@ -60,7 +60,7 @@ namespace Tango.PMR.Integration { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public ExternalClientLoginRequest(ExternalClientLoginRequest other) : this() { - key_ = other.key_; + password_ = other.password_; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -68,14 +68,14 @@ namespace Tango.PMR.Integration { return new ExternalClientLoginRequest(this); } - /// <summary>Field number for the "key" field.</summary> - public const int KeyFieldNumber = 1; - private string key_ = ""; + /// <summary>Field number for the "Password" field.</summary> + public const int PasswordFieldNumber = 1; + private string password_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Key { - get { return key_; } + public string Password { + get { return password_; } set { - key_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + password_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } @@ -92,14 +92,14 @@ namespace Tango.PMR.Integration { if (ReferenceEquals(other, this)) { return true; } - if (Key != other.Key) return false; + if (Password != other.Password) return false; return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; - if (Key.Length != 0) hash ^= Key.GetHashCode(); + if (Password.Length != 0) hash ^= Password.GetHashCode(); return hash; } @@ -110,17 +110,17 @@ namespace Tango.PMR.Integration { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { - if (Key.Length != 0) { + if (Password.Length != 0) { output.WriteRawTag(10); - output.WriteString(Key); + output.WriteString(Password); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; - if (Key.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Key); + if (Password.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Password); } return size; } @@ -130,8 +130,8 @@ namespace Tango.PMR.Integration { if (other == null) { return; } - if (other.Key.Length != 0) { - Key = other.Key; + if (other.Password.Length != 0) { + Password = other.Password; } } @@ -144,7 +144,7 @@ namespace Tango.PMR.Integration { input.SkipLastField(); break; case 10: { - Key = input.ReadString(); + Password = input.ReadString(); break; } } diff --git a/Software/Visual_Studio/Tango.PMR/Integration/OverrideDataBaseRequest.cs b/Software/Visual_Studio/Tango.PMR/Integration/OverrideDataBaseRequest.cs new file mode 100644 index 000000000..05223ca90 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Integration/OverrideDataBaseRequest.cs @@ -0,0 +1,160 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: OverrideDataBaseRequest.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 OverrideDataBaseRequest.proto</summary> + public static partial class OverrideDataBaseRequestReflection { + + #region Descriptor + /// <summary>File descriptor for OverrideDataBaseRequest.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static OverrideDataBaseRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch1PdmVycmlkZURhdGFCYXNlUmVxdWVzdC5wcm90bxIVVGFuZ28uUE1SLklu", + "dGVncmF0aW9uIisKF092ZXJyaWRlRGF0YUJhc2VSZXF1ZXN0EhAKCFJlbW90", + "ZURCGAEgASgMQiEKH2NvbS50d2luZS50YW5nby5wbXIuaW50ZWdyYXRpb25i", + "BnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Integration.OverrideDataBaseRequest), global::Tango.PMR.Integration.OverrideDataBaseRequest.Parser, new[]{ "RemoteDB" }, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class OverrideDataBaseRequest : pb::IMessage<OverrideDataBaseRequest> { + private static readonly pb::MessageParser<OverrideDataBaseRequest> _parser = new pb::MessageParser<OverrideDataBaseRequest>(() => new OverrideDataBaseRequest()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<OverrideDataBaseRequest> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Integration.OverrideDataBaseRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public OverrideDataBaseRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public OverrideDataBaseRequest(OverrideDataBaseRequest other) : this() { + remoteDB_ = other.remoteDB_; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public OverrideDataBaseRequest Clone() { + return new OverrideDataBaseRequest(this); + } + + /// <summary>Field number for the "RemoteDB" field.</summary> + public const int RemoteDBFieldNumber = 1; + private pb::ByteString remoteDB_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString RemoteDB { + get { return remoteDB_; } + set { + remoteDB_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as OverrideDataBaseRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(OverrideDataBaseRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RemoteDB != other.RemoteDB) return false; + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (RemoteDB.Length != 0) hash ^= RemoteDB.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 (RemoteDB.Length != 0) { + output.WriteRawTag(10); + output.WriteBytes(RemoteDB); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (RemoteDB.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(RemoteDB); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(OverrideDataBaseRequest other) { + if (other == null) { + return; + } + if (other.RemoteDB.Length != 0) { + RemoteDB = other.RemoteDB; + } + } + + [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: { + RemoteDB = input.ReadBytes(); + break; + } + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/Software/Visual_Studio/Tango.PMR/Integration/OverrideDataBaseResponse.cs b/Software/Visual_Studio/Tango.PMR/Integration/OverrideDataBaseResponse.cs new file mode 100644 index 000000000..38f253bcd --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Integration/OverrideDataBaseResponse.cs @@ -0,0 +1,160 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: OverrideDataBaseResponse.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 OverrideDataBaseResponse.proto</summary> + public static partial class OverrideDataBaseResponseReflection { + + #region Descriptor + /// <summary>File descriptor for OverrideDataBaseResponse.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static OverrideDataBaseResponseReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch5PdmVycmlkZURhdGFCYXNlUmVzcG9uc2UucHJvdG8SFVRhbmdvLlBNUi5J", + "bnRlZ3JhdGlvbiIuChhPdmVycmlkZURhdGFCYXNlUmVzcG9uc2USEgoKU3Vj", + "Y2Vzc2Z1bBgBIAEoCEIhCh9jb20udHdpbmUudGFuZ28ucG1yLmludGVncmF0", + "aW9uYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Integration.OverrideDataBaseResponse), global::Tango.PMR.Integration.OverrideDataBaseResponse.Parser, new[]{ "Successful" }, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class OverrideDataBaseResponse : pb::IMessage<OverrideDataBaseResponse> { + private static readonly pb::MessageParser<OverrideDataBaseResponse> _parser = new pb::MessageParser<OverrideDataBaseResponse>(() => new OverrideDataBaseResponse()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<OverrideDataBaseResponse> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Integration.OverrideDataBaseResponseReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public OverrideDataBaseResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public OverrideDataBaseResponse(OverrideDataBaseResponse other) : this() { + successful_ = other.successful_; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public OverrideDataBaseResponse Clone() { + return new OverrideDataBaseResponse(this); + } + + /// <summary>Field number for the "Successful" field.</summary> + public const int SuccessfulFieldNumber = 1; + private bool successful_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Successful { + get { return successful_; } + set { + successful_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as OverrideDataBaseResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(OverrideDataBaseResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Successful != other.Successful) return false; + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (Successful != false) hash ^= Successful.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 (Successful != false) { + output.WriteRawTag(8); + output.WriteBool(Successful); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (Successful != false) { + size += 1 + 1; + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(OverrideDataBaseResponse other) { + if (other == null) { + return; + } + if (other.Successful != false) { + Successful = other.Successful; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + input.SkipLastField(); + break; + case 8: { + Successful = input.ReadBool(); + break; + } + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code |
