diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR/Debugging/StartDebugLogResponse.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.PMR/Debugging/StartDebugLogResponse.cs | 303 |
1 files changed, 303 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/Debugging/StartDebugLogResponse.cs b/Software/Visual_Studio/Tango.PMR/Debugging/StartDebugLogResponse.cs new file mode 100644 index 000000000..107442cd2 --- /dev/null +++ b/Software/Visual_Studio/Tango.PMR/Debugging/StartDebugLogResponse.cs @@ -0,0 +1,303 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StartDebugLogResponse.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.Debugging { + + /// <summary>Holder for reflection information generated from StartDebugLogResponse.proto</summary> + public static partial class StartDebugLogResponseReflection { + + #region Descriptor + /// <summary>File descriptor for StartDebugLogResponse.proto</summary> + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static StartDebugLogResponseReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChtTdGFydERlYnVnTG9nUmVzcG9uc2UucHJvdG8SE1RhbmdvLlBNUi5EZWJ1", + "Z2dpbmcaFkRlYnVnTG9nQ2F0ZWdvcnkucHJvdG8iqQEKFVN0YXJ0RGVidWdM", + "b2dSZXNwb25zZRI3CghDYXRlZ29yeRgBIAEoDjIlLlRhbmdvLlBNUi5EZWJ1", + "Z2dpbmcuRGVidWdMb2dDYXRlZ29yeRIQCghGaWxlTmFtZRgCIAEoCRISCgpM", + "aW5lTnVtYmVyGAMgASgNEg4KBkZpbHRlchgEIAEoDRIPCgdNZXNzYWdlGAUg", + "ASgJEhAKCE1vZHVsZUlkGAYgASgNQh8KHWNvbS50d2luZS50YW5nby5wbXIu", + "ZGVidWdnaW5nYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::Tango.PMR.Debugging.DebugLogCategoryReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Debugging.StartDebugLogResponse), global::Tango.PMR.Debugging.StartDebugLogResponse.Parser, new[]{ "Category", "FileName", "LineNumber", "Filter", "Message", "ModuleId" }, null, null, null) + })); + } + #endregion + + } + #region Messages + public sealed partial class StartDebugLogResponse : pb::IMessage<StartDebugLogResponse> { + private static readonly pb::MessageParser<StartDebugLogResponse> _parser = new pb::MessageParser<StartDebugLogResponse>(() => new StartDebugLogResponse()); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser<StartDebugLogResponse> Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::Tango.PMR.Debugging.StartDebugLogResponseReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StartDebugLogResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StartDebugLogResponse(StartDebugLogResponse other) : this() { + category_ = other.category_; + fileName_ = other.fileName_; + lineNumber_ = other.lineNumber_; + filter_ = other.filter_; + message_ = other.message_; + moduleId_ = other.moduleId_; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public StartDebugLogResponse Clone() { + return new StartDebugLogResponse(this); + } + + /// <summary>Field number for the "Category" field.</summary> + public const int CategoryFieldNumber = 1; + private global::Tango.PMR.Debugging.DebugLogCategory category_ = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public global::Tango.PMR.Debugging.DebugLogCategory Category { + get { return category_; } + set { + category_ = value; + } + } + + /// <summary>Field number for the "FileName" field.</summary> + public const int FileNameFieldNumber = 2; + private string fileName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string FileName { + get { return fileName_; } + set { + fileName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "LineNumber" field.</summary> + public const int LineNumberFieldNumber = 3; + private uint lineNumber_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint LineNumber { + get { return lineNumber_; } + set { + lineNumber_ = value; + } + } + + /// <summary>Field number for the "Filter" field.</summary> + public const int FilterFieldNumber = 4; + private uint filter_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint Filter { + get { return filter_; } + set { + filter_ = value; + } + } + + /// <summary>Field number for the "Message" field.</summary> + public const int MessageFieldNumber = 5; + private string message_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string Message { + get { return message_; } + set { + message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// <summary>Field number for the "ModuleId" field.</summary> + public const int ModuleIdFieldNumber = 6; + private uint moduleId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public uint ModuleId { + get { return moduleId_; } + set { + moduleId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as StartDebugLogResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(StartDebugLogResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Category != other.Category) return false; + if (FileName != other.FileName) return false; + if (LineNumber != other.LineNumber) return false; + if (Filter != other.Filter) return false; + if (Message != other.Message) return false; + if (ModuleId != other.ModuleId) return false; + return true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (Category != 0) hash ^= Category.GetHashCode(); + if (FileName.Length != 0) hash ^= FileName.GetHashCode(); + if (LineNumber != 0) hash ^= LineNumber.GetHashCode(); + if (Filter != 0) hash ^= Filter.GetHashCode(); + if (Message.Length != 0) hash ^= Message.GetHashCode(); + if (ModuleId != 0) hash ^= ModuleId.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 (Category != 0) { + output.WriteRawTag(8); + output.WriteEnum((int) Category); + } + if (FileName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FileName); + } + if (LineNumber != 0) { + output.WriteRawTag(24); + output.WriteUInt32(LineNumber); + } + if (Filter != 0) { + output.WriteRawTag(32); + output.WriteUInt32(Filter); + } + if (Message.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Message); + } + if (ModuleId != 0) { + output.WriteRawTag(48); + output.WriteUInt32(ModuleId); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (Category != 0) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Category); + } + if (FileName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FileName); + } + if (LineNumber != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LineNumber); + } + if (Filter != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Filter); + } + if (Message.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); + } + if (ModuleId != 0) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ModuleId); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(StartDebugLogResponse other) { + if (other == null) { + return; + } + if (other.Category != 0) { + Category = other.Category; + } + if (other.FileName.Length != 0) { + FileName = other.FileName; + } + if (other.LineNumber != 0) { + LineNumber = other.LineNumber; + } + if (other.Filter != 0) { + Filter = other.Filter; + } + if (other.Message.Length != 0) { + Message = other.Message; + } + if (other.ModuleId != 0) { + ModuleId = other.ModuleId; + } + } + + [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: { + category_ = (global::Tango.PMR.Debugging.DebugLogCategory) input.ReadEnum(); + break; + } + case 18: { + FileName = input.ReadString(); + break; + } + case 24: { + LineNumber = input.ReadUInt32(); + break; + } + case 32: { + Filter = input.ReadUInt32(); + break; + } + case 42: { + Message = input.ReadString(); + break; + } + case 48: { + ModuleId = input.ReadUInt32(); + break; + } + } + } + } + + } + + #endregion + +} + +#endregion Designer generated code |
