// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SetupDebugDisributorsRequest.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 SetupDebugDisributorsRequest.proto
public static partial class SetupDebugDisributorsRequestReflection {
#region Descriptor
/// File descriptor for SetupDebugDisributorsRequest.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SetupDebugDisributorsRequestReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiJTZXR1cERlYnVnRGlzcmlidXRvcnNSZXF1ZXN0LnByb3RvEhNUYW5nby5Q",
"TVIuRGVidWdnaW5nGhpEZWJ1Z0Rpc3RyaWJ1dG9yVHlwZS5wcm90byJ+ChxT",
"ZXR1cERlYnVnRGlzcmlidXRvcnNSZXF1ZXN0EkMKEERlYnVnRGlzdHJpYnV0",
"b3IYASABKA4yKS5UYW5nby5QTVIuRGVidWdnaW5nLkRlYnVnRGlzdHJpYnV0",
"b3JUeXBlEhkKEURpc3RyaWJ1dG9yQWN0aXZlGAIgASgIQh8KHWNvbS50d2lu",
"ZS50YW5nby5wbXIuZGVidWdnaW5nYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Tango.PMR.Debugging.DebugDistributorTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Debugging.SetupDebugDisributorsRequest), global::Tango.PMR.Debugging.SetupDebugDisributorsRequest.Parser, new[]{ "DebugDistributor", "DistributorActive" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class SetupDebugDisributorsRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetupDebugDisributorsRequest());
[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.SetupDebugDisributorsRequestReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetupDebugDisributorsRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetupDebugDisributorsRequest(SetupDebugDisributorsRequest other) : this() {
debugDistributor_ = other.debugDistributor_;
distributorActive_ = other.distributorActive_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetupDebugDisributorsRequest Clone() {
return new SetupDebugDisributorsRequest(this);
}
/// Field number for the "DebugDistributor" field.
public const int DebugDistributorFieldNumber = 1;
private global::Tango.PMR.Debugging.DebugDistributorType debugDistributor_ = 0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Tango.PMR.Debugging.DebugDistributorType DebugDistributor {
get { return debugDistributor_; }
set {
debugDistributor_ = value;
}
}
/// Field number for the "DistributorActive" field.
public const int DistributorActiveFieldNumber = 2;
private bool distributorActive_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool DistributorActive {
get { return distributorActive_; }
set {
distributorActive_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SetupDebugDisributorsRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SetupDebugDisributorsRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (DebugDistributor != other.DebugDistributor) return false;
if (DistributorActive != other.DistributorActive) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (DebugDistributor != 0) hash ^= DebugDistributor.GetHashCode();
if (DistributorActive != false) hash ^= DistributorActive.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 (DebugDistributor != 0) {
output.WriteRawTag(8);
output.WriteEnum((int) DebugDistributor);
}
if (DistributorActive != false) {
output.WriteRawTag(16);
output.WriteBool(DistributorActive);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (DebugDistributor != 0) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DebugDistributor);
}
if (DistributorActive != false) {
size += 1 + 1;
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SetupDebugDisributorsRequest other) {
if (other == null) {
return;
}
if (other.DebugDistributor != 0) {
DebugDistributor = other.DebugDistributor;
}
if (other.DistributorActive != false) {
DistributorActive = other.DistributorActive;
}
}
[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: {
debugDistributor_ = (global::Tango.PMR.Debugging.DebugDistributorType) input.ReadEnum();
break;
}
case 16: {
DistributorActive = input.ReadBool();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code