Protobuf...
This commit is contained in:
526
CustomPropertiesStateData.cs
Normal file
526
CustomPropertiesStateData.cs
Normal file
@@ -0,0 +1,526 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/custom_properties_state_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/custom_properties_state_data.proto</summary>
|
||||
public static partial class CustomPropertiesStateDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/custom_properties_state_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CustomPropertiesStateDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci5jaXJjdWl0c192Mi9jdXN0b21fcHJvcGVydGllc19zdGF0ZV9kYXRhLnBy",
|
||||
"b3RvEgtjaXJjdWl0c192MhouY2lyY3VpdHMvc2hhcmVkL3V0aWxpdGllcy9z",
|
||||
"b2FfaWRfMzJfZGF0YS5wcm90bxoqY2lyY3VpdHMvc3RhdGljL2V2L2NpcmN1",
|
||||
"aXRfdHlwZV9kYXRhLnByb3RvGiVjaXJjdWl0cy9zdGF0aWMvZXYvdmFyaWFu",
|
||||
"dF9kYXRhLnByb3RvGjNjaXJjdWl0c192Mi9jdXN0b21fcHJvcGVydHlfaW5z",
|
||||
"dGFuY2Vfc2V0X2RhdGEucHJvdG8aJWNpcmN1aXRzL3NoYXJlZC9hcGkvaWRf",
|
||||
"MTI4X2RhdGEucHJvdG8isAQKGUN1c3RvbVByb3BlcnRpZXNTdGF0ZURhdGES",
|
||||
"MwoUcHJvcGVydHlfZGVmaW5pdGlvbnMYASABKAsyFS5jaXJjdWl0cy5TT0FJ",
|
||||
"ZDMyRGF0YRIhChlwcm9wZXJ0eV9kZWZpbml0aW9uX25hbWVzGAIgAygJEjwK",
|
||||
"GXByb3BlcnR5X2RlZmluaXRpb25fdHlwZXMYAyADKAsyGS5jaXJjdWl0cy5D",
|
||||
"aXJjdWl0VHlwZURhdGESMQoScHJvcGVydHlfaW5zdGFuY2VzGAQgASgLMhUu",
|
||||
"Y2lyY3VpdHMuU09BSWQzMkRhdGESJQodcHJvcGVydHlfaW5zdGFuY2VfZGVm",
|
||||
"aW5pdGlvbnMYBSADKAUSJgoecHJvcGVydHlfaW5zdGFuY2VfbWVtb3J5X2tp",
|
||||
"bmRzGAYgAygFEkMKJHByb3BlcnR5X2luc3RhbmNlX3N0b3JlZF9ob21lX3Zh",
|
||||
"bHVlcxgHIAMoCzIVLmNpcmN1aXRzLlZhcmlhbnREYXRhEjgKG3Byb3BlcnR5",
|
||||
"X2luc3RhbmNlX2V2ZW50X2lkcxgKIAMoCzITLmNpcmN1aXRzLklkMTI4RGF0",
|
||||
"YRJQChxwcm9wZXJ0eV9pbnN0YW5jZXNfYnlfb2JqZWN0GAkgAygLMiouY2ly",
|
||||
"Y3VpdHNfdjIuQ3VzdG9tUHJvcGVydHlJbnN0YW5jZVNldERhdGESKgoicHJv",
|
||||
"cGVydHlfaW5zdGFuY2VfZGlzcGxheV9tZXRhZGF0YRgLIAMoCUIWqgITQ2ly",
|
||||
"Y3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::Circuits.Shared.Utilities.Protobuf.SoaId32DataReflection.Descriptor, global::Circuits.Static.EV.Protobuf.CircuitTypeDataReflection.Descriptor, global::Circuits.Static.EV.Protobuf.VariantDataReflection.Descriptor, global::CircuitsV2.Protobuf.CustomPropertyInstanceSetDataReflection.Descriptor, global::Circuits.Shared.Api.Protobuf.Id128DataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CustomPropertiesStateData), global::CircuitsV2.Protobuf.CustomPropertiesStateData.Parser, new[]{ "PropertyDefinitions", "PropertyDefinitionNames", "PropertyDefinitionTypes", "PropertyInstances", "PropertyInstanceDefinitions", "PropertyInstanceMemoryKinds", "PropertyInstanceStoredHomeValues", "PropertyInstanceEventIds", "PropertyInstancesByObject", "PropertyInstanceDisplayMetadata" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CustomPropertiesStateData : pb::IMessage<CustomPropertiesStateData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CustomPropertiesStateData> _parser = new pb::MessageParser<CustomPropertiesStateData>(() => new CustomPropertiesStateData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CustomPropertiesStateData> 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.CustomPropertiesStateDataReflection.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 CustomPropertiesStateData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CustomPropertiesStateData(CustomPropertiesStateData other) : this() {
|
||||
propertyDefinitions_ = other.propertyDefinitions_ != null ? other.propertyDefinitions_.Clone() : null;
|
||||
propertyDefinitionNames_ = other.propertyDefinitionNames_.Clone();
|
||||
propertyDefinitionTypes_ = other.propertyDefinitionTypes_.Clone();
|
||||
propertyInstances_ = other.propertyInstances_ != null ? other.propertyInstances_.Clone() : null;
|
||||
propertyInstanceDefinitions_ = other.propertyInstanceDefinitions_.Clone();
|
||||
propertyInstanceMemoryKinds_ = other.propertyInstanceMemoryKinds_.Clone();
|
||||
propertyInstanceStoredHomeValues_ = other.propertyInstanceStoredHomeValues_.Clone();
|
||||
propertyInstanceEventIds_ = other.propertyInstanceEventIds_.Clone();
|
||||
propertyInstancesByObject_ = other.propertyInstancesByObject_.Clone();
|
||||
propertyInstanceDisplayMetadata_ = other.propertyInstanceDisplayMetadata_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CustomPropertiesStateData Clone() {
|
||||
return new CustomPropertiesStateData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_definitions" field.</summary>
|
||||
public const int PropertyDefinitionsFieldNumber = 1;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data propertyDefinitions_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data PropertyDefinitions {
|
||||
get { return propertyDefinitions_; }
|
||||
set {
|
||||
propertyDefinitions_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_definition_names" field.</summary>
|
||||
public const int PropertyDefinitionNamesFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<string> _repeated_propertyDefinitionNames_codec
|
||||
= pb::FieldCodec.ForString(18);
|
||||
private readonly pbc::RepeatedField<string> propertyDefinitionNames_ = new pbc::RepeatedField<string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<string> PropertyDefinitionNames {
|
||||
get { return propertyDefinitionNames_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_definition_types" field.</summary>
|
||||
public const int PropertyDefinitionTypesFieldNumber = 3;
|
||||
private static readonly pb::FieldCodec<global::Circuits.Static.EV.Protobuf.CircuitTypeData> _repeated_propertyDefinitionTypes_codec
|
||||
= pb::FieldCodec.ForMessage(26, global::Circuits.Static.EV.Protobuf.CircuitTypeData.Parser);
|
||||
private readonly pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.CircuitTypeData> propertyDefinitionTypes_ = new pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.CircuitTypeData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.CircuitTypeData> PropertyDefinitionTypes {
|
||||
get { return propertyDefinitionTypes_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instances" field.</summary>
|
||||
public const int PropertyInstancesFieldNumber = 4;
|
||||
private global::Circuits.Shared.Utilities.Protobuf.SOAId32Data propertyInstances_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::Circuits.Shared.Utilities.Protobuf.SOAId32Data PropertyInstances {
|
||||
get { return propertyInstances_; }
|
||||
set {
|
||||
propertyInstances_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instance_definitions" field.</summary>
|
||||
public const int PropertyInstanceDefinitionsFieldNumber = 5;
|
||||
private static readonly pb::FieldCodec<int> _repeated_propertyInstanceDefinitions_codec
|
||||
= pb::FieldCodec.ForInt32(42);
|
||||
private readonly pbc::RepeatedField<int> propertyInstanceDefinitions_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> PropertyInstanceDefinitions {
|
||||
get { return propertyInstanceDefinitions_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instance_memory_kinds" field.</summary>
|
||||
public const int PropertyInstanceMemoryKindsFieldNumber = 6;
|
||||
private static readonly pb::FieldCodec<int> _repeated_propertyInstanceMemoryKinds_codec
|
||||
= pb::FieldCodec.ForInt32(50);
|
||||
private readonly pbc::RepeatedField<int> propertyInstanceMemoryKinds_ = new pbc::RepeatedField<int>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<int> PropertyInstanceMemoryKinds {
|
||||
get { return propertyInstanceMemoryKinds_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instance_stored_home_values" field.</summary>
|
||||
public const int PropertyInstanceStoredHomeValuesFieldNumber = 7;
|
||||
private static readonly pb::FieldCodec<global::Circuits.Static.EV.Protobuf.VariantData> _repeated_propertyInstanceStoredHomeValues_codec
|
||||
= pb::FieldCodec.ForMessage(58, global::Circuits.Static.EV.Protobuf.VariantData.Parser);
|
||||
private readonly pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.VariantData> propertyInstanceStoredHomeValues_ = new pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.VariantData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::Circuits.Static.EV.Protobuf.VariantData> PropertyInstanceStoredHomeValues {
|
||||
get { return propertyInstanceStoredHomeValues_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instance_event_ids" field.</summary>
|
||||
public const int PropertyInstanceEventIdsFieldNumber = 10;
|
||||
private static readonly pb::FieldCodec<global::Circuits.Shared.Api.Protobuf.Id128Data> _repeated_propertyInstanceEventIds_codec
|
||||
= pb::FieldCodec.ForMessage(82, global::Circuits.Shared.Api.Protobuf.Id128Data.Parser);
|
||||
private readonly pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data> propertyInstanceEventIds_ = new pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::Circuits.Shared.Api.Protobuf.Id128Data> PropertyInstanceEventIds {
|
||||
get { return propertyInstanceEventIds_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instances_by_object" field.</summary>
|
||||
public const int PropertyInstancesByObjectFieldNumber = 9;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CustomPropertyInstanceSetData> _repeated_propertyInstancesByObject_codec
|
||||
= pb::FieldCodec.ForMessage(74, global::CircuitsV2.Protobuf.CustomPropertyInstanceSetData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CustomPropertyInstanceSetData> propertyInstancesByObject_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CustomPropertyInstanceSetData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CustomPropertyInstanceSetData> PropertyInstancesByObject {
|
||||
get { return propertyInstancesByObject_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "property_instance_display_metadata" field.</summary>
|
||||
public const int PropertyInstanceDisplayMetadataFieldNumber = 11;
|
||||
private static readonly pb::FieldCodec<string> _repeated_propertyInstanceDisplayMetadata_codec
|
||||
= pb::FieldCodec.ForString(90);
|
||||
private readonly pbc::RepeatedField<string> propertyInstanceDisplayMetadata_ = new pbc::RepeatedField<string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<string> PropertyInstanceDisplayMetadata {
|
||||
get { return propertyInstanceDisplayMetadata_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CustomPropertiesStateData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CustomPropertiesStateData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(PropertyDefinitions, other.PropertyDefinitions)) return false;
|
||||
if(!propertyDefinitionNames_.Equals(other.propertyDefinitionNames_)) return false;
|
||||
if(!propertyDefinitionTypes_.Equals(other.propertyDefinitionTypes_)) return false;
|
||||
if (!object.Equals(PropertyInstances, other.PropertyInstances)) return false;
|
||||
if(!propertyInstanceDefinitions_.Equals(other.propertyInstanceDefinitions_)) return false;
|
||||
if(!propertyInstanceMemoryKinds_.Equals(other.propertyInstanceMemoryKinds_)) return false;
|
||||
if(!propertyInstanceStoredHomeValues_.Equals(other.propertyInstanceStoredHomeValues_)) return false;
|
||||
if(!propertyInstanceEventIds_.Equals(other.propertyInstanceEventIds_)) return false;
|
||||
if(!propertyInstancesByObject_.Equals(other.propertyInstancesByObject_)) return false;
|
||||
if(!propertyInstanceDisplayMetadata_.Equals(other.propertyInstanceDisplayMetadata_)) 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 (propertyDefinitions_ != null) hash ^= PropertyDefinitions.GetHashCode();
|
||||
hash ^= propertyDefinitionNames_.GetHashCode();
|
||||
hash ^= propertyDefinitionTypes_.GetHashCode();
|
||||
if (propertyInstances_ != null) hash ^= PropertyInstances.GetHashCode();
|
||||
hash ^= propertyInstanceDefinitions_.GetHashCode();
|
||||
hash ^= propertyInstanceMemoryKinds_.GetHashCode();
|
||||
hash ^= propertyInstanceStoredHomeValues_.GetHashCode();
|
||||
hash ^= propertyInstanceEventIds_.GetHashCode();
|
||||
hash ^= propertyInstancesByObject_.GetHashCode();
|
||||
hash ^= propertyInstanceDisplayMetadata_.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 (propertyDefinitions_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(PropertyDefinitions);
|
||||
}
|
||||
propertyDefinitionNames_.WriteTo(output, _repeated_propertyDefinitionNames_codec);
|
||||
propertyDefinitionTypes_.WriteTo(output, _repeated_propertyDefinitionTypes_codec);
|
||||
if (propertyInstances_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(PropertyInstances);
|
||||
}
|
||||
propertyInstanceDefinitions_.WriteTo(output, _repeated_propertyInstanceDefinitions_codec);
|
||||
propertyInstanceMemoryKinds_.WriteTo(output, _repeated_propertyInstanceMemoryKinds_codec);
|
||||
propertyInstanceStoredHomeValues_.WriteTo(output, _repeated_propertyInstanceStoredHomeValues_codec);
|
||||
propertyInstancesByObject_.WriteTo(output, _repeated_propertyInstancesByObject_codec);
|
||||
propertyInstanceEventIds_.WriteTo(output, _repeated_propertyInstanceEventIds_codec);
|
||||
propertyInstanceDisplayMetadata_.WriteTo(output, _repeated_propertyInstanceDisplayMetadata_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 (propertyDefinitions_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(PropertyDefinitions);
|
||||
}
|
||||
propertyDefinitionNames_.WriteTo(ref output, _repeated_propertyDefinitionNames_codec);
|
||||
propertyDefinitionTypes_.WriteTo(ref output, _repeated_propertyDefinitionTypes_codec);
|
||||
if (propertyInstances_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(PropertyInstances);
|
||||
}
|
||||
propertyInstanceDefinitions_.WriteTo(ref output, _repeated_propertyInstanceDefinitions_codec);
|
||||
propertyInstanceMemoryKinds_.WriteTo(ref output, _repeated_propertyInstanceMemoryKinds_codec);
|
||||
propertyInstanceStoredHomeValues_.WriteTo(ref output, _repeated_propertyInstanceStoredHomeValues_codec);
|
||||
propertyInstancesByObject_.WriteTo(ref output, _repeated_propertyInstancesByObject_codec);
|
||||
propertyInstanceEventIds_.WriteTo(ref output, _repeated_propertyInstanceEventIds_codec);
|
||||
propertyInstanceDisplayMetadata_.WriteTo(ref output, _repeated_propertyInstanceDisplayMetadata_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 (propertyDefinitions_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PropertyDefinitions);
|
||||
}
|
||||
size += propertyDefinitionNames_.CalculateSize(_repeated_propertyDefinitionNames_codec);
|
||||
size += propertyDefinitionTypes_.CalculateSize(_repeated_propertyDefinitionTypes_codec);
|
||||
if (propertyInstances_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PropertyInstances);
|
||||
}
|
||||
size += propertyInstanceDefinitions_.CalculateSize(_repeated_propertyInstanceDefinitions_codec);
|
||||
size += propertyInstanceMemoryKinds_.CalculateSize(_repeated_propertyInstanceMemoryKinds_codec);
|
||||
size += propertyInstanceStoredHomeValues_.CalculateSize(_repeated_propertyInstanceStoredHomeValues_codec);
|
||||
size += propertyInstanceEventIds_.CalculateSize(_repeated_propertyInstanceEventIds_codec);
|
||||
size += propertyInstancesByObject_.CalculateSize(_repeated_propertyInstancesByObject_codec);
|
||||
size += propertyInstanceDisplayMetadata_.CalculateSize(_repeated_propertyInstanceDisplayMetadata_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CustomPropertiesStateData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.propertyDefinitions_ != null) {
|
||||
if (propertyDefinitions_ == null) {
|
||||
PropertyDefinitions = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
PropertyDefinitions.MergeFrom(other.PropertyDefinitions);
|
||||
}
|
||||
propertyDefinitionNames_.Add(other.propertyDefinitionNames_);
|
||||
propertyDefinitionTypes_.Add(other.propertyDefinitionTypes_);
|
||||
if (other.propertyInstances_ != null) {
|
||||
if (propertyInstances_ == null) {
|
||||
PropertyInstances = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
PropertyInstances.MergeFrom(other.PropertyInstances);
|
||||
}
|
||||
propertyInstanceDefinitions_.Add(other.propertyInstanceDefinitions_);
|
||||
propertyInstanceMemoryKinds_.Add(other.propertyInstanceMemoryKinds_);
|
||||
propertyInstanceStoredHomeValues_.Add(other.propertyInstanceStoredHomeValues_);
|
||||
propertyInstanceEventIds_.Add(other.propertyInstanceEventIds_);
|
||||
propertyInstancesByObject_.Add(other.propertyInstancesByObject_);
|
||||
propertyInstanceDisplayMetadata_.Add(other.propertyInstanceDisplayMetadata_);
|
||||
_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 (propertyDefinitions_ == null) {
|
||||
PropertyDefinitions = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(PropertyDefinitions);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
propertyDefinitionNames_.AddEntriesFrom(input, _repeated_propertyDefinitionNames_codec);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
propertyDefinitionTypes_.AddEntriesFrom(input, _repeated_propertyDefinitionTypes_codec);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (propertyInstances_ == null) {
|
||||
PropertyInstances = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(PropertyInstances);
|
||||
break;
|
||||
}
|
||||
case 42:
|
||||
case 40: {
|
||||
propertyInstanceDefinitions_.AddEntriesFrom(input, _repeated_propertyInstanceDefinitions_codec);
|
||||
break;
|
||||
}
|
||||
case 50:
|
||||
case 48: {
|
||||
propertyInstanceMemoryKinds_.AddEntriesFrom(input, _repeated_propertyInstanceMemoryKinds_codec);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
propertyInstanceStoredHomeValues_.AddEntriesFrom(input, _repeated_propertyInstanceStoredHomeValues_codec);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
propertyInstancesByObject_.AddEntriesFrom(input, _repeated_propertyInstancesByObject_codec);
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
propertyInstanceEventIds_.AddEntriesFrom(input, _repeated_propertyInstanceEventIds_codec);
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
propertyInstanceDisplayMetadata_.AddEntriesFrom(input, _repeated_propertyInstanceDisplayMetadata_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 (propertyDefinitions_ == null) {
|
||||
PropertyDefinitions = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(PropertyDefinitions);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
propertyDefinitionNames_.AddEntriesFrom(ref input, _repeated_propertyDefinitionNames_codec);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
propertyDefinitionTypes_.AddEntriesFrom(ref input, _repeated_propertyDefinitionTypes_codec);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (propertyInstances_ == null) {
|
||||
PropertyInstances = new global::Circuits.Shared.Utilities.Protobuf.SOAId32Data();
|
||||
}
|
||||
input.ReadMessage(PropertyInstances);
|
||||
break;
|
||||
}
|
||||
case 42:
|
||||
case 40: {
|
||||
propertyInstanceDefinitions_.AddEntriesFrom(ref input, _repeated_propertyInstanceDefinitions_codec);
|
||||
break;
|
||||
}
|
||||
case 50:
|
||||
case 48: {
|
||||
propertyInstanceMemoryKinds_.AddEntriesFrom(ref input, _repeated_propertyInstanceMemoryKinds_codec);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
propertyInstanceStoredHomeValues_.AddEntriesFrom(ref input, _repeated_propertyInstanceStoredHomeValues_codec);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
propertyInstancesByObject_.AddEntriesFrom(ref input, _repeated_propertyInstancesByObject_codec);
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
propertyInstanceEventIds_.AddEntriesFrom(ref input, _repeated_propertyInstanceEventIds_codec);
|
||||
break;
|
||||
}
|
||||
case 90: {
|
||||
propertyInstanceDisplayMetadata_.AddEntriesFrom(ref input, _repeated_propertyInstanceDisplayMetadata_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user