// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SetWhiteThreadSkipRequest.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.MachineStatus {
/// Holder for reflection information generated from SetWhiteThreadSkipRequest.proto
public static partial class SetWhiteThreadSkipRequestReflection {
#region Descriptor
/// File descriptor for SetWhiteThreadSkipRequest.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SetWhiteThreadSkipRequestReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch9TZXRXaGl0ZVRocmVhZFNraXBSZXF1ZXN0LnByb3RvEhdUYW5nby5QTVIu",
"TWFjaGluZVN0YXR1cyIsChlTZXRXaGl0ZVRocmVhZFNraXBSZXF1ZXN0Eg8K",
"B0VuYWJsZWQYASABKAhCIwohY29tLnR3aW5lLnRhbmdvLnBtci5tYWNoaW5l",
"c3RhdHVzYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.MachineStatus.SetWhiteThreadSkipRequest), global::Tango.PMR.MachineStatus.SetWhiteThreadSkipRequest.Parser, new[]{ "Enabled" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class SetWhiteThreadSkipRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetWhiteThreadSkipRequest());
[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.MachineStatus.SetWhiteThreadSkipRequestReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetWhiteThreadSkipRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetWhiteThreadSkipRequest(SetWhiteThreadSkipRequest other) : this() {
enabled_ = other.enabled_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetWhiteThreadSkipRequest Clone() {
return new SetWhiteThreadSkipRequest(this);
}
/// Field number for the "Enabled" field.
public const int EnabledFieldNumber = 1;
private bool enabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Enabled {
get { return enabled_; }
set {
enabled_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SetWhiteThreadSkipRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SetWhiteThreadSkipRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Enabled != other.Enabled) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Enabled != false) hash ^= Enabled.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 (Enabled != false) {
output.WriteRawTag(8);
output.WriteBool(Enabled);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Enabled != false) {
size += 1 + 1;
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SetWhiteThreadSkipRequest other) {
if (other == null) {
return;
}
if (other.Enabled != false) {
Enabled = other.Enabled;
}
}
[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: {
Enabled = input.ReadBool();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code