//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: circuits_v2/behaviors/behaviors_state_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 CircuitsV2.Protobuf {
/// Holder for reflection information generated from circuits_v2/behaviors/behaviors_state_data.proto
public static partial class BehaviorsStateDataReflection {
#region Descriptor
/// File descriptor for circuits_v2/behaviors/behaviors_state_data.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static BehaviorsStateDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjBjaXJjdWl0c192Mi9iZWhhdmlvcnMvYmVoYXZpb3JzX3N0YXRlX2RhdGEu",
"cHJvdG8SC2NpcmN1aXRzX3YyGi5jaXJjdWl0cy9zaGFyZWQvdXRpbGl0aWVz",
"L3NvYV9pZF8zMl9kYXRhLnByb3RvGiVjaXJjdWl0cy9zaGFyZWQvYXBpL2lk",
"XzEyOF9kYXRhLnByb3RvIowBChJCZWhhdmlvcnNTdGF0ZURhdGESKwoMYmVo",
"YXZpb3JfaWRzGAEgASgLMhUuY2lyY3VpdHMuU09BSWQzMkRhdGESDQoFbmFt",
"ZXMYAiADKAkSJwoKdW5pcXVlX2lkcxgDIAMoCzITLmNpcmN1aXRzLklkMTI4",
"RGF0YRIRCglncmFwaF9pZHMYBCADKAVCFqoCE0NpcmN1aXRzVjIuUHJvdG9i",
"dWZiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Circuits.Shared.Utilities.Protobuf.SoaId32DataReflection.Descriptor, global::Circuits.Shared.Api.Protobuf.Id128DataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.BehaviorsStateData), global::CircuitsV2.Protobuf.BehaviorsStateData.Parser, new[]{ "BehaviorIds", "Names", "UniqueIds", "GraphIds" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BehaviorsStateData : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BehaviorsStateData());
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::CircuitsV2.Protobuf.BehaviorsStateDataReflection.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 BehaviorsStateData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BehaviorsStateData(BehaviorsStateData other) : this() {
behaviorIds_ = other.behaviorIds_ != null ? other.behaviorIds_.Clone() : null;
names_ = other.names_.Clone();
uniqueIds_ = other.uniqueIds_.Clone();
graphIds_ = other.graphIds_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BehaviorsStateData Clone() {
return new BehaviorsStateData(this);
}
/// Field number for the "behavior_ids" field.
public const int BehaviorIdsFieldNumber = 1;
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data behaviorIds_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data BehaviorIds {
get { return behaviorIds_; }
set {
behaviorIds_ = value;
}
}
/// Field number for the "names" field.
public const int NamesFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_names_codec
= pb::FieldCodec.ForString(18);
private readonly pbc::RepeatedField names_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Names {
get { return names_; }
}
/// Field number for the "unique_ids" field.
public const int UniqueIdsFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_uniqueIds_codec
= pb::FieldCodec.ForMessage(26, global::Circuits.Shared.Api.Protobuf.Id128Data.Parser);
private readonly pbc::RepeatedField uniqueIds_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField UniqueIds {
get { return uniqueIds_; }
}
/// Field number for the "graph_ids" field.
public const int GraphIdsFieldNumber = 4;
private static readonly pb::FieldCodec _repeated_graphIds_codec
= pb::FieldCodec.ForInt32(34);
private readonly pbc::RepeatedField graphIds_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField GraphIds {
get { return graphIds_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BehaviorsStateData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BehaviorsStateData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(BehaviorIds, other.BehaviorIds)) return false;
if(!names_.Equals(other.names_)) return false;
if(!uniqueIds_.Equals(other.uniqueIds_)) return false;
if(!graphIds_.Equals(other.graphIds_)) 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 (behaviorIds_ != null) hash ^= BehaviorIds.GetHashCode();
hash ^= names_.GetHashCode();
hash ^= uniqueIds_.GetHashCode();
hash ^= graphIds_.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 (behaviorIds_ != null) {
output.WriteRawTag(10);
output.WriteMessage(BehaviorIds);
}
names_.WriteTo(output, _repeated_names_codec);
uniqueIds_.WriteTo(output, _repeated_uniqueIds_codec);
graphIds_.WriteTo(output, _repeated_graphIds_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) {
if (behaviorIds_ != null) {
output.WriteRawTag(10);
output.WriteMessage(BehaviorIds);
}
names_.WriteTo(ref output, _repeated_names_codec);
uniqueIds_.WriteTo(ref output, _repeated_uniqueIds_codec);
graphIds_.WriteTo(ref output, _repeated_graphIds_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;
if (behaviorIds_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BehaviorIds);
}
size += names_.CalculateSize(_repeated_names_codec);
size += uniqueIds_.CalculateSize(_repeated_uniqueIds_codec);
size += graphIds_.CalculateSize(_repeated_graphIds_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BehaviorsStateData other) {
if (other == null) {
return;
}
if (other.behaviorIds_ != null) {
if (behaviorIds_ == null) {
BehaviorIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
}
BehaviorIds.MergeFrom(other.BehaviorIds);
}
names_.Add(other.names_);
uniqueIds_.Add(other.uniqueIds_);
graphIds_.Add(other.graphIds_);
_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 (behaviorIds_ == null) {
BehaviorIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
}
input.ReadMessage(BehaviorIds);
break;
}
case 18: {
names_.AddEntriesFrom(input, _repeated_names_codec);
break;
}
case 26: {
uniqueIds_.AddEntriesFrom(input, _repeated_uniqueIds_codec);
break;
}
case 34:
case 32: {
graphIds_.AddEntriesFrom(input, _repeated_graphIds_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: {
if (behaviorIds_ == null) {
BehaviorIds = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
}
input.ReadMessage(BehaviorIds);
break;
}
case 18: {
names_.AddEntriesFrom(ref input, _repeated_names_codec);
break;
}
case 26: {
uniqueIds_.AddEntriesFrom(ref input, _repeated_uniqueIds_codec);
break;
}
case 34:
case 32: {
graphIds_.AddEntriesFrom(ref input, _repeated_graphIds_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code