diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Diagnostics/StartThreadLoadingUpdateResponse.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.PMR/Diagnostics/StartThreadLoadingUpdateResponse.cs | 162 |
1 files changed, 162 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Diagnostics/StartThreadLoadingUpdateResponse.cs b/Software/Visual_Studio/Tango.PMR/Diagnostics/StartThreadLoadingUpdateResponse.cs new file mode 100644 index 000000000..0c62e31c7 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Diagnostics/StartThreadLoadingUpdateResponse.cs @@ -0,0 +1,162 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StartThreadLoadingUpdateResponse.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.Diagnostics { + + /// <summary>Holder for reflection information generated from StartThreadLoadingUpdateResponse.proto</summary> + public static partial class StartThreadLoadingUpdateResponseReflection { + + #region Descriptor + /// <summary>File descriptor for StartThreadLoadingUpdateResponse.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StartThreadLoadingUpdateResponseReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiZTdGFydFRocmVhZExvYWRpbmdVcGRhdGVSZXNwb25zZS5wcm90bxIVVGFu", + "Z28uUE1SLkRpYWdub3N0aWNzGhhUaHJlYWRMb2FkaW5nU3RhdGUucHJvdG8i", + "aQogU3RhcnRUaHJlYWRMb2FkaW5nVXBkYXRlUmVzcG9uc2USRQoSVGhyZWFk", + "TG9hZGluZ1N0YXRlGAEgASgOMikuVGFuZ28uUE1SLkRpYWdub3N0aWNzLlRo", + "cmVhZExvYWRpbmdTdGF0ZUIhCh9jb20udHdpbmUudGFuZ28ucG1yLmRpYWdu", + "b3N0aWNzYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Tango.PMR.Diagnostics.ThreadLoadingStateReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Diagnostics.StartThreadLoadingUpdateResponse), global::Tango.PMR.Diagnostics.StartThreadLoadingUpdateResponse.Parser, new[]{ "ThreadLoadingState" }, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class StartThreadLoadingUpdateResponse : pb::IMessage<StartThreadLoadingUpdateResponse> { + private static readonly pb::MessageParser<StartThreadLoadingUpdateResponse> _parser = new pb::MessageParser<StartThreadLoadingUpdateResponse>(() => new StartThreadLoadingUpdateResponse()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<StartThreadLoadingUpdateResponse> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Diagnostics.StartThreadLoadingUpdateResponseReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StartThreadLoadingUpdateResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StartThreadLoadingUpdateResponse(StartThreadLoadingUpdateResponse other) : this() { + threadLoadingState_ = other.threadLoadingState_; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StartThreadLoadingUpdateResponse Clone() { + return new StartThreadLoadingUpdateResponse(this); + } + + /// <summary>Field number for the "ThreadLoadingState" field.</summary> + public const int ThreadLoadingStateFieldNumber = 1; + private global::Tango.PMR.Diagnostics.ThreadLoadingState threadLoadingState_ = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public global::Tango.PMR.Diagnostics.ThreadLoadingState ThreadLoadingState { + get { return threadLoadingState_; } + set { + threadLoadingState_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as StartThreadLoadingUpdateResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(StartThreadLoadingUpdateResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ThreadLoadingState != other.ThreadLoadingState) return false; + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (ThreadLoadingState != 0) hash ^= ThreadLoadingState.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 (ThreadLoadingState != 0) { + output.WriteRawTag(8); + output.WriteEnum((int) ThreadLoadingState); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (ThreadLoadingState != 0) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ThreadLoadingState); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(StartThreadLoadingUpdateResponse other) { + if (other == null) { + return; + } + if (other.ThreadLoadingState != 0) { + ThreadLoadingState = other.ThreadLoadingState; + } + } + + [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: { + threadLoadingState_ = (global::Tango.PMR.Diagnostics.ThreadLoadingState) input.ReadEnum(); + break; + } + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code |
