// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: StubDispenserEEpromResponse.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.Stubs {
/// Holder for reflection information generated from StubDispenserEEpromResponse.proto
public static partial class StubDispenserEEpromResponseReflection {
#region Descriptor
/// File descriptor for StubDispenserEEpromResponse.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static StubDispenserEEpromResponseReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiFTdHViRGlzcGVuc2VyRUVwcm9tUmVzcG9uc2UucHJvdG8SD1RhbmdvLlBN",
"Ui5TdHVicxodU3R1YkRpc3BlbnNlckVFcHJvbURhdGEucHJvdG8idQobU3R1",
"YkRpc3BlbnNlckVFcHJvbVJlc3BvbnNlEhMKC0Rpc3BlbnNlcklkGAEgASgN",
"EkEKD0Rpc3BlbnNlckVFcHJvbRgCIAEoCzIoLlRhbmdvLlBNUi5TdHVicy5T",
"dHViRGlzcGVuc2VyRUVwcm9tRGF0YUIbChljb20udHdpbmUudGFuZ28ucG1y",
"LnN0dWJzYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Tango.PMR.Stubs.StubDispenserEEpromDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubDispenserEEpromResponse), global::Tango.PMR.Stubs.StubDispenserEEpromResponse.Parser, new[]{ "DispenserId", "DispenserEEprom" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class StubDispenserEEpromResponse : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StubDispenserEEpromResponse());
[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.Stubs.StubDispenserEEpromResponseReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StubDispenserEEpromResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StubDispenserEEpromResponse(StubDispenserEEpromResponse other) : this() {
dispenserId_ = other.dispenserId_;
DispenserEEprom = other.dispenserEEprom_ != null ? other.DispenserEEprom.Clone() : null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public StubDispenserEEpromResponse Clone() {
return new StubDispenserEEpromResponse(this);
}
/// Field number for the "DispenserId" field.
public const int DispenserIdFieldNumber = 1;
private uint dispenserId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint DispenserId {
get { return dispenserId_; }
set {
dispenserId_ = value;
}
}
/// Field number for the "DispenserEEprom" field.
public const int DispenserEEpromFieldNumber = 2;
private global::Tango.PMR.Stubs.StubDispenserEEpromData dispenserEEprom_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Tango.PMR.Stubs.StubDispenserEEpromData DispenserEEprom {
get { return dispenserEEprom_; }
set {
dispenserEEprom_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as StubDispenserEEpromResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(StubDispenserEEpromResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (DispenserId != other.DispenserId) return false;
if (!object.Equals(DispenserEEprom, other.DispenserEEprom)) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (DispenserId != 0) hash ^= DispenserId.GetHashCode();
if (dispenserEEprom_ != null) hash ^= DispenserEEprom.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 (DispenserId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(DispenserId);
}
if (dispenserEEprom_ != null) {
output.WriteRawTag(18);
output.WriteMessage(DispenserEEprom);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (DispenserId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DispenserId);
}
if (dispenserEEprom_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DispenserEEprom);
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(StubDispenserEEpromResponse other) {
if (other == null) {
return;
}
if (other.DispenserId != 0) {
DispenserId = other.DispenserId;
}
if (other.dispenserEEprom_ != null) {
if (dispenserEEprom_ == null) {
dispenserEEprom_ = new global::Tango.PMR.Stubs.StubDispenserEEpromData();
}
DispenserEEprom.MergeFrom(other.DispenserEEprom);
}
}
[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: {
DispenserId = input.ReadUInt32();
break;
}
case 18: {
if (dispenserEEprom_ == null) {
dispenserEEprom_ = new global::Tango.PMR.Stubs.StubDispenserEEpromData();
}
input.ReadMessage(dispenserEEprom_);
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code