Protobuf...
This commit is contained in:
310
RrGraphsData.cs
Normal file
310
RrGraphsData.cs
Normal file
@@ -0,0 +1,310 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits/static/rec_room/rr_graphs_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_graphs_data.proto</summary>
|
||||
public static partial class RrGraphsDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits/static/rec_room/rr_graphs_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static RrGraphsDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci1jaXJjdWl0cy9zdGF0aWMvcmVjX3Jvb20vcnJfZ3JhcGhzX2RhdGEucHJv",
|
||||
"dG8SCGNpcmN1aXRzGjJjaXJjdWl0cy9zdGF0aWMvcmVjX3Jvb20vZnVuY3Rp",
|
||||
"b25fZ3JhcGhfZGF0YS5wcm90bxosY2lyY3VpdHMvc3RhdGljL3JlY19yb29t",
|
||||
"L3JyX2dyYXBoX2RhdGEucHJvdG8aLmNpcmN1aXRzL3NoYXJlZC91dGlsaXRp",
|
||||
"ZXMvc29hX2lkXzMyX2RhdGEucHJvdG8inQEKDFJSR3JhcGhzRGF0YRIkCgVp",
|
||||
"dGVtcxgBIAMoCzIVLmNpcmN1aXRzLlJSR3JhcGhEYXRhEjEKEmZ1bmN0aW9u",
|
||||
"X2dyYXBoX2lkcxgCIAEoCzIVLmNpcmN1aXRzLlNPQUlkMzJEYXRhEjQKD2Z1",
|
||||
"bmN0aW9uX2dyYXBocxgDIAMoCzIbLmNpcmN1aXRzLkZ1bmN0aW9uR3JhcGhE",
|
||||
"YXRhQiOqAiBDaXJjdWl0cy5TdGF0aWMuUmVjUm9vbS5Qcm90b2J1ZmIGcHJv",
|
||||
"dG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Circuits.Static.RecRoom.Protobuf.FunctionGraphDataReflection.Descriptor, global::Circuits.Static.RecRoom.Protobuf.RrGraphDataReflection.Descriptor, global::Circuits.Shared.Utilities.Protobuf.SoaId32DataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Circuits.Static.RecRoom.Protobuf.RRGraphsData), global::Circuits.Static.RecRoom.Protobuf.RRGraphsData.Parser, new[]{ "Items", "FunctionGraphIds", "FunctionGraphs" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class RRGraphsData : pb::IMessage<RRGraphsData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<RRGraphsData> _parser = new pb::MessageParser<RRGraphsData>(() => new RRGraphsData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<RRGraphsData> 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.RrGraphsDataReflection.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 RRGraphsData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public RRGraphsData(RRGraphsData other) : this() {
|
||||
items_ = other.items_.Clone();
|
||||
functionGraphIds_ = other.functionGraphIds_ != null ? other.functionGraphIds_.Clone() : null;
|
||||
functionGraphs_ = other.functionGraphs_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public RRGraphsData Clone() {
|
||||
return new RRGraphsData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "items" field.</summary>
|
||||
public const int ItemsFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<global::Circuits.Static.RecRoom.Protobuf.RRGraphData> _repeated_items_codec
|
||||
= pb::FieldCodec.ForMessage(10, global::Circuits.Static.RecRoom.Protobuf.RRGraphData.Parser);
|
||||
private readonly pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.RRGraphData> items_ = new pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.RRGraphData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.RRGraphData> Items {
|
||||
get { return items_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "function_graph_ids" field.</summary>
|
||||
public const int FunctionGraphIdsFieldNumber = 2;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data functionGraphIds_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data FunctionGraphIds {
|
||||
get { return functionGraphIds_; }
|
||||
set {
|
||||
functionGraphIds_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "function_graphs" field.</summary>
|
||||
public const int FunctionGraphsFieldNumber = 3;
|
||||
private static readonly pb::FieldCodec<global::Circuits.Static.RecRoom.Protobuf.FunctionGraphData> _repeated_functionGraphs_codec
|
||||
= pb::FieldCodec.ForMessage(26, global::Circuits.Static.RecRoom.Protobuf.FunctionGraphData.Parser);
|
||||
private readonly pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.FunctionGraphData> functionGraphs_ = new pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.FunctionGraphData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::Circuits.Static.RecRoom.Protobuf.FunctionGraphData> FunctionGraphs {
|
||||
get { return functionGraphs_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as RRGraphsData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(RRGraphsData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!items_.Equals(other.items_)) return false;
|
||||
if (!object.Equals(FunctionGraphIds, other.FunctionGraphIds)) return false;
|
||||
if(!functionGraphs_.Equals(other.functionGraphs_)) 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;
|
||||
hash ^= items_.GetHashCode();
|
||||
if (functionGraphIds_ != null) hash ^= FunctionGraphIds.GetHashCode();
|
||||
hash ^= functionGraphs_.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
|
||||
items_.WriteTo(output, _repeated_items_codec);
|
||||
if (functionGraphIds_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(FunctionGraphIds);
|
||||
}
|
||||
functionGraphs_.WriteTo(output, _repeated_functionGraphs_codec);
|
||||
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) {
|
||||
items_.WriteTo(ref output, _repeated_items_codec);
|
||||
if (functionGraphIds_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(FunctionGraphIds);
|
||||
}
|
||||
functionGraphs_.WriteTo(ref output, _repeated_functionGraphs_codec);
|
||||
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;
|
||||
size += items_.CalculateSize(_repeated_items_codec);
|
||||
if (functionGraphIds_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(FunctionGraphIds);
|
||||
}
|
||||
size += functionGraphs_.CalculateSize(_repeated_functionGraphs_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(RRGraphsData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
items_.Add(other.items_);
|
||||
if (other.functionGraphIds_ != null) {
|
||||
if (functionGraphIds_ == null) {
|
||||
FunctionGraphIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
FunctionGraphIds.MergeFrom(other.FunctionGraphIds);
|
||||
}
|
||||
functionGraphs_.Add(other.functionGraphs_);
|
||||
_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: {
|
||||
items_.AddEntriesFrom(input, _repeated_items_codec);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (functionGraphIds_ == null) {
|
||||
FunctionGraphIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(FunctionGraphIds);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
functionGraphs_.AddEntriesFrom(input, _repeated_functionGraphs_codec);
|
||||
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: {
|
||||
items_.AddEntriesFrom(ref input, _repeated_items_codec);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (functionGraphIds_ == null) {
|
||||
FunctionGraphIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(FunctionGraphIds);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
functionGraphs_.AddEntriesFrom(ref input, _repeated_functionGraphs_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user