// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SetJerricanLevelRequest.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 SetJerricanLevelRequest.proto
public static partial class SetJerricanLevelRequestReflection {
#region Descriptor
/// File descriptor for SetJerricanLevelRequest.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SetJerricanLevelRequestReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch1TZXRKZXJyaWNhbkxldmVsUmVxdWVzdC5wcm90bxIXVGFuZ28uUE1SLk1h",
"Y2hpbmVTdGF0dXMiQAoXU2V0SmVycmljYW5MZXZlbFJlcXVlc3QSDQoFSW5k",
"ZXgYASABKAUSFgoOSW5zZXJ0ZWRMaXRlcnMYAiABKAFCIwohY29tLnR3aW5l",
"LnRhbmdvLnBtci5tYWNoaW5lc3RhdHVzYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.MachineStatus.SetJerricanLevelRequest), global::Tango.PMR.MachineStatus.SetJerricanLevelRequest.Parser, new[]{ "Index", "InsertedLiters" }, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class SetJerricanLevelRequest : pb::IMessage {
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetJerricanLevelRequest());
[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.SetJerricanLevelRequestReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetJerricanLevelRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetJerricanLevelRequest(SetJerricanLevelRequest other) : this() {
index_ = other.index_;
insertedLiters_ = other.insertedLiters_;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public SetJerricanLevelRequest Clone() {
return new SetJerricanLevelRequest(this);
}
/// Field number for the "Index" field.
public const int IndexFieldNumber = 1;
private int index_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Index {
get { return index_; }
set {
index_ = value;
}
}
/// Field number for the "InsertedLiters" field.
public const int InsertedLitersFieldNumber = 2;
private double insertedLiters_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public double InsertedLiters {
get { return insertedLiters_; }
set {
insertedLiters_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as SetJerricanLevelRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(SetJerricanLevelRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Index != other.Index) return false;
if (InsertedLiters != other.InsertedLiters) return false;
return true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Index != 0) hash ^= Index.GetHashCode();
if (InsertedLiters != 0D) hash ^= InsertedLiters.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 (Index != 0) {
output.WriteRawTag(8);
output.WriteInt32(Index);
}
if (InsertedLiters != 0D) {
output.WriteRawTag(17);
output.WriteDouble(InsertedLiters);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Index != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index);
}
if (InsertedLiters != 0D) {
size += 1 + 8;
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(SetJerricanLevelRequest other) {
if (other == null) {
return;
}
if (other.Index != 0) {
Index = other.Index;
}
if (other.InsertedLiters != 0D) {
InsertedLiters = other.InsertedLiters;
}
}
[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: {
Index = input.ReadInt32();
break;
}
case 17: {
InsertedLiters = input.ReadDouble();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code