329 lines
12 KiB
C#
329 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits_v2/get_balance_node_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/get_balance_node_data.proto</summary>
|
|
public static partial class GetBalanceNodeDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits_v2/get_balance_node_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GetBalanceNodeDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CidjaXJjdWl0c192Mi9nZXRfYmFsYW5jZV9ub2RlX2RhdGEucHJvdG8SC2Np",
|
|
"cmN1aXRzX3YyGhRjb3JlL2d1aWRfZGF0YS5wcm90byKEAQoSR2V0QmFsYW5j",
|
|
"ZU5vZGVEYXRhEhEKCWxvZ091dHB1dBgDIAEoCBIvChdjdXJyZW5jeV9yZXBs",
|
|
"aWNhdGlvbl9pZBgCIAEoCzIOLmNvcmUuR3VpZERhdGESKgoiREVQUkVDQVRF",
|
|
"RF9jdXJyZW5jeV9yZXBsaWNhdGlvbl9pZBgBIAEoDEIWqgITQ2lyY3VpdHNW",
|
|
"Mi5Qcm90b2J1ZmIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.GetBalanceNodeData), global::CircuitsV2.Protobuf.GetBalanceNodeData.Parser, new[]{ "LogOutput", "CurrencyReplicationId", "DEPRECATEDCurrencyReplicationId" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GetBalanceNodeData : pb::IMessage<GetBalanceNodeData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GetBalanceNodeData> _parser = new pb::MessageParser<GetBalanceNodeData>(() => new GetBalanceNodeData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GetBalanceNodeData> 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.GetBalanceNodeDataReflection.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 GetBalanceNodeData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetBalanceNodeData(GetBalanceNodeData other) : this() {
|
|
logOutput_ = other.logOutput_;
|
|
currencyReplicationId_ = other.currencyReplicationId_ != null ? other.currencyReplicationId_.Clone() : null;
|
|
dEPRECATEDCurrencyReplicationId_ = other.dEPRECATEDCurrencyReplicationId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetBalanceNodeData Clone() {
|
|
return new GetBalanceNodeData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "logOutput" field.</summary>
|
|
public const int LogOutputFieldNumber = 3;
|
|
private bool logOutput_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool LogOutput {
|
|
get { return logOutput_; }
|
|
set {
|
|
logOutput_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "currency_replication_id" field.</summary>
|
|
public const int CurrencyReplicationIdFieldNumber = 2;
|
|
private global::RecRoom.Protobuf.Core.GuidData currencyReplicationId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::RecRoom.Protobuf.Core.GuidData CurrencyReplicationId {
|
|
get { return currencyReplicationId_; }
|
|
set {
|
|
currencyReplicationId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "DEPRECATED_currency_replication_id" field.</summary>
|
|
public const int DEPRECATEDCurrencyReplicationIdFieldNumber = 1;
|
|
private pb::ByteString dEPRECATEDCurrencyReplicationId_ = pb::ByteString.Empty;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pb::ByteString DEPRECATEDCurrencyReplicationId {
|
|
get { return dEPRECATEDCurrencyReplicationId_; }
|
|
set {
|
|
dEPRECATEDCurrencyReplicationId_ = 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 GetBalanceNodeData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GetBalanceNodeData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (LogOutput != other.LogOutput) return false;
|
|
if (!object.Equals(CurrencyReplicationId, other.CurrencyReplicationId)) return false;
|
|
if (DEPRECATEDCurrencyReplicationId != other.DEPRECATEDCurrencyReplicationId) 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 (LogOutput != false) hash ^= LogOutput.GetHashCode();
|
|
if (currencyReplicationId_ != null) hash ^= CurrencyReplicationId.GetHashCode();
|
|
if (DEPRECATEDCurrencyReplicationId.Length != 0) hash ^= DEPRECATEDCurrencyReplicationId.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 (DEPRECATEDCurrencyReplicationId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteBytes(DEPRECATEDCurrencyReplicationId);
|
|
}
|
|
if (currencyReplicationId_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(CurrencyReplicationId);
|
|
}
|
|
if (LogOutput != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(LogOutput);
|
|
}
|
|
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 (DEPRECATEDCurrencyReplicationId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteBytes(DEPRECATEDCurrencyReplicationId);
|
|
}
|
|
if (currencyReplicationId_ != null) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(CurrencyReplicationId);
|
|
}
|
|
if (LogOutput != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(LogOutput);
|
|
}
|
|
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 (LogOutput != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (currencyReplicationId_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrencyReplicationId);
|
|
}
|
|
if (DEPRECATEDCurrencyReplicationId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDCurrencyReplicationId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GetBalanceNodeData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.LogOutput != false) {
|
|
LogOutput = other.LogOutput;
|
|
}
|
|
if (other.currencyReplicationId_ != null) {
|
|
if (currencyReplicationId_ == null) {
|
|
CurrencyReplicationId = new global::RecRoom.Protobuf.Core.GuidData();
|
|
}
|
|
CurrencyReplicationId.MergeFrom(other.CurrencyReplicationId);
|
|
}
|
|
if (other.DEPRECATEDCurrencyReplicationId.Length != 0) {
|
|
DEPRECATEDCurrencyReplicationId = other.DEPRECATEDCurrencyReplicationId;
|
|
}
|
|
_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: {
|
|
DEPRECATEDCurrencyReplicationId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (currencyReplicationId_ == null) {
|
|
CurrencyReplicationId = new global::RecRoom.Protobuf.Core.GuidData();
|
|
}
|
|
input.ReadMessage(CurrencyReplicationId);
|
|
break;
|
|
}
|
|
case 24: {
|
|
LogOutput = 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 10: {
|
|
DEPRECATEDCurrencyReplicationId = input.ReadBytes();
|
|
break;
|
|
}
|
|
case 18: {
|
|
if (currencyReplicationId_ == null) {
|
|
CurrencyReplicationId = new global::RecRoom.Protobuf.Core.GuidData();
|
|
}
|
|
input.ReadMessage(CurrencyReplicationId);
|
|
break;
|
|
}
|
|
case 24: {
|
|
LogOutput = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|