356 lines
12 KiB
C#
356 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits_v2/graph/state_machine_graph_inst_data.proto
|
|
// </auto-generated>
|
|
#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 CircuitsV2.Protobuf {
|
|
|
|
/// <summary>Holder for reflection information generated from circuits_v2/graph/state_machine_graph_inst_data.proto</summary>
|
|
public static partial class StateMachineGraphInstDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits_v2/graph/state_machine_graph_inst_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static StateMachineGraphInstDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CjVjaXJjdWl0c192Mi9ncmFwaC9zdGF0ZV9tYWNoaW5lX2dyYXBoX2luc3Rf",
|
|
"ZGF0YS5wcm90bxILY2lyY3VpdHNfdjIiewoZU3RhdGVNYWNoaW5lR3JhcGhJ",
|
|
"bnN0RGF0YRIfChdpbl9vdXRfY2lyY3VpdF9ncmFwaF9pZBgBIAEoBRIVCg1k",
|
|
"ZWZhdWx0X3N0YXRlGAIgASgFEhEKCWlzX3N5bmNlZBgDIAEoCBITCgtoYXNf",
|
|
"ZGVmYXVsdBgEIAEoCEIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.StateMachineGraphInstData), global::CircuitsV2.Protobuf.StateMachineGraphInstData.Parser, new[]{ "InOutCircuitGraphId", "DefaultState", "IsSynced", "HasDefault" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class StateMachineGraphInstData : pb::IMessage<StateMachineGraphInstData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<StateMachineGraphInstData> _parser = new pb::MessageParser<StateMachineGraphInstData>(() => new StateMachineGraphInstData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<StateMachineGraphInstData> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::CircuitsV2.Protobuf.StateMachineGraphInstDataReflection.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 StateMachineGraphInstData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StateMachineGraphInstData(StateMachineGraphInstData other) : this() {
|
|
inOutCircuitGraphId_ = other.inOutCircuitGraphId_;
|
|
defaultState_ = other.defaultState_;
|
|
isSynced_ = other.isSynced_;
|
|
hasDefault_ = other.hasDefault_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StateMachineGraphInstData Clone() {
|
|
return new StateMachineGraphInstData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "in_out_circuit_graph_id" field.</summary>
|
|
public const int InOutCircuitGraphIdFieldNumber = 1;
|
|
private int inOutCircuitGraphId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int InOutCircuitGraphId {
|
|
get { return inOutCircuitGraphId_; }
|
|
set {
|
|
inOutCircuitGraphId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "default_state" field.</summary>
|
|
public const int DefaultStateFieldNumber = 2;
|
|
private int defaultState_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int DefaultState {
|
|
get { return defaultState_; }
|
|
set {
|
|
defaultState_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "is_synced" field.</summary>
|
|
public const int IsSyncedFieldNumber = 3;
|
|
private bool isSynced_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsSynced {
|
|
get { return isSynced_; }
|
|
set {
|
|
isSynced_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "has_default" field.</summary>
|
|
public const int HasDefaultFieldNumber = 4;
|
|
private bool hasDefault_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool HasDefault {
|
|
get { return hasDefault_; }
|
|
set {
|
|
hasDefault_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as StateMachineGraphInstData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(StateMachineGraphInstData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (InOutCircuitGraphId != other.InOutCircuitGraphId) return false;
|
|
if (DefaultState != other.DefaultState) return false;
|
|
if (IsSynced != other.IsSynced) return false;
|
|
if (HasDefault != other.HasDefault) 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 (InOutCircuitGraphId != 0) hash ^= InOutCircuitGraphId.GetHashCode();
|
|
if (DefaultState != 0) hash ^= DefaultState.GetHashCode();
|
|
if (IsSynced != false) hash ^= IsSynced.GetHashCode();
|
|
if (HasDefault != false) hash ^= HasDefault.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 (InOutCircuitGraphId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(InOutCircuitGraphId);
|
|
}
|
|
if (DefaultState != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(DefaultState);
|
|
}
|
|
if (IsSynced != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsSynced);
|
|
}
|
|
if (HasDefault != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(HasDefault);
|
|
}
|
|
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 (InOutCircuitGraphId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(InOutCircuitGraphId);
|
|
}
|
|
if (DefaultState != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(DefaultState);
|
|
}
|
|
if (IsSynced != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(IsSynced);
|
|
}
|
|
if (HasDefault != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(HasDefault);
|
|
}
|
|
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 (InOutCircuitGraphId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(InOutCircuitGraphId);
|
|
}
|
|
if (DefaultState != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DefaultState);
|
|
}
|
|
if (IsSynced != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (HasDefault != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(StateMachineGraphInstData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.InOutCircuitGraphId != 0) {
|
|
InOutCircuitGraphId = other.InOutCircuitGraphId;
|
|
}
|
|
if (other.DefaultState != 0) {
|
|
DefaultState = other.DefaultState;
|
|
}
|
|
if (other.IsSynced != false) {
|
|
IsSynced = other.IsSynced;
|
|
}
|
|
if (other.HasDefault != false) {
|
|
HasDefault = other.HasDefault;
|
|
}
|
|
_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: {
|
|
InOutCircuitGraphId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
DefaultState = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
IsSynced = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
HasDefault = input.ReadBool();
|
|
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: {
|
|
InOutCircuitGraphId = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
DefaultState = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
IsSynced = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
HasDefault = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|