1
2
3
4
5
6
7
8
9
10
11 package conformance
12
13 import (
14 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16 reflect "reflect"
17 sync "sync"
18 )
19
20 type WireFormat int32
21
22 const (
23 WireFormat_UNSPECIFIED WireFormat = 0
24 WireFormat_PROTOBUF WireFormat = 1
25 WireFormat_JSON WireFormat = 2
26 WireFormat_JSPB WireFormat = 3
27 WireFormat_TEXT_FORMAT WireFormat = 4
28 )
29
30
31 var (
32 WireFormat_name = map[int32]string{
33 0: "UNSPECIFIED",
34 1: "PROTOBUF",
35 2: "JSON",
36 3: "JSPB",
37 4: "TEXT_FORMAT",
38 }
39 WireFormat_value = map[string]int32{
40 "UNSPECIFIED": 0,
41 "PROTOBUF": 1,
42 "JSON": 2,
43 "JSPB": 3,
44 "TEXT_FORMAT": 4,
45 }
46 )
47
48 func (x WireFormat) Enum() *WireFormat {
49 p := new(WireFormat)
50 *p = x
51 return p
52 }
53
54 func (x WireFormat) String() string {
55 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
56 }
57
58 func (WireFormat) Descriptor() protoreflect.EnumDescriptor {
59 return file_conformance_conformance_proto_enumTypes[0].Descriptor()
60 }
61
62 func (WireFormat) Type() protoreflect.EnumType {
63 return &file_conformance_conformance_proto_enumTypes[0]
64 }
65
66 func (x WireFormat) Number() protoreflect.EnumNumber {
67 return protoreflect.EnumNumber(x)
68 }
69
70
71 func (WireFormat) EnumDescriptor() ([]byte, []int) {
72 return file_conformance_conformance_proto_rawDescGZIP(), []int{0}
73 }
74
75 type TestCategory int32
76
77 const (
78 TestCategory_UNSPECIFIED_TEST TestCategory = 0
79 TestCategory_BINARY_TEST TestCategory = 1
80 TestCategory_JSON_TEST TestCategory = 2
81
82
83
84
85
86 TestCategory_JSON_IGNORE_UNKNOWN_PARSING_TEST TestCategory = 3
87
88
89 TestCategory_JSPB_TEST TestCategory = 4
90
91
92 TestCategory_TEXT_FORMAT_TEST TestCategory = 5
93 )
94
95
96 var (
97 TestCategory_name = map[int32]string{
98 0: "UNSPECIFIED_TEST",
99 1: "BINARY_TEST",
100 2: "JSON_TEST",
101 3: "JSON_IGNORE_UNKNOWN_PARSING_TEST",
102 4: "JSPB_TEST",
103 5: "TEXT_FORMAT_TEST",
104 }
105 TestCategory_value = map[string]int32{
106 "UNSPECIFIED_TEST": 0,
107 "BINARY_TEST": 1,
108 "JSON_TEST": 2,
109 "JSON_IGNORE_UNKNOWN_PARSING_TEST": 3,
110 "JSPB_TEST": 4,
111 "TEXT_FORMAT_TEST": 5,
112 }
113 )
114
115 func (x TestCategory) Enum() *TestCategory {
116 p := new(TestCategory)
117 *p = x
118 return p
119 }
120
121 func (x TestCategory) String() string {
122 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
123 }
124
125 func (TestCategory) Descriptor() protoreflect.EnumDescriptor {
126 return file_conformance_conformance_proto_enumTypes[1].Descriptor()
127 }
128
129 func (TestCategory) Type() protoreflect.EnumType {
130 return &file_conformance_conformance_proto_enumTypes[1]
131 }
132
133 func (x TestCategory) Number() protoreflect.EnumNumber {
134 return protoreflect.EnumNumber(x)
135 }
136
137
138 func (TestCategory) EnumDescriptor() ([]byte, []int) {
139 return file_conformance_conformance_proto_rawDescGZIP(), []int{1}
140 }
141
142
143
144
145 type FailureSet struct {
146 state protoimpl.MessageState
147 sizeCache protoimpl.SizeCache
148 unknownFields protoimpl.UnknownFields
149
150 Failure []string `protobuf:"bytes,1,rep,name=failure,proto3" json:"failure,omitempty"`
151 }
152
153 func (x *FailureSet) Reset() {
154 *x = FailureSet{}
155 if protoimpl.UnsafeEnabled {
156 mi := &file_conformance_conformance_proto_msgTypes[0]
157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
158 ms.StoreMessageInfo(mi)
159 }
160 }
161
162 func (x *FailureSet) String() string {
163 return protoimpl.X.MessageStringOf(x)
164 }
165
166 func (*FailureSet) ProtoMessage() {}
167
168 func (x *FailureSet) ProtoReflect() protoreflect.Message {
169 mi := &file_conformance_conformance_proto_msgTypes[0]
170 if protoimpl.UnsafeEnabled && x != nil {
171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
172 if ms.LoadMessageInfo() == nil {
173 ms.StoreMessageInfo(mi)
174 }
175 return ms
176 }
177 return mi.MessageOf(x)
178 }
179
180
181 func (*FailureSet) Descriptor() ([]byte, []int) {
182 return file_conformance_conformance_proto_rawDescGZIP(), []int{0}
183 }
184
185 func (x *FailureSet) GetFailure() []string {
186 if x != nil {
187 return x.Failure
188 }
189 return nil
190 }
191
192
193
194
195
196
197 type ConformanceRequest struct {
198 state protoimpl.MessageState
199 sizeCache protoimpl.SizeCache
200 unknownFields protoimpl.UnknownFields
201
202
203
204
205
206
207
208
209
210
211
212 Payload isConformanceRequest_Payload `protobuf_oneof:"payload"`
213
214 RequestedOutputFormat WireFormat `protobuf:"varint,3,opt,name=requested_output_format,json=requestedOutputFormat,proto3,enum=conformance.WireFormat" json:"requested_output_format,omitempty"`
215
216
217
218 MessageType string `protobuf:"bytes,4,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"`
219
220
221
222 TestCategory TestCategory `protobuf:"varint,5,opt,name=test_category,json=testCategory,proto3,enum=conformance.TestCategory" json:"test_category,omitempty"`
223
224 JspbEncodingOptions *JspbEncodingConfig `protobuf:"bytes,6,opt,name=jspb_encoding_options,json=jspbEncodingOptions,proto3" json:"jspb_encoding_options,omitempty"`
225
226
227 PrintUnknownFields bool `protobuf:"varint,9,opt,name=print_unknown_fields,json=printUnknownFields,proto3" json:"print_unknown_fields,omitempty"`
228 }
229
230 func (x *ConformanceRequest) Reset() {
231 *x = ConformanceRequest{}
232 if protoimpl.UnsafeEnabled {
233 mi := &file_conformance_conformance_proto_msgTypes[1]
234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
235 ms.StoreMessageInfo(mi)
236 }
237 }
238
239 func (x *ConformanceRequest) String() string {
240 return protoimpl.X.MessageStringOf(x)
241 }
242
243 func (*ConformanceRequest) ProtoMessage() {}
244
245 func (x *ConformanceRequest) ProtoReflect() protoreflect.Message {
246 mi := &file_conformance_conformance_proto_msgTypes[1]
247 if protoimpl.UnsafeEnabled && x != nil {
248 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
249 if ms.LoadMessageInfo() == nil {
250 ms.StoreMessageInfo(mi)
251 }
252 return ms
253 }
254 return mi.MessageOf(x)
255 }
256
257
258 func (*ConformanceRequest) Descriptor() ([]byte, []int) {
259 return file_conformance_conformance_proto_rawDescGZIP(), []int{1}
260 }
261
262 func (m *ConformanceRequest) GetPayload() isConformanceRequest_Payload {
263 if m != nil {
264 return m.Payload
265 }
266 return nil
267 }
268
269 func (x *ConformanceRequest) GetProtobufPayload() []byte {
270 if x, ok := x.GetPayload().(*ConformanceRequest_ProtobufPayload); ok {
271 return x.ProtobufPayload
272 }
273 return nil
274 }
275
276 func (x *ConformanceRequest) GetJsonPayload() string {
277 if x, ok := x.GetPayload().(*ConformanceRequest_JsonPayload); ok {
278 return x.JsonPayload
279 }
280 return ""
281 }
282
283 func (x *ConformanceRequest) GetJspbPayload() string {
284 if x, ok := x.GetPayload().(*ConformanceRequest_JspbPayload); ok {
285 return x.JspbPayload
286 }
287 return ""
288 }
289
290 func (x *ConformanceRequest) GetTextPayload() string {
291 if x, ok := x.GetPayload().(*ConformanceRequest_TextPayload); ok {
292 return x.TextPayload
293 }
294 return ""
295 }
296
297 func (x *ConformanceRequest) GetRequestedOutputFormat() WireFormat {
298 if x != nil {
299 return x.RequestedOutputFormat
300 }
301 return WireFormat_UNSPECIFIED
302 }
303
304 func (x *ConformanceRequest) GetMessageType() string {
305 if x != nil {
306 return x.MessageType
307 }
308 return ""
309 }
310
311 func (x *ConformanceRequest) GetTestCategory() TestCategory {
312 if x != nil {
313 return x.TestCategory
314 }
315 return TestCategory_UNSPECIFIED_TEST
316 }
317
318 func (x *ConformanceRequest) GetJspbEncodingOptions() *JspbEncodingConfig {
319 if x != nil {
320 return x.JspbEncodingOptions
321 }
322 return nil
323 }
324
325 func (x *ConformanceRequest) GetPrintUnknownFields() bool {
326 if x != nil {
327 return x.PrintUnknownFields
328 }
329 return false
330 }
331
332 type isConformanceRequest_Payload interface {
333 isConformanceRequest_Payload()
334 }
335
336 type ConformanceRequest_ProtobufPayload struct {
337 ProtobufPayload []byte `protobuf:"bytes,1,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof"`
338 }
339
340 type ConformanceRequest_JsonPayload struct {
341 JsonPayload string `protobuf:"bytes,2,opt,name=json_payload,json=jsonPayload,proto3,oneof"`
342 }
343
344 type ConformanceRequest_JspbPayload struct {
345
346 JspbPayload string `protobuf:"bytes,7,opt,name=jspb_payload,json=jspbPayload,proto3,oneof"`
347 }
348
349 type ConformanceRequest_TextPayload struct {
350 TextPayload string `protobuf:"bytes,8,opt,name=text_payload,json=textPayload,proto3,oneof"`
351 }
352
353 func (*ConformanceRequest_ProtobufPayload) isConformanceRequest_Payload() {}
354
355 func (*ConformanceRequest_JsonPayload) isConformanceRequest_Payload() {}
356
357 func (*ConformanceRequest_JspbPayload) isConformanceRequest_Payload() {}
358
359 func (*ConformanceRequest_TextPayload) isConformanceRequest_Payload() {}
360
361
362 type ConformanceResponse struct {
363 state protoimpl.MessageState
364 sizeCache protoimpl.SizeCache
365 unknownFields protoimpl.UnknownFields
366
367
368
369
370
371
372
373
374
375
376
377
378 Result isConformanceResponse_Result `protobuf_oneof:"result"`
379 }
380
381 func (x *ConformanceResponse) Reset() {
382 *x = ConformanceResponse{}
383 if protoimpl.UnsafeEnabled {
384 mi := &file_conformance_conformance_proto_msgTypes[2]
385 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
386 ms.StoreMessageInfo(mi)
387 }
388 }
389
390 func (x *ConformanceResponse) String() string {
391 return protoimpl.X.MessageStringOf(x)
392 }
393
394 func (*ConformanceResponse) ProtoMessage() {}
395
396 func (x *ConformanceResponse) ProtoReflect() protoreflect.Message {
397 mi := &file_conformance_conformance_proto_msgTypes[2]
398 if protoimpl.UnsafeEnabled && x != nil {
399 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
400 if ms.LoadMessageInfo() == nil {
401 ms.StoreMessageInfo(mi)
402 }
403 return ms
404 }
405 return mi.MessageOf(x)
406 }
407
408
409 func (*ConformanceResponse) Descriptor() ([]byte, []int) {
410 return file_conformance_conformance_proto_rawDescGZIP(), []int{2}
411 }
412
413 func (m *ConformanceResponse) GetResult() isConformanceResponse_Result {
414 if m != nil {
415 return m.Result
416 }
417 return nil
418 }
419
420 func (x *ConformanceResponse) GetParseError() string {
421 if x, ok := x.GetResult().(*ConformanceResponse_ParseError); ok {
422 return x.ParseError
423 }
424 return ""
425 }
426
427 func (x *ConformanceResponse) GetSerializeError() string {
428 if x, ok := x.GetResult().(*ConformanceResponse_SerializeError); ok {
429 return x.SerializeError
430 }
431 return ""
432 }
433
434 func (x *ConformanceResponse) GetTimeoutError() string {
435 if x, ok := x.GetResult().(*ConformanceResponse_TimeoutError); ok {
436 return x.TimeoutError
437 }
438 return ""
439 }
440
441 func (x *ConformanceResponse) GetRuntimeError() string {
442 if x, ok := x.GetResult().(*ConformanceResponse_RuntimeError); ok {
443 return x.RuntimeError
444 }
445 return ""
446 }
447
448 func (x *ConformanceResponse) GetProtobufPayload() []byte {
449 if x, ok := x.GetResult().(*ConformanceResponse_ProtobufPayload); ok {
450 return x.ProtobufPayload
451 }
452 return nil
453 }
454
455 func (x *ConformanceResponse) GetJsonPayload() string {
456 if x, ok := x.GetResult().(*ConformanceResponse_JsonPayload); ok {
457 return x.JsonPayload
458 }
459 return ""
460 }
461
462 func (x *ConformanceResponse) GetSkipped() string {
463 if x, ok := x.GetResult().(*ConformanceResponse_Skipped); ok {
464 return x.Skipped
465 }
466 return ""
467 }
468
469 func (x *ConformanceResponse) GetJspbPayload() string {
470 if x, ok := x.GetResult().(*ConformanceResponse_JspbPayload); ok {
471 return x.JspbPayload
472 }
473 return ""
474 }
475
476 func (x *ConformanceResponse) GetTextPayload() string {
477 if x, ok := x.GetResult().(*ConformanceResponse_TextPayload); ok {
478 return x.TextPayload
479 }
480 return ""
481 }
482
483 type isConformanceResponse_Result interface {
484 isConformanceResponse_Result()
485 }
486
487 type ConformanceResponse_ParseError struct {
488
489
490
491
492
493 ParseError string `protobuf:"bytes,1,opt,name=parse_error,json=parseError,proto3,oneof"`
494 }
495
496 type ConformanceResponse_SerializeError struct {
497
498
499
500 SerializeError string `protobuf:"bytes,6,opt,name=serialize_error,json=serializeError,proto3,oneof"`
501 }
502
503 type ConformanceResponse_TimeoutError struct {
504
505
506
507 TimeoutError string `protobuf:"bytes,9,opt,name=timeout_error,json=timeoutError,proto3,oneof"`
508 }
509
510 type ConformanceResponse_RuntimeError struct {
511
512
513
514 RuntimeError string `protobuf:"bytes,2,opt,name=runtime_error,json=runtimeError,proto3,oneof"`
515 }
516
517 type ConformanceResponse_ProtobufPayload struct {
518
519
520 ProtobufPayload []byte `protobuf:"bytes,3,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof"`
521 }
522
523 type ConformanceResponse_JsonPayload struct {
524
525
526 JsonPayload string `protobuf:"bytes,4,opt,name=json_payload,json=jsonPayload,proto3,oneof"`
527 }
528
529 type ConformanceResponse_Skipped struct {
530
531
532 Skipped string `protobuf:"bytes,5,opt,name=skipped,proto3,oneof"`
533 }
534
535 type ConformanceResponse_JspbPayload struct {
536
537
538
539 JspbPayload string `protobuf:"bytes,7,opt,name=jspb_payload,json=jspbPayload,proto3,oneof"`
540 }
541
542 type ConformanceResponse_TextPayload struct {
543
544
545 TextPayload string `protobuf:"bytes,8,opt,name=text_payload,json=textPayload,proto3,oneof"`
546 }
547
548 func (*ConformanceResponse_ParseError) isConformanceResponse_Result() {}
549
550 func (*ConformanceResponse_SerializeError) isConformanceResponse_Result() {}
551
552 func (*ConformanceResponse_TimeoutError) isConformanceResponse_Result() {}
553
554 func (*ConformanceResponse_RuntimeError) isConformanceResponse_Result() {}
555
556 func (*ConformanceResponse_ProtobufPayload) isConformanceResponse_Result() {}
557
558 func (*ConformanceResponse_JsonPayload) isConformanceResponse_Result() {}
559
560 func (*ConformanceResponse_Skipped) isConformanceResponse_Result() {}
561
562 func (*ConformanceResponse_JspbPayload) isConformanceResponse_Result() {}
563
564 func (*ConformanceResponse_TextPayload) isConformanceResponse_Result() {}
565
566
567 type JspbEncodingConfig struct {
568 state protoimpl.MessageState
569 sizeCache protoimpl.SizeCache
570 unknownFields protoimpl.UnknownFields
571
572
573 UseJspbArrayAnyFormat bool `protobuf:"varint,1,opt,name=use_jspb_array_any_format,json=useJspbArrayAnyFormat,proto3" json:"use_jspb_array_any_format,omitempty"`
574 }
575
576 func (x *JspbEncodingConfig) Reset() {
577 *x = JspbEncodingConfig{}
578 if protoimpl.UnsafeEnabled {
579 mi := &file_conformance_conformance_proto_msgTypes[3]
580 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
581 ms.StoreMessageInfo(mi)
582 }
583 }
584
585 func (x *JspbEncodingConfig) String() string {
586 return protoimpl.X.MessageStringOf(x)
587 }
588
589 func (*JspbEncodingConfig) ProtoMessage() {}
590
591 func (x *JspbEncodingConfig) ProtoReflect() protoreflect.Message {
592 mi := &file_conformance_conformance_proto_msgTypes[3]
593 if protoimpl.UnsafeEnabled && x != nil {
594 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
595 if ms.LoadMessageInfo() == nil {
596 ms.StoreMessageInfo(mi)
597 }
598 return ms
599 }
600 return mi.MessageOf(x)
601 }
602
603
604 func (*JspbEncodingConfig) Descriptor() ([]byte, []int) {
605 return file_conformance_conformance_proto_rawDescGZIP(), []int{3}
606 }
607
608 func (x *JspbEncodingConfig) GetUseJspbArrayAnyFormat() bool {
609 if x != nil {
610 return x.UseJspbArrayAnyFormat
611 }
612 return false
613 }
614
615 var File_conformance_conformance_proto protoreflect.FileDescriptor
616
617 var file_conformance_conformance_proto_rawDesc = []byte{
618 0x0a, 0x1d, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x63, 0x6f,
619 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
620 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x26, 0x0a, 0x0a,
621 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x61,
622 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x66, 0x61, 0x69,
623 0x6c, 0x75, 0x72, 0x65, 0x22, 0xf6, 0x03, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d,
624 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x10, 0x70,
625 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18,
626 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
627 0x66, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x6a, 0x73, 0x6f, 0x6e,
628 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
629 0x52, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a,
630 0x0c, 0x6a, 0x73, 0x70, 0x62, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x07, 0x20,
631 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6a, 0x73, 0x70, 0x62, 0x50, 0x61, 0x79, 0x6c, 0x6f,
632 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f,
633 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x65, 0x78, 0x74,
634 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x4f, 0x0a, 0x17, 0x72, 0x65, 0x71, 0x75, 0x65,
635 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d,
636 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f,
637 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61,
638 0x74, 0x52, 0x15, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4f, 0x75, 0x74, 0x70,
639 0x75, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73,
640 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
641 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x74,
642 0x65, 0x73, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01,
643 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65,
644 0x2e, 0x54, 0x65, 0x73, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x74,
645 0x65, 0x73, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x53, 0x0a, 0x15, 0x6a,
646 0x73, 0x70, 0x62, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x70, 0x74,
647 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x6e,
648 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4a, 0x73, 0x70, 0x62, 0x45, 0x6e, 0x63,
649 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x13, 0x6a, 0x73, 0x70,
650 0x62, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
651 0x12, 0x30, 0x0a, 0x14, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77,
652 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12,
653 0x70, 0x72, 0x69, 0x6e, 0x74, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x46, 0x69, 0x65, 0x6c,
654 0x64, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xf3, 0x02,
655 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73,
656 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x73, 0x65, 0x5f, 0x65,
657 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x61,
658 0x72, 0x73, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x69,
659 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28,
660 0x09, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x45, 0x72,
661 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x65,
662 0x72, 0x72, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x74, 0x69,
663 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0d, 0x72, 0x75,
664 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
665 0x09, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x45, 0x72, 0x72, 0x6f,
666 0x72, 0x12, 0x2b, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x5f, 0x70, 0x61,
667 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0f, 0x70,
668 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23,
669 0x0a, 0x0c, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x04,
670 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6c,
671 0x6f, 0x61, 0x64, 0x12, 0x1a, 0x0a, 0x07, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x18, 0x05,
672 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x12,
673 0x23, 0x0a, 0x0c, 0x6a, 0x73, 0x70, 0x62, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18,
674 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6a, 0x73, 0x70, 0x62, 0x50, 0x61, 0x79,
675 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x79,
676 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x65,
677 0x78, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73,
678 0x75, 0x6c, 0x74, 0x22, 0x4e, 0x0a, 0x12, 0x4a, 0x73, 0x70, 0x62, 0x45, 0x6e, 0x63, 0x6f, 0x64,
679 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x38, 0x0a, 0x19, 0x75, 0x73, 0x65,
680 0x5f, 0x6a, 0x73, 0x70, 0x62, 0x5f, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x61, 0x6e, 0x79, 0x5f,
681 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x75, 0x73,
682 0x65, 0x4a, 0x73, 0x70, 0x62, 0x41, 0x72, 0x72, 0x61, 0x79, 0x41, 0x6e, 0x79, 0x46, 0x6f, 0x72,
683 0x6d, 0x61, 0x74, 0x2a, 0x50, 0x0a, 0x0a, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61,
684 0x74, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
685 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x42, 0x55, 0x46, 0x10, 0x01,
686 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53,
687 0x50, 0x42, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x46, 0x4f, 0x52,
688 0x4d, 0x41, 0x54, 0x10, 0x04, 0x2a, 0x8f, 0x01, 0x0a, 0x0c, 0x54, 0x65, 0x73, 0x74, 0x43, 0x61,
689 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
690 0x49, 0x46, 0x49, 0x45, 0x44, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b,
691 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0d, 0x0a,
692 0x09, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x10, 0x02, 0x12, 0x24, 0x0a, 0x20,
693 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x47, 0x4e, 0x4f, 0x52, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e,
694 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x41, 0x52, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x45, 0x53, 0x54,
695 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x50, 0x42, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x10,
696 0x04, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54,
697 0x5f, 0x54, 0x45, 0x53, 0x54, 0x10, 0x05, 0x42, 0x2f, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
698 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63,
699 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0xa2, 0x02, 0x0b, 0x43, 0x6f, 0x6e,
700 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
701 }
702
703 var (
704 file_conformance_conformance_proto_rawDescOnce sync.Once
705 file_conformance_conformance_proto_rawDescData = file_conformance_conformance_proto_rawDesc
706 )
707
708 func file_conformance_conformance_proto_rawDescGZIP() []byte {
709 file_conformance_conformance_proto_rawDescOnce.Do(func() {
710 file_conformance_conformance_proto_rawDescData = protoimpl.X.CompressGZIP(file_conformance_conformance_proto_rawDescData)
711 })
712 return file_conformance_conformance_proto_rawDescData
713 }
714
715 var file_conformance_conformance_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
716 var file_conformance_conformance_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
717 var file_conformance_conformance_proto_goTypes = []interface{}{
718 (WireFormat)(0),
719 (TestCategory)(0),
720 (*FailureSet)(nil),
721 (*ConformanceRequest)(nil),
722 (*ConformanceResponse)(nil),
723 (*JspbEncodingConfig)(nil),
724 }
725 var file_conformance_conformance_proto_depIdxs = []int32{
726 0,
727 1,
728 5,
729 3,
730 3,
731 3,
732 3,
733 0,
734 }
735
736 func init() { file_conformance_conformance_proto_init() }
737 func file_conformance_conformance_proto_init() {
738 if File_conformance_conformance_proto != nil {
739 return
740 }
741 if !protoimpl.UnsafeEnabled {
742 file_conformance_conformance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
743 switch v := v.(*FailureSet); i {
744 case 0:
745 return &v.state
746 case 1:
747 return &v.sizeCache
748 case 2:
749 return &v.unknownFields
750 default:
751 return nil
752 }
753 }
754 file_conformance_conformance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
755 switch v := v.(*ConformanceRequest); i {
756 case 0:
757 return &v.state
758 case 1:
759 return &v.sizeCache
760 case 2:
761 return &v.unknownFields
762 default:
763 return nil
764 }
765 }
766 file_conformance_conformance_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
767 switch v := v.(*ConformanceResponse); i {
768 case 0:
769 return &v.state
770 case 1:
771 return &v.sizeCache
772 case 2:
773 return &v.unknownFields
774 default:
775 return nil
776 }
777 }
778 file_conformance_conformance_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
779 switch v := v.(*JspbEncodingConfig); i {
780 case 0:
781 return &v.state
782 case 1:
783 return &v.sizeCache
784 case 2:
785 return &v.unknownFields
786 default:
787 return nil
788 }
789 }
790 }
791 file_conformance_conformance_proto_msgTypes[1].OneofWrappers = []interface{}{
792 (*ConformanceRequest_ProtobufPayload)(nil),
793 (*ConformanceRequest_JsonPayload)(nil),
794 (*ConformanceRequest_JspbPayload)(nil),
795 (*ConformanceRequest_TextPayload)(nil),
796 }
797 file_conformance_conformance_proto_msgTypes[2].OneofWrappers = []interface{}{
798 (*ConformanceResponse_ParseError)(nil),
799 (*ConformanceResponse_SerializeError)(nil),
800 (*ConformanceResponse_TimeoutError)(nil),
801 (*ConformanceResponse_RuntimeError)(nil),
802 (*ConformanceResponse_ProtobufPayload)(nil),
803 (*ConformanceResponse_JsonPayload)(nil),
804 (*ConformanceResponse_Skipped)(nil),
805 (*ConformanceResponse_JspbPayload)(nil),
806 (*ConformanceResponse_TextPayload)(nil),
807 }
808 type x struct{}
809 out := protoimpl.TypeBuilder{
810 File: protoimpl.DescBuilder{
811 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
812 RawDescriptor: file_conformance_conformance_proto_rawDesc,
813 NumEnums: 2,
814 NumMessages: 4,
815 NumExtensions: 0,
816 NumServices: 0,
817 },
818 GoTypes: file_conformance_conformance_proto_goTypes,
819 DependencyIndexes: file_conformance_conformance_proto_depIdxs,
820 EnumInfos: file_conformance_conformance_proto_enumTypes,
821 MessageInfos: file_conformance_conformance_proto_msgTypes,
822 }.Build()
823 File_conformance_conformance_proto = out.File
824 file_conformance_conformance_proto_rawDesc = nil
825 file_conformance_conformance_proto_goTypes = nil
826 file_conformance_conformance_proto_depIdxs = nil
827 }
828
View as plain text