Lines Matching refs:testpb
20 testpb "google.golang.org/protobuf/internal/testprotos/test" packageName
31 allTypesDesc := (*testpb.TestAllTypes)(nil).ProtoReflect().Descriptor()
35 x: (*testpb.TestAllTypes)(nil),
36 y: (*testpb.TestAllTypes)(nil),
40 x: (*testpb.TestAllTypes)(nil),
41 y: (*testpb.TestAllExtensions)(nil),
45 x: (*testpb.TestAllTypes)(nil),
46 y: new(testpb.TestAllTypes),
50 x: (*testpb.TestAllTypes)(nil),
55 x: (*testpb.TestAllTypes)(nil),
56 y: new(testpb.TestAllTypes),
60 x: (*testpb.TestAllTypes)(nil),
65 x: new(testpb.TestAllTypes),
66 y: new(testpb.TestAllTypes),
70 x: new(testpb.TestAllTypes),
75 x: new(testpb.TestAllTypes),
76 y: new(testpb.TestAllExtensions),
80 x: struct{ I interface{} }{(*testpb.TestAllTypes)(nil)},
81 y: struct{ I interface{} }{(*testpb.TestAllTypes)(nil)},
85 x: struct{ I interface{} }{(*testpb.TestAllTypes)(nil)},
86 y: struct{ I interface{} }{new(testpb.TestAllTypes)},
90 x: struct{ I interface{} }{(*testpb.TestAllTypes)(nil)},
95 x: struct{ I interface{} }{(*testpb.TestAllTypes)(nil)},
96 y: struct{ I interface{} }{new(testpb.TestAllTypes)},
100 x: struct{ I interface{} }{(*testpb.TestAllTypes)(nil)},
105 x: struct{ I interface{} }{new(testpb.TestAllTypes)},
106 y: struct{ I interface{} }{new(testpb.TestAllTypes)},
110 x: struct{ I interface{} }{new(testpb.TestAllTypes)},
115 x: struct{ M proto.Message }{(*testpb.TestAllTypes)(nil)},
116 y: struct{ M proto.Message }{(*testpb.TestAllTypes)(nil)},
120 x: struct{ M proto.Message }{(*testpb.TestAllTypes)(nil)},
121 y: struct{ M proto.Message }{new(testpb.TestAllTypes)},
125 x: struct{ M proto.Message }{(*testpb.TestAllTypes)(nil)},
130 x: struct{ M proto.Message }{(*testpb.TestAllTypes)(nil)},
131 y: struct{ M proto.Message }{new(testpb.TestAllTypes)},
135 x: struct{ M proto.Message }{(*testpb.TestAllTypes)(nil)},
140 x: struct{ M proto.Message }{new(testpb.TestAllTypes)},
141 y: struct{ M proto.Message }{new(testpb.TestAllTypes)},
145 x: struct{ M proto.Message }{new(testpb.TestAllTypes)},
153 x: testpb.TestAllTypes{OptionalSint64: proto.Int64(1)},
154 y: testpb.TestAllTypes{OptionalSint64: proto.Int64(1)},
158 x: testpb.TestAllTypes{OptionalSint64: proto.Int64(1)},
159 y: testpb.TestAllTypes{OptionalSint64: proto.Int64(2)},
163 x: struct{ M testpb.TestAllTypes }{M: testpb.TestAllTypes{OptionalSint64: proto.Int64(1)}},
164 y: struct{ M testpb.TestAllTypes }{M: testpb.TestAllTypes{OptionalSint64: proto.Int64(1)}},
168 x: struct{ M testpb.TestAllTypes }{M: testpb.TestAllTypes{OptionalSint64: proto.Int64(1)}},
169 y: struct{ M testpb.TestAllTypes }{M: testpb.TestAllTypes{OptionalSint64: proto.Int64(2)}},
173 …x: struct{ M []testpb.TestAllTypes }{M: []testpb.TestAllTypes{{OptionalSint64: proto.Int64(1)}}…
174 …y: struct{ M []testpb.TestAllTypes }{M: []testpb.TestAllTypes{{OptionalSint64: proto.Int64(1)}}…
178 …x: struct{ M []testpb.TestAllTypes }{M: []testpb.TestAllTypes{{OptionalSint64: proto.Int64(1)}}…
179 …y: struct{ M []testpb.TestAllTypes }{M: []testpb.TestAllTypes{{OptionalSint64: proto.Int64(2)}}…
184 M map[string]testpb.TestAllTypes
186 M: map[string]testpb.TestAllTypes{"k": {OptionalSint64: proto.Int64(1)}},
189 M map[string]testpb.TestAllTypes
191 M: map[string]testpb.TestAllTypes{"k": {OptionalSint64: proto.Int64(1)}},
197 M map[string]testpb.TestAllTypes
199 M: map[string]testpb.TestAllTypes{"k": {OptionalSint64: proto.Int64(1)}},
202 M map[string]testpb.TestAllTypes
204 M: map[string]testpb.TestAllTypes{"k": {OptionalSint64: proto.Int64(2)}},
215 x: apply(&testpb.TestAllTypes{OptionalSint64: proto.Int64(5)}, setUnknown{raw}),
216 y: &testpb.TestAllTypes{OptionalSint64: proto.Int64(5)},
220 x: apply(&testpb.TestAllTypes{OptionalSint64: proto.Int64(5)}, setUnknown{raw}),
221 y: &testpb.TestAllTypes{OptionalSint64: proto.Int64(5)},
225 x: apply(&testpb.TestAllTypes{OptionalSint64: proto.Int64(5)}, setUnknown{raw}),
226 y: &testpb.TestAllTypes{OptionalSint64: proto.Int64(6)},
230 x: apply(&testpb.TestAllTypes{OptionalSint64: proto.Int64(5)}, setUnknown{raw}),
235 x: apply(&testpb.TestAllTypes{OptionalSint64: proto.Int64(5)}, setUnknown{raw}),
243 x: &testpb.TestAllTypes{
250 y: &testpb.TestAllTypes{
255 DefaultForeignEnum: testpb.ForeignEnum_FOREIGN_BAR.Enum(),
260 x: &testpb.TestAllTypes{
267 y: &testpb.TestAllTypes{
272 DefaultForeignEnum: testpb.ForeignEnum_FOREIGN_BAR.Enum(),
277 x: &testpb.TestAllTypes{
284 y: &testpb.TestAllTypes{
289 OptionalForeignEnum: testpb.ForeignEnum_FOREIGN_BAR.Enum(),
294 x: &testpb.TestAllTypes{
301 y: &testpb.TestAllTypes{
306 OptionalForeignEnum: testpb.ForeignEnum_FOREIGN_FOO.Enum(),
311 x: apply(new(testpb.TestAllExtensions),
312 setExtension{testpb.E_DefaultInt32, int32(81)},
313 setExtension{testpb.E_DefaultUint32, uint32(83)},
314 setExtension{testpb.E_DefaultFloat, float32(91.5)},
315 setExtension{testpb.E_DefaultBool, bool(true)},
316 setExtension{testpb.E_DefaultBytes, []byte("world")}),
317 y: apply(new(testpb.TestAllExtensions),
318 setExtension{testpb.E_DefaultInt64, int64(82)},
319 setExtension{testpb.E_DefaultUint64, uint64(84)},
320 setExtension{testpb.E_DefaultDouble, float64(92e3)},
321 setExtension{testpb.E_DefaultString, string("hello")}),
325 x: apply(new(testpb.TestAllExtensions),
326 setExtension{testpb.E_DefaultInt32, int32(81)},
327 setExtension{testpb.E_DefaultUint32, uint32(83)},
328 setExtension{testpb.E_DefaultFloat, float32(91.5)},
329 setExtension{testpb.E_DefaultBool, bool(true)},
330 setExtension{testpb.E_DefaultBytes, []byte("world")}),
331 y: apply(new(testpb.TestAllExtensions),
332 setExtension{testpb.E_DefaultInt64, int64(82)},
333 setExtension{testpb.E_DefaultUint64, uint64(84)},
334 setExtension{testpb.E_DefaultDouble, float64(92e3)},
335 setExtension{testpb.E_DefaultString, string("hello")}),
339 x: apply(new(testpb.TestAllExtensions),
340 setExtension{testpb.E_OptionalInt32, int32(0)},
341 setExtension{testpb.E_OptionalUint32, uint32(0)},
342 setExtension{testpb.E_OptionalFloat, float32(0)},
343 setExtension{testpb.E_OptionalBool, bool(false)},
344 setExtension{testpb.E_OptionalBytes, []byte("")}),
345 y: apply(new(testpb.TestAllExtensions),
346 setExtension{testpb.E_OptionalInt64, int64(0)},
347 setExtension{testpb.E_OptionalUint64, uint64(0)},
348 setExtension{testpb.E_OptionalDouble, float64(0)},
349 setExtension{testpb.E_OptionalString, string("")}),
353 x: apply(new(testpb.TestAllExtensions),
354 setExtension{testpb.E_OptionalInt32, int32(0)},
355 setExtension{testpb.E_OptionalUint32, uint32(0)},
356 setExtension{testpb.E_OptionalFloat, float32(0)},
357 setExtension{testpb.E_OptionalBool, bool(false)},
358 setExtension{testpb.E_OptionalBytes, []byte("")}),
359 y: apply(new(testpb.TestAllExtensions),
360 setExtension{testpb.E_OptionalInt64, int64(0)},
361 setExtension{testpb.E_OptionalUint64, uint64(0)},
362 setExtension{testpb.E_OptionalDouble, float64(0)},
363 setExtension{testpb.E_OptionalString, string("")}),
367 x: &testpb.TestAllTypes{
370 y: &testpb.TestAllTypes{},
374 x: &testpb.TestAllTypes{
375 OptionalForeignMessage: &testpb.ForeignMessage{},
377 y: &testpb.TestAllTypes{},
384 x: []*testpb.TestAllTypes{nil, {}, {OptionalInt32: proto.Int32(5)}},
385 y: []*testpb.TestAllTypes{nil, {}, {OptionalInt32: proto.Int32(5)}},
389 x: []*testpb.TestAllTypes{nil, {}, {OptionalInt32: proto.Int32(5)}},
390 y: []*testpb.TestAllTypes{{OptionalInt32: proto.Int32(5)}},
394 x: &testpb.TestAllTypes{OptionalForeignMessage: &testpb.ForeignMessage{}},
395 y: &testpb.TestAllTypes{OptionalForeignMessage: nil},
399 x: &testpb.TestAllTypes{OptionalForeignMessage: &testpb.ForeignMessage{}},
400 y: &testpb.TestAllTypes{OptionalForeignMessage: nil},
404 x: &testpb.TestAllTypes{OptionalForeignMessage: &testpb.ForeignMessage{C: proto.Int32(5)}},
405 y: &testpb.TestAllTypes{OptionalForeignMessage: nil},
409 x: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{}},
410 y: &testpb.TestAllTypes{RepeatedForeignMessage: nil},
414 x: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{nil, {}}},
415 y: &testpb.TestAllTypes{RepeatedForeignMessage: nil},
419 x: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{nil, {}}},
420 y: &testpb.TestAllTypes{RepeatedForeignMessage: nil},
424 …x: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{nil, {C: proto.Int32(5…
425 y: &testpb.TestAllTypes{RepeatedForeignMessage: nil},
429 …x: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{nil, {C: proto.Int32(5…
430 …y: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{{}, {}, nil, {}, {C: p…
434 …x: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{nil, {C: proto.Int32(5…
435 …y: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{{}, {}, nil, {}, {C: p…
439 …x: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{}…
440 y: &testpb.TestAllTypes{MapStringNestedMessage: nil},
444 …x: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"…
445 y: &testpb.TestAllTypes{MapStringNestedMessage: nil},
449 …x: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"…
450 y: &testpb.TestAllTypes{MapStringNestedMessage: nil},
454 …x: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"…
455 y: &testpb.TestAllTypes{MapStringNestedMessage: nil},
459 …x: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"…
460 …y: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"…
464 …x: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"…
465 …y: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"…
472 x: &testpb.TestAllTypes{
473 OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(1)},
474 RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.Int32(2)}},
475 MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"3": {A: proto.Int32(3)}},
477 y: &testpb.TestAllTypes{},
481 x: &testpb.TestAllTypes{
482 OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(1)},
483 RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.Int32(2)}},
484 MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"3": {A: proto.Int32(3)}},
486 y: &testpb.TestAllTypes{},
487 opts: cmp.Options{Transform(), IgnoreMessages(&testpb.TestAllTypes{})},
490 x: &testpb.TestAllTypes{
491 OptionalNestedEnum: testpb.TestAllTypes_FOO.Enum(),
492 RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_BAR},
493 MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"baz": testpb.TestAllTypes_BAZ},
495 y: &testpb.TestAllTypes{},
499 x: &testpb.TestAllTypes{
500 OptionalNestedEnum: testpb.TestAllTypes_FOO.Enum(),
501 RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_BAR},
502 MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"baz": testpb.TestAllTypes_BAZ},
504 y: &testpb.TestAllTypes{},
505 opts: cmp.Options{Transform(), IgnoreEnums(testpb.TestAllTypes_NestedEnum(0))},
508 x: &testpb.TestAllTypes{
509 OptionalNestedEnum: testpb.TestAllTypes_FOO.Enum(),
510 RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_BAR},
511 MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"baz": testpb.TestAllTypes_BAZ},
513 OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(1)},
514 RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.Int32(2)}},
515 MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"3": {A: proto.Int32(3)}},
517 y: &testpb.TestAllTypes{},
519 IgnoreMessages(&testpb.TestAllExtensions{}),
520 IgnoreEnums(testpb.ForeignEnum(0)),
527 x: &testpb.TestAllTypes{OptionalInt32: proto.Int32(5)},
528 y: &testpb.TestAllTypes{OptionalInt32: proto.Int32(6)},
532 x: &testpb.TestAllTypes{OptionalInt32: proto.Int32(5)},
533 y: &testpb.TestAllTypes{},
535 IgnoreFields(&testpb.TestAllTypes{}, "optional_int32")},
538 x: &testpb.TestAllTypes{OptionalInt32: proto.Int32(5)},
539 y: &testpb.TestAllTypes{OptionalInt32: proto.Int32(6)},
541 IgnoreFields(&testpb.TestAllTypes{}, "optional_int32")},
544 x: &testpb.TestAllTypes{OptionalInt32: proto.Int32(5)},
545 y: &testpb.TestAllTypes{OptionalInt32: proto.Int32(6)},
547 IgnoreFields(&testpb.TestAllTypes{}, "optional_int64")},
550 x: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofUint32{5}},
551 y: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofString{"5"}},
555 x: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofUint32{5}},
556 y: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofString{"5"}},
558 IgnoreFields(&testpb.TestAllTypes{}, "oneof_uint32"),
559 IgnoreFields(&testpb.TestAllTypes{}, "oneof_string")},
562 x: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofUint32{5}},
563 y: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofString{"5"}},
565 IgnoreOneofs(&testpb.TestAllTypes{}, "oneof_field")},
568 x: apply(new(testpb.TestAllExtensions),
569 setExtension{testpb.E_OptionalString, "hello"}),
570 y: apply(new(testpb.TestAllExtensions),
571 setExtension{testpb.E_OptionalString, "goodbye"}),
575 x: apply(new(testpb.TestAllExtensions),
576 setExtension{testpb.E_OptionalString, "hello"}),
577 y: new(testpb.TestAllExtensions),
579 IgnoreDescriptors(testpb.E_OptionalString.TypeDescriptor())},
582 x: apply(new(testpb.TestAllExtensions),
583 setExtension{testpb.E_OptionalString, "hello"}),
584 y: apply(new(testpb.TestAllExtensions),
585 setExtension{testpb.E_OptionalString, "goodbye"}),
587 IgnoreDescriptors(testpb.E_OptionalString.TypeDescriptor())},
590 x: apply(new(testpb.TestAllExtensions),
591 setExtension{testpb.E_OptionalString, "hello"}),
592 y: apply(new(testpb.TestAllExtensions),
593 setExtension{testpb.E_OptionalString, "goodbye"}),
595 IgnoreDescriptors(testpb.E_OptionalInt32.TypeDescriptor())},
601 x: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_FOO.Enum()},
602 y: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_BAR.Enum()},
606 x: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_FOO.Enum()},
607 y: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_BAR.Enum()},
610 FilterEnum(testpb.ForeignEnum(0), cmp.Comparer(func(x, y interface{}) bool { return true })),
614 x: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_FOO.Enum()},
615 y: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_BAR.Enum()},
618 FilterEnum(testpb.TestAllTypes_NestedEnum(0), cmp.Comparer(func(x, y int) bool { return true })),
622 x: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_FOO.Enum()},
623 y: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_BAR.Enum()},
626 …FilterEnum(testpb.TestAllTypes_NestedEnum(0), cmp.Comparer(func(x, y testpb.TestAllTypes_NestedEnu…
630 x: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_FOO.Enum()},
631 y: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_BAR.Enum()},
634 …FilterEnum(testpb.TestAllTypes_NestedEnum(0), cmp.Comparer(func(x, y interface{}) bool { return tr…
638 x: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_FOO.Enum()},
639 y: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_BAR.Enum()},
642 … FilterEnum(testpb.TestAllTypes_NestedEnum(0), cmp.Comparer(func(x, y Enum) bool { return true })),
646 …x: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllType…
647 …y: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllType…
651 …x: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_F…
652 …y: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_B…
655 FilterEnum(testpb.ForeignEnum(0), cmp.Comparer(func(x, y interface{}) bool { return true })),
659 …x: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_F…
660 …y: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_B…
663 FilterEnum(testpb.TestAllTypes_NestedEnum(0), cmp.Comparer(func(x, y int) bool { return true })),
667 …x: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_F…
668 …y: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_B…
671 …FilterEnum(testpb.TestAllTypes_NestedEnum(0), cmp.Comparer(func(x, y []testpb.TestAllTypes_NestedE…
675 …x: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_F…
676 …y: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_B…
679 …FilterEnum(testpb.TestAllTypes_NestedEnum(0), cmp.Comparer(func(x, y interface{}) bool { return tr…
683 …x: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_F…
684 …y: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_B…
687 …FilterEnum(testpb.TestAllTypes_NestedEnum(0), cmp.Comparer(func(x, y []Enum) bool { return true })…
691 …x: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"k": tes…
692 …y: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"k": tes…
696 …x: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"k": testpb…
697 …y: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"k": testpb…
700 FilterEnum(testpb.ForeignEnum(0), cmp.Comparer(func(x, y interface{}) bool { return true })),
704 …x: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"k": testpb…
705 …y: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"k": testpb…
708 FilterEnum(testpb.TestAllTypes_NestedEnum(0), cmp.Comparer(func(x, y int) bool { return true })),
712 …x: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"k": testpb…
713 …y: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"k": testpb…
716 …FilterEnum(testpb.TestAllTypes_NestedEnum(0), cmp.Comparer(func(x, y map[string]testpb.TestAllType…
720 …x: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"k": testpb…
721 …y: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"k": testpb…
724 …FilterEnum(testpb.TestAllTypes_NestedEnum(0), cmp.Comparer(func(x, y interface{}) bool { return tr…
728 …x: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"k": testpb…
729 …y: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{"k": testpb…
732 …FilterEnum(testpb.TestAllTypes_NestedEnum(0), cmp.Comparer(func(x, y map[string]Enum) bool { retur…
739 …x: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int3…
740 …y: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int3…
744 …x: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(1…
745 …y: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(2…
748 …FilterMessage(new(testpb.TestAllExtensions), cmp.Comparer(func(x, y interface{}) bool { return tru…
752 …x: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(1…
753 …y: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(2…
756 …FilterMessage(new(testpb.TestAllTypes_NestedMessage), cmp.Comparer(func(x, y int) bool { return tr…
760 …x: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(1…
761 …y: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(2…
764 …FilterMessage(new(testpb.TestAllTypes_NestedMessage), cmp.Comparer(func(x, y *testpb.TestAllTypes_…
768 …x: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(1…
769 …y: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(2…
772 …FilterMessage(new(testpb.TestAllTypes_NestedMessage), cmp.Comparer(func(x, y interface{}) bool { r…
776 …x: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(1…
777 …y: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(2…
780 …FilterMessage(new(testpb.TestAllTypes_NestedMessage), cmp.Comparer(func(x, y Message) bool { retur…
784 …x: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.I…
785 …y: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.I…
789 …x: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.Int3…
790 …y: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.Int3…
793 …FilterMessage(new(testpb.TestAllExtensions), cmp.Comparer(func(x, y interface{}) bool { return tru…
797 …x: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.Int3…
798 …y: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.Int3…
801 …FilterMessage(new(testpb.TestAllTypes_NestedMessage), cmp.Comparer(func(x, y int) bool { return tr…
805 …x: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.Int3…
806 …y: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.Int3…
809 …FilterMessage(new(testpb.TestAllTypes_NestedMessage), cmp.Comparer(func(x, y []*testpb.TestAllType…
813 …x: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.Int3…
814 …y: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.Int3…
817 …FilterMessage(new(testpb.TestAllTypes_NestedMessage), cmp.Comparer(func(x, y interface{}) bool { r…
821 …x: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.Int3…
822 …y: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{{A: proto.Int3…
825 …FilterMessage(new(testpb.TestAllTypes_NestedMessage), cmp.Comparer(func(x, y []Message) bool { ret…
829 …x: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"…
830 …y: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"…
834 …x: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"k":…
835 …y: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"k":…
838 …FilterMessage(new(testpb.TestAllExtensions), cmp.Comparer(func(x, y interface{}) bool { return tru…
842 …x: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"k":…
843 …y: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"k":…
846 …FilterMessage(new(testpb.TestAllTypes_NestedMessage), cmp.Comparer(func(x, y int) bool { return tr…
850 …x: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"k":…
851 …y: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"k":…
854 …FilterMessage(new(testpb.TestAllTypes_NestedMessage), cmp.Comparer(func(x, y map[string]*testpb.Te…
858 …x: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"k":…
859 …y: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"k":…
862 …FilterMessage(new(testpb.TestAllTypes_NestedMessage), cmp.Comparer(func(x, y interface{}) bool { r…
866 …x: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"k":…
867 …y: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"k":…
870 …FilterMessage(new(testpb.TestAllTypes_NestedMessage), cmp.Comparer(func(x, y map[string]Message) b…
877 x: &testpb.TestAllTypes{OptionalInt32: proto.Int32(1)},
878 y: &testpb.TestAllTypes{OptionalInt32: proto.Int32(2)},
882 x: &testpb.TestAllTypes{OptionalInt32: proto.Int32(1)},
883 y: &testpb.TestAllTypes{OptionalInt32: proto.Int32(2)},
886 …FilterField(new(testpb.TestAllTypes), "optional_int64", cmp.Comparer(func(x, y interface{}) bool {…
890 x: &testpb.TestAllTypes{OptionalInt32: proto.Int32(1)},
891 y: &testpb.TestAllTypes{OptionalInt32: proto.Int32(2)},
894 …FilterField(new(testpb.TestAllTypes), "optional_int32", cmp.Comparer(func(x, y int64) bool { retur…
898 x: &testpb.TestAllTypes{OptionalInt32: proto.Int32(1)},
899 y: &testpb.TestAllTypes{OptionalInt32: proto.Int32(2)},
902 …FilterField(new(testpb.TestAllTypes), "optional_int32", cmp.Comparer(func(x, y interface{}) bool {…
906 x: &testpb.TestAllTypes{OptionalInt32: proto.Int32(1)},
907 y: &testpb.TestAllTypes{OptionalInt32: proto.Int32(2)},
910 …FilterField(new(testpb.TestAllTypes), "optional_int32", cmp.Comparer(func(x, y int32) bool { retur…
914 x: &testpb.TestAllTypes{RepeatedInt32: []int32{1}},
915 y: &testpb.TestAllTypes{RepeatedInt32: []int32{2}},
919 x: &testpb.TestAllTypes{RepeatedInt32: []int32{1}},
920 y: &testpb.TestAllTypes{RepeatedInt32: []int32{2}},
923 …FilterField(new(testpb.TestAllTypes), "repeated_int64", cmp.Comparer(func(x, y interface{}) bool {…
927 x: &testpb.TestAllTypes{RepeatedInt32: []int32{1}},
928 y: &testpb.TestAllTypes{RepeatedInt32: []int32{2}},
931 …FilterField(new(testpb.TestAllTypes), "repeated_int32", cmp.Comparer(func(x, y []int64) bool { ret…
935 x: &testpb.TestAllTypes{RepeatedInt32: []int32{1}},
936 y: &testpb.TestAllTypes{RepeatedInt32: []int32{2}},
939 …FilterField(new(testpb.TestAllTypes), "repeated_int32", cmp.Comparer(func(x, y interface{}) bool {…
943 x: &testpb.TestAllTypes{RepeatedInt32: []int32{1}},
944 y: &testpb.TestAllTypes{RepeatedInt32: []int32{2}},
947 …FilterField(new(testpb.TestAllTypes), "repeated_int32", cmp.Comparer(func(x, y []int32) bool { ret…
951 x: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{1: 1}},
952 y: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{2: 2}},
956 x: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{1: 1}},
957 y: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{2: 2}},
960 …FilterField(new(testpb.TestAllTypes), "map_int64_int64", cmp.Comparer(func(x, y interface{}) bool …
964 x: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{1: 1}},
965 y: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{2: 2}},
968 …FilterField(new(testpb.TestAllTypes), "map_int32_int32", cmp.Comparer(func(x, y map[int64]int64) b…
972 x: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{1: 1}},
973 y: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{2: 2}},
976 …FilterField(new(testpb.TestAllTypes), "map_int32_int32", cmp.Comparer(func(x, y interface{}) bool …
980 x: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{1: 1}},
981 y: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{2: 2}},
984 …FilterField(new(testpb.TestAllTypes), "map_int32_int32", cmp.Comparer(func(x, y map[int32]int32) b…
991 x: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofUint32{1}},
992 y: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofUint32{2}},
996 x: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofUint32{1}},
997 y: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofUint32{2}},
1000 …FilterOneof(new(testpb.TestAllTypes), "oneof_optional", cmp.Comparer(func(x, y interface{}) bool {…
1004 x: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofUint32{1}},
1005 y: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofUint32{2}},
1008 …FilterOneof(new(testpb.TestAllTypes), "oneof_field", cmp.Comparer(func(x, y string) bool { return …
1012 x: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofUint32{1}},
1013 y: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofUint32{2}},
1016 …FilterOneof(new(testpb.TestAllTypes), "oneof_field", cmp.Comparer(func(x, y uint32) bool { return …
1020 x: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofUint32{1}},
1021 y: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofUint32{2}},
1024 …FilterOneof(new(testpb.TestAllTypes), "oneof_field", cmp.Comparer(func(x, y interface{}) bool { re…
1031 M *testpb.TestAllTypes
1033 Es []testpb.TestAllTypes_NestedEnum
1034 Ms []*testpb.ForeignMessage
1037 x: &testpb.TestAllTypes{RepeatedInt32: []int32{3, 2, 1, 2, 3, 3}},
1038 y: &testpb.TestAllTypes{RepeatedInt32: []int32{2, 3, 3, 2, 1, 3}},
1042 x: &testpb.TestAllTypes{RepeatedInt32: []int32{3, 2, 1, 2, 3, 3}},
1043 y: &testpb.TestAllTypes{RepeatedInt32: []int32{2, 3, 3, 2, 1, 3}},
1051 M: &testpb.TestAllTypes{RepeatedInt32: []int32{3, 2, 1, 2, 3, 3}},
1055 M: &testpb.TestAllTypes{RepeatedInt32: []int32{2, 3, 3, 2, 1, 3}},
1064 x: &testpb.TestAllTypes{RepeatedInt32: []int32{3, 2, 1, 2, 3, 3}},
1065 y: &testpb.TestAllTypes{RepeatedInt32: []int32{2, 3, 3, 2, 1, 3}},
1072 …x: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllType…
1073 …y: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllType…
1077 …x: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_F…
1078 …y: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_B…
1081 SortRepeated(func(x, y testpb.TestAllTypes_NestedEnum) bool { return x < y }),
1086 …M: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_…
1087 …Es: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_FOO, testpb.TestAllTypes_BAR, testpb.Test…
1090 …M: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_…
1091 …Es: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_BAR, testpb.TestAllTypes_FOO, testpb.Test…
1095 SortRepeated(func(x, y testpb.TestAllTypes_NestedEnum) bool { return x < y }),
1099 …x: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_F…
1100 …y: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_B…
1103 SortRepeated(func(x, y testpb.ForeignEnum) bool { return x < y }),
1107 …x: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{{}, {C: proto.Int32(3)…
1108 …y: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{nil, {C: proto.Int32(3…
1112 …x: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{{}, {C: proto.Int32(3)}, …
1113 …y: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{nil, {C: proto.Int32(3)},…
1116 SortRepeated(func(x, y *testpb.ForeignMessage) bool { return x.GetC() < y.GetC() }),
1121 …M: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{{}, {C: proto.Int32(3)},…
1122 …Ms: []*testpb.ForeignMessage{{}, {C: proto.Int32(3)}, nil, {C: proto.Int32(3)}, {C: proto.Int32(5)…
1125 …M: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{nil, {C: proto.Int32(3)}…
1126 …Ms: []*testpb.ForeignMessage{nil, {C: proto.Int32(3)}, {}, {C: proto.Int32(4)}, {C: proto.Int32(3)…
1130 SortRepeated(func(x, y *testpb.ForeignMessage) bool { return x.GetC() < y.GetC() }),
1134 …x: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{{}, {C: proto.Int32(3)}, …
1135 …y: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{nil, {C: proto.Int32(3)},…
1138 SortRepeated(func(x, y *testpb.TestAllTypes_NestedMessage) bool { return x.GetA() < y.GetA() }),
1142 x: &testpb.TestAllTypes{
1154 y: &testpb.TestAllTypes{
1178 x: &testpb.TestAllTypes{RepeatedInt32: []int32{3, 2, 1, 2, 3, 3}},
1179 y: &testpb.TestAllTypes{RepeatedInt32: []int32{2, 3, 3, 2, 1, 3}},
1183 x: &testpb.TestAllTypes{RepeatedInt32: []int32{3, 2, 1, 2, 3, 3}},
1184 y: &testpb.TestAllTypes{RepeatedInt32: []int32{2, 3, 3, 2, 1, 3}},
1187 SortRepeatedFields(new(testpb.TestAllTypes), "repeated_int32"),
1191 x: &testpb.TestAllTypes{RepeatedInt32: []int32{3, 2, 1, 2, 3, 3}},
1192 y: &testpb.TestAllTypes{RepeatedInt32: []int32{2, 3, 3, 2, 1, 3}},
1195 SortRepeatedFields(new(testpb.TestAllTypes), "repeated_int64"),
1199 …x: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllType…
1200 …y: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllType…
1204 …x: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_F…
1205 …y: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_B…
1208 SortRepeatedFields(new(testpb.TestAllTypes), "repeated_nested_enum"),
1212 …x: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_F…
1213 …y: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_B…
1216 SortRepeatedFields(new(testpb.TestAllTypes), "repeated_foreign_enum"),
1220 …x: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{{}, {C: proto.Int32(3)…
1221 …y: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{nil, {C: proto.Int32(3…
1225 …x: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{{}, {C: proto.Int32(3)}, …
1226 …y: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{nil, {C: proto.Int32(3)},…
1229 SortRepeatedFields(new(testpb.TestAllTypes), "repeated_foreign_message"),
1233 …x: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{{}, {C: proto.Int32(3)}, …
1234 …y: &testpb.TestAllTypes{RepeatedForeignMessage: []*testpb.ForeignMessage{nil, {C: proto.Int32(3)},…
1237 SortRepeatedFields(new(testpb.TestAllTypes), "repeated_nested_message"),
1241 x: &testpb.TestAllTypes{
1251 …RepeatedForeignEnum: []testpb.ForeignEnum{testpb.ForeignEnum_FOREIGN_FOO, testpb.ForeignEnum_FO…
1252 RepeatedForeignMessage: []*testpb.ForeignMessage{{C: proto.Int32(-1)}, {C: proto.Int32(+1)}},
1254 y: &testpb.TestAllTypes{
1264 …RepeatedForeignEnum: []testpb.ForeignEnum{testpb.ForeignEnum_FOREIGN_BAR, testpb.ForeignEnum_FO…
1265 RepeatedForeignMessage: []*testpb.ForeignMessage{{C: proto.Int32(+1)}, {C: proto.Int32(-1)}},
1269 SortRepeatedFields(new(testpb.TestAllTypes),