Files
Novaria/Novaria.Common/Protos/OnceAdditionalAttributeValue.cs

580 lines
19 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: OnceAdditionalAttributeValue.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 Nova.Client {
/// <summary>Holder for reflection information generated from OnceAdditionalAttributeValue.proto</summary>
public static partial class OnceAdditionalAttributeValueReflection {
#region Descriptor
/// <summary>File descriptor for OnceAdditionalAttributeValue.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static OnceAdditionalAttributeValueReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiJPbmNlQWRkaXRpb25hbEF0dHJpYnV0ZVZhbHVlLnByb3RvIvABChxPbmNl",
"QWRkaXRpb25hbEF0dHJpYnV0ZVZhbHVlEgoKAmlkGAEgASgFEhcKD2F0dHJp",
"YnV0ZV90eXBlMRgCIAEoBRIXCg9wYXJhbWV0ZXJfdHlwZTEYAyABKAUSDgoG",
"dmFsdWUxGAQgASgFEhcKD2F0dHJpYnV0ZV90eXBlMhgFIAEoBRIXCg9wYXJh",
"bWV0ZXJfdHlwZTIYBiABKAUSDgoGdmFsdWUyGAcgASgFEhcKD2F0dHJpYnV0",
"ZV90eXBlMxgIIAEoBRIXCg9wYXJhbWV0ZXJfdHlwZTMYCSABKAUSDgoGdmFs",
"dWUzGAogASgFQg6qAgtOb3ZhLkNsaWVudGIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.OnceAdditionalAttributeValue), global::Nova.Client.OnceAdditionalAttributeValue.Parser, new[]{ "Id", "AttributeType1", "ParameterType1", "Value1", "AttributeType2", "ParameterType2", "Value2", "AttributeType3", "ParameterType3", "Value3" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class OnceAdditionalAttributeValue : pb::IMessage<OnceAdditionalAttributeValue>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<OnceAdditionalAttributeValue> _parser = new pb::MessageParser<OnceAdditionalAttributeValue>(() => new OnceAdditionalAttributeValue());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<OnceAdditionalAttributeValue> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Nova.Client.OnceAdditionalAttributeValueReflection.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 OnceAdditionalAttributeValue() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OnceAdditionalAttributeValue(OnceAdditionalAttributeValue other) : this() {
id_ = other.id_;
attributeType1_ = other.attributeType1_;
parameterType1_ = other.parameterType1_;
value1_ = other.value1_;
attributeType2_ = other.attributeType2_;
parameterType2_ = other.parameterType2_;
value2_ = other.value2_;
attributeType3_ = other.attributeType3_;
parameterType3_ = other.parameterType3_;
value3_ = other.value3_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OnceAdditionalAttributeValue Clone() {
return new OnceAdditionalAttributeValue(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private int id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "attribute_type1" field.</summary>
public const int AttributeType1FieldNumber = 2;
private int attributeType1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int AttributeType1 {
get { return attributeType1_; }
set {
attributeType1_ = value;
}
}
/// <summary>Field number for the "parameter_type1" field.</summary>
public const int ParameterType1FieldNumber = 3;
private int parameterType1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ParameterType1 {
get { return parameterType1_; }
set {
parameterType1_ = value;
}
}
/// <summary>Field number for the "value1" field.</summary>
public const int Value1FieldNumber = 4;
private int value1_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Value1 {
get { return value1_; }
set {
value1_ = value;
}
}
/// <summary>Field number for the "attribute_type2" field.</summary>
public const int AttributeType2FieldNumber = 5;
private int attributeType2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int AttributeType2 {
get { return attributeType2_; }
set {
attributeType2_ = value;
}
}
/// <summary>Field number for the "parameter_type2" field.</summary>
public const int ParameterType2FieldNumber = 6;
private int parameterType2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ParameterType2 {
get { return parameterType2_; }
set {
parameterType2_ = value;
}
}
/// <summary>Field number for the "value2" field.</summary>
public const int Value2FieldNumber = 7;
private int value2_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Value2 {
get { return value2_; }
set {
value2_ = value;
}
}
/// <summary>Field number for the "attribute_type3" field.</summary>
public const int AttributeType3FieldNumber = 8;
private int attributeType3_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int AttributeType3 {
get { return attributeType3_; }
set {
attributeType3_ = value;
}
}
/// <summary>Field number for the "parameter_type3" field.</summary>
public const int ParameterType3FieldNumber = 9;
private int parameterType3_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ParameterType3 {
get { return parameterType3_; }
set {
parameterType3_ = value;
}
}
/// <summary>Field number for the "value3" field.</summary>
public const int Value3FieldNumber = 10;
private int value3_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Value3 {
get { return value3_; }
set {
value3_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as OnceAdditionalAttributeValue);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(OnceAdditionalAttributeValue other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (AttributeType1 != other.AttributeType1) return false;
if (ParameterType1 != other.ParameterType1) return false;
if (Value1 != other.Value1) return false;
if (AttributeType2 != other.AttributeType2) return false;
if (ParameterType2 != other.ParameterType2) return false;
if (Value2 != other.Value2) return false;
if (AttributeType3 != other.AttributeType3) return false;
if (ParameterType3 != other.ParameterType3) return false;
if (Value3 != other.Value3) 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 (Id != 0) hash ^= Id.GetHashCode();
if (AttributeType1 != 0) hash ^= AttributeType1.GetHashCode();
if (ParameterType1 != 0) hash ^= ParameterType1.GetHashCode();
if (Value1 != 0) hash ^= Value1.GetHashCode();
if (AttributeType2 != 0) hash ^= AttributeType2.GetHashCode();
if (ParameterType2 != 0) hash ^= ParameterType2.GetHashCode();
if (Value2 != 0) hash ^= Value2.GetHashCode();
if (AttributeType3 != 0) hash ^= AttributeType3.GetHashCode();
if (ParameterType3 != 0) hash ^= ParameterType3.GetHashCode();
if (Value3 != 0) hash ^= Value3.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 (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (AttributeType1 != 0) {
output.WriteRawTag(16);
output.WriteInt32(AttributeType1);
}
if (ParameterType1 != 0) {
output.WriteRawTag(24);
output.WriteInt32(ParameterType1);
}
if (Value1 != 0) {
output.WriteRawTag(32);
output.WriteInt32(Value1);
}
if (AttributeType2 != 0) {
output.WriteRawTag(40);
output.WriteInt32(AttributeType2);
}
if (ParameterType2 != 0) {
output.WriteRawTag(48);
output.WriteInt32(ParameterType2);
}
if (Value2 != 0) {
output.WriteRawTag(56);
output.WriteInt32(Value2);
}
if (AttributeType3 != 0) {
output.WriteRawTag(64);
output.WriteInt32(AttributeType3);
}
if (ParameterType3 != 0) {
output.WriteRawTag(72);
output.WriteInt32(ParameterType3);
}
if (Value3 != 0) {
output.WriteRawTag(80);
output.WriteInt32(Value3);
}
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 (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (AttributeType1 != 0) {
output.WriteRawTag(16);
output.WriteInt32(AttributeType1);
}
if (ParameterType1 != 0) {
output.WriteRawTag(24);
output.WriteInt32(ParameterType1);
}
if (Value1 != 0) {
output.WriteRawTag(32);
output.WriteInt32(Value1);
}
if (AttributeType2 != 0) {
output.WriteRawTag(40);
output.WriteInt32(AttributeType2);
}
if (ParameterType2 != 0) {
output.WriteRawTag(48);
output.WriteInt32(ParameterType2);
}
if (Value2 != 0) {
output.WriteRawTag(56);
output.WriteInt32(Value2);
}
if (AttributeType3 != 0) {
output.WriteRawTag(64);
output.WriteInt32(AttributeType3);
}
if (ParameterType3 != 0) {
output.WriteRawTag(72);
output.WriteInt32(ParameterType3);
}
if (Value3 != 0) {
output.WriteRawTag(80);
output.WriteInt32(Value3);
}
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 (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
}
if (AttributeType1 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttributeType1);
}
if (ParameterType1 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParameterType1);
}
if (Value1 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value1);
}
if (AttributeType2 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttributeType2);
}
if (ParameterType2 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParameterType2);
}
if (Value2 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value2);
}
if (AttributeType3 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(AttributeType3);
}
if (ParameterType3 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParameterType3);
}
if (Value3 != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Value3);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(OnceAdditionalAttributeValue other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.AttributeType1 != 0) {
AttributeType1 = other.AttributeType1;
}
if (other.ParameterType1 != 0) {
ParameterType1 = other.ParameterType1;
}
if (other.Value1 != 0) {
Value1 = other.Value1;
}
if (other.AttributeType2 != 0) {
AttributeType2 = other.AttributeType2;
}
if (other.ParameterType2 != 0) {
ParameterType2 = other.ParameterType2;
}
if (other.Value2 != 0) {
Value2 = other.Value2;
}
if (other.AttributeType3 != 0) {
AttributeType3 = other.AttributeType3;
}
if (other.ParameterType3 != 0) {
ParameterType3 = other.ParameterType3;
}
if (other.Value3 != 0) {
Value3 = other.Value3;
}
_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 8: {
Id = input.ReadInt32();
break;
}
case 16: {
AttributeType1 = input.ReadInt32();
break;
}
case 24: {
ParameterType1 = input.ReadInt32();
break;
}
case 32: {
Value1 = input.ReadInt32();
break;
}
case 40: {
AttributeType2 = input.ReadInt32();
break;
}
case 48: {
ParameterType2 = input.ReadInt32();
break;
}
case 56: {
Value2 = input.ReadInt32();
break;
}
case 64: {
AttributeType3 = input.ReadInt32();
break;
}
case 72: {
ParameterType3 = input.ReadInt32();
break;
}
case 80: {
Value3 = 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 8: {
Id = input.ReadInt32();
break;
}
case 16: {
AttributeType1 = input.ReadInt32();
break;
}
case 24: {
ParameterType1 = input.ReadInt32();
break;
}
case 32: {
Value1 = input.ReadInt32();
break;
}
case 40: {
AttributeType2 = input.ReadInt32();
break;
}
case 48: {
ParameterType2 = input.ReadInt32();
break;
}
case 56: {
Value2 = input.ReadInt32();
break;
}
case 64: {
AttributeType3 = input.ReadInt32();
break;
}
case 72: {
ParameterType3 = input.ReadInt32();
break;
}
case 80: {
Value3 = input.ReadInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code