1
1
// <auto-generated>
2
2
// Generated by the protocol buffer compiler. DO NOT EDIT!
3
- // source: csharp/protos/unittest_nullable_proto3 .proto
3
+ // source: csharp/protos/unittest_nrt_proto3 .proto
4
4
// </auto-generated>
5
5
#nullable enable
6
6
#pragma warning disable 1591 , 0612 , 3021 , 8981
12
12
using scg = global ::System . Collections . Generic ;
13
13
namespace Google . Protobuf . TestProtos {
14
14
15
- /// <summary>Holder for reflection information generated from csharp/protos/unittest_nullable_proto3 .proto</summary>
16
- public static partial class UnittestNullableProto3Reflection {
15
+ /// <summary>Holder for reflection information generated from csharp/protos/unittest_nrt_proto3 .proto</summary>
16
+ public static partial class UnittestNrtProto3Reflection {
17
17
18
18
#region Descriptor
19
- /// <summary>File descriptor for csharp/protos/unittest_nullable_proto3 .proto</summary>
19
+ /// <summary>File descriptor for csharp/protos/unittest_nrt_proto3 .proto</summary>
20
20
public static pbr ::FileDescriptor Descriptor {
21
21
get { return descriptor ; }
22
22
}
23
23
private static pbr ::FileDescriptor descriptor ;
24
24
25
- static UnittestNullableProto3Reflection ( ) {
25
+ static UnittestNrtProto3Reflection ( ) {
26
26
byte [ ] descriptorData = global ::System . Convert . FromBase64String (
27
27
string . Concat (
28
- "Cixjc2hhcnAvcHJvdG9zL3VuaXR0ZXN0X251bGxhYmxlX3Byb3RvMy5wcm90" ,
29
- "bxIScHJvdG9idWZfdW5pdHRlc3QzIrkBChNUZXN0TnVsbGFibGVNZXNzYWdl" ,
30
- "EloKD3JlZmVyZW5jZV9maWVsZBgBIAEoCzJBLnByb3RvYnVmX3VuaXR0ZXN0" ,
31
- "My5UZXN0TnVsbGFibGVNZXNzYWdlLlRlc3ROdWxsYWJsZU5lc3RlZE1lc3Nh" ,
32
- "Z2UaRgoZVGVzdE51bGxhYmxlTmVzdGVkTWVzc2FnZRITCgtpbnQzMl9maWVs" ,
33
- "ZBgBIAEoBRIUCgxzdHJpbmdfZmllbGQYAiABKAlCHaoCGkdvb2dsZS5Qcm90" ,
34
- "b2J1Zi5UZXN0UHJvdG9zYgZwcm90bzM=" ) ) ;
28
+ "Cidjc2hhcnAvcHJvdG9zL3VuaXR0ZXN0X25ydF9wcm90bzMucHJvdG8SEnBy" ,
29
+ "b3RvYnVmX3VuaXR0ZXN0MyKlAQoOVGVzdE5ydE1lc3NhZ2USUAoPcmVmZXJl" ,
30
+ "bmNlX2ZpZWxkGAEgASgLMjcucHJvdG9idWZfdW5pdHRlc3QzLlRlc3ROcnRN" ,
31
+ "ZXNzYWdlLlRlc3ROcnROZXN0ZWRNZXNzYWdlGkEKFFRlc3ROcnROZXN0ZWRN" ,
32
+ "ZXNzYWdlEhMKC2ludDMyX2ZpZWxkGAEgASgFEhQKDHN0cmluZ19maWVsZBgC" ,
33
+ "IAEoCUIdqgIaR29vZ2xlLlByb3RvYnVmLlRlc3RQcm90b3NiBnByb3RvMw==" ) ) ;
35
34
descriptor = pbr ::FileDescriptor . FromGeneratedCode ( descriptorData ,
36
35
new pbr ::FileDescriptor [ ] { } ,
37
36
new pbr ::GeneratedClrTypeInfo ( null , null , new pbr ::GeneratedClrTypeInfo [ ] {
38
- new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Google . Protobuf . TestProtos . TestNullableMessage ) , global ::Google . Protobuf . TestProtos . TestNullableMessage . Parser , new [ ] { "ReferenceField" } , null , null , null , new pbr ::GeneratedClrTypeInfo [ ] { new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Google . Protobuf . TestProtos . TestNullableMessage . Types . TestNullableNestedMessage ) , global ::Google . Protobuf . TestProtos . TestNullableMessage . Types . TestNullableNestedMessage . Parser , new [ ] { "Int32Field" , "StringField" } , null , null , null , null ) } )
37
+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Google . Protobuf . TestProtos . TestNrtMessage ) , global ::Google . Protobuf . TestProtos . TestNrtMessage . Parser , new [ ] { "ReferenceField" } , null , null , null , new pbr ::GeneratedClrTypeInfo [ ] { new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Google . Protobuf . TestProtos . TestNrtMessage . Types . TestNrtNestedMessage ) , global ::Google . Protobuf . TestProtos . TestNrtMessage . Types . TestNrtNestedMessage . Parser , new [ ] { "Int32Field" , "StringField" } , null , null , null , null ) } )
39
38
} ) ) ;
40
39
}
41
40
#endregion
42
41
43
42
}
44
43
#region Messages
45
- public sealed partial class TestNullableMessage : pb ::IMessage < TestNullableMessage >
44
+ public sealed partial class TestNrtMessage : pb ::IMessage < TestNrtMessage >
46
45
#if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
47
46
, pb ::IBufferMessage
48
47
#endif
49
48
{
50
- private static readonly pb ::MessageParser < TestNullableMessage > _parser = new pb ::MessageParser < TestNullableMessage > ( ( ) => new TestNullableMessage ( ) ) ;
49
+ private static readonly pb ::MessageParser < TestNrtMessage > _parser = new pb ::MessageParser < TestNrtMessage > ( ( ) => new TestNrtMessage ( ) ) ;
51
50
private pb ::UnknownFieldSet _unknownFields ;
52
51
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
53
52
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
54
- public static pb ::MessageParser < TestNullableMessage > Parser { get { return _parser ; } }
53
+ public static pb ::MessageParser < TestNrtMessage > Parser { get { return _parser ; } }
55
54
56
55
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
57
56
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
58
57
public static pbr ::MessageDescriptor Descriptor {
59
- get { return global ::Google . Protobuf . TestProtos . UnittestNullableProto3Reflection . Descriptor . MessageTypes [ 0 ] ; }
58
+ get { return global ::Google . Protobuf . TestProtos . UnittestNrtProto3Reflection . Descriptor . MessageTypes [ 0 ] ; }
60
59
}
61
60
62
61
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
@@ -67,31 +66,31 @@ public sealed partial class TestNullableMessage : pb::IMessage<TestNullableMessa
67
66
68
67
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
69
68
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
70
- public TestNullableMessage ( ) {
69
+ public TestNrtMessage ( ) {
71
70
OnConstruction ( ) ;
72
71
}
73
72
74
73
partial void OnConstruction ( ) ;
75
74
76
75
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
77
76
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
78
- public TestNullableMessage ( TestNullableMessage other ) : this ( ) {
77
+ public TestNrtMessage ( TestNrtMessage other ) : this ( ) {
79
78
referenceField_ = other . referenceField_ != null ? other . referenceField_ . Clone ( ) : null ;
80
79
_unknownFields = pb ::UnknownFieldSet . Clone ( other . _unknownFields ) ;
81
80
}
82
81
83
82
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
84
83
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
85
- public TestNullableMessage Clone ( ) {
86
- return new TestNullableMessage ( this ) ;
84
+ public TestNrtMessage Clone ( ) {
85
+ return new TestNrtMessage ( this ) ;
87
86
}
88
87
89
88
/// <summary>Field number for the "reference_field" field.</summary>
90
89
public const int ReferenceFieldFieldNumber = 1 ;
91
- private global ::Google . Protobuf . TestProtos . TestNullableMessage . Types . TestNullableNestedMessage referenceField_ ;
90
+ private global ::Google . Protobuf . TestProtos . TestNrtMessage . Types . TestNrtNestedMessage referenceField_ ;
92
91
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
93
92
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
94
- public global ::Google . Protobuf . TestProtos . TestNullableMessage . Types . TestNullableNestedMessage ReferenceField {
93
+ public global ::Google . Protobuf . TestProtos . TestNrtMessage . Types . TestNrtNestedMessage ReferenceField {
95
94
get { return referenceField_ ; }
96
95
set {
97
96
referenceField_ = value ;
@@ -101,12 +100,12 @@ public TestNullableMessage Clone() {
101
100
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
102
101
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
103
102
public override bool Equals ( object other ) {
104
- return Equals ( other as TestNullableMessage ) ;
103
+ return Equals ( other as TestNrtMessage ) ;
105
104
}
106
105
107
106
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
108
107
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
109
- public bool Equals ( TestNullableMessage other ) {
108
+ public bool Equals ( TestNrtMessage other ) {
110
109
if ( ReferenceEquals ( other , null ) ) {
111
110
return false ;
112
111
}
@@ -179,13 +178,13 @@ public int CalculateSize() {
179
178
180
179
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
181
180
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
182
- public void MergeFrom ( TestNullableMessage other ) {
181
+ public void MergeFrom ( TestNrtMessage other ) {
183
182
if ( other == null ) {
184
183
return ;
185
184
}
186
185
if ( other . referenceField_ != null ) {
187
186
if ( referenceField_ == null ) {
188
- ReferenceField = new global ::Google . Protobuf . TestProtos . TestNullableMessage . Types . TestNullableNestedMessage ( ) ;
187
+ ReferenceField = new global ::Google . Protobuf . TestProtos . TestNrtMessage . Types . TestNrtNestedMessage ( ) ;
189
188
}
190
189
ReferenceField . MergeFrom ( other . ReferenceField ) ;
191
190
}
@@ -206,7 +205,7 @@ public void MergeFrom(pb::CodedInputStream input) {
206
205
break ;
207
206
case 10 : {
208
207
if ( referenceField_ == null ) {
209
- ReferenceField = new global ::Google . Protobuf . TestProtos . TestNullableMessage . Types . TestNullableNestedMessage ( ) ;
208
+ ReferenceField = new global ::Google . Protobuf . TestProtos . TestNrtMessage . Types . TestNrtNestedMessage ( ) ;
210
209
}
211
210
input . ReadMessage ( ReferenceField ) ;
212
211
break ;
@@ -228,7 +227,7 @@ public void MergeFrom(pb::CodedInputStream input) {
228
227
break ;
229
228
case 10 : {
230
229
if ( referenceField_ == null ) {
231
- ReferenceField = new global ::Google . Protobuf . TestProtos . TestNullableMessage . Types . TestNullableNestedMessage ( ) ;
230
+ ReferenceField = new global ::Google . Protobuf . TestProtos . TestNrtMessage . Types . TestNrtNestedMessage ( ) ;
232
231
}
233
232
input . ReadMessage ( ReferenceField ) ;
234
233
break ;
@@ -239,25 +238,25 @@ public void MergeFrom(pb::CodedInputStream input) {
239
238
#endif
240
239
241
240
#region Nested types
242
- /// <summary>Container for nested types declared in the TestNullableMessage message type.</summary>
241
+ /// <summary>Container for nested types declared in the TestNrtMessage message type.</summary>
243
242
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
244
243
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
245
244
public static partial class Types {
246
- public sealed partial class TestNullableNestedMessage : pb ::IMessage < TestNullableNestedMessage >
245
+ public sealed partial class TestNrtNestedMessage : pb ::IMessage < TestNrtNestedMessage >
247
246
#if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
248
247
, pb ::IBufferMessage
249
248
#endif
250
249
{
251
- private static readonly pb ::MessageParser < TestNullableNestedMessage > _parser = new pb ::MessageParser < TestNullableNestedMessage > ( ( ) => new TestNullableNestedMessage ( ) ) ;
250
+ private static readonly pb ::MessageParser < TestNrtNestedMessage > _parser = new pb ::MessageParser < TestNrtNestedMessage > ( ( ) => new TestNrtNestedMessage ( ) ) ;
252
251
private pb ::UnknownFieldSet _unknownFields ;
253
252
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
254
253
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
255
- public static pb ::MessageParser < TestNullableNestedMessage > Parser { get { return _parser ; } }
254
+ public static pb ::MessageParser < TestNrtNestedMessage > Parser { get { return _parser ; } }
256
255
257
256
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
258
257
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
259
258
public static pbr ::MessageDescriptor Descriptor {
260
- get { return global ::Google . Protobuf . TestProtos . TestNullableMessage . Descriptor . NestedTypes [ 0 ] ; }
259
+ get { return global ::Google . Protobuf . TestProtos . TestNrtMessage . Descriptor . NestedTypes [ 0 ] ; }
261
260
}
262
261
263
262
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
@@ -268,24 +267,24 @@ public sealed partial class TestNullableNestedMessage : pb::IMessage<TestNullabl
268
267
269
268
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
270
269
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
271
- public TestNullableNestedMessage ( ) {
270
+ public TestNrtNestedMessage ( ) {
272
271
OnConstruction ( ) ;
273
272
}
274
273
275
274
partial void OnConstruction ( ) ;
276
275
277
276
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
278
277
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
279
- public TestNullableNestedMessage ( TestNullableNestedMessage other ) : this ( ) {
278
+ public TestNrtNestedMessage ( TestNrtNestedMessage other ) : this ( ) {
280
279
int32Field_ = other . int32Field_ ;
281
280
stringField_ = other . stringField_ ;
282
281
_unknownFields = pb ::UnknownFieldSet . Clone ( other . _unknownFields ) ;
283
282
}
284
283
285
284
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
286
285
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
287
- public TestNullableNestedMessage Clone ( ) {
288
- return new TestNullableNestedMessage ( this ) ;
286
+ public TestNrtNestedMessage Clone ( ) {
287
+ return new TestNrtNestedMessage ( this ) ;
289
288
}
290
289
291
290
/// <summary>Field number for the "int32_field" field.</summary>
@@ -315,12 +314,12 @@ public string StringField {
315
314
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
316
315
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
317
316
public override bool Equals ( object other ) {
318
- return Equals ( other as TestNullableNestedMessage ) ;
317
+ return Equals ( other as TestNrtNestedMessage ) ;
319
318
}
320
319
321
320
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
322
321
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
323
- public bool Equals ( TestNullableNestedMessage other ) {
322
+ public bool Equals ( TestNrtNestedMessage other ) {
324
323
if ( ReferenceEquals ( other , null ) ) {
325
324
return false ;
326
325
}
@@ -406,7 +405,7 @@ public int CalculateSize() {
406
405
407
406
[ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
408
407
[ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
409
- public void MergeFrom ( TestNullableNestedMessage other ) {
408
+ public void MergeFrom ( TestNrtNestedMessage other ) {
410
409
if ( other == null ) {
411
410
return ;
412
411
}
0 commit comments