// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SetDebugLogCategoryRequest.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 {
/// Holder for reflection information generated from SetDebugLogCategoryRequest.proto
public static partial class SetDebugLogCategoryRequestReflection {
#region Descriptor
/// File descriptor for SetDebugLogCategoryRequest.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SetDebugLogCategoryRequestReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiBTZXREZWJ1Z0xvZ0NhdGVnb3J5UmVxdWVzdC5wcm90bxITVGFuZ28uUE1S",
"LkRlYnVnZ2luZxoWRGVidWdMb2dDYXRlZ29yeS5wcm90byJcChpTZXREZWJ1",
"Z0xvZ0NhdGVnb3J5UmVxdWVzdBI+Cg9NaW5pbXVtQ2F0ZWdvcnkYASABKA4y",
"JS5UYW5nby5QTVIuRGVidWdnaW5nLkRlYnVnTG9nQ2F0ZWdvcnlCHwodY29t",
"LnR3aW5lLnRhbmdvLnBtci5kZWJ1Z2dpbmdiBnByb3RvMw=="));
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.SetDebugLogCategoryRequest), global::Tango.PMR.Debugging.SetDebugLogCategoryRequest.Parser, new[]{ "MinimumCategory" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class SetDebugLogCategoryRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetDebugLogCategoryRequest());
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Tango.PMR.Debugging.SetDebugLogCategoryRequestReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetDebugLogCategoryRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetDebugLogCategoryRequest(SetDebugLogCategoryRequest other) : this() {
minimumCategory_ = other.minimumCategory_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetDebugLogCategoryRequest Clone() {
return new SetDebugLogCategoryRequest(this);
}
/// Field number for the "MinimumCategory" field.
public const int MinimumCategoryFieldNumber = 1;
private global::Tango.PMR.Debugging.DebugLogCategory minimumCategory_ = 0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Tango.PMR.Debugging.DebugLogCategory MinimumCategory {
get { return minimumCategory_; }
set {
minimumCategory_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SetDebugLogCategoryRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SetDebugLogCategoryRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (MinimumCategory != other.MinimumCategory) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (MinimumCategory != 0) hash ^= MinimumCategory.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 (MinimumCategory != 0) {
output.WriteRawTag(8);
output.WriteEnum((int) MinimumCategory);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (MinimumCategory != 0) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MinimumCategory);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SetDebugLogCategoryRequest other) {
if (other == null) {
return;
}
if (other.MinimumCategory != 0) {
MinimumCategory = other.MinimumCategory;
}
}
[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: {
minimumCategory_ = (global::Tango.PMR.Debugging.DebugLogCategory) input.ReadEnum();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code