|
|
|
@ -187,19 +187,23 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
private static readonly pb::MessageParser<TestWellKnownTypes> _parser = new pb::MessageParser<TestWellKnownTypes>(() => new TestWellKnownTypes()); |
|
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public static pb::MessageParser<TestWellKnownTypes> Parser { get { return _parser; } } |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public static pbr::MessageDescriptor Descriptor { |
|
|
|
|
get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesReflection.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 TestWellKnownTypes() { |
|
|
|
|
OnConstruction(); |
|
|
|
|
} |
|
|
|
@ -207,6 +211,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
partial void OnConstruction(); |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public TestWellKnownTypes(TestWellKnownTypes other) : this() { |
|
|
|
|
anyField_ = other.anyField_ != null ? other.anyField_.Clone() : null; |
|
|
|
|
apiField_ = other.apiField_ != null ? other.apiField_.Clone() : null; |
|
|
|
@ -231,6 +236,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public TestWellKnownTypes Clone() { |
|
|
|
|
return new TestWellKnownTypes(this); |
|
|
|
|
} |
|
|
|
@ -239,6 +245,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int AnyFieldFieldNumber = 1; |
|
|
|
|
private global::Google.Protobuf.WellKnownTypes.Any anyField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Any AnyField { |
|
|
|
|
get { return anyField_; } |
|
|
|
|
set { |
|
|
|
@ -250,6 +257,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int ApiFieldFieldNumber = 2; |
|
|
|
|
private global::Google.Protobuf.WellKnownTypes.Api apiField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Api ApiField { |
|
|
|
|
get { return apiField_; } |
|
|
|
|
set { |
|
|
|
@ -261,6 +269,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int DurationFieldFieldNumber = 3; |
|
|
|
|
private global::Google.Protobuf.WellKnownTypes.Duration durationField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Duration DurationField { |
|
|
|
|
get { return durationField_; } |
|
|
|
|
set { |
|
|
|
@ -272,6 +281,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int EmptyFieldFieldNumber = 4; |
|
|
|
|
private global::Google.Protobuf.WellKnownTypes.Empty emptyField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Empty EmptyField { |
|
|
|
|
get { return emptyField_; } |
|
|
|
|
set { |
|
|
|
@ -283,6 +293,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int FieldMaskFieldFieldNumber = 5; |
|
|
|
|
private global::Google.Protobuf.WellKnownTypes.FieldMask fieldMaskField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField { |
|
|
|
|
get { return fieldMaskField_; } |
|
|
|
|
set { |
|
|
|
@ -294,6 +305,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int SourceContextFieldFieldNumber = 6; |
|
|
|
|
private global::Google.Protobuf.WellKnownTypes.SourceContext sourceContextField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.SourceContext SourceContextField { |
|
|
|
|
get { return sourceContextField_; } |
|
|
|
|
set { |
|
|
|
@ -305,6 +317,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int StructFieldFieldNumber = 7; |
|
|
|
|
private global::Google.Protobuf.WellKnownTypes.Struct structField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Struct StructField { |
|
|
|
|
get { return structField_; } |
|
|
|
|
set { |
|
|
|
@ -316,6 +329,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int TimestampFieldFieldNumber = 8; |
|
|
|
|
private global::Google.Protobuf.WellKnownTypes.Timestamp timestampField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Timestamp TimestampField { |
|
|
|
|
get { return timestampField_; } |
|
|
|
|
set { |
|
|
|
@ -327,6 +341,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int TypeFieldFieldNumber = 9; |
|
|
|
|
private global::Google.Protobuf.WellKnownTypes.Type typeField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Type TypeField { |
|
|
|
|
get { return typeField_; } |
|
|
|
|
set { |
|
|
|
@ -339,6 +354,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
private static readonly pb::FieldCodec<double?> _single_doubleField_codec = pb::FieldCodec.ForStructWrapper<double>(82); |
|
|
|
|
private double? doubleField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public double? DoubleField { |
|
|
|
|
get { return doubleField_; } |
|
|
|
|
set { |
|
|
|
@ -352,6 +368,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
private static readonly pb::FieldCodec<float?> _single_floatField_codec = pb::FieldCodec.ForStructWrapper<float>(90); |
|
|
|
|
private float? floatField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public float? FloatField { |
|
|
|
|
get { return floatField_; } |
|
|
|
|
set { |
|
|
|
@ -365,6 +382,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
private static readonly pb::FieldCodec<long?> _single_int64Field_codec = pb::FieldCodec.ForStructWrapper<long>(98); |
|
|
|
|
private long? int64Field_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public long? Int64Field { |
|
|
|
|
get { return int64Field_; } |
|
|
|
|
set { |
|
|
|
@ -378,6 +396,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
private static readonly pb::FieldCodec<ulong?> _single_uint64Field_codec = pb::FieldCodec.ForStructWrapper<ulong>(106); |
|
|
|
|
private ulong? uint64Field_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public ulong? Uint64Field { |
|
|
|
|
get { return uint64Field_; } |
|
|
|
|
set { |
|
|
|
@ -391,6 +410,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
private static readonly pb::FieldCodec<int?> _single_int32Field_codec = pb::FieldCodec.ForStructWrapper<int>(114); |
|
|
|
|
private int? int32Field_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public int? Int32Field { |
|
|
|
|
get { return int32Field_; } |
|
|
|
|
set { |
|
|
|
@ -404,6 +424,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
private static readonly pb::FieldCodec<uint?> _single_uint32Field_codec = pb::FieldCodec.ForStructWrapper<uint>(122); |
|
|
|
|
private uint? uint32Field_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public uint? Uint32Field { |
|
|
|
|
get { return uint32Field_; } |
|
|
|
|
set { |
|
|
|
@ -417,6 +438,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
private static readonly pb::FieldCodec<bool?> _single_boolField_codec = pb::FieldCodec.ForStructWrapper<bool>(130); |
|
|
|
|
private bool? boolField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public bool? BoolField { |
|
|
|
|
get { return boolField_; } |
|
|
|
|
set { |
|
|
|
@ -430,6 +452,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
private static readonly pb::FieldCodec<string> _single_stringField_codec = pb::FieldCodec.ForClassWrapper<string>(138); |
|
|
|
|
private string stringField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public string StringField { |
|
|
|
|
get { return stringField_; } |
|
|
|
|
set { |
|
|
|
@ -443,6 +466,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
private static readonly pb::FieldCodec<pb::ByteString> _single_bytesField_codec = pb::FieldCodec.ForClassWrapper<pb::ByteString>(146); |
|
|
|
|
private pb::ByteString bytesField_; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pb::ByteString BytesField { |
|
|
|
|
get { return bytesField_; } |
|
|
|
|
set { |
|
|
|
@ -458,6 +482,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
/// Part of struct, but useful to be able to test separately |
|
|
|
|
/// </summary> |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Value ValueField { |
|
|
|
|
get { return valueField_; } |
|
|
|
|
set { |
|
|
|
@ -466,11 +491,13 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public override bool Equals(object other) { |
|
|
|
|
return Equals(other as TestWellKnownTypes); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public bool Equals(TestWellKnownTypes other) { |
|
|
|
|
if (ReferenceEquals(other, null)) { |
|
|
|
|
return false; |
|
|
|
@ -501,6 +528,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public override int GetHashCode() { |
|
|
|
|
int hash = 1; |
|
|
|
|
if (anyField_ != null) hash ^= AnyField.GetHashCode(); |
|
|
|
@ -529,11 +557,13 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[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); |
|
|
|
@ -613,6 +643,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
|
|
|
|
|
#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 (anyField_ != null) { |
|
|
|
|
output.WriteRawTag(10); |
|
|
|
@ -688,6 +719,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public int CalculateSize() { |
|
|
|
|
int size = 0; |
|
|
|
|
if (anyField_ != null) { |
|
|
|
@ -754,6 +786,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public void MergeFrom(TestWellKnownTypes other) { |
|
|
|
|
if (other == null) { |
|
|
|
|
return; |
|
|
|
@ -867,6 +900,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[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); |
|
|
|
@ -1017,6 +1051,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
|
|
|
|
|
#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) { |
|
|
|
@ -1175,19 +1210,23 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
private static readonly pb::MessageParser<RepeatedWellKnownTypes> _parser = new pb::MessageParser<RepeatedWellKnownTypes>(() => new RepeatedWellKnownTypes()); |
|
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public static pb::MessageParser<RepeatedWellKnownTypes> Parser { get { return _parser; } } |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public static pbr::MessageDescriptor Descriptor { |
|
|
|
|
get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesReflection.Descriptor.MessageTypes[1]; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[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 RepeatedWellKnownTypes() { |
|
|
|
|
OnConstruction(); |
|
|
|
|
} |
|
|
|
@ -1195,6 +1234,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
partial void OnConstruction(); |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public RepeatedWellKnownTypes(RepeatedWellKnownTypes other) : this() { |
|
|
|
|
anyField_ = other.anyField_.Clone(); |
|
|
|
|
apiField_ = other.apiField_.Clone(); |
|
|
|
@ -1218,6 +1258,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public RepeatedWellKnownTypes Clone() { |
|
|
|
|
return new RepeatedWellKnownTypes(this); |
|
|
|
|
} |
|
|
|
@ -1228,6 +1269,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForMessage(10, global::Google.Protobuf.WellKnownTypes.Any.Parser); |
|
|
|
|
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> anyField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> AnyField { |
|
|
|
|
get { return anyField_; } |
|
|
|
|
} |
|
|
|
@ -1238,6 +1280,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Api.Parser); |
|
|
|
|
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Api> apiField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Api>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Api> ApiField { |
|
|
|
|
get { return apiField_; } |
|
|
|
|
} |
|
|
|
@ -1248,6 +1291,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForMessage(26, global::Google.Protobuf.WellKnownTypes.Duration.Parser); |
|
|
|
|
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> durationField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> DurationField { |
|
|
|
|
get { return durationField_; } |
|
|
|
|
} |
|
|
|
@ -1258,6 +1302,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForMessage(34, global::Google.Protobuf.WellKnownTypes.Empty.Parser); |
|
|
|
|
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Empty> emptyField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Empty>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Empty> EmptyField { |
|
|
|
|
get { return emptyField_; } |
|
|
|
|
} |
|
|
|
@ -1268,6 +1313,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForMessage(42, global::Google.Protobuf.WellKnownTypes.FieldMask.Parser); |
|
|
|
|
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> fieldMaskField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> FieldMaskField { |
|
|
|
|
get { return fieldMaskField_; } |
|
|
|
|
} |
|
|
|
@ -1278,6 +1324,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForMessage(50, global::Google.Protobuf.WellKnownTypes.SourceContext.Parser); |
|
|
|
|
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.SourceContext> sourceContextField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.SourceContext>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.SourceContext> SourceContextField { |
|
|
|
|
get { return sourceContextField_; } |
|
|
|
|
} |
|
|
|
@ -1288,6 +1335,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForMessage(58, global::Google.Protobuf.WellKnownTypes.Struct.Parser); |
|
|
|
|
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> structField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> StructField { |
|
|
|
|
get { return structField_; } |
|
|
|
|
} |
|
|
|
@ -1298,6 +1346,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForMessage(66, global::Google.Protobuf.WellKnownTypes.Timestamp.Parser); |
|
|
|
|
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp> timestampField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp> TimestampField { |
|
|
|
|
get { return timestampField_; } |
|
|
|
|
} |
|
|
|
@ -1308,6 +1357,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForMessage(74, global::Google.Protobuf.WellKnownTypes.Type.Parser); |
|
|
|
|
private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Type> typeField_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Type>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Type> TypeField { |
|
|
|
|
get { return typeField_; } |
|
|
|
|
} |
|
|
|
@ -1321,6 +1371,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
/// These don't actually make a lot of sense, but they're not prohibited... |
|
|
|
|
/// </summary> |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<double?> DoubleField { |
|
|
|
|
get { return doubleField_; } |
|
|
|
|
} |
|
|
|
@ -1331,6 +1382,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForStructWrapper<float>(90); |
|
|
|
|
private readonly pbc::RepeatedField<float?> floatField_ = new pbc::RepeatedField<float?>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<float?> FloatField { |
|
|
|
|
get { return floatField_; } |
|
|
|
|
} |
|
|
|
@ -1341,6 +1393,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForStructWrapper<long>(98); |
|
|
|
|
private readonly pbc::RepeatedField<long?> int64Field_ = new pbc::RepeatedField<long?>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<long?> Int64Field { |
|
|
|
|
get { return int64Field_; } |
|
|
|
|
} |
|
|
|
@ -1351,6 +1404,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForStructWrapper<ulong>(106); |
|
|
|
|
private readonly pbc::RepeatedField<ulong?> uint64Field_ = new pbc::RepeatedField<ulong?>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<ulong?> Uint64Field { |
|
|
|
|
get { return uint64Field_; } |
|
|
|
|
} |
|
|
|
@ -1361,6 +1415,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForStructWrapper<int>(114); |
|
|
|
|
private readonly pbc::RepeatedField<int?> int32Field_ = new pbc::RepeatedField<int?>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<int?> Int32Field { |
|
|
|
|
get { return int32Field_; } |
|
|
|
|
} |
|
|
|
@ -1371,6 +1426,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForStructWrapper<uint>(122); |
|
|
|
|
private readonly pbc::RepeatedField<uint?> uint32Field_ = new pbc::RepeatedField<uint?>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<uint?> Uint32Field { |
|
|
|
|
get { return uint32Field_; } |
|
|
|
|
} |
|
|
|
@ -1381,6 +1437,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForStructWrapper<bool>(130); |
|
|
|
|
private readonly pbc::RepeatedField<bool?> boolField_ = new pbc::RepeatedField<bool?>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<bool?> BoolField { |
|
|
|
|
get { return boolField_; } |
|
|
|
|
} |
|
|
|
@ -1391,6 +1448,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForClassWrapper<string>(138); |
|
|
|
|
private readonly pbc::RepeatedField<string> stringField_ = new pbc::RepeatedField<string>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<string> StringField { |
|
|
|
|
get { return stringField_; } |
|
|
|
|
} |
|
|
|
@ -1401,16 +1459,19 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= pb::FieldCodec.ForClassWrapper<pb::ByteString>(146); |
|
|
|
|
private readonly pbc::RepeatedField<pb::ByteString> bytesField_ = new pbc::RepeatedField<pb::ByteString>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::RepeatedField<pb::ByteString> BytesField { |
|
|
|
|
get { return bytesField_; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public override bool Equals(object other) { |
|
|
|
|
return Equals(other as RepeatedWellKnownTypes); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public bool Equals(RepeatedWellKnownTypes other) { |
|
|
|
|
if (ReferenceEquals(other, null)) { |
|
|
|
|
return false; |
|
|
|
@ -1440,6 +1501,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public override int GetHashCode() { |
|
|
|
|
int hash = 1; |
|
|
|
|
hash ^= anyField_.GetHashCode(); |
|
|
|
@ -1467,11 +1529,13 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[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); |
|
|
|
@ -1502,6 +1566,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
|
|
|
|
|
#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) { |
|
|
|
|
anyField_.WriteTo(ref output, _repeated_anyField_codec); |
|
|
|
|
apiField_.WriteTo(ref output, _repeated_apiField_codec); |
|
|
|
@ -1528,6 +1593,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public int CalculateSize() { |
|
|
|
|
int size = 0; |
|
|
|
|
size += anyField_.CalculateSize(_repeated_anyField_codec); |
|
|
|
@ -1555,6 +1621,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public void MergeFrom(RepeatedWellKnownTypes other) { |
|
|
|
|
if (other == null) { |
|
|
|
|
return; |
|
|
|
@ -1581,6 +1648,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[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); |
|
|
|
@ -1670,6 +1738,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
|
|
|
|
|
#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) { |
|
|
|
@ -1764,19 +1833,23 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
private static readonly pb::MessageParser<OneofWellKnownTypes> _parser = new pb::MessageParser<OneofWellKnownTypes>(() => new OneofWellKnownTypes()); |
|
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public static pb::MessageParser<OneofWellKnownTypes> Parser { get { return _parser; } } |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public static pbr::MessageDescriptor Descriptor { |
|
|
|
|
get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesReflection.Descriptor.MessageTypes[2]; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[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 OneofWellKnownTypes() { |
|
|
|
|
OnConstruction(); |
|
|
|
|
} |
|
|
|
@ -1784,6 +1857,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
partial void OnConstruction(); |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public OneofWellKnownTypes(OneofWellKnownTypes other) : this() { |
|
|
|
|
switch (other.OneofFieldCase) { |
|
|
|
|
case OneofFieldOneofCase.AnyField: |
|
|
|
@ -1846,6 +1920,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public OneofWellKnownTypes Clone() { |
|
|
|
|
return new OneofWellKnownTypes(this); |
|
|
|
|
} |
|
|
|
@ -1853,6 +1928,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
/// <summary>Field number for the "any_field" field.</summary> |
|
|
|
|
public const int AnyFieldFieldNumber = 1; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Any AnyField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.AnyField ? (global::Google.Protobuf.WellKnownTypes.Any) oneofField_ : null; } |
|
|
|
|
set { |
|
|
|
@ -1864,6 +1940,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
/// <summary>Field number for the "api_field" field.</summary> |
|
|
|
|
public const int ApiFieldFieldNumber = 2; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Api ApiField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.ApiField ? (global::Google.Protobuf.WellKnownTypes.Api) oneofField_ : null; } |
|
|
|
|
set { |
|
|
|
@ -1875,6 +1952,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
/// <summary>Field number for the "duration_field" field.</summary> |
|
|
|
|
public const int DurationFieldFieldNumber = 3; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Duration DurationField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.DurationField ? (global::Google.Protobuf.WellKnownTypes.Duration) oneofField_ : null; } |
|
|
|
|
set { |
|
|
|
@ -1886,6 +1964,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
/// <summary>Field number for the "empty_field" field.</summary> |
|
|
|
|
public const int EmptyFieldFieldNumber = 4; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Empty EmptyField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.EmptyField ? (global::Google.Protobuf.WellKnownTypes.Empty) oneofField_ : null; } |
|
|
|
|
set { |
|
|
|
@ -1897,6 +1976,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
/// <summary>Field number for the "field_mask_field" field.</summary> |
|
|
|
|
public const int FieldMaskFieldFieldNumber = 5; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.FieldMask FieldMaskField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.FieldMaskField ? (global::Google.Protobuf.WellKnownTypes.FieldMask) oneofField_ : null; } |
|
|
|
|
set { |
|
|
|
@ -1908,6 +1988,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
/// <summary>Field number for the "source_context_field" field.</summary> |
|
|
|
|
public const int SourceContextFieldFieldNumber = 6; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.SourceContext SourceContextField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.SourceContextField ? (global::Google.Protobuf.WellKnownTypes.SourceContext) oneofField_ : null; } |
|
|
|
|
set { |
|
|
|
@ -1919,6 +2000,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
/// <summary>Field number for the "struct_field" field.</summary> |
|
|
|
|
public const int StructFieldFieldNumber = 7; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Struct StructField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.StructField ? (global::Google.Protobuf.WellKnownTypes.Struct) oneofField_ : null; } |
|
|
|
|
set { |
|
|
|
@ -1930,6 +2012,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
/// <summary>Field number for the "timestamp_field" field.</summary> |
|
|
|
|
public const int TimestampFieldFieldNumber = 8; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Timestamp TimestampField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.TimestampField ? (global::Google.Protobuf.WellKnownTypes.Timestamp) oneofField_ : null; } |
|
|
|
|
set { |
|
|
|
@ -1941,6 +2024,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
/// <summary>Field number for the "type_field" field.</summary> |
|
|
|
|
public const int TypeFieldFieldNumber = 9; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public global::Google.Protobuf.WellKnownTypes.Type TypeField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.TypeField ? (global::Google.Protobuf.WellKnownTypes.Type) oneofField_ : null; } |
|
|
|
|
set { |
|
|
|
@ -1953,6 +2037,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int DoubleFieldFieldNumber = 10; |
|
|
|
|
private static readonly pb::FieldCodec<double?> _oneof_doubleField_codec = pb::FieldCodec.ForStructWrapper<double>(82); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public double? DoubleField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.DoubleField ? (double?) oneofField_ : (double?) null; } |
|
|
|
|
set { |
|
|
|
@ -1965,6 +2050,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int FloatFieldFieldNumber = 11; |
|
|
|
|
private static readonly pb::FieldCodec<float?> _oneof_floatField_codec = pb::FieldCodec.ForStructWrapper<float>(90); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public float? FloatField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.FloatField ? (float?) oneofField_ : (float?) null; } |
|
|
|
|
set { |
|
|
|
@ -1977,6 +2063,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int Int64FieldFieldNumber = 12; |
|
|
|
|
private static readonly pb::FieldCodec<long?> _oneof_int64Field_codec = pb::FieldCodec.ForStructWrapper<long>(98); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public long? Int64Field { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.Int64Field ? (long?) oneofField_ : (long?) null; } |
|
|
|
|
set { |
|
|
|
@ -1989,6 +2076,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int Uint64FieldFieldNumber = 13; |
|
|
|
|
private static readonly pb::FieldCodec<ulong?> _oneof_uint64Field_codec = pb::FieldCodec.ForStructWrapper<ulong>(106); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public ulong? Uint64Field { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.Uint64Field ? (ulong?) oneofField_ : (ulong?) null; } |
|
|
|
|
set { |
|
|
|
@ -2001,6 +2089,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int Int32FieldFieldNumber = 14; |
|
|
|
|
private static readonly pb::FieldCodec<int?> _oneof_int32Field_codec = pb::FieldCodec.ForStructWrapper<int>(114); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public int? Int32Field { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.Int32Field ? (int?) oneofField_ : (int?) null; } |
|
|
|
|
set { |
|
|
|
@ -2013,6 +2102,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int Uint32FieldFieldNumber = 15; |
|
|
|
|
private static readonly pb::FieldCodec<uint?> _oneof_uint32Field_codec = pb::FieldCodec.ForStructWrapper<uint>(122); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public uint? Uint32Field { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.Uint32Field ? (uint?) oneofField_ : (uint?) null; } |
|
|
|
|
set { |
|
|
|
@ -2025,6 +2115,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int BoolFieldFieldNumber = 16; |
|
|
|
|
private static readonly pb::FieldCodec<bool?> _oneof_boolField_codec = pb::FieldCodec.ForStructWrapper<bool>(130); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public bool? BoolField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.BoolField ? (bool?) oneofField_ : (bool?) null; } |
|
|
|
|
set { |
|
|
|
@ -2037,6 +2128,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int StringFieldFieldNumber = 17; |
|
|
|
|
private static readonly pb::FieldCodec<string> _oneof_stringField_codec = pb::FieldCodec.ForClassWrapper<string>(138); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public string StringField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.StringField ? (string) oneofField_ : (string) null; } |
|
|
|
|
set { |
|
|
|
@ -2049,6 +2141,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
public const int BytesFieldFieldNumber = 18; |
|
|
|
|
private static readonly pb::FieldCodec<pb::ByteString> _oneof_bytesField_codec = pb::FieldCodec.ForClassWrapper<pb::ByteString>(146); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pb::ByteString BytesField { |
|
|
|
|
get { return oneofFieldCase_ == OneofFieldOneofCase.BytesField ? (pb::ByteString) oneofField_ : (pb::ByteString) null; } |
|
|
|
|
set { |
|
|
|
@ -2082,22 +2175,26 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public OneofFieldOneofCase OneofFieldCase { |
|
|
|
|
get { return oneofFieldCase_; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public void ClearOneofField() { |
|
|
|
|
oneofFieldCase_ = OneofFieldOneofCase.None; |
|
|
|
|
oneofField_ = null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public override bool Equals(object other) { |
|
|
|
|
return Equals(other as OneofWellKnownTypes); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public bool Equals(OneofWellKnownTypes other) { |
|
|
|
|
if (ReferenceEquals(other, null)) { |
|
|
|
|
return false; |
|
|
|
@ -2128,6 +2225,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public override int GetHashCode() { |
|
|
|
|
int hash = 1; |
|
|
|
|
if (oneofFieldCase_ == OneofFieldOneofCase.AnyField) hash ^= AnyField.GetHashCode(); |
|
|
|
@ -2156,11 +2254,13 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[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); |
|
|
|
@ -2236,6 +2336,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
|
|
|
|
|
#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 (oneofFieldCase_ == OneofFieldOneofCase.AnyField) { |
|
|
|
|
output.WriteRawTag(10); |
|
|
|
@ -2307,6 +2408,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public int CalculateSize() { |
|
|
|
|
int size = 0; |
|
|
|
|
if (oneofFieldCase_ == OneofFieldOneofCase.AnyField) { |
|
|
|
@ -2370,6 +2472,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public void MergeFrom(OneofWellKnownTypes other) { |
|
|
|
|
if (other == null) { |
|
|
|
|
return; |
|
|
|
@ -2462,6 +2565,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[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); |
|
|
|
@ -2596,6 +2700,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
|
|
|
|
|
#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) { |
|
|
|
@ -2740,19 +2845,23 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
private static readonly pb::MessageParser<MapWellKnownTypes> _parser = new pb::MessageParser<MapWellKnownTypes>(() => new MapWellKnownTypes()); |
|
|
|
|
private pb::UnknownFieldSet _unknownFields; |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public static pb::MessageParser<MapWellKnownTypes> Parser { get { return _parser; } } |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public static pbr::MessageDescriptor Descriptor { |
|
|
|
|
get { return global::Google.Protobuf.TestProtos.UnittestWellKnownTypesReflection.Descriptor.MessageTypes[3]; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[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 MapWellKnownTypes() { |
|
|
|
|
OnConstruction(); |
|
|
|
|
} |
|
|
|
@ -2760,6 +2869,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
partial void OnConstruction(); |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public MapWellKnownTypes(MapWellKnownTypes other) : this() { |
|
|
|
|
anyField_ = other.anyField_.Clone(); |
|
|
|
|
apiField_ = other.apiField_.Clone(); |
|
|
|
@ -2783,6 +2893,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public MapWellKnownTypes Clone() { |
|
|
|
|
return new MapWellKnownTypes(this); |
|
|
|
|
} |
|
|
|
@ -2793,6 +2904,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Any.Parser), 10); |
|
|
|
|
private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any> anyField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Any> AnyField { |
|
|
|
|
get { return anyField_; } |
|
|
|
|
} |
|
|
|
@ -2803,6 +2915,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Api.Parser), 18); |
|
|
|
|
private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api> apiField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Api> ApiField { |
|
|
|
|
get { return apiField_; } |
|
|
|
|
} |
|
|
|
@ -2813,6 +2926,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Duration.Parser), 26); |
|
|
|
|
private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration> durationField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Duration> DurationField { |
|
|
|
|
get { return durationField_; } |
|
|
|
|
} |
|
|
|
@ -2823,6 +2937,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Empty>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Empty.Parser), 34); |
|
|
|
|
private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Empty> emptyField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Empty>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Empty> EmptyField { |
|
|
|
|
get { return emptyField_; } |
|
|
|
|
} |
|
|
|
@ -2833,6 +2948,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.FieldMask>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.FieldMask.Parser), 42); |
|
|
|
|
private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.FieldMask> fieldMaskField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.FieldMask>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.FieldMask> FieldMaskField { |
|
|
|
|
get { return fieldMaskField_; } |
|
|
|
|
} |
|
|
|
@ -2843,6 +2959,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.SourceContext>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.SourceContext.Parser), 50); |
|
|
|
|
private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.SourceContext> sourceContextField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.SourceContext>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.SourceContext> SourceContextField { |
|
|
|
|
get { return sourceContextField_; } |
|
|
|
|
} |
|
|
|
@ -2853,6 +2970,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Struct>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Struct.Parser), 58); |
|
|
|
|
private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Struct> structField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Struct>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Struct> StructField { |
|
|
|
|
get { return structField_; } |
|
|
|
|
} |
|
|
|
@ -2863,6 +2981,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Timestamp>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Timestamp.Parser), 66); |
|
|
|
|
private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Timestamp> timestampField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Timestamp>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Timestamp> TimestampField { |
|
|
|
|
get { return timestampField_; } |
|
|
|
|
} |
|
|
|
@ -2873,6 +2992,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Type>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.Type.Parser), 74); |
|
|
|
|
private readonly pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Type> typeField_ = new pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Type>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, global::Google.Protobuf.WellKnownTypes.Type> TypeField { |
|
|
|
|
get { return typeField_; } |
|
|
|
|
} |
|
|
|
@ -2883,6 +3003,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, double?>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForStructWrapper<double>(18), 82); |
|
|
|
|
private readonly pbc::MapField<int, double?> doubleField_ = new pbc::MapField<int, double?>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, double?> DoubleField { |
|
|
|
|
get { return doubleField_; } |
|
|
|
|
} |
|
|
|
@ -2893,6 +3014,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, float?>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForStructWrapper<float>(18), 90); |
|
|
|
|
private readonly pbc::MapField<int, float?> floatField_ = new pbc::MapField<int, float?>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, float?> FloatField { |
|
|
|
|
get { return floatField_; } |
|
|
|
|
} |
|
|
|
@ -2903,6 +3025,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, long?>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForStructWrapper<long>(18), 98); |
|
|
|
|
private readonly pbc::MapField<int, long?> int64Field_ = new pbc::MapField<int, long?>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, long?> Int64Field { |
|
|
|
|
get { return int64Field_; } |
|
|
|
|
} |
|
|
|
@ -2913,6 +3036,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, ulong?>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForStructWrapper<ulong>(18), 106); |
|
|
|
|
private readonly pbc::MapField<int, ulong?> uint64Field_ = new pbc::MapField<int, ulong?>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, ulong?> Uint64Field { |
|
|
|
|
get { return uint64Field_; } |
|
|
|
|
} |
|
|
|
@ -2923,6 +3047,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, int?>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForStructWrapper<int>(18), 114); |
|
|
|
|
private readonly pbc::MapField<int, int?> int32Field_ = new pbc::MapField<int, int?>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, int?> Int32Field { |
|
|
|
|
get { return int32Field_; } |
|
|
|
|
} |
|
|
|
@ -2933,6 +3058,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, uint?>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForStructWrapper<uint>(18), 122); |
|
|
|
|
private readonly pbc::MapField<int, uint?> uint32Field_ = new pbc::MapField<int, uint?>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, uint?> Uint32Field { |
|
|
|
|
get { return uint32Field_; } |
|
|
|
|
} |
|
|
|
@ -2943,6 +3069,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, bool?>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForStructWrapper<bool>(18), 130); |
|
|
|
|
private readonly pbc::MapField<int, bool?> boolField_ = new pbc::MapField<int, bool?>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, bool?> BoolField { |
|
|
|
|
get { return boolField_; } |
|
|
|
|
} |
|
|
|
@ -2953,6 +3080,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, string>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForClassWrapper<string>(18), 138); |
|
|
|
|
private readonly pbc::MapField<int, string> stringField_ = new pbc::MapField<int, string>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, string> StringField { |
|
|
|
|
get { return stringField_; } |
|
|
|
|
} |
|
|
|
@ -2963,16 +3091,19 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
= new pbc::MapField<int, pb::ByteString>.Codec(pb::FieldCodec.ForInt32(8, 0), pb::FieldCodec.ForClassWrapper<pb::ByteString>(18), 146); |
|
|
|
|
private readonly pbc::MapField<int, pb::ByteString> bytesField_ = new pbc::MapField<int, pb::ByteString>(); |
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public pbc::MapField<int, pb::ByteString> BytesField { |
|
|
|
|
get { return bytesField_; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public override bool Equals(object other) { |
|
|
|
|
return Equals(other as MapWellKnownTypes); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public bool Equals(MapWellKnownTypes other) { |
|
|
|
|
if (ReferenceEquals(other, null)) { |
|
|
|
|
return false; |
|
|
|
@ -3002,6 +3133,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public override int GetHashCode() { |
|
|
|
|
int hash = 1; |
|
|
|
|
hash ^= AnyField.GetHashCode(); |
|
|
|
@ -3029,11 +3161,13 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[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); |
|
|
|
@ -3064,6 +3198,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
|
|
|
|
|
#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) { |
|
|
|
|
anyField_.WriteTo(ref output, _map_anyField_codec); |
|
|
|
|
apiField_.WriteTo(ref output, _map_apiField_codec); |
|
|
|
@ -3090,6 +3225,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public int CalculateSize() { |
|
|
|
|
int size = 0; |
|
|
|
|
size += anyField_.CalculateSize(_map_anyField_codec); |
|
|
|
@ -3117,6 +3253,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
|
|
|
|
public void MergeFrom(MapWellKnownTypes other) { |
|
|
|
|
if (other == null) { |
|
|
|
|
return; |
|
|
|
@ -3143,6 +3280,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[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); |
|
|
|
@ -3232,6 +3370,7 @@ namespace Google.Protobuf.TestProtos { |
|
|
|
|
|
|
|
|
|
#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) { |
|
|
|
|