//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/persistence/circuit_node_data.proto
//
#pragma warning disable 1591, 0612, 3021, 8981
#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 RecRoom.Protobuf {
/// Holder for reflection information generated from rec_room/persistence/circuit_node_data.proto
public static partial class CircuitNodeDataReflection {
#region Descriptor
/// File descriptor for rec_room/persistence/circuit_node_data.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CircuitNodeDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CixyZWNfcm9vbS9wZXJzaXN0ZW5jZS9jaXJjdWl0X25vZGVfZGF0YS5wcm90",
"bxIIcmVjX3Jvb20iQAoPQ2lyY3VpdE5vZGVEYXRhEhcKD2NpcmN1aXRfbm9k",
"ZV9pZBgBIAEoBRIUCgxub2RlX21lc3NhZ2UYAiABKAkinAEKFVN0YXRlTWFj",
"aGluZVN0YXRlRGF0YRIRCglzdGF0ZV9pZHgYASABKAUSHQoVc3RhdGVfbWFj",
"aGluZV92aWV3X2lkGAIgASgMEgwKBG5hbWUYAyABKAkSDAoEdmFsMRgEIAEo",
"BRIMCgR2YWwyGAUgASgFEgwKBHZhbDMYBiABKAUSGQoRbWluX3RpbWVfaW5f",
"c3RhdGUYByABKAVCE6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.CircuitNodeData), global::RecRoom.Protobuf.CircuitNodeData.Parser, new[]{ "CircuitNodeId", "NodeMessage" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.StateMachineStateData), global::RecRoom.Protobuf.StateMachineStateData.Parser, new[]{ "StateIdx", "StateMachineViewId", "Name", "Val1", "Val2", "Val3", "MinTimeInState" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class CircuitNodeData : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CircuitNodeData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RecRoom.Protobuf.CircuitNodeDataReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CircuitNodeData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CircuitNodeData(CircuitNodeData other) : this() {
circuitNodeId_ = other.circuitNodeId_;
nodeMessage_ = other.nodeMessage_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CircuitNodeData Clone() {
return new CircuitNodeData(this);
}
/// Field number for the "circuit_node_id" field.
public const int CircuitNodeIdFieldNumber = 1;
private int circuitNodeId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CircuitNodeId {
get { return circuitNodeId_; }
set {
circuitNodeId_ = value;
}
}
/// Field number for the "node_message" field.
public const int NodeMessageFieldNumber = 2;
private string nodeMessage_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string NodeMessage {
get { return nodeMessage_; }
set {
nodeMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as CircuitNodeData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(CircuitNodeData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (CircuitNodeId != other.CircuitNodeId) return false;
if (NodeMessage != other.NodeMessage) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (CircuitNodeId != 0) hash ^= CircuitNodeId.GetHashCode();
if (NodeMessage.Length != 0) hash ^= NodeMessage.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (CircuitNodeId != 0) {
output.WriteRawTag(8);
output.WriteInt32(CircuitNodeId);
}
if (NodeMessage.Length != 0) {
output.WriteRawTag(18);
output.WriteString(NodeMessage);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (CircuitNodeId != 0) {
output.WriteRawTag(8);
output.WriteInt32(CircuitNodeId);
}
if (NodeMessage.Length != 0) {
output.WriteRawTag(18);
output.WriteString(NodeMessage);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (CircuitNodeId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CircuitNodeId);
}
if (NodeMessage.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(NodeMessage);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(CircuitNodeData other) {
if (other == null) {
return;
}
if (other.CircuitNodeId != 0) {
CircuitNodeId = other.CircuitNodeId;
}
if (other.NodeMessage.Length != 0) {
NodeMessage = other.NodeMessage;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
CircuitNodeId = input.ReadInt32();
break;
}
case 18: {
NodeMessage = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
CircuitNodeId = input.ReadInt32();
break;
}
case 18: {
NodeMessage = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class StateMachineStateData : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StateMachineStateData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RecRoom.Protobuf.CircuitNodeDataReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StateMachineStateData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StateMachineStateData(StateMachineStateData other) : this() {
stateIdx_ = other.stateIdx_;
stateMachineViewId_ = other.stateMachineViewId_;
name_ = other.name_;
val1_ = other.val1_;
val2_ = other.val2_;
val3_ = other.val3_;
minTimeInState_ = other.minTimeInState_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StateMachineStateData Clone() {
return new StateMachineStateData(this);
}
/// Field number for the "state_idx" field.
public const int StateIdxFieldNumber = 1;
private int stateIdx_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int StateIdx {
get { return stateIdx_; }
set {
stateIdx_ = value;
}
}
/// Field number for the "state_machine_view_id" field.
public const int StateMachineViewIdFieldNumber = 2;
private pb::ByteString stateMachineViewId_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString StateMachineViewId {
get { return stateMachineViewId_; }
set {
stateMachineViewId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "name" field.
public const int NameFieldNumber = 3;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "val1" field.
public const int Val1FieldNumber = 4;
private int val1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Val1 {
get { return val1_; }
set {
val1_ = value;
}
}
/// Field number for the "val2" field.
public const int Val2FieldNumber = 5;
private int val2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Val2 {
get { return val2_; }
set {
val2_ = value;
}
}
/// Field number for the "val3" field.
public const int Val3FieldNumber = 6;
private int val3_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Val3 {
get { return val3_; }
set {
val3_ = value;
}
}
/// Field number for the "min_time_in_state" field.
public const int MinTimeInStateFieldNumber = 7;
private int minTimeInState_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MinTimeInState {
get { return minTimeInState_; }
set {
minTimeInState_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as StateMachineStateData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(StateMachineStateData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (StateIdx != other.StateIdx) return false;
if (StateMachineViewId != other.StateMachineViewId) return false;
if (Name != other.Name) return false;
if (Val1 != other.Val1) return false;
if (Val2 != other.Val2) return false;
if (Val3 != other.Val3) return false;
if (MinTimeInState != other.MinTimeInState) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (StateIdx != 0) hash ^= StateIdx.GetHashCode();
if (StateMachineViewId.Length != 0) hash ^= StateMachineViewId.GetHashCode();
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (Val1 != 0) hash ^= Val1.GetHashCode();
if (Val2 != 0) hash ^= Val2.GetHashCode();
if (Val3 != 0) hash ^= Val3.GetHashCode();
if (MinTimeInState != 0) hash ^= MinTimeInState.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (StateIdx != 0) {
output.WriteRawTag(8);
output.WriteInt32(StateIdx);
}
if (StateMachineViewId.Length != 0) {
output.WriteRawTag(18);
output.WriteBytes(StateMachineViewId);
}
if (Name.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Name);
}
if (Val1 != 0) {
output.WriteRawTag(32);
output.WriteInt32(Val1);
}
if (Val2 != 0) {
output.WriteRawTag(40);
output.WriteInt32(Val2);
}
if (Val3 != 0) {
output.WriteRawTag(48);
output.WriteInt32(Val3);
}
if (MinTimeInState != 0) {
output.WriteRawTag(56);
output.WriteInt32(MinTimeInState);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (StateIdx != 0) {
output.WriteRawTag(8);
output.WriteInt32(StateIdx);
}
if (StateMachineViewId.Length != 0) {
output.WriteRawTag(18);
output.WriteBytes(StateMachineViewId);
}
if (Name.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Name);
}
if (Val1 != 0) {
output.WriteRawTag(32);
output.WriteInt32(Val1);
}
if (Val2 != 0) {
output.WriteRawTag(40);
output.WriteInt32(Val2);
}
if (Val3 != 0) {
output.WriteRawTag(48);
output.WriteInt32(Val3);
}
if (MinTimeInState != 0) {
output.WriteRawTag(56);
output.WriteInt32(MinTimeInState);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (StateIdx != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(StateIdx);
}
if (StateMachineViewId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(StateMachineViewId);
}
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (Val1 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Val1);
}
if (Val2 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Val2);
}
if (Val3 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Val3);
}
if (MinTimeInState != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MinTimeInState);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(StateMachineStateData other) {
if (other == null) {
return;
}
if (other.StateIdx != 0) {
StateIdx = other.StateIdx;
}
if (other.StateMachineViewId.Length != 0) {
StateMachineViewId = other.StateMachineViewId;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.Val1 != 0) {
Val1 = other.Val1;
}
if (other.Val2 != 0) {
Val2 = other.Val2;
}
if (other.Val3 != 0) {
Val3 = other.Val3;
}
if (other.MinTimeInState != 0) {
MinTimeInState = other.MinTimeInState;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
StateIdx = input.ReadInt32();
break;
}
case 18: {
StateMachineViewId = input.ReadBytes();
break;
}
case 26: {
Name = input.ReadString();
break;
}
case 32: {
Val1 = input.ReadInt32();
break;
}
case 40: {
Val2 = input.ReadInt32();
break;
}
case 48: {
Val3 = input.ReadInt32();
break;
}
case 56: {
MinTimeInState = input.ReadInt32();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
StateIdx = input.ReadInt32();
break;
}
case 18: {
StateMachineViewId = input.ReadBytes();
break;
}
case 26: {
Name = input.ReadString();
break;
}
case 32: {
Val1 = input.ReadInt32();
break;
}
case 40: {
Val2 = input.ReadInt32();
break;
}
case 48: {
Val3 = input.ReadInt32();
break;
}
case 56: {
MinTimeInState = input.ReadInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code