Protobuf...
This commit is contained in:
340
RrStaticStateSysData.cs
Normal file
340
RrStaticStateSysData.cs
Normal file
@@ -0,0 +1,340 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits/static/rec_room/rr_static_state_sys_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 Circuits.Static.RecRoom.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from circuits/static/rec_room/rr_static_state_sys_data.proto</summary>
|
||||
public static partial class RrStaticStateSysDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits/static/rec_room/rr_static_state_sys_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static RrStaticStateSysDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjdjaXJjdWl0cy9zdGF0aWMvcmVjX3Jvb20vcnJfc3RhdGljX3N0YXRlX3N5",
|
||||
"c19kYXRhLnByb3RvEghjaXJjdWl0cxoxY2lyY3VpdHMvc3RhdGljL2V2L2V2",
|
||||
"X3N0YXRpY19zdGF0ZV9zeXNfZGF0YS5wcm90bxotY2lyY3VpdHMvc3RhdGlj",
|
||||
"L3JlY19yb29tL3JyX2dyYXBoc19kYXRhLnByb3RvIpUBChRSUlN0YXRpY1N0",
|
||||
"YXRlU3lzRGF0YRIpCglycl9ncmFwaHMYASABKAsyFi5jaXJjdWl0cy5SUkdy",
|
||||
"YXBoc0RhdGESOwoTZXZfc3RhdGljX3N0YXRlX3N5cxgCIAEoCzIeLmNpcmN1",
|
||||
"aXRzLkVWU3RhdGljU3RhdGVTeXNEYXRhEhUKDXJvb3RfZ3JhcGhfaWQYAyAB",
|
||||
"KAVCI6oCIENpcmN1aXRzLlN0YXRpYy5SZWNSb29tLlByb3RvYnVmYgZwcm90",
|
||||
"bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Circuits.Static.EV.Protobuf.EvStaticStateSysDataReflection.Descriptor, global::Circuits.Static.RecRoom.Protobuf.RrGraphsDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Circuits.Static.RecRoom.Protobuf.RRStaticStateSysData), global::Circuits.Static.RecRoom.Protobuf.RRStaticStateSysData.Parser, new[]{ "RrGraphs", "EvStaticStateSys", "RootGraphId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class RRStaticStateSysData : pb::IMessage<RRStaticStateSysData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<RRStaticStateSysData> _parser = new pb::MessageParser<RRStaticStateSysData>(() => new RRStaticStateSysData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<RRStaticStateSysData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::Circuits.Static.RecRoom.Protobuf.RrStaticStateSysDataReflection.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 RRStaticStateSysData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public RRStaticStateSysData(RRStaticStateSysData other) : this() {
|
||||
rrGraphs_ = other.rrGraphs_ != null ? other.rrGraphs_.Clone() : null;
|
||||
evStaticStateSys_ = other.evStaticStateSys_ != null ? other.evStaticStateSys_.Clone() : null;
|
||||
rootGraphId_ = other.rootGraphId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public RRStaticStateSysData Clone() {
|
||||
return new RRStaticStateSysData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "rr_graphs" field.</summary>
|
||||
public const int RrGraphsFieldNumber = 1;
|
||||
private global::Circuits.Static.RecRoom.Protobuf.RRGraphsData rrGraphs_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Static.RecRoom.Protobuf.RRGraphsData RrGraphs {
|
||||
get { return rrGraphs_; }
|
||||
set {
|
||||
rrGraphs_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "ev_static_state_sys" field.</summary>
|
||||
public const int EvStaticStateSysFieldNumber = 2;
|
||||
private global::Circuits.Static.EV.Protobuf.EVStaticStateSysData evStaticStateSys_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Static.EV.Protobuf.EVStaticStateSysData EvStaticStateSys {
|
||||
get { return evStaticStateSys_; }
|
||||
set {
|
||||
evStaticStateSys_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "root_graph_id" field.</summary>
|
||||
public const int RootGraphIdFieldNumber = 3;
|
||||
private int rootGraphId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int RootGraphId {
|
||||
get { return rootGraphId_; }
|
||||
set {
|
||||
rootGraphId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as RRStaticStateSysData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(RRStaticStateSysData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(RrGraphs, other.RrGraphs)) return false;
|
||||
if (!object.Equals(EvStaticStateSys, other.EvStaticStateSys)) return false;
|
||||
if (RootGraphId != other.RootGraphId) 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 (rrGraphs_ != null) hash ^= RrGraphs.GetHashCode();
|
||||
if (evStaticStateSys_ != null) hash ^= EvStaticStateSys.GetHashCode();
|
||||
if (RootGraphId != 0) hash ^= RootGraphId.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 (rrGraphs_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(RrGraphs);
|
||||
}
|
||||
if (evStaticStateSys_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(EvStaticStateSys);
|
||||
}
|
||||
if (RootGraphId != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(RootGraphId);
|
||||
}
|
||||
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 (rrGraphs_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(RrGraphs);
|
||||
}
|
||||
if (evStaticStateSys_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(EvStaticStateSys);
|
||||
}
|
||||
if (RootGraphId != 0) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteInt32(RootGraphId);
|
||||
}
|
||||
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 (rrGraphs_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RrGraphs);
|
||||
}
|
||||
if (evStaticStateSys_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(EvStaticStateSys);
|
||||
}
|
||||
if (RootGraphId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RootGraphId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(RRStaticStateSysData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.rrGraphs_ != null) {
|
||||
if (rrGraphs_ == null) {
|
||||
RrGraphs = new global::Circuits.Static.RecRoom.Protobuf.RRGraphsData();
|
||||
}
|
||||
RrGraphs.MergeFrom(other.RrGraphs);
|
||||
}
|
||||
if (other.evStaticStateSys_ != null) {
|
||||
if (evStaticStateSys_ == null) {
|
||||
EvStaticStateSys = new global::Circuits.Static.EV.Protobuf.EVStaticStateSysData();
|
||||
}
|
||||
EvStaticStateSys.MergeFrom(other.EvStaticStateSys);
|
||||
}
|
||||
if (other.RootGraphId != 0) {
|
||||
RootGraphId = other.RootGraphId;
|
||||
}
|
||||
_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 10: {
|
||||
if (rrGraphs_ == null) {
|
||||
RrGraphs = new global::Circuits.Static.RecRoom.Protobuf.RRGraphsData();
|
||||
}
|
||||
input.ReadMessage(RrGraphs);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (evStaticStateSys_ == null) {
|
||||
EvStaticStateSys = new global::Circuits.Static.EV.Protobuf.EVStaticStateSysData();
|
||||
}
|
||||
input.ReadMessage(EvStaticStateSys);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
RootGraphId = 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 10: {
|
||||
if (rrGraphs_ == null) {
|
||||
RrGraphs = new global::Circuits.Static.RecRoom.Protobuf.RRGraphsData();
|
||||
}
|
||||
input.ReadMessage(RrGraphs);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (evStaticStateSys_ == null) {
|
||||
EvStaticStateSys = new global::Circuits.Static.EV.Protobuf.EVStaticStateSysData();
|
||||
}
|
||||
input.ReadMessage(EvStaticStateSys);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
RootGraphId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user