|
|
|
@ -25,7 +25,7 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
byte[] descriptorData = global::System.Convert.FromBase64String( |
|
|
|
|
string.Concat( |
|
|
|
|
"Cipnb29nbGUvcHJvdG9idWYvdGVzdF9tZXNzYWdlc19wcm90bzIucHJvdG8S", |
|
|
|
|
"HXByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8yIqQ+ChJUZXN0QWxsVHlw", |
|
|
|
|
"HXByb3RvYnVmX3Rlc3RfbWVzc2FnZXMucHJvdG8yIsQ+ChJUZXN0QWxsVHlw", |
|
|
|
|
"ZXNQcm90bzISFgoOb3B0aW9uYWxfaW50MzIYASABKAUSFgoOb3B0aW9uYWxf", |
|
|
|
|
"aW50NjQYAiABKAMSFwoPb3B0aW9uYWxfdWludDMyGAMgASgNEhcKD29wdGlv", |
|
|
|
|
"bmFsX3VpbnQ2NBgEIAEoBBIXCg9vcHRpb25hbF9zaW50MzIYBSABKBESFwoP", |
|
|
|
@ -148,79 +148,81 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
"NTY3ODkxMjM0NTY3ODkSHQoNZGVmYXVsdF9mbG9hdBj7ASABKAI6BTllKzA5", |
|
|
|
|
"Eh4KDmRlZmF1bHRfZG91YmxlGPwBIAEoAToFN2UrMjISGwoMZGVmYXVsdF9i", |
|
|
|
|
"b29sGP0BIAEoCDoEdHJ1ZRIgCg5kZWZhdWx0X3N0cmluZxj+ASABKAk6B1Jv", |
|
|
|
|
"c2VidWQSEwoKZmllbGRuYW1lMRiRAyABKAUSFAoLZmllbGRfbmFtZTIYkgMg", |
|
|
|
|
"ASgFEhUKDF9maWVsZF9uYW1lMxiTAyABKAUSFgoNZmllbGRfX25hbWU0XxiU", |
|
|
|
|
"AyABKAUSFAoLZmllbGQwbmFtZTUYlQMgASgFEhYKDWZpZWxkXzBfbmFtZTYY", |
|
|
|
|
"lgMgASgFEhMKCmZpZWxkTmFtZTcYlwMgASgFEhMKCkZpZWxkT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l90ZXN0X21lc3NhZ2VzLnByb3RvMkgB+AEB")); |
|
|
|
|
"b3RvMhh4IAEoBUIvCihjb20uZ29vZ2xlLnByb3RvYnVmX3Rlc3RfbWVzc2Fn", |
|
|
|
|
"ZXMucHJvdG8ySAH4AQE=")); |
|
|
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
|
|
|
|
new pbr::FileDescriptor[] { }, |
|
|
|
|
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ProtobufTestMessages.Proto2.ForeignEnumProto2), }, new pb::Extension[] { TestMessagesProto2Extensions.ExtensionInt32 }, new pbr::GeneratedClrTypeInfo[] { |
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Parser, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalNestedMessage", "OptionalForeignMessage", "OptionalNestedEnum", "OptionalForeignEnum", "OptionalStringPiece", "OptionalCord", "RecursiveMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedStringPiece", "RepeatedCord", "PackedInt32", "PackedInt64", "PackedUint32", "PackedUint64", "PackedSint32", "PackedSint64", "PackedFixed32", "PackedFixed64", "PackedSfixed32", "PackedSfixed64", "PackedFloat", "PackedDouble", "PackedBool", "PackedNestedEnum", "UnpackedInt32", "UnpackedInt64", "UnpackedUint32", "UnpackedUint64", "UnpackedSint32", "UnpackedSint64", "UnpackedFixed32", "UnpackedFixed64", "UnpackedSfixed32", "UnpackedSfixed64", "UnpackedFloat", "UnpackedDouble", "UnpackedBool", "UnpackedNestedEnum", "MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBoolBool", "MapStringString", "MapStringBytes", "MapStringNestedMessage", "MapStringForeignMessage", "MapStringNestedEnum", "MapStringForeignEnum", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes", "OneofBool", "OneofUint64", "OneofFloat", "OneofDouble", "OneofEnum", "Data", "DefaultInt32", "DefaultInt64", "DefaultUint32", "DefaultUint64", "DefaultSint32", "DefaultSint64", "DefaultFixed32", "DefaultFixed64", "DefaultSfixed32", "DefaultSfixed64", "DefaultFloat", "DefaultDouble", "DefaultBool", "DefaultString", "Fieldname1", "FieldName2", "FieldName3", "FieldName4", "Field0Name5", "Field0Name6", "FieldName7", "FieldName8", "FieldName9", "FieldName10", "FIELDNAME11", "FIELDName12", "FieldName13", "FieldName14", "FieldName15", "FieldName16", "FieldName17", "FieldName18" }, new[]{ "OneofField" }, new[]{ typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage.Parser, new[]{ "A", "Corecursive" }, null, null, null, null), |
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Parser, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalNestedMessage", "OptionalForeignMessage", "OptionalNestedEnum", "OptionalForeignEnum", "OptionalStringPiece", "OptionalCord", "RecursiveMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedStringPiece", "RepeatedCord", "PackedInt32", "PackedInt64", "PackedUint32", "PackedUint64", "PackedSint32", "PackedSint64", "PackedFixed32", "PackedFixed64", "PackedSfixed32", "PackedSfixed64", "PackedFloat", "PackedDouble", "PackedBool", "PackedNestedEnum", "UnpackedInt32", "UnpackedInt64", "UnpackedUint32", "UnpackedUint64", "UnpackedSint32", "UnpackedSint64", "UnpackedFixed32", "UnpackedFixed64", "UnpackedSfixed32", "UnpackedSfixed64", "UnpackedFloat", "UnpackedDouble", "UnpackedBool", "UnpackedNestedEnum", "MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBoolBool", "MapStringString", "MapStringBytes", "MapStringNestedMessage", "MapStringForeignMessage", "MapStringNestedEnum", "MapStringForeignEnum", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes", "OneofBool", "OneofUint64", "OneofFloat", "OneofDouble", "OneofEnum", "Data", "DefaultInt32", "DefaultInt64", "DefaultUint32", "DefaultUint64", "DefaultSint32", "DefaultSint64", "DefaultFixed32", "DefaultFixed64", "DefaultSfixed32", "DefaultSfixed64", "DefaultFloat", "DefaultDouble", "DefaultBool", "DefaultString", "DefaultBytes", "Fieldname1", "FieldName2", "FieldName3", "FieldName4", "Field0Name5", "Field0Name6", "FieldName7", "FieldName8", "FieldName9", "FieldName10", "FIELDNAME11", "FIELDName12", "FieldName13", "FieldName14", "FieldName15", "FieldName16", "FieldName17", "FieldName18" }, new[]{ "OneofField" }, new[]{ typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedEnum) }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.NestedMessage.Parser, new[]{ "A", "Corecursive" }, null, null, null, null), |
|
|
|
|
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.Data), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.Data.Parser, new[]{ "GroupInt32", "GroupUint32" }, null, null, null, null), |
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrect), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrect.Parser, null, null, null, null, null), |
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1), global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1.Parser, new[]{ "Str" }, null, null, new pb::Extension[] { global::ProtobufTestMessages.Proto2.TestAllTypesProto2.Types.MessageSetCorrectExtension1.Extensions.MessageSetExtension }, null), |
|
|
|
@ -228,7 +230,8 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.ForeignMessageProto2), global::ProtobufTestMessages.Proto2.ForeignMessageProto2.Parser, new[]{ "C" }, null, null, null, null), |
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes), global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Parser, new[]{ "OptionalInt32", "OptionalString", "NestedMessage", "OptionalGroup", "OptionalBool", "RepeatedInt32" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Types.OptionalGroup), global::ProtobufTestMessages.Proto2.UnknownToTestAllTypes.Types.OptionalGroup.Parser, new[]{ "A" }, null, null, null, null)}), |
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.NullHypothesisProto2), global::ProtobufTestMessages.Proto2.NullHypothesisProto2.Parser, null, null, null, null, null), |
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.EnumOnlyProto2), global::ProtobufTestMessages.Proto2.EnumOnlyProto2.Parser, null, null, new[]{ typeof(global::ProtobufTestMessages.Proto2.EnumOnlyProto2.Types.Bool) }, null, null) |
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.EnumOnlyProto2), global::ProtobufTestMessages.Proto2.EnumOnlyProto2.Parser, null, null, new[]{ typeof(global::ProtobufTestMessages.Proto2.EnumOnlyProto2.Types.Bool) }, null, null), |
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::ProtobufTestMessages.Proto2.OneStringProto2), global::ProtobufTestMessages.Proto2.OneStringProto2.Parser, new[]{ "Data" }, null, null, null, null) |
|
|
|
|
})); |
|
|
|
|
} |
|
|
|
|
#endregion |
|
|
|
@ -404,6 +407,7 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
defaultDouble_ = other.defaultDouble_; |
|
|
|
|
defaultBool_ = other.defaultBool_; |
|
|
|
|
defaultString_ = other.defaultString_; |
|
|
|
|
defaultBytes_ = other.defaultBytes_; |
|
|
|
|
fieldname1_ = other.fieldname1_; |
|
|
|
|
fieldName2_ = other.fieldName2_; |
|
|
|
|
FieldName3_ = other.FieldName3_; |
|
|
|
@ -2394,6 +2398,32 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
defaultString_ = null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "default_bytes" field.</summary> |
|
|
|
|
public const int DefaultBytesFieldNumber = 255; |
|
|
|
|
private readonly static pb::ByteString DefaultBytesDefaultValue = pb::ByteString.FromBase64("am9zaHVh"); |
|
|
|
|
|
|
|
|
|
private pb::ByteString defaultBytes_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pb::ByteString DefaultBytes { |
|
|
|
|
get { return defaultBytes_ ?? DefaultBytesDefaultValue; } |
|
|
|
|
set { |
|
|
|
|
defaultBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
/// <summary>Gets whether the "default_bytes" field is set</summary> |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public bool HasDefaultBytes { |
|
|
|
|
get { return defaultBytes_ != null; } |
|
|
|
|
} |
|
|
|
|
/// <summary>Clears the value of the "default_bytes" field</summary> |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public void ClearDefaultBytes() { |
|
|
|
|
defaultBytes_ = null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "fieldname1" field.</summary> |
|
|
|
|
public const int Fieldname1FieldNumber = 401; |
|
|
|
|
private readonly static int Fieldname1DefaultValue = 0; |
|
|
|
@ -3041,6 +3071,7 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DefaultDouble, other.DefaultDouble)) return false; |
|
|
|
|
if (DefaultBool != other.DefaultBool) return false; |
|
|
|
|
if (DefaultString != other.DefaultString) return false; |
|
|
|
|
if (DefaultBytes != other.DefaultBytes) return false; |
|
|
|
|
if (Fieldname1 != other.Fieldname1) return false; |
|
|
|
|
if (FieldName2 != other.FieldName2) return false; |
|
|
|
|
if (FieldName3 != other.FieldName3) return false; |
|
|
|
@ -3184,6 +3215,7 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
if (HasDefaultDouble) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DefaultDouble); |
|
|
|
|
if (HasDefaultBool) hash ^= DefaultBool.GetHashCode(); |
|
|
|
|
if (HasDefaultString) hash ^= DefaultString.GetHashCode(); |
|
|
|
|
if (HasDefaultBytes) hash ^= DefaultBytes.GetHashCode(); |
|
|
|
|
if (HasFieldname1) hash ^= Fieldname1.GetHashCode(); |
|
|
|
|
if (HasFieldName2) hash ^= FieldName2.GetHashCode(); |
|
|
|
|
if (HasFieldName3) hash ^= FieldName3.GetHashCode(); |
|
|
|
@ -3477,6 +3509,10 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
output.WriteRawTag(242, 15); |
|
|
|
|
output.WriteString(DefaultString); |
|
|
|
|
} |
|
|
|
|
if (HasDefaultBytes) { |
|
|
|
|
output.WriteRawTag(250, 15); |
|
|
|
|
output.WriteBytes(DefaultBytes); |
|
|
|
|
} |
|
|
|
|
if (HasFieldname1) { |
|
|
|
|
output.WriteRawTag(136, 25); |
|
|
|
|
output.WriteInt32(Fieldname1); |
|
|
|
@ -3815,6 +3851,10 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
output.WriteRawTag(242, 15); |
|
|
|
|
output.WriteString(DefaultString); |
|
|
|
|
} |
|
|
|
|
if (HasDefaultBytes) { |
|
|
|
|
output.WriteRawTag(250, 15); |
|
|
|
|
output.WriteBytes(DefaultBytes); |
|
|
|
|
} |
|
|
|
|
if (HasFieldname1) { |
|
|
|
|
output.WriteRawTag(136, 25); |
|
|
|
|
output.WriteInt32(Fieldname1); |
|
|
|
@ -4106,6 +4146,9 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
if (HasDefaultString) { |
|
|
|
|
size += 2 + pb::CodedOutputStream.ComputeStringSize(DefaultString); |
|
|
|
|
} |
|
|
|
|
if (HasDefaultBytes) { |
|
|
|
|
size += 2 + pb::CodedOutputStream.ComputeBytesSize(DefaultBytes); |
|
|
|
|
} |
|
|
|
|
if (HasFieldname1) { |
|
|
|
|
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Fieldname1); |
|
|
|
|
} |
|
|
|
@ -4366,6 +4409,9 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
if (other.HasDefaultString) { |
|
|
|
|
DefaultString = other.DefaultString; |
|
|
|
|
} |
|
|
|
|
if (other.HasDefaultBytes) { |
|
|
|
|
DefaultBytes = other.DefaultBytes; |
|
|
|
|
} |
|
|
|
|
if (other.HasFieldname1) { |
|
|
|
|
Fieldname1 = other.Fieldname1; |
|
|
|
|
} |
|
|
|
@ -4988,6 +5034,10 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
DefaultString = input.ReadString(); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
case 2042: { |
|
|
|
|
DefaultBytes = input.ReadBytes(); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
case 3208: { |
|
|
|
|
Fieldname1 = input.ReadInt32(); |
|
|
|
|
break; |
|
|
|
@ -5594,6 +5644,10 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
DefaultString = input.ReadString(); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
case 2042: { |
|
|
|
|
DefaultBytes = input.ReadBytes(); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
case 3208: { |
|
|
|
|
Fieldname1 = input.ReadInt32(); |
|
|
|
|
break; |
|
|
|
@ -8043,6 +8097,209 @@ namespace ProtobufTestMessages.Proto2 { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public sealed partial class OneStringProto2 : pb::IMessage<OneStringProto2> |
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
|
|
|
|
, pb::IBufferMessage |
|
|
|
|
#endif |
|
|
|
|
{ |
|
|
|
|
private static readonly pb::MessageParser<OneStringProto2> _parser = new pb::MessageParser<OneStringProto2>(() => new OneStringProto2()); |
|
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public static pb::MessageParser<OneStringProto2> Parser { get { return _parser; } } |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public static pbr::MessageDescriptor Descriptor { |
|
|
|
|
get { return global::ProtobufTestMessages.Proto2.TestMessagesProto2Reflection.Descriptor.MessageTypes[5]; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[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 OneStringProto2() { |
|
|
|
|
OnConstruction(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
partial void OnConstruction(); |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public OneStringProto2(OneStringProto2 other) : this() { |
|
|
|
|
data_ = other.data_; |
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public OneStringProto2 Clone() { |
|
|
|
|
return new OneStringProto2(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "data" field.</summary> |
|
|
|
|
public const int DataFieldNumber = 1; |
|
|
|
|
private readonly static string DataDefaultValue = ""; |
|
|
|
|
|
|
|
|
|
private string data_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public string Data { |
|
|
|
|
get { return data_ ?? DataDefaultValue; } |
|
|
|
|
set { |
|
|
|
|
data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
/// <summary>Gets whether the "data" field is set</summary> |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public bool HasData { |
|
|
|
|
get { return data_ != null; } |
|
|
|
|
} |
|
|
|
|
/// <summary>Clears the value of the "data" field</summary> |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public void ClearData() { |
|
|
|
|
data_ = null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public override bool Equals(object other) { |
|
|
|
|
return Equals(other as OneStringProto2); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public bool Equals(OneStringProto2 other) { |
|
|
|
|
if (ReferenceEquals(other, null)) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
if (ReferenceEquals(other, this)) { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
if (Data != other.Data) 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 (HasData) hash ^= Data.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 (HasData) { |
|
|
|
|
output.WriteRawTag(10); |
|
|
|
|
output.WriteString(Data); |
|
|
|
|
} |
|
|
|
|
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 (HasData) { |
|
|
|
|
output.WriteRawTag(10); |
|
|
|
|
output.WriteString(Data); |
|
|
|
|
} |
|
|
|
|
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 (HasData) { |
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Data); |
|
|
|
|
} |
|
|
|
|
if (_unknownFields != null) { |
|
|
|
|
size += _unknownFields.CalculateSize(); |
|
|
|
|
} |
|
|
|
|
return size; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public void MergeFrom(OneStringProto2 other) { |
|
|
|
|
if (other == null) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (other.HasData) { |
|
|
|
|
Data = other.Data; |
|
|
|
|
} |
|
|
|
|
_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) { |
|
|
|
|
switch(tag) { |
|
|
|
|
default: |
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
|
|
|
|
break; |
|
|
|
|
case 10: { |
|
|
|
|
Data = input.ReadString(); |
|
|
|
|
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) { |
|
|
|
|
switch(tag) { |
|
|
|
|
default: |
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
|
|
|
|
break; |
|
|
|
|
case 10: { |
|
|
|
|
Data = input.ReadString(); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|