aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/google.golang.org
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-01-30 11:20:39 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-01-30 12:12:51 +0300
commitbe737fd8956853e06bd2c4f9fcd4a85188f4c172 (patch)
tree5bd76802fac1096dfd90983c7739d50de367a79f /vendor/google.golang.org
parentfe62880c46b1f2c9fec779b0dc39f8a92ce256a5 (diff)
downloadydb-be737fd8956853e06bd2c4f9fcd4a85188f4c172.tar.gz
Update vendor/github.com/envoyproxy/go-control-plane to 0.12.0
Diffstat (limited to 'vendor/google.golang.org')
-rw-r--r--vendor/google.golang.org/protobuf/compiler/protogen/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/compiler/protogen/protogen.go26
-rw-r--r--vendor/google.golang.org/protobuf/compiler/protogen/protogen_test.go418
-rw-r--r--vendor/google.golang.org/protobuf/compiler/protogen/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/encoding/protojson/bench_test.go24
-rw-r--r--vendor/google.golang.org/protobuf/encoding/protojson/decode.go38
-rw-r--r--vendor/google.golang.org/protobuf/encoding/protojson/decode_test.go2480
-rw-r--r--vendor/google.golang.org/protobuf/encoding/protojson/doc.go2
-rw-r--r--vendor/google.golang.org/protobuf/encoding/protojson/encode.go39
-rw-r--r--vendor/google.golang.org/protobuf/encoding/protojson/encode_test.go2353
-rw-r--r--vendor/google.golang.org/protobuf/encoding/protojson/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/encoding/protojson/well_known_types.go55
-rw-r--r--vendor/google.golang.org/protobuf/encoding/protojson/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/encoding/prototext/decode.go8
-rw-r--r--vendor/google.golang.org/protobuf/encoding/prototext/decode_test.go1706
-rw-r--r--vendor/google.golang.org/protobuf/encoding/prototext/encode.go4
-rw-r--r--vendor/google.golang.org/protobuf/encoding/prototext/encode_test.go1479
-rw-r--r--vendor/google.golang.org/protobuf/encoding/prototext/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/encoding/prototext/other_test.go238
-rw-r--r--vendor/google.golang.org/protobuf/encoding/prototext/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/encoding/protowire/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/encoding/protowire/wire.go28
-rw-r--r--vendor/google.golang.org/protobuf/encoding/protowire/wire_test.go680
-rw-r--r--vendor/google.golang.org/protobuf/encoding/protowire/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/internal/descfmt/desc_test.go63
-rw-r--r--vendor/google.golang.org/protobuf/internal/descfmt/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/internal/descfmt/stringer.go183
-rw-r--r--vendor/google.golang.org/protobuf/internal/descfmt/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/internal/descopts/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/internal/detrand/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/internal/detrand/rand_test.go14
-rw-r--r--vendor/google.golang.org/protobuf/internal/detrand/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/defval/default_test.go105
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/defval/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/defval/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/json/bench_test.go63
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/json/decode_test.go1414
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/json/encode_test.go399
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/json/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/json/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/messageset/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/tag/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/tag/tag_test.go40
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/tag/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/text/decode_test.go1955
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/text/encode_test.go557
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/text/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/internal/encoding/text/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/errors/errors_test.go67
-rw-r--r--vendor/google.golang.org/protobuf/internal/errors/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/internal/errors/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/internal/filedesc/build_test.go137
-rw-r--r--vendor/google.golang.org/protobuf/internal/filedesc/desc.go47
-rw-r--r--vendor/google.golang.org/protobuf/internal/filedesc/desc_test.go850
-rw-r--r--vendor/google.golang.org/protobuf/internal/filedesc/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/internal/filedesc/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/filetype/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go212
-rw-r--r--vendor/google.golang.org/protobuf/internal/impl/codec_gen.go113
-rw-r--r--vendor/google.golang.org/protobuf/internal/impl/legacy_message.go19
-rw-r--r--vendor/google.golang.org/protobuf/internal/impl/message.go17
-rw-r--r--vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go40
-rw-r--r--vendor/google.golang.org/protobuf/internal/impl/ya.make12
-rw-r--r--vendor/google.golang.org/protobuf/internal/msgfmt/format_test.go254
-rw-r--r--vendor/google.golang.org/protobuf/internal/msgfmt/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/internal/msgfmt/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/internal/order/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/internal/order/order_test.go174
-rw-r--r--vendor/google.golang.org/protobuf/internal/order/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/internal/pragma/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/internal/protobuild/build.go150
-rw-r--r--vendor/google.golang.org/protobuf/internal/protobuild/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/protolegacy/proto.go125
-rw-r--r--vendor/google.golang.org/protobuf/internal/protolegacy/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/set/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/internal/set/ints_test.go75
-rw-r--r--vendor/google.golang.org/protobuf/internal/set/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/internal/strs/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/internal/strs/strings_test.go163
-rw-r--r--vendor/google.golang.org/protobuf/internal/strs/strings_unsafe_go121.go (renamed from vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go)33
-rw-r--r--vendor/google.golang.org/protobuf/internal/strs/ya.make6
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/enums/enums.pb.go159
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/enums/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/legacy.pb.go356
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160225_2fc053c5/test.pb.go3534
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160225_2fc053c5/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/test.pb.go3534
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180125_92554152/test.pb.go3590
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180125_92554152/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180430_b4deda09/test.pb.go3822
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180430_b4deda09/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180814_aa810b61/test.pb.go3904
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180814_aa810b61/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20190205_c823c79e/test.pb.go3315
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20190205_c823c79e/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160225_2fc053c5/test.pb.go1187
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160225_2fc053c5/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/test.pb.go1187
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180125_92554152/test.pb.go1456
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180125_92554152/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180430_b4deda09/test.pb.go1545
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180430_b4deda09/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180814_aa810b61/test.pb.go1587
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180814_aa810b61/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20190205_c823c79e/test.pb.go1262
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20190205_c823c79e/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/legacy/ya.make23
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb/message_set.pb.go203
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/messageset/msetextpb/msetextpb.pb.go425
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/messageset/msetextpb/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/news/news.pb.go421
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/news/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/order/order.pb.go250
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/order/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/registry/test.pb.go573
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/registry/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/required/required.pb.go1121
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/required/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/test/ext.pb.go90
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/test/test.pb.go5413
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/test/test_import.pb.go188
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/test/test_public.pb.go130
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/test/weak1/test_weak.pb.go141
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/test/weak1/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/test/ya.make17
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/test3/test.pb.go1717
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/test3/test_extension.pb.go650
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/test3/test_import.pb.go179
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/test3/ya.make11
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/textpb2/test.pb.go2576
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/textpb2/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/textpb3/test.pb.go1270
-rw-r--r--vendor/google.golang.org/protobuf/internal/testprotos/textpb3/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/internal/version/version.go2
-rw-r--r--vendor/google.golang.org/protobuf/internal/version/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/proto/bench_test.go61
-rw-r--r--vendor/google.golang.org/protobuf/proto/checkinit_test.go89
-rw-r--r--vendor/google.golang.org/protobuf/proto/decode.go2
-rw-r--r--vendor/google.golang.org/protobuf/proto/decode_test.go157
-rw-r--r--vendor/google.golang.org/protobuf/proto/doc.go58
-rw-r--r--vendor/google.golang.org/protobuf/proto/encode.go2
-rw-r--r--vendor/google.golang.org/protobuf/proto/encode_test.go278
-rw-r--r--vendor/google.golang.org/protobuf/proto/equal_test.go669
-rw-r--r--vendor/google.golang.org/protobuf/proto/extension.go2
-rw-r--r--vendor/google.golang.org/protobuf/proto/extension_test.go289
-rw-r--r--vendor/google.golang.org/protobuf/proto/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/proto/merge.go2
-rw-r--r--vendor/google.golang.org/protobuf/proto/merge_test.go905
-rw-r--r--vendor/google.golang.org/protobuf/proto/messageset_test.go312
-rw-r--r--vendor/google.golang.org/protobuf/proto/methods_test.go185
-rw-r--r--vendor/google.golang.org/protobuf/proto/nil_test.go176
-rw-r--r--vendor/google.golang.org/protobuf/proto/noenforceutf8_test.go146
-rw-r--r--vendor/google.golang.org/protobuf/proto/proto.go18
-rw-r--r--vendor/google.golang.org/protobuf/proto/reset_test.go58
-rw-r--r--vendor/google.golang.org/protobuf/proto/testmessages_test.go2025
-rw-r--r--vendor/google.golang.org/protobuf/proto/validate_test.go58
-rw-r--r--vendor/google.golang.org/protobuf/proto/weak_test.go125
-rw-r--r--vendor/google.golang.org/protobuf/proto/ya.make20
-rw-r--r--vendor/google.golang.org/protobuf/protoadapt/convert.go10
-rw-r--r--vendor/google.golang.org/protobuf/protoadapt/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protodesc/desc.go29
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go24
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protodesc/editions.go177
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protodesc/editions_defaults.binpb4
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protodesc/file_test.go1182
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protodesc/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protodesc/proto.go18
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protodesc/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protopath/path.go8
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protorange/example_test.go307
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protorange/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protorange/range.go44
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protorange/range_test.go253
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protorange/ya.make10
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoreflect/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go83
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoreflect/proto_test.go82
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go62
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoreflect/source_test.go35
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoreflect/type.go44
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoreflect/value.go24
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoreflect/value_equal.go8
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoreflect/value_test.go191
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go44
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go121.go (renamed from vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.go)30
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoreflect/ya.make10
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoregistry/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go24
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoregistry/registry_test.go655
-rw-r--r--vendor/google.golang.org/protobuf/reflect/protoregistry/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/testing/protocmp/util.go90
-rw-r--r--vendor/google.golang.org/protobuf/testing/protocmp/xform.go26
-rw-r--r--vendor/google.golang.org/protobuf/testing/protocmp/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/testing/protopack/pack.go50
-rw-r--r--vendor/google.golang.org/protobuf/testing/protopack/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/testing/prototest/enum.go33
-rw-r--r--vendor/google.golang.org/protobuf/testing/prototest/message.go893
-rw-r--r--vendor/google.golang.org/protobuf/testing/prototest/ya.make14
-rw-r--r--vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go2435
-rw-r--r--vendor/google.golang.org/protobuf/types/descriptorpb/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/types/dynamicpb/dynamic.go41
-rw-r--r--vendor/google.golang.org/protobuf/types/dynamicpb/dynamic_test.go74
-rw-r--r--vendor/google.golang.org/protobuf/types/dynamicpb/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/types/dynamicpb/types.go25
-rw-r--r--vendor/google.golang.org/protobuf/types/dynamicpb/types_test.go174
-rw-r--r--vendor/google.golang.org/protobuf/types/dynamicpb/ya.make7
-rw-r--r--vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go3
-rw-r--r--vendor/google.golang.org/protobuf/types/known/anypb/any_test.go184
-rw-r--r--vendor/google.golang.org/protobuf/types/known/anypb/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/types/known/anypb/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/types/known/apipb/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/types/known/durationpb/duration_test.go100
-rw-r--r--vendor/google.golang.org/protobuf/types/known/durationpb/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/types/known/durationpb/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/types/known/emptypb/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask_test.go338
-rw-r--r--vendor/google.golang.org/protobuf/types/known/fieldmaskpb/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/types/known/fieldmaskpb/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/types/known/sourcecontextpb/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/types/known/structpb/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/types/known/structpb/struct_test.go512
-rw-r--r--vendor/google.golang.org/protobuf/types/known/structpb/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/types/known/timestamppb/gotest/ya.make5
-rw-r--r--vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp_test.go104
-rw-r--r--vendor/google.golang.org/protobuf/types/known/timestamppb/ya.make8
-rw-r--r--vendor/google.golang.org/protobuf/types/known/typepb/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/types/known/wrapperspb/ya.make4
-rw-r--r--vendor/google.golang.org/protobuf/types/pluginpb/plugin.pb.go161
-rw-r--r--vendor/google.golang.org/protobuf/types/pluginpb/ya.make4
232 files changed, 3186 insertions, 74310 deletions
diff --git a/vendor/google.golang.org/protobuf/compiler/protogen/gotest/ya.make b/vendor/google.golang.org/protobuf/compiler/protogen/gotest/ya.make
deleted file mode 100644
index e10e68b1c7..0000000000
--- a/vendor/google.golang.org/protobuf/compiler/protogen/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/compiler/protogen)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/compiler/protogen/protogen.go b/vendor/google.golang.org/protobuf/compiler/protogen/protogen.go
index 431e88048a..914c57b1b2 100644
--- a/vendor/google.golang.org/protobuf/compiler/protogen/protogen.go
+++ b/vendor/google.golang.org/protobuf/compiler/protogen/protogen.go
@@ -5,8 +5,8 @@
// Package protogen provides support for writing protoc plugins.
//
// Plugins for protoc, the Protocol Buffer compiler,
-// are programs which read a CodeGeneratorRequest message from standard input
-// and write a CodeGeneratorResponse message to standard output.
+// are programs which read a [pluginpb.CodeGeneratorRequest] message from standard input
+// and write a [pluginpb.CodeGeneratorResponse] message to standard output.
// This package provides support for writing plugins which generate Go code.
package protogen
@@ -44,11 +44,11 @@ const goPackageDocURL = "https://protobuf.dev/reference/go/go-generated#package"
// Run executes a function as a protoc plugin.
//
-// It reads a CodeGeneratorRequest message from os.Stdin, invokes the plugin
-// function, and writes a CodeGeneratorResponse message to os.Stdout.
+// It reads a [pluginpb.CodeGeneratorRequest] message from [os.Stdin], invokes the plugin
+// function, and writes a [pluginpb.CodeGeneratorResponse] message to [os.Stdout].
//
// If a failure occurs while reading or writing, Run prints an error to
-// os.Stderr and calls os.Exit(1).
+// [os.Stderr] and calls [os.Exit](1).
func (opts Options) Run(f func(*Plugin) error) {
if err := run(opts, f); err != nil {
fmt.Fprintf(os.Stderr, "%s: %v\n", filepath.Base(os.Args[0]), err)
@@ -834,7 +834,7 @@ func newOneof(gen *Plugin, f *File, message *Message, desc protoreflect.OneofDes
}
}
-// Extension is an alias of Field for documentation.
+// Extension is an alias of [Field] for documentation.
type Extension = Field
// A Service describes a service.
@@ -946,7 +946,7 @@ func (gen *Plugin) NewGeneratedFile(filename string, goImportPath GoImportPath)
}
// P prints a line to the generated output. It converts each parameter to a
-// string following the same rules as fmt.Print. It never inserts spaces
+// string following the same rules as [fmt.Print]. It never inserts spaces
// between parameters.
func (g *GeneratedFile) P(v ...interface{}) {
for _, x := range v {
@@ -983,14 +983,14 @@ func (g *GeneratedFile) QualifiedGoIdent(ident GoIdent) string {
// Import ensures a package is imported by the generated file.
//
-// Packages referenced by QualifiedGoIdent are automatically imported.
+// Packages referenced by [GeneratedFile.QualifiedGoIdent] are automatically imported.
// Explicitly importing a package with Import is generally only necessary
// when the import will be blank (import _ "package").
func (g *GeneratedFile) Import(importPath GoImportPath) {
g.manualImports[importPath] = true
}
-// Write implements io.Writer.
+// Write implements [io.Writer].
func (g *GeneratedFile) Write(p []byte) (n int, err error) {
return g.buf.Write(p)
}
@@ -1000,8 +1000,8 @@ func (g *GeneratedFile) Skip() {
g.skip = true
}
-// Unskip reverts a previous call to Skip, re-including the generated file in
-// the plugin output.
+// Unskip reverts a previous call to [GeneratedFile.Skip],
+// re-including the generated file in the plugin output.
func (g *GeneratedFile) Unskip() {
g.skip = false
}
@@ -1013,7 +1013,7 @@ func (g *GeneratedFile) Unskip() {
// struct field. The "T.sel" syntax is used to identify the method or field
// 'sel' on type 'T'.
//
-// Deprecated: Use the AnnotateSymbol method instead.
+// Deprecated: Use the [GeneratedFile.AnnotateSymbol] method instead.
func (g *GeneratedFile) Annotate(symbol string, loc Location) {
g.AnnotateSymbol(symbol, Annotation{Location: loc})
}
@@ -1319,7 +1319,7 @@ func (c Comments) String() string {
// file for which we are generating bindings.
//
// Lookups consult the local type registry first and fall back to the base type
-// registry which defaults to protoregistry.GlobalTypes
+// registry which defaults to protoregistry.GlobalTypes.
type extensionRegistry struct {
base *protoregistry.Types
local *protoregistry.Types
diff --git a/vendor/google.golang.org/protobuf/compiler/protogen/protogen_test.go b/vendor/google.golang.org/protobuf/compiler/protogen/protogen_test.go
deleted file mode 100644
index d7b5407be4..0000000000
--- a/vendor/google.golang.org/protobuf/compiler/protogen/protogen_test.go
+++ /dev/null
@@ -1,418 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package protogen
-
-import (
- "flag"
- "fmt"
- "testing"
-
- "github.com/google/go-cmp/cmp"
-
- "google.golang.org/protobuf/internal/genid"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/testing/protocmp"
-
- "google.golang.org/protobuf/types/descriptorpb"
- "google.golang.org/protobuf/types/pluginpb"
-)
-
-func TestPluginParameters(t *testing.T) {
- var flags flag.FlagSet
- value := flags.Int("integer", 0, "")
- const params = "integer=2"
- _, err := Options{
- ParamFunc: flags.Set,
- }.New(&pluginpb.CodeGeneratorRequest{
- Parameter: proto.String(params),
- })
- if err != nil {
- t.Errorf("New(generator parameters %q): %v", params, err)
- }
- if *value != 2 {
- t.Errorf("New(generator parameters %q): integer=%v, want 2", params, *value)
- }
-}
-
-func TestPluginParameterErrors(t *testing.T) {
- for _, parameter := range []string{
- "unknown=1",
- "boolean=error",
- } {
- var flags flag.FlagSet
- flags.Bool("boolean", false, "")
- _, err := Options{
- ParamFunc: flags.Set,
- }.New(&pluginpb.CodeGeneratorRequest{
- Parameter: proto.String(parameter),
- })
- if err == nil {
- t.Errorf("New(generator parameters %q): want error, got nil", parameter)
- }
- }
-}
-
-func TestNoGoPackage(t *testing.T) {
- _, err := Options{}.New(&pluginpb.CodeGeneratorRequest{
- ProtoFile: []*descriptorpb.FileDescriptorProto{
- {
- Name: proto.String("testdata/go_package/no_go_package.proto"),
- Syntax: proto.String(protoreflect.Proto3.String()),
- Package: proto.String("goproto.testdata"),
- },
- },
- })
- if err == nil {
- t.Fatalf("missing go_package option: New(req) = nil, want error")
- }
-}
-
-func TestInvalidImportPath(t *testing.T) {
- _, err := Options{}.New(&pluginpb.CodeGeneratorRequest{
- ProtoFile: []*descriptorpb.FileDescriptorProto{
- {
- Name: proto.String("testdata/go_package/no_go_package.proto"),
- Syntax: proto.String(protoreflect.Proto3.String()),
- Package: proto.String("goproto.testdata"),
- Options: &descriptorpb.FileOptions{
- GoPackage: proto.String("foo"),
- },
- },
- },
- })
- if err == nil {
- t.Fatalf("missing go_package option: New(req) = nil, want error")
- }
-}
-
-func TestPackageNamesAndPaths(t *testing.T) {
- const (
- filename = "dir/filename.proto"
- protoPackageName = "proto.package"
- )
- for _, test := range []struct {
- desc string
- parameter string
- goPackageOption string
- generate bool
- wantPackageName GoPackageName
- wantImportPath GoImportPath
- wantFilename string
- }{
- {
- desc: "go_package option sets import path",
- goPackageOption: "golang.org/x/foo",
- generate: true,
- wantPackageName: "foo",
- wantImportPath: "golang.org/x/foo",
- wantFilename: "golang.org/x/foo/filename",
- },
- {
- desc: "go_package option sets import path without slashes",
- goPackageOption: "golang.org;foo",
- generate: true,
- wantPackageName: "foo",
- wantImportPath: "golang.org",
- wantFilename: "golang.org/filename",
- },
- {
- desc: "go_package option sets import path and package",
- goPackageOption: "golang.org/x/foo;bar",
- generate: true,
- wantPackageName: "bar",
- wantImportPath: "golang.org/x/foo",
- wantFilename: "golang.org/x/foo/filename",
- },
- {
- desc: "command line sets import path for a file",
- parameter: "Mdir/filename.proto=golang.org/x/bar",
- goPackageOption: "golang.org/x/foo",
- generate: true,
- wantPackageName: "foo",
- wantImportPath: "golang.org/x/bar",
- wantFilename: "golang.org/x/bar/filename",
- },
- {
- desc: "command line sets import path for a file with package name specified",
- parameter: "Mdir/filename.proto=golang.org/x/bar;bar",
- goPackageOption: "golang.org/x/foo",
- generate: true,
- wantPackageName: "bar",
- wantImportPath: "golang.org/x/bar",
- wantFilename: "golang.org/x/bar/filename",
- },
- {
- desc: "module option set",
- parameter: "module=golang.org/x",
- goPackageOption: "golang.org/x/foo",
- generate: false,
- wantPackageName: "foo",
- wantImportPath: "golang.org/x/foo",
- wantFilename: "foo/filename",
- },
- {
- desc: "paths=import uses import path from command line",
- parameter: "paths=import,Mdir/filename.proto=golang.org/x/bar",
- goPackageOption: "golang.org/x/foo",
- generate: true,
- wantPackageName: "foo",
- wantImportPath: "golang.org/x/bar",
- wantFilename: "golang.org/x/bar/filename",
- },
- {
- desc: "module option implies paths=import",
- parameter: "module=golang.org/x,Mdir/filename.proto=golang.org/x/foo",
- generate: false,
- wantPackageName: "foo",
- wantImportPath: "golang.org/x/foo",
- wantFilename: "foo/filename",
- },
- } {
- context := fmt.Sprintf(`
-TEST: %v
- --go_out=%v:.
- file %q: generate=%v
- option go_package = %q;
-
- `,
- test.desc, test.parameter, filename, test.generate, test.goPackageOption)
-
- req := &pluginpb.CodeGeneratorRequest{
- Parameter: proto.String(test.parameter),
- ProtoFile: []*descriptorpb.FileDescriptorProto{
- {
- Name: proto.String(filename),
- Package: proto.String(protoPackageName),
- Options: &descriptorpb.FileOptions{
- GoPackage: proto.String(test.goPackageOption),
- },
- },
- },
- }
- if test.generate {
- req.FileToGenerate = []string{filename}
- }
- gen, err := Options{}.New(req)
- if err != nil {
- t.Errorf("%vNew(req) = %v", context, err)
- continue
- }
- gotFile, ok := gen.FilesByPath[filename]
- if !ok {
- t.Errorf("%v%v: missing file info", context, filename)
- continue
- }
- if got, want := gotFile.GoPackageName, test.wantPackageName; got != want {
- t.Errorf("%vGoPackageName=%v, want %v", context, got, want)
- }
- if got, want := gotFile.GoImportPath, test.wantImportPath; got != want {
- t.Errorf("%vGoImportPath=%v, want %v", context, got, want)
- }
- gen.NewGeneratedFile(gotFile.GeneratedFilenamePrefix, "")
- resp := gen.Response()
- if got, want := resp.File[0].GetName(), test.wantFilename; got != want {
- t.Errorf("%vgenerated filename=%v, want %v", context, got, want)
- }
- }
-}
-
-func TestPackageNameInference(t *testing.T) {
- gen, err := Options{}.New(&pluginpb.CodeGeneratorRequest{
- Parameter: proto.String("Mdir/file1.proto=path/to/file1"),
- ProtoFile: []*descriptorpb.FileDescriptorProto{
- {
- Name: proto.String("dir/file1.proto"),
- Package: proto.String("proto.package"),
- },
- {
- Name: proto.String("dir/file2.proto"),
- Package: proto.String("proto.package"),
- Options: &descriptorpb.FileOptions{
- GoPackage: proto.String("path/to/file2"),
- },
- },
- },
- FileToGenerate: []string{"dir/file1.proto", "dir/file2.proto"},
- })
- if err != nil {
- t.Fatalf("New(req) = %v", err)
- }
- if f1, ok := gen.FilesByPath["dir/file1.proto"]; !ok {
- t.Errorf("missing file info for dir/file1.proto")
- } else if f1.GoPackageName != "file1" {
- t.Errorf("dir/file1.proto: GoPackageName=%v, want foo; package name should be derived from dir/file2.proto", f1.GoPackageName)
- }
-}
-
-func TestInconsistentPackageNames(t *testing.T) {
- _, err := Options{}.New(&pluginpb.CodeGeneratorRequest{
- ProtoFile: []*descriptorpb.FileDescriptorProto{
- {
- Name: proto.String("dir/file1.proto"),
- Package: proto.String("proto.package"),
- Options: &descriptorpb.FileOptions{
- GoPackage: proto.String("golang.org/x/foo"),
- },
- },
- {
- Name: proto.String("dir/file2.proto"),
- Package: proto.String("proto.package"),
- Options: &descriptorpb.FileOptions{
- GoPackage: proto.String("golang.org/x/foo;bar"),
- },
- },
- },
- FileToGenerate: []string{"dir/file1.proto", "dir/file2.proto"},
- })
- if err == nil {
- t.Fatalf("inconsistent package names for the same import path: New(req) = nil, want error")
- }
-}
-
-func TestImports(t *testing.T) {
- gen, err := Options{}.New(&pluginpb.CodeGeneratorRequest{})
- if err != nil {
- t.Fatal(err)
- }
- g := gen.NewGeneratedFile("foo.go", "golang.org/x/foo")
- g.P("package foo")
- g.P()
- for _, importPath := range []GoImportPath{
- "golang.org/x/foo",
- // Multiple references to the same package.
- "golang.org/x/bar",
- "golang.org/x/bar",
- // Reference to a different package with the same basename.
- "golang.org/y/bar",
- "golang.org/x/baz",
- // Reference to a package conflicting with a predeclared identifier.
- "golang.org/z/string",
- } {
- g.P("var _ = ", GoIdent{GoName: "X", GoImportPath: importPath}, " // ", importPath)
- }
- want := `package foo
-
-import (
- bar "golang.org/x/bar"
- baz "golang.org/x/baz"
- bar1 "golang.org/y/bar"
- string1 "golang.org/z/string"
-)
-
-var _ = X // "golang.org/x/foo"
-var _ = bar.X // "golang.org/x/bar"
-var _ = bar.X // "golang.org/x/bar"
-var _ = bar1.X // "golang.org/y/bar"
-var _ = baz.X // "golang.org/x/baz"
-var _ = string1.X // "golang.org/z/string"
-`
- got, err := g.Content()
- if err != nil {
- t.Fatalf("g.Content() = %v", err)
- }
- if diff := cmp.Diff(string(want), string(got)); diff != "" {
- t.Fatalf("content mismatch (-want +got):\n%s", diff)
- }
-}
-
-func TestImportRewrites(t *testing.T) {
- gen, err := Options{
- ImportRewriteFunc: func(i GoImportPath) GoImportPath {
- return "prefix/" + i
- },
- }.New(&pluginpb.CodeGeneratorRequest{})
- if err != nil {
- t.Fatal(err)
- }
- g := gen.NewGeneratedFile("foo.go", "golang.org/x/foo")
- g.P("package foo")
- g.P("var _ = ", GoIdent{GoName: "X", GoImportPath: "golang.org/x/bar"})
- want := `package foo
-
-import (
- bar "prefix/golang.org/x/bar"
-)
-
-var _ = bar.X
-`
- got, err := g.Content()
- if err != nil {
- t.Fatalf("g.Content() = %v", err)
- }
- if diff := cmp.Diff(string(want), string(got)); diff != "" {
- t.Fatalf("content mismatch (-want +got):\n%s", diff)
- }
-}
-
-func TestAnnotations(t *testing.T) {
- gen, err := Options{}.New(&pluginpb.CodeGeneratorRequest{})
- if err != nil {
- t.Fatal(err)
- }
- loc := Location{SourceFile: "foo.go"}
- g := gen.NewGeneratedFile("foo.go", "golang.org/x/foo")
-
- g.P("package foo")
- g.P()
-
- structName := "S"
- fieldName := "Field"
-
- messageLoc := loc.appendPath(genid.FileDescriptorProto_MessageType_field_number, 1)
- fieldLoc := messageLoc.appendPath(genid.DescriptorProto_Field_field_number, 1)
-
- g.Annotate(structName, messageLoc) // use deprecated version to test existing usages
- g.P("type ", structName, " struct {")
- g.AnnotateSymbol(structName+"."+fieldName, Annotation{Location: fieldLoc})
- g.P(fieldName, " string")
- g.P("}")
- g.P()
-
- g.AnnotateSymbol(fmt.Sprintf("%s.Set%s", structName, fieldName), Annotation{
- Location: fieldLoc,
- Semantic: descriptorpb.GeneratedCodeInfo_Annotation_SET.Enum(),
- })
- g.P("func (m *", structName, ") Set", fieldName, "(x string) {")
- g.P("m.", fieldName, " = x")
- g.P("}")
- g.P()
-
- want := &descriptorpb.GeneratedCodeInfo{
- Annotation: []*descriptorpb.GeneratedCodeInfo_Annotation{
- { // S
- SourceFile: proto.String("foo.go"),
- Path: []int32{4, 1}, // message S
- Begin: proto.Int32(18),
- End: proto.Int32(19),
- },
- { // S.F
- SourceFile: proto.String("foo.go"),
- Path: []int32{4, 1, 2, 1},
- Begin: proto.Int32(30),
- End: proto.Int32(35),
- },
- { // SetF
- SourceFile: proto.String("foo.go"),
- Path: []int32{4, 1, 2, 1},
- Begin: proto.Int32(58),
- End: proto.Int32(66),
- Semantic: descriptorpb.GeneratedCodeInfo_Annotation_SET.Enum(),
- },
- },
- }
-
- content, err := g.Content()
- if err != nil {
- t.Fatalf("g.Content() = %v", err)
- }
- got, err := g.generatedCodeInfo(content)
- if err != nil {
- t.Fatalf("g.generatedCodeInfo(...) = %v", err)
- }
- if diff := cmp.Diff(want, got, protocmp.Transform()); diff != "" {
- t.Fatalf("GeneratedCodeInfo mismatch (-want +got):\n%s", diff)
- }
-}
diff --git a/vendor/google.golang.org/protobuf/compiler/protogen/ya.make b/vendor/google.golang.org/protobuf/compiler/protogen/ya.make
index 9dcf3b5979..65652dc84a 100644
--- a/vendor/google.golang.org/protobuf/compiler/protogen/ya.make
+++ b/vendor/google.golang.org/protobuf/compiler/protogen/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(protogen.go)
-
-GO_TEST_SRCS(protogen_test.go)
+SRCS(
+ protogen.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/bench_test.go b/vendor/google.golang.org/protobuf/encoding/protojson/bench_test.go
deleted file mode 100644
index 8d5a0bb68d..0000000000
--- a/vendor/google.golang.org/protobuf/encoding/protojson/bench_test.go
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package protojson_test
-
-import (
- "testing"
-
- "google.golang.org/protobuf/encoding/protojson"
-
- "google.golang.org/protobuf/types/known/durationpb"
-)
-
-func BenchmarkUnmarshal_Duration(b *testing.B) {
- input := []byte(`"-123456789.123456789s"`)
-
- for i := 0; i < b.N; i++ {
- err := protojson.Unmarshal(input, &durationpb.Duration{})
- if err != nil {
- b.Fatal(err)
- }
- }
-}
diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/decode.go b/vendor/google.golang.org/protobuf/encoding/protojson/decode.go
index 5f28148d80..f47902371a 100644
--- a/vendor/google.golang.org/protobuf/encoding/protojson/decode.go
+++ b/vendor/google.golang.org/protobuf/encoding/protojson/decode.go
@@ -11,6 +11,7 @@ import (
"strconv"
"strings"
+ "google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/internal/encoding/json"
"google.golang.org/protobuf/internal/encoding/messageset"
"google.golang.org/protobuf/internal/errors"
@@ -23,7 +24,7 @@ import (
"google.golang.org/protobuf/reflect/protoregistry"
)
-// Unmarshal reads the given []byte into the given proto.Message.
+// Unmarshal reads the given []byte into the given [proto.Message].
// The provided message must be mutable (e.g., a non-nil pointer to a message).
func Unmarshal(b []byte, m proto.Message) error {
return UnmarshalOptions{}.Unmarshal(b, m)
@@ -37,7 +38,7 @@ type UnmarshalOptions struct {
// required fields will not return an error.
AllowPartial bool
- // If DiscardUnknown is set, unknown fields are ignored.
+ // If DiscardUnknown is set, unknown fields and enum name values are ignored.
DiscardUnknown bool
// Resolver is used for looking up types when unmarshaling
@@ -47,9 +48,13 @@ type UnmarshalOptions struct {
protoregistry.MessageTypeResolver
protoregistry.ExtensionTypeResolver
}
+
+ // RecursionLimit limits how deeply messages may be nested.
+ // If zero, a default limit is applied.
+ RecursionLimit int
}
-// Unmarshal reads the given []byte and populates the given proto.Message
+// Unmarshal reads the given []byte and populates the given [proto.Message]
// using options in the UnmarshalOptions object.
// It will clear the message first before setting the fields.
// If it returns an error, the given message may be partially set.
@@ -67,6 +72,9 @@ func (o UnmarshalOptions) unmarshal(b []byte, m proto.Message) error {
if o.Resolver == nil {
o.Resolver = protoregistry.GlobalTypes
}
+ if o.RecursionLimit == 0 {
+ o.RecursionLimit = protowire.DefaultRecursionLimit
+ }
dec := decoder{json.NewDecoder(b), o}
if err := dec.unmarshalMessage(m.ProtoReflect(), false); err != nil {
@@ -114,6 +122,10 @@ func (d decoder) syntaxError(pos int, f string, x ...interface{}) error {
// unmarshalMessage unmarshals a message into the given protoreflect.Message.
func (d decoder) unmarshalMessage(m protoreflect.Message, skipTypeURL bool) error {
+ d.opts.RecursionLimit--
+ if d.opts.RecursionLimit < 0 {
+ return errors.New("exceeded max recursion depth")
+ }
if unmarshal := wellKnownTypeUnmarshaler(m.Descriptor().FullName()); unmarshal != nil {
return unmarshal(d, m)
}
@@ -266,7 +278,9 @@ func (d decoder) unmarshalSingular(m protoreflect.Message, fd protoreflect.Field
if err != nil {
return err
}
- m.Set(fd, val)
+ if val.IsValid() {
+ m.Set(fd, val)
+ }
return nil
}
@@ -329,7 +343,7 @@ func (d decoder) unmarshalScalar(fd protoreflect.FieldDescriptor) (protoreflect.
}
case protoreflect.EnumKind:
- if v, ok := unmarshalEnum(tok, fd); ok {
+ if v, ok := unmarshalEnum(tok, fd, d.opts.DiscardUnknown); ok {
return v, nil
}
@@ -474,7 +488,7 @@ func unmarshalBytes(tok json.Token) (protoreflect.Value, bool) {
return protoreflect.ValueOfBytes(b), true
}
-func unmarshalEnum(tok json.Token, fd protoreflect.FieldDescriptor) (protoreflect.Value, bool) {
+func unmarshalEnum(tok json.Token, fd protoreflect.FieldDescriptor, discardUnknown bool) (protoreflect.Value, bool) {
switch tok.Kind() {
case json.String:
// Lookup EnumNumber based on name.
@@ -482,6 +496,9 @@ func unmarshalEnum(tok json.Token, fd protoreflect.FieldDescriptor) (protoreflec
if enumVal := fd.Enum().Values().ByName(protoreflect.Name(s)); enumVal != nil {
return protoreflect.ValueOfEnum(enumVal.Number()), true
}
+ if discardUnknown {
+ return protoreflect.Value{}, true
+ }
case json.Number:
if n, ok := tok.Int(32); ok {
@@ -542,7 +559,9 @@ func (d decoder) unmarshalList(list protoreflect.List, fd protoreflect.FieldDesc
if err != nil {
return err
}
- list.Append(val)
+ if val.IsValid() {
+ list.Append(val)
+ }
}
}
@@ -609,8 +628,9 @@ Loop:
if err != nil {
return err
}
-
- mmap.Set(pkey, pval)
+ if pval.IsValid() {
+ mmap.Set(pkey, pval)
+ }
}
return nil
diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/decode_test.go b/vendor/google.golang.org/protobuf/encoding/protojson/decode_test.go
deleted file mode 100644
index 3653ccbca1..0000000000
--- a/vendor/google.golang.org/protobuf/encoding/protojson/decode_test.go
+++ /dev/null
@@ -1,2480 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package protojson_test
-
-import (
- "math"
- "strings"
- "testing"
-
- "google.golang.org/protobuf/encoding/protojson"
- "google.golang.org/protobuf/internal/errors"
- "google.golang.org/protobuf/internal/flags"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoregistry"
-
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- weakpb "google.golang.org/protobuf/internal/testprotos/test/weak1"
- pb2 "google.golang.org/protobuf/internal/testprotos/textpb2"
- pb3 "google.golang.org/protobuf/internal/testprotos/textpb3"
- "google.golang.org/protobuf/types/known/anypb"
- "google.golang.org/protobuf/types/known/durationpb"
- "google.golang.org/protobuf/types/known/emptypb"
- "google.golang.org/protobuf/types/known/fieldmaskpb"
- "google.golang.org/protobuf/types/known/structpb"
- "google.golang.org/protobuf/types/known/timestamppb"
- "google.golang.org/protobuf/types/known/wrapperspb"
-)
-
-func TestUnmarshal(t *testing.T) {
- tests := []struct {
- desc string
- umo protojson.UnmarshalOptions
- inputMessage proto.Message
- inputText string
- wantMessage proto.Message
- wantErr string // Expected error substring.
- skip bool
- }{{
- desc: "proto2 empty message",
- inputMessage: &pb2.Scalars{},
- inputText: "{}",
- wantMessage: &pb2.Scalars{},
- }, {
- desc: "unexpected value instead of EOF",
- inputMessage: &pb2.Scalars{},
- inputText: "{} {}",
- wantErr: `(line 1:4): unexpected token {`,
- }, {
- desc: "proto2 optional scalars set to zero values",
- inputMessage: &pb2.Scalars{},
- inputText: `{
- "optBool": false,
- "optInt32": 0,
- "optInt64": 0,
- "optUint32": 0,
- "optUint64": 0,
- "optSint32": 0,
- "optSint64": 0,
- "optFixed32": 0,
- "optFixed64": 0,
- "optSfixed32": 0,
- "optSfixed64": 0,
- "optFloat": 0,
- "optDouble": 0,
- "optBytes": "",
- "optString": ""
-}`,
- wantMessage: &pb2.Scalars{
- OptBool: proto.Bool(false),
- OptInt32: proto.Int32(0),
- OptInt64: proto.Int64(0),
- OptUint32: proto.Uint32(0),
- OptUint64: proto.Uint64(0),
- OptSint32: proto.Int32(0),
- OptSint64: proto.Int64(0),
- OptFixed32: proto.Uint32(0),
- OptFixed64: proto.Uint64(0),
- OptSfixed32: proto.Int32(0),
- OptSfixed64: proto.Int64(0),
- OptFloat: proto.Float32(0),
- OptDouble: proto.Float64(0),
- OptBytes: []byte{},
- OptString: proto.String(""),
- },
- }, {
- desc: "proto3 scalars set to zero values",
- inputMessage: &pb3.Scalars{},
- inputText: `{
- "sBool": false,
- "sInt32": 0,
- "sInt64": 0,
- "sUint32": 0,
- "sUint64": 0,
- "sSint32": 0,
- "sSint64": 0,
- "sFixed32": 0,
- "sFixed64": 0,
- "sSfixed32": 0,
- "sSfixed64": 0,
- "sFloat": 0,
- "sDouble": 0,
- "sBytes": "",
- "sString": ""
-}`,
- wantMessage: &pb3.Scalars{},
- }, {
- desc: "proto3 optional set to zero values",
- inputMessage: &pb3.Proto3Optional{},
- inputText: `{
- "optBool": false,
- "optInt32": 0,
- "optInt64": 0,
- "optUint32": 0,
- "optUint64": 0,
- "optFloat": 0,
- "optDouble": 0,
- "optString": "",
- "optBytes": "",
- "optEnum": "ZERO",
- "optMessage": {}
-}`,
- wantMessage: &pb3.Proto3Optional{
- OptBool: proto.Bool(false),
- OptInt32: proto.Int32(0),
- OptInt64: proto.Int64(0),
- OptUint32: proto.Uint32(0),
- OptUint64: proto.Uint64(0),
- OptFloat: proto.Float32(0),
- OptDouble: proto.Float64(0),
- OptString: proto.String(""),
- OptBytes: []byte{},
- OptEnum: pb3.Enum_ZERO.Enum(),
- OptMessage: &pb3.Nested{},
- },
- }, {
- desc: "proto2 optional scalars set to null",
- inputMessage: &pb2.Scalars{},
- inputText: `{
- "optBool": null,
- "optInt32": null,
- "optInt64": null,
- "optUint32": null,
- "optUint64": null,
- "optSint32": null,
- "optSint64": null,
- "optFixed32": null,
- "optFixed64": null,
- "optSfixed32": null,
- "optSfixed64": null,
- "optFloat": null,
- "optDouble": null,
- "optBytes": null,
- "optString": null
-}`,
- wantMessage: &pb2.Scalars{},
- }, {
- desc: "proto3 scalars set to null",
- inputMessage: &pb3.Scalars{},
- inputText: `{
- "sBool": null,
- "sInt32": null,
- "sInt64": null,
- "sUint32": null,
- "sUint64": null,
- "sSint32": null,
- "sSint64": null,
- "sFixed32": null,
- "sFixed64": null,
- "sSfixed32": null,
- "sSfixed64": null,
- "sFloat": null,
- "sDouble": null,
- "sBytes": null,
- "sString": null
-}`,
- wantMessage: &pb3.Scalars{},
- }, {
- desc: "boolean",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sBool": true}`,
- wantMessage: &pb3.Scalars{
- SBool: true,
- },
- }, {
- desc: "not boolean",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sBool": "true"}`,
- wantErr: `invalid value for bool type: "true"`,
- }, {
- desc: "float and double",
- inputMessage: &pb3.Scalars{},
- inputText: `{
- "sFloat": 1.234,
- "sDouble": 5.678
-}`,
- wantMessage: &pb3.Scalars{
- SFloat: 1.234,
- SDouble: 5.678,
- },
- }, {
- desc: "float and double in string",
- inputMessage: &pb3.Scalars{},
- inputText: `{
- "sFloat": "1.234",
- "sDouble": "5.678"
-}`,
- wantMessage: &pb3.Scalars{
- SFloat: 1.234,
- SDouble: 5.678,
- },
- }, {
- desc: "float and double in E notation",
- inputMessage: &pb3.Scalars{},
- inputText: `{
- "sFloat": 12.34E-1,
- "sDouble": 5.678e4
-}`,
- wantMessage: &pb3.Scalars{
- SFloat: 1.234,
- SDouble: 56780,
- },
- }, {
- desc: "float and double in string E notation",
- inputMessage: &pb3.Scalars{},
- inputText: `{
- "sFloat": "12.34E-1",
- "sDouble": "5.678e4"
-}`,
- wantMessage: &pb3.Scalars{
- SFloat: 1.234,
- SDouble: 56780,
- },
- }, {
- desc: "float exceeds limit",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sFloat": 3.4e39}`,
- wantErr: `invalid value for float type: 3.4e39`,
- }, {
- desc: "float in string exceeds limit",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sFloat": "-3.4e39"}`,
- wantErr: `invalid value for float type: "-3.4e39"`,
- }, {
- desc: "double exceeds limit",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sDouble": -1.79e+309}`,
- wantErr: `invalid value for double type: -1.79e+309`,
- }, {
- desc: "double in string exceeds limit",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sDouble": "1.79e+309"}`,
- wantErr: `invalid value for double type: "1.79e+309"`,
- }, {
- desc: "infinites",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sFloat": "Infinity", "sDouble": "-Infinity"}`,
- wantMessage: &pb3.Scalars{
- SFloat: float32(math.Inf(+1)),
- SDouble: math.Inf(-1),
- },
- }, {
- desc: "float string with leading space",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sFloat": " 1.234"}`,
- wantErr: `invalid value for float type: " 1.234"`,
- }, {
- desc: "double string with trailing space",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sDouble": "5.678 "}`,
- wantErr: `invalid value for double type: "5.678 "`,
- }, {
- desc: "not float",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sFloat": true}`,
- wantErr: `invalid value for float type: true`,
- }, {
- desc: "not double",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sDouble": "not a number"}`,
- wantErr: `invalid value for double type: "not a number"`,
- }, {
- desc: "integers",
- inputMessage: &pb3.Scalars{},
- inputText: `{
- "sInt32": 1234,
- "sInt64": -1234,
- "sUint32": 1e2,
- "sUint64": 100E-2,
- "sSint32": 1.0,
- "sSint64": -1.0,
- "sFixed32": 1.234e+5,
- "sFixed64": 1200E-2,
- "sSfixed32": -1.234e05,
- "sSfixed64": -1200e-02
-}`,
- wantMessage: &pb3.Scalars{
- SInt32: 1234,
- SInt64: -1234,
- SUint32: 100,
- SUint64: 1,
- SSint32: 1,
- SSint64: -1,
- SFixed32: 123400,
- SFixed64: 12,
- SSfixed32: -123400,
- SSfixed64: -12,
- },
- }, {
- desc: "integers in string",
- inputMessage: &pb3.Scalars{},
- inputText: `{
- "sInt32": "1234",
- "sInt64": "-1234",
- "sUint32": "1e2",
- "sUint64": "100E-2",
- "sSint32": "1.0",
- "sSint64": "-1.0",
- "sFixed32": "1.234e+5",
- "sFixed64": "1200E-2",
- "sSfixed32": "-1.234e05",
- "sSfixed64": "-1200e-02"
-}`,
- wantMessage: &pb3.Scalars{
- SInt32: 1234,
- SInt64: -1234,
- SUint32: 100,
- SUint64: 1,
- SSint32: 1,
- SSint64: -1,
- SFixed32: 123400,
- SFixed64: 12,
- SSfixed32: -123400,
- SSfixed64: -12,
- },
- }, {
- desc: "integers in escaped string",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sInt32": "\u0031\u0032"}`,
- wantMessage: &pb3.Scalars{
- SInt32: 12,
- },
- }, {
- desc: "integer string with leading space",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sInt32": " 1234"}`,
- wantErr: `invalid value for int32 type: " 1234"`,
- }, {
- desc: "integer string with trailing space",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sUint32": "1e2 "}`,
- wantErr: `invalid value for uint32 type: "1e2 "`,
- }, {
- desc: "number is not an integer",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sInt32": 1.001}`,
- wantErr: `invalid value for int32 type: 1.001`,
- }, {
- desc: "32-bit int exceeds limit",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sInt32": 2e10}`,
- wantErr: `invalid value for int32 type: 2e10`,
- }, {
- desc: "64-bit int exceeds limit",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sSfixed64": -9e19}`,
- wantErr: `invalid value for sfixed64 type: -9e19`,
- }, {
- desc: "not integer",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sInt32": "not a number"}`,
- wantErr: `invalid value for int32 type: "not a number"`,
- }, {
- desc: "not unsigned integer",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sUint32": "not a number"}`,
- wantErr: `invalid value for uint32 type: "not a number"`,
- }, {
- desc: "number is not an unsigned integer",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sUint32": -1}`,
- wantErr: `invalid value for uint32 type: -1`,
- }, {
- desc: "string",
- inputMessage: &pb2.Scalars{},
- inputText: `{"optString": "谷歌"}`,
- wantMessage: &pb2.Scalars{
- OptString: proto.String("谷歌"),
- },
- }, {
- desc: "string with invalid UTF-8",
- inputMessage: &pb3.Scalars{},
- inputText: "{\"sString\": \"\xff\"}",
- wantErr: `(line 1:13): invalid UTF-8 in string`,
- }, {
- desc: "not string",
- inputMessage: &pb2.Scalars{},
- inputText: `{"optString": 42}`,
- wantErr: `invalid value for string type: 42`,
- }, {
- desc: "bytes",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sBytes": "aGVsbG8gd29ybGQ"}`,
- wantMessage: &pb3.Scalars{
- SBytes: []byte("hello world"),
- },
- }, {
- desc: "bytes padded",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sBytes": "aGVsbG8gd29ybGQ="}`,
- wantMessage: &pb3.Scalars{
- SBytes: []byte("hello world"),
- },
- }, {
- desc: "not bytes",
- inputMessage: &pb3.Scalars{},
- inputText: `{"sBytes": true}`,
- wantErr: `invalid value for bytes type: true`,
- }, {
- desc: "proto2 enum",
- inputMessage: &pb2.Enums{},
- inputText: `{
- "optEnum": "ONE",
- "optNestedEnum": "UNO"
-}`,
- wantMessage: &pb2.Enums{
- OptEnum: pb2.Enum_ONE.Enum(),
- OptNestedEnum: pb2.Enums_UNO.Enum(),
- },
- }, {
- desc: "proto3 enum",
- inputMessage: &pb3.Enums{},
- inputText: `{
- "sEnum": "ONE",
- "sNestedEnum": "DIEZ"
-}`,
- wantMessage: &pb3.Enums{
- SEnum: pb3.Enum_ONE,
- SNestedEnum: pb3.Enums_DIEZ,
- },
- }, {
- desc: "enum numeric value",
- inputMessage: &pb3.Enums{},
- inputText: `{
- "sEnum": 2,
- "sNestedEnum": 2
-}`,
- wantMessage: &pb3.Enums{
- SEnum: pb3.Enum_TWO,
- SNestedEnum: pb3.Enums_DOS,
- },
- }, {
- desc: "enum unnamed numeric value",
- inputMessage: &pb3.Enums{},
- inputText: `{
- "sEnum": 101,
- "sNestedEnum": -101
-}`,
- wantMessage: &pb3.Enums{
- SEnum: 101,
- SNestedEnum: -101,
- },
- }, {
- desc: "enum set to number string",
- inputMessage: &pb3.Enums{},
- inputText: `{
- "sEnum": "1"
-}`,
- wantErr: `invalid value for enum type: "1"`,
- }, {
- desc: "enum set to invalid named",
- inputMessage: &pb3.Enums{},
- inputText: `{
- "sEnum": "UNNAMED"
-}`,
- wantErr: `invalid value for enum type: "UNNAMED"`,
- }, {
- desc: "enum set to not enum",
- inputMessage: &pb3.Enums{},
- inputText: `{
- "sEnum": true
-}`,
- wantErr: `invalid value for enum type: true`,
- }, {
- desc: "enum set to JSON null",
- inputMessage: &pb3.Enums{},
- inputText: `{
- "sEnum": null
-}`,
- wantMessage: &pb3.Enums{},
- }, {
- desc: "proto name",
- inputMessage: &pb3.JSONNames{},
- inputText: `{
- "s_string": "proto name used"
-}`,
- wantMessage: &pb3.JSONNames{
- SString: "proto name used",
- },
- }, {
- desc: "proto group name",
- inputMessage: &pb2.Nests{},
- inputText: `{
- "OptGroup": {"optString": "hello"},
- "RptGroup": [{"rptString": ["goodbye"]}]
- }`,
- wantMessage: &pb2.Nests{
- Optgroup: &pb2.Nests_OptGroup{OptString: proto.String("hello")},
- Rptgroup: []*pb2.Nests_RptGroup{{RptString: []string{"goodbye"}}},
- },
- }, {
- desc: "json_name",
- inputMessage: &pb3.JSONNames{},
- inputText: `{
- "foo_bar": "json_name used"
-}`,
- wantMessage: &pb3.JSONNames{
- SString: "json_name used",
- },
- }, {
- desc: "camelCase name",
- inputMessage: &pb3.JSONNames{},
- inputText: `{
- "sString": "camelcase used"
-}`,
- wantErr: `unknown field "sString"`,
- }, {
- desc: "proto name and json_name",
- inputMessage: &pb3.JSONNames{},
- inputText: `{
- "foo_bar": "json_name used",
- "s_string": "proto name used"
-}`,
- wantErr: `(line 3:3): duplicate field "s_string"`,
- }, {
- desc: "duplicate field names",
- inputMessage: &pb3.JSONNames{},
- inputText: `{
- "foo_bar": "one",
- "foo_bar": "two",
-}`,
- wantErr: `(line 3:3): duplicate field "foo_bar"`,
- }, {
- desc: "null message",
- inputMessage: &pb2.Nests{},
- inputText: "null",
- wantErr: `unexpected token null`,
- }, {
- desc: "proto2 nested message not set",
- inputMessage: &pb2.Nests{},
- inputText: "{}",
- wantMessage: &pb2.Nests{},
- }, {
- desc: "proto2 nested message set to null",
- inputMessage: &pb2.Nests{},
- inputText: `{
- "optNested": null,
- "optgroup": null
-}`,
- wantMessage: &pb2.Nests{},
- }, {
- desc: "proto2 nested message set to empty",
- inputMessage: &pb2.Nests{},
- inputText: `{
- "optNested": {},
- "optgroup": {}
-}`,
- wantMessage: &pb2.Nests{
- OptNested: &pb2.Nested{},
- Optgroup: &pb2.Nests_OptGroup{},
- },
- }, {
- desc: "proto2 nested messages",
- inputMessage: &pb2.Nests{},
- inputText: `{
- "optNested": {
- "optString": "nested message",
- "optNested": {
- "optString": "another nested message"
- }
- }
-}`,
- wantMessage: &pb2.Nests{
- OptNested: &pb2.Nested{
- OptString: proto.String("nested message"),
- OptNested: &pb2.Nested{
- OptString: proto.String("another nested message"),
- },
- },
- },
- }, {
- desc: "proto2 groups",
- inputMessage: &pb2.Nests{},
- inputText: `{
- "optgroup": {
- "optString": "inside a group",
- "optNested": {
- "optString": "nested message inside a group"
- },
- "optnestedgroup": {
- "optFixed32": 47
- }
- }
-}`,
- wantMessage: &pb2.Nests{
- Optgroup: &pb2.Nests_OptGroup{
- OptString: proto.String("inside a group"),
- OptNested: &pb2.Nested{
- OptString: proto.String("nested message inside a group"),
- },
- Optnestedgroup: &pb2.Nests_OptGroup_OptNestedGroup{
- OptFixed32: proto.Uint32(47),
- },
- },
- },
- }, {
- desc: "proto3 nested message not set",
- inputMessage: &pb3.Nests{},
- inputText: "{}",
- wantMessage: &pb3.Nests{},
- }, {
- desc: "proto3 nested message set to null",
- inputMessage: &pb3.Nests{},
- inputText: `{"sNested": null}`,
- wantMessage: &pb3.Nests{},
- }, {
- desc: "proto3 nested message set to empty",
- inputMessage: &pb3.Nests{},
- inputText: `{"sNested": {}}`,
- wantMessage: &pb3.Nests{
- SNested: &pb3.Nested{},
- },
- }, {
- desc: "proto3 nested message",
- inputMessage: &pb3.Nests{},
- inputText: `{
- "sNested": {
- "sString": "nested message",
- "sNested": {
- "sString": "another nested message"
- }
- }
-}`,
- wantMessage: &pb3.Nests{
- SNested: &pb3.Nested{
- SString: "nested message",
- SNested: &pb3.Nested{
- SString: "another nested message",
- },
- },
- },
- }, {
- desc: "message set to non-message",
- inputMessage: &pb3.Nests{},
- inputText: `"not valid"`,
- wantErr: `unexpected token "not valid"`,
- }, {
- desc: "nested message set to non-message",
- inputMessage: &pb3.Nests{},
- inputText: `{"sNested": true}`,
- wantErr: `(line 1:13): unexpected token true`,
- }, {
- desc: "oneof not set",
- inputMessage: &pb3.Oneofs{},
- inputText: "{}",
- wantMessage: &pb3.Oneofs{},
- }, {
- desc: "oneof set to empty string",
- inputMessage: &pb3.Oneofs{},
- inputText: `{"oneofString": ""}`,
- wantMessage: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofString{},
- },
- }, {
- desc: "oneof set to string",
- inputMessage: &pb3.Oneofs{},
- inputText: `{"oneofString": "hello"}`,
- wantMessage: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofString{
- OneofString: "hello",
- },
- },
- }, {
- desc: "oneof set to enum",
- inputMessage: &pb3.Oneofs{},
- inputText: `{"oneofEnum": "ZERO"}`,
- wantMessage: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofEnum{
- OneofEnum: pb3.Enum_ZERO,
- },
- },
- }, {
- desc: "oneof set to empty message",
- inputMessage: &pb3.Oneofs{},
- inputText: `{"oneofNested": {}}`,
- wantMessage: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofNested{
- OneofNested: &pb3.Nested{},
- },
- },
- }, {
- desc: "oneof set to message",
- inputMessage: &pb3.Oneofs{},
- inputText: `{
- "oneofNested": {
- "sString": "nested message"
- }
-}`,
- wantMessage: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofNested{
- OneofNested: &pb3.Nested{
- SString: "nested message",
- },
- },
- },
- }, {
- desc: "oneof set to more than one field",
- inputMessage: &pb3.Oneofs{},
- inputText: `{
- "oneofEnum": "ZERO",
- "oneofString": "hello"
-}`,
- wantErr: `(line 3:3): error parsing "oneofString", oneof pb3.Oneofs.union is already set`,
- }, {
- desc: "oneof set to null and value",
- inputMessage: &pb3.Oneofs{},
- inputText: `{
- "oneofEnum": "ZERO",
- "oneofString": null
-}`,
- wantMessage: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofEnum{
- OneofEnum: pb3.Enum_ZERO,
- },
- },
- }, {
- desc: "repeated null fields",
- inputMessage: &pb2.Repeats{},
- inputText: `{
- "rptString": null,
- "rptInt32" : null,
- "rptFloat" : null,
- "rptBytes" : null
-}`,
- wantMessage: &pb2.Repeats{},
- }, {
- desc: "repeated scalars",
- inputMessage: &pb2.Repeats{},
- inputText: `{
- "rptString": ["hello", "world"],
- "rptInt32" : [-1, 0, 1],
- "rptBool" : [false, true]
-}`,
- wantMessage: &pb2.Repeats{
- RptString: []string{"hello", "world"},
- RptInt32: []int32{-1, 0, 1},
- RptBool: []bool{false, true},
- },
- }, {
- desc: "repeated enums",
- inputMessage: &pb2.Enums{},
- inputText: `{
- "rptEnum" : ["TEN", 1, 42],
- "rptNestedEnum": ["DOS", 2, -47]
-}`,
- wantMessage: &pb2.Enums{
- RptEnum: []pb2.Enum{pb2.Enum_TEN, pb2.Enum_ONE, 42},
- RptNestedEnum: []pb2.Enums_NestedEnum{pb2.Enums_DOS, pb2.Enums_DOS, -47},
- },
- }, {
- desc: "repeated messages",
- inputMessage: &pb2.Nests{},
- inputText: `{
- "rptNested": [
- {
- "optString": "repeat nested one"
- },
- {
- "optString": "repeat nested two",
- "optNested": {
- "optString": "inside repeat nested two"
- }
- },
- {}
- ]
-}`,
- wantMessage: &pb2.Nests{
- RptNested: []*pb2.Nested{
- {
- OptString: proto.String("repeat nested one"),
- },
- {
- OptString: proto.String("repeat nested two"),
- OptNested: &pb2.Nested{
- OptString: proto.String("inside repeat nested two"),
- },
- },
- {},
- },
- },
- }, {
- desc: "repeated groups",
- inputMessage: &pb2.Nests{},
- inputText: `{
- "rptgroup": [
- {
- "rptString": ["hello", "world"]
- },
- {}
- ]
-}
-`,
- wantMessage: &pb2.Nests{
- Rptgroup: []*pb2.Nests_RptGroup{
- {
- RptString: []string{"hello", "world"},
- },
- {},
- },
- },
- }, {
- desc: "repeated string contains invalid UTF8",
- inputMessage: &pb2.Repeats{},
- inputText: `{"rptString": ["` + "abc\xff" + `"]}`,
- wantErr: `invalid UTF-8`,
- }, {
- desc: "repeated messages contain invalid UTF8",
- inputMessage: &pb2.Nests{},
- inputText: `{"rptNested": [{"optString": "` + "abc\xff" + `"}]}`,
- wantErr: `invalid UTF-8`,
- }, {
- desc: "repeated scalars contain invalid type",
- inputMessage: &pb2.Repeats{},
- inputText: `{"rptString": ["hello", null, "world"]}`,
- wantErr: `invalid value for string type: null`,
- }, {
- desc: "repeated messages contain invalid type",
- inputMessage: &pb2.Nests{},
- inputText: `{"rptNested": [{}, null]}`,
- wantErr: `unexpected token null`,
- }, {
- desc: "map fields 1",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "int32ToStr": {
- "-101": "-101",
- "0" : "zero",
- "255" : "0xff"
- },
- "boolToUint32": {
- "false": 101,
- "true" : "42"
- }
-}`,
- wantMessage: &pb3.Maps{
- Int32ToStr: map[int32]string{
- -101: "-101",
- 0xff: "0xff",
- 0: "zero",
- },
- BoolToUint32: map[bool]uint32{
- true: 42,
- false: 101,
- },
- },
- }, {
- desc: "map fields 2",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "uint64ToEnum": {
- "1" : "ONE",
- "2" : 2,
- "10": 101
- }
-}`,
- wantMessage: &pb3.Maps{
- Uint64ToEnum: map[uint64]pb3.Enum{
- 1: pb3.Enum_ONE,
- 2: pb3.Enum_TWO,
- 10: 101,
- },
- },
- }, {
- desc: "map fields 3",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "strToNested": {
- "nested_one": {
- "sString": "nested in a map"
- },
- "nested_two": {}
- }
-}`,
- wantMessage: &pb3.Maps{
- StrToNested: map[string]*pb3.Nested{
- "nested_one": {
- SString: "nested in a map",
- },
- "nested_two": {},
- },
- },
- }, {
- desc: "map fields 4",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "strToOneofs": {
- "nested": {
- "oneofNested": {
- "sString": "nested oneof in map field value"
- }
- },
- "string": {
- "oneofString": "hello"
- }
- }
-}`,
- wantMessage: &pb3.Maps{
- StrToOneofs: map[string]*pb3.Oneofs{
- "string": {
- Union: &pb3.Oneofs_OneofString{
- OneofString: "hello",
- },
- },
- "nested": {
- Union: &pb3.Oneofs_OneofNested{
- OneofNested: &pb3.Nested{
- SString: "nested oneof in map field value",
- },
- },
- },
- },
- },
- }, {
- desc: "map contains duplicate keys",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "int32ToStr": {
- "0": "cero",
- "0": "zero"
- }
-}
-`,
- wantErr: `(line 4:5): duplicate map key "0"`,
- }, {
- desc: "map key empty string",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "strToNested": {
- "": {}
- }
-}`,
- wantMessage: &pb3.Maps{
- StrToNested: map[string]*pb3.Nested{
- "": {},
- },
- },
- }, {
- desc: "map contains invalid key 1",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "int32ToStr": {
- "invalid": "cero"
- }
-}`,
- wantErr: `invalid value for int32 key: "invalid"`,
- }, {
- desc: "map contains invalid key 2",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "int32ToStr": {
- "1.02": "float"
- }
-}`,
- wantErr: `invalid value for int32 key: "1.02"`,
- }, {
- desc: "map contains invalid key 3",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "int32ToStr": {
- "2147483648": "exceeds 32-bit integer max limit"
- }
-}`,
- wantErr: `invalid value for int32 key: "2147483648"`,
- }, {
- desc: "map contains invalid key 4",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "uint64ToEnum": {
- "-1": 0
- }
-}`,
- wantErr: `invalid value for uint64 key: "-1"`,
- }, {
- desc: "map contains invalid value",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "int32ToStr": {
- "101": true
-}`,
- wantErr: `invalid value for string type: true`,
- }, {
- desc: "map contains null for scalar value",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "int32ToStr": {
- "101": null
-}`,
- wantErr: `invalid value for string type: null`,
- }, {
- desc: "map contains null for message value",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "strToNested": {
- "hello": null
- }
-}`,
- wantErr: `unexpected token null`,
- }, {
- desc: "map contains contains message value with invalid UTF8",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "strToNested": {
- "hello": {
- "sString": "` + "abc\xff" + `"
- }
- }
-}`,
- wantErr: `invalid UTF-8`,
- }, {
- desc: "map key contains invalid UTF8",
- inputMessage: &pb3.Maps{},
- inputText: `{
- "strToNested": {
- "` + "abc\xff" + `": {}
- }
-}`,
- wantErr: `invalid UTF-8`,
- }, {
- desc: "required fields not set",
- inputMessage: &pb2.Requireds{},
- inputText: `{}`,
- wantErr: errors.RequiredNotSet("pb2.Requireds.req_bool").Error(),
- }, {
- desc: "required field set",
- inputMessage: &pb2.PartialRequired{},
- inputText: `{
- "reqString": "this is required"
-}`,
- wantMessage: &pb2.PartialRequired{
- ReqString: proto.String("this is required"),
- },
- }, {
- desc: "required fields partially set",
- inputMessage: &pb2.Requireds{},
- inputText: `{
- "reqBool": false,
- "reqSfixed64": 42,
- "reqString": "hello",
- "reqEnum": "ONE"
-}`,
- wantMessage: &pb2.Requireds{
- ReqBool: proto.Bool(false),
- ReqSfixed64: proto.Int64(42),
- ReqString: proto.String("hello"),
- ReqEnum: pb2.Enum_ONE.Enum(),
- },
- wantErr: errors.RequiredNotSet("pb2.Requireds.req_double").Error(),
- }, {
- desc: "required fields partially set with AllowPartial",
- umo: protojson.UnmarshalOptions{AllowPartial: true},
- inputMessage: &pb2.Requireds{},
- inputText: `{
- "reqBool": false,
- "reqSfixed64": 42,
- "reqString": "hello",
- "reqEnum": "ONE"
-}`,
- wantMessage: &pb2.Requireds{
- ReqBool: proto.Bool(false),
- ReqSfixed64: proto.Int64(42),
- ReqString: proto.String("hello"),
- ReqEnum: pb2.Enum_ONE.Enum(),
- },
- }, {
- desc: "required fields all set",
- inputMessage: &pb2.Requireds{},
- inputText: `{
- "reqBool": false,
- "reqSfixed64": 42,
- "reqDouble": 1.23,
- "reqString": "hello",
- "reqEnum": "ONE",
- "reqNested": {}
-}`,
- wantMessage: &pb2.Requireds{
- ReqBool: proto.Bool(false),
- ReqSfixed64: proto.Int64(42),
- ReqDouble: proto.Float64(1.23),
- ReqString: proto.String("hello"),
- ReqEnum: pb2.Enum_ONE.Enum(),
- ReqNested: &pb2.Nested{},
- },
- }, {
- desc: "indirect required field",
- inputMessage: &pb2.IndirectRequired{},
- inputText: `{
- "optNested": {}
-}`,
- wantMessage: &pb2.IndirectRequired{
- OptNested: &pb2.NestedWithRequired{},
- },
- wantErr: errors.RequiredNotSet("pb2.NestedWithRequired.req_string").Error(),
- }, {
- desc: "indirect required field with AllowPartial",
- umo: protojson.UnmarshalOptions{AllowPartial: true},
- inputMessage: &pb2.IndirectRequired{},
- inputText: `{
- "optNested": {}
-}`,
- wantMessage: &pb2.IndirectRequired{
- OptNested: &pb2.NestedWithRequired{},
- },
- }, {
- desc: "indirect required field in repeated",
- inputMessage: &pb2.IndirectRequired{},
- inputText: `{
- "rptNested": [
- {"reqString": "one"},
- {}
- ]
-}`,
- wantMessage: &pb2.IndirectRequired{
- RptNested: []*pb2.NestedWithRequired{
- {
- ReqString: proto.String("one"),
- },
- {},
- },
- },
- wantErr: errors.RequiredNotSet("pb2.NestedWithRequired.req_string").Error(),
- }, {
- desc: "indirect required field in repeated with AllowPartial",
- umo: protojson.UnmarshalOptions{AllowPartial: true},
- inputMessage: &pb2.IndirectRequired{},
- inputText: `{
- "rptNested": [
- {"reqString": "one"},
- {}
- ]
-}`,
- wantMessage: &pb2.IndirectRequired{
- RptNested: []*pb2.NestedWithRequired{
- {
- ReqString: proto.String("one"),
- },
- {},
- },
- },
- }, {
- desc: "indirect required field in map",
- inputMessage: &pb2.IndirectRequired{},
- inputText: `{
- "strToNested": {
- "missing": {},
- "contains": {
- "reqString": "here"
- }
- }
-}`,
- wantMessage: &pb2.IndirectRequired{
- StrToNested: map[string]*pb2.NestedWithRequired{
- "missing": &pb2.NestedWithRequired{},
- "contains": &pb2.NestedWithRequired{
- ReqString: proto.String("here"),
- },
- },
- },
- wantErr: errors.RequiredNotSet("pb2.NestedWithRequired.req_string").Error(),
- }, {
- desc: "indirect required field in map with AllowPartial",
- umo: protojson.UnmarshalOptions{AllowPartial: true},
- inputMessage: &pb2.IndirectRequired{},
- inputText: `{
- "strToNested": {
- "missing": {},
- "contains": {
- "reqString": "here"
- }
- }
-}`,
- wantMessage: &pb2.IndirectRequired{
- StrToNested: map[string]*pb2.NestedWithRequired{
- "missing": &pb2.NestedWithRequired{},
- "contains": &pb2.NestedWithRequired{
- ReqString: proto.String("here"),
- },
- },
- },
- }, {
- desc: "indirect required field in oneof",
- inputMessage: &pb2.IndirectRequired{},
- inputText: `{
- "oneofNested": {}
-}`,
- wantMessage: &pb2.IndirectRequired{
- Union: &pb2.IndirectRequired_OneofNested{
- OneofNested: &pb2.NestedWithRequired{},
- },
- },
- wantErr: errors.RequiredNotSet("pb2.NestedWithRequired.req_string").Error(),
- }, {
- desc: "indirect required field in oneof with AllowPartial",
- umo: protojson.UnmarshalOptions{AllowPartial: true},
- inputMessage: &pb2.IndirectRequired{},
- inputText: `{
- "oneofNested": {}
-}`,
- wantMessage: &pb2.IndirectRequired{
- Union: &pb2.IndirectRequired_OneofNested{
- OneofNested: &pb2.NestedWithRequired{},
- },
- },
- }, {
- desc: "extensions of non-repeated fields",
- inputMessage: &pb2.Extensions{},
- inputText: `{
- "optString": "non-extension field",
- "optBool": true,
- "optInt32": 42,
- "[pb2.opt_ext_bool]": true,
- "[pb2.opt_ext_nested]": {
- "optString": "nested in an extension",
- "optNested": {
- "optString": "another nested in an extension"
- }
- },
- "[pb2.opt_ext_string]": "extension field",
- "[pb2.opt_ext_enum]": "TEN"
-}`,
- wantMessage: func() proto.Message {
- m := &pb2.Extensions{
- OptString: proto.String("non-extension field"),
- OptBool: proto.Bool(true),
- OptInt32: proto.Int32(42),
- }
- proto.SetExtension(m, pb2.E_OptExtBool, true)
- proto.SetExtension(m, pb2.E_OptExtString, "extension field")
- proto.SetExtension(m, pb2.E_OptExtEnum, pb2.Enum_TEN)
- proto.SetExtension(m, pb2.E_OptExtNested, &pb2.Nested{
- OptString: proto.String("nested in an extension"),
- OptNested: &pb2.Nested{
- OptString: proto.String("another nested in an extension"),
- },
- })
- return m
- }(),
- }, {
- desc: "extensions of repeated fields",
- inputMessage: &pb2.Extensions{},
- inputText: `{
- "[pb2.rpt_ext_enum]": ["TEN", 101, "ONE"],
- "[pb2.rpt_ext_fixed32]": [42, 47],
- "[pb2.rpt_ext_nested]": [
- {"optString": "one"},
- {"optString": "two"},
- {"optString": "three"}
- ]
-}`,
- wantMessage: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_RptExtEnum, []pb2.Enum{pb2.Enum_TEN, 101, pb2.Enum_ONE})
- proto.SetExtension(m, pb2.E_RptExtFixed32, []uint32{42, 47})
- proto.SetExtension(m, pb2.E_RptExtNested, []*pb2.Nested{
- &pb2.Nested{OptString: proto.String("one")},
- &pb2.Nested{OptString: proto.String("two")},
- &pb2.Nested{OptString: proto.String("three")},
- })
- return m
- }(),
- }, {
- desc: "extensions of non-repeated fields in another message",
- inputMessage: &pb2.Extensions{},
- inputText: `{
- "[pb2.ExtensionsContainer.opt_ext_bool]": true,
- "[pb2.ExtensionsContainer.opt_ext_enum]": "TEN",
- "[pb2.ExtensionsContainer.opt_ext_nested]": {
- "optString": "nested in an extension",
- "optNested": {
- "optString": "another nested in an extension"
- }
- },
- "[pb2.ExtensionsContainer.opt_ext_string]": "extension field"
-}`,
- wantMessage: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtBool, true)
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtString, "extension field")
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtEnum, pb2.Enum_TEN)
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtNested, &pb2.Nested{
- OptString: proto.String("nested in an extension"),
- OptNested: &pb2.Nested{
- OptString: proto.String("another nested in an extension"),
- },
- })
- return m
- }(),
- }, {
- desc: "extensions of repeated fields in another message",
- inputMessage: &pb2.Extensions{},
- inputText: `{
- "optString": "non-extension field",
- "optBool": true,
- "optInt32": 42,
- "[pb2.ExtensionsContainer.rpt_ext_nested]": [
- {"optString": "one"},
- {"optString": "two"},
- {"optString": "three"}
- ],
- "[pb2.ExtensionsContainer.rpt_ext_enum]": ["TEN", 101, "ONE"],
- "[pb2.ExtensionsContainer.rpt_ext_string]": ["hello", "world"]
-}`,
- wantMessage: func() proto.Message {
- m := &pb2.Extensions{
- OptString: proto.String("non-extension field"),
- OptBool: proto.Bool(true),
- OptInt32: proto.Int32(42),
- }
- proto.SetExtension(m, pb2.E_ExtensionsContainer_RptExtEnum, []pb2.Enum{pb2.Enum_TEN, 101, pb2.Enum_ONE})
- proto.SetExtension(m, pb2.E_ExtensionsContainer_RptExtString, []string{"hello", "world"})
- proto.SetExtension(m, pb2.E_ExtensionsContainer_RptExtNested, []*pb2.Nested{
- &pb2.Nested{OptString: proto.String("one")},
- &pb2.Nested{OptString: proto.String("two")},
- &pb2.Nested{OptString: proto.String("three")},
- })
- return m
- }(),
- }, {
- desc: "invalid extension field name",
- inputMessage: &pb2.Extensions{},
- inputText: `{ "[pb2.invalid_message_field]": true }`,
- wantErr: `(line 1:3): unknown field "[pb2.invalid_message_field]"`,
- }, {
- desc: "extensions of repeated field contains null",
- inputMessage: &pb2.Extensions{},
- inputText: `{
- "[pb2.ExtensionsContainer.rpt_ext_nested]": [
- {"optString": "one"},
- null,
- {"optString": "three"}
- ],
-}`,
- wantErr: `(line 4:5): unexpected token null`,
- }, {
- desc: "MessageSet",
- inputMessage: &pb2.MessageSet{},
- inputText: `{
- "[pb2.MessageSetExtension]": {
- "optString": "a messageset extension"
- },
- "[pb2.MessageSetExtension.ext_nested]": {
- "optString": "just a regular extension"
- },
- "[pb2.MessageSetExtension.not_message_set_extension]": {
- "optString": "not a messageset extension"
- }
-}`,
- wantMessage: func() proto.Message {
- m := &pb2.MessageSet{}
- proto.SetExtension(m, pb2.E_MessageSetExtension_MessageSetExtension, &pb2.MessageSetExtension{
- OptString: proto.String("a messageset extension"),
- })
- proto.SetExtension(m, pb2.E_MessageSetExtension_NotMessageSetExtension, &pb2.MessageSetExtension{
- OptString: proto.String("not a messageset extension"),
- })
- proto.SetExtension(m, pb2.E_MessageSetExtension_ExtNested, &pb2.Nested{
- OptString: proto.String("just a regular extension"),
- })
- return m
- }(),
- skip: !flags.ProtoLegacy,
- }, {
- desc: "not real MessageSet 1",
- inputMessage: &pb2.FakeMessageSet{},
- inputText: `{
- "[pb2.FakeMessageSetExtension.message_set_extension]": {
- "optString": "not a messageset extension"
- }
-}`,
- wantMessage: func() proto.Message {
- m := &pb2.FakeMessageSet{}
- proto.SetExtension(m, pb2.E_FakeMessageSetExtension_MessageSetExtension, &pb2.FakeMessageSetExtension{
- OptString: proto.String("not a messageset extension"),
- })
- return m
- }(),
- skip: !flags.ProtoLegacy,
- }, {
- desc: "not real MessageSet 2",
- inputMessage: &pb2.FakeMessageSet{},
- inputText: `{
- "[pb2.FakeMessageSetExtension]": {
- "optString": "not a messageset extension"
- }
-}`,
- wantErr: `unable to resolve "[pb2.FakeMessageSetExtension]": found wrong type`,
- skip: !flags.ProtoLegacy,
- }, {
- desc: "not real MessageSet 3",
- inputMessage: &pb2.MessageSet{},
- inputText: `{
- "[pb2.message_set_extension]": {
- "optString": "another not a messageset extension"
- }
-}`,
- wantMessage: func() proto.Message {
- m := &pb2.MessageSet{}
- proto.SetExtension(m, pb2.E_MessageSetExtension, &pb2.FakeMessageSetExtension{
- OptString: proto.String("another not a messageset extension"),
- })
- return m
- }(),
- skip: !flags.ProtoLegacy,
- }, {
- desc: "Empty",
- inputMessage: &emptypb.Empty{},
- inputText: `{}`,
- wantMessage: &emptypb.Empty{},
- }, {
- desc: "Empty contains unknown",
- inputMessage: &emptypb.Empty{},
- inputText: `{"unknown": null}`,
- wantErr: `unknown field "unknown"`,
- }, {
- desc: "BoolValue false",
- inputMessage: &wrapperspb.BoolValue{},
- inputText: `false`,
- wantMessage: &wrapperspb.BoolValue{},
- }, {
- desc: "BoolValue true",
- inputMessage: &wrapperspb.BoolValue{},
- inputText: `true`,
- wantMessage: &wrapperspb.BoolValue{Value: true},
- }, {
- desc: "BoolValue invalid value",
- inputMessage: &wrapperspb.BoolValue{},
- inputText: `{}`,
- wantErr: `invalid value for bool type: {`,
- }, {
- desc: "Int32Value",
- inputMessage: &wrapperspb.Int32Value{},
- inputText: `42`,
- wantMessage: &wrapperspb.Int32Value{Value: 42},
- }, {
- desc: "Int32Value in JSON string",
- inputMessage: &wrapperspb.Int32Value{},
- inputText: `"1.23e3"`,
- wantMessage: &wrapperspb.Int32Value{Value: 1230},
- }, {
- desc: "Int64Value",
- inputMessage: &wrapperspb.Int64Value{},
- inputText: `"42"`,
- wantMessage: &wrapperspb.Int64Value{Value: 42},
- }, {
- desc: "UInt32Value",
- inputMessage: &wrapperspb.UInt32Value{},
- inputText: `42`,
- wantMessage: &wrapperspb.UInt32Value{Value: 42},
- }, {
- desc: "UInt64Value",
- inputMessage: &wrapperspb.UInt64Value{},
- inputText: `"42"`,
- wantMessage: &wrapperspb.UInt64Value{Value: 42},
- }, {
- desc: "FloatValue",
- inputMessage: &wrapperspb.FloatValue{},
- inputText: `1.02`,
- wantMessage: &wrapperspb.FloatValue{Value: 1.02},
- }, {
- desc: "FloatValue exceeds max limit",
- inputMessage: &wrapperspb.FloatValue{},
- inputText: `1.23e+40`,
- wantErr: `invalid value for float type: 1.23e+40`,
- }, {
- desc: "FloatValue Infinity",
- inputMessage: &wrapperspb.FloatValue{},
- inputText: `"-Infinity"`,
- wantMessage: &wrapperspb.FloatValue{Value: float32(math.Inf(-1))},
- }, {
- desc: "DoubleValue",
- inputMessage: &wrapperspb.DoubleValue{},
- inputText: `1.02`,
- wantMessage: &wrapperspb.DoubleValue{Value: 1.02},
- }, {
- desc: "DoubleValue Infinity",
- inputMessage: &wrapperspb.DoubleValue{},
- inputText: `"Infinity"`,
- wantMessage: &wrapperspb.DoubleValue{Value: math.Inf(+1)},
- }, {
- desc: "StringValue empty",
- inputMessage: &wrapperspb.StringValue{},
- inputText: `""`,
- wantMessage: &wrapperspb.StringValue{},
- }, {
- desc: "StringValue",
- inputMessage: &wrapperspb.StringValue{},
- inputText: `"谷歌"`,
- wantMessage: &wrapperspb.StringValue{Value: "谷歌"},
- }, {
- desc: "StringValue with invalid UTF8 error",
- inputMessage: &wrapperspb.StringValue{},
- inputText: "\"abc\xff\"",
- wantErr: `invalid UTF-8`,
- }, {
- desc: "StringValue field with invalid UTF8 error",
- inputMessage: &pb2.KnownTypes{},
- inputText: "{\n \"optString\": \"abc\xff\"\n}",
- wantErr: `invalid UTF-8`,
- }, {
- desc: "NullValue field with JSON null",
- inputMessage: &pb2.KnownTypes{},
- inputText: `{
- "optNull": null
-}`,
- wantMessage: &pb2.KnownTypes{OptNull: new(structpb.NullValue)},
- }, {
- desc: "NullValue field with string",
- inputMessage: &pb2.KnownTypes{},
- inputText: `{
- "optNull": "NULL_VALUE"
-}`,
- wantMessage: &pb2.KnownTypes{OptNull: new(structpb.NullValue)},
- }, {
- desc: "BytesValue",
- inputMessage: &wrapperspb.BytesValue{},
- inputText: `"aGVsbG8="`,
- wantMessage: &wrapperspb.BytesValue{Value: []byte("hello")},
- }, {
- desc: "Value null",
- inputMessage: &structpb.Value{},
- inputText: `null`,
- wantMessage: &structpb.Value{Kind: &structpb.Value_NullValue{}},
- }, {
- desc: "Value field null",
- inputMessage: &pb2.KnownTypes{},
- inputText: `{
- "optValue": null
-}`,
- wantMessage: &pb2.KnownTypes{
- OptValue: &structpb.Value{Kind: &structpb.Value_NullValue{}},
- },
- }, {
- desc: "Value bool",
- inputMessage: &structpb.Value{},
- inputText: `false`,
- wantMessage: &structpb.Value{Kind: &structpb.Value_BoolValue{}},
- }, {
- desc: "Value field bool",
- inputMessage: &pb2.KnownTypes{},
- inputText: `{
- "optValue": true
-}`,
- wantMessage: &pb2.KnownTypes{
- OptValue: &structpb.Value{Kind: &structpb.Value_BoolValue{true}},
- },
- }, {
- desc: "Value number",
- inputMessage: &structpb.Value{},
- inputText: `1.02`,
- wantMessage: &structpb.Value{Kind: &structpb.Value_NumberValue{1.02}},
- }, {
- desc: "Value field number",
- inputMessage: &pb2.KnownTypes{},
- inputText: `{
- "optValue": 1.02
-}`,
- wantMessage: &pb2.KnownTypes{
- OptValue: &structpb.Value{Kind: &structpb.Value_NumberValue{1.02}},
- },
- }, {
- desc: "Value string",
- inputMessage: &structpb.Value{},
- inputText: `"hello"`,
- wantMessage: &structpb.Value{Kind: &structpb.Value_StringValue{"hello"}},
- }, {
- desc: "Value string with invalid UTF8",
- inputMessage: &structpb.Value{},
- inputText: "\"\xff\"",
- wantErr: `invalid UTF-8`,
- }, {
- desc: "Value field string",
- inputMessage: &pb2.KnownTypes{},
- inputText: `{
- "optValue": "NaN"
-}`,
- wantMessage: &pb2.KnownTypes{
- OptValue: &structpb.Value{Kind: &structpb.Value_StringValue{"NaN"}},
- },
- }, {
- desc: "Value field string with invalid UTF8",
- inputMessage: &pb2.KnownTypes{},
- inputText: `{
- "optValue": "` + "\xff" + `"
-}`,
- wantErr: `invalid UTF-8`,
- }, {
- desc: "Value empty struct",
- inputMessage: &structpb.Value{},
- inputText: `{}`,
- wantMessage: &structpb.Value{
- Kind: &structpb.Value_StructValue{
- &structpb.Struct{Fields: map[string]*structpb.Value{}},
- },
- },
- }, {
- desc: "Value struct",
- inputMessage: &structpb.Value{},
- inputText: `{
- "string": "hello",
- "number": 123,
- "null": null,
- "bool": false,
- "struct": {
- "string": "world"
- },
- "list": []
-}`,
- wantMessage: &structpb.Value{
- Kind: &structpb.Value_StructValue{
- &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "string": {Kind: &structpb.Value_StringValue{"hello"}},
- "number": {Kind: &structpb.Value_NumberValue{123}},
- "null": {Kind: &structpb.Value_NullValue{}},
- "bool": {Kind: &structpb.Value_BoolValue{false}},
- "struct": {
- Kind: &structpb.Value_StructValue{
- &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "string": {Kind: &structpb.Value_StringValue{"world"}},
- },
- },
- },
- },
- "list": {
- Kind: &structpb.Value_ListValue{&structpb.ListValue{}},
- },
- },
- },
- },
- },
- }, {
- desc: "Value struct with invalid UTF8 string",
- inputMessage: &structpb.Value{},
- inputText: "{\"string\": \"abc\xff\"}",
- wantErr: `invalid UTF-8`,
- }, {
- desc: "Value field struct",
- inputMessage: &pb2.KnownTypes{},
- inputText: `{
- "optValue": {
- "string": "hello"
- }
-}`,
- wantMessage: &pb2.KnownTypes{
- OptValue: &structpb.Value{
- Kind: &structpb.Value_StructValue{
- &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "string": {Kind: &structpb.Value_StringValue{"hello"}},
- },
- },
- },
- },
- },
- }, {
- desc: "Value empty list",
- inputMessage: &structpb.Value{},
- inputText: `[]`,
- wantMessage: &structpb.Value{
- Kind: &structpb.Value_ListValue{
- &structpb.ListValue{Values: []*structpb.Value{}},
- },
- },
- }, {
- desc: "Value list",
- inputMessage: &structpb.Value{},
- inputText: `[
- "string",
- 123,
- null,
- true,
- {},
- [
- "string",
- 1.23,
- null,
- false
- ]
-]`,
- wantMessage: &structpb.Value{
- Kind: &structpb.Value_ListValue{
- &structpb.ListValue{
- Values: []*structpb.Value{
- {Kind: &structpb.Value_StringValue{"string"}},
- {Kind: &structpb.Value_NumberValue{123}},
- {Kind: &structpb.Value_NullValue{}},
- {Kind: &structpb.Value_BoolValue{true}},
- {Kind: &structpb.Value_StructValue{&structpb.Struct{}}},
- {
- Kind: &structpb.Value_ListValue{
- &structpb.ListValue{
- Values: []*structpb.Value{
- {Kind: &structpb.Value_StringValue{"string"}},
- {Kind: &structpb.Value_NumberValue{1.23}},
- {Kind: &structpb.Value_NullValue{}},
- {Kind: &structpb.Value_BoolValue{false}},
- },
- },
- },
- },
- },
- },
- },
- },
- }, {
- desc: "Value list with invalid UTF8 string",
- inputMessage: &structpb.Value{},
- inputText: "[\"abc\xff\"]",
- wantErr: `invalid UTF-8`,
- }, {
- desc: "Value field list with invalid UTF8 string",
- inputMessage: &pb2.KnownTypes{},
- inputText: `{
- "optValue": [ "` + "abc\xff" + `"]
-}`,
- wantErr: `(line 2:17): invalid UTF-8`,
- }, {
- desc: "Duration empty string",
- inputMessage: &durationpb.Duration{},
- inputText: `""`,
- wantErr: `invalid google.protobuf.Duration value ""`,
- }, {
- desc: "Duration with secs",
- inputMessage: &durationpb.Duration{},
- inputText: `"3s"`,
- wantMessage: &durationpb.Duration{Seconds: 3},
- }, {
- desc: "Duration with escaped unicode",
- inputMessage: &durationpb.Duration{},
- inputText: `"\u0033s"`,
- wantMessage: &durationpb.Duration{Seconds: 3},
- }, {
- desc: "Duration with -secs",
- inputMessage: &durationpb.Duration{},
- inputText: `"-3s"`,
- wantMessage: &durationpb.Duration{Seconds: -3},
- }, {
- desc: "Duration with plus sign",
- inputMessage: &durationpb.Duration{},
- inputText: `"+3s"`,
- wantMessage: &durationpb.Duration{Seconds: 3},
- }, {
- desc: "Duration with nanos",
- inputMessage: &durationpb.Duration{},
- inputText: `"0.001s"`,
- wantMessage: &durationpb.Duration{Nanos: 1e6},
- }, {
- desc: "Duration with -nanos",
- inputMessage: &durationpb.Duration{},
- inputText: `"-0.001s"`,
- wantMessage: &durationpb.Duration{Nanos: -1e6},
- }, {
- desc: "Duration with -nanos",
- inputMessage: &durationpb.Duration{},
- inputText: `"-.001s"`,
- wantMessage: &durationpb.Duration{Nanos: -1e6},
- }, {
- desc: "Duration with +nanos",
- inputMessage: &durationpb.Duration{},
- inputText: `"+.001s"`,
- wantMessage: &durationpb.Duration{Nanos: 1e6},
- }, {
- desc: "Duration with -secs -nanos",
- inputMessage: &durationpb.Duration{},
- inputText: `"-123.000000450s"`,
- wantMessage: &durationpb.Duration{Seconds: -123, Nanos: -450},
- }, {
- desc: "Duration with large secs",
- inputMessage: &durationpb.Duration{},
- inputText: `"10000000000.000000001s"`,
- wantMessage: &durationpb.Duration{Seconds: 1e10, Nanos: 1},
- }, {
- desc: "Duration with decimal without fractional",
- inputMessage: &durationpb.Duration{},
- inputText: `"3.s"`,
- wantMessage: &durationpb.Duration{Seconds: 3},
- }, {
- desc: "Duration with decimal without integer",
- inputMessage: &durationpb.Duration{},
- inputText: `"0.5s"`,
- wantMessage: &durationpb.Duration{Nanos: 5e8},
- }, {
- desc: "Duration max value",
- inputMessage: &durationpb.Duration{},
- inputText: `"315576000000.999999999s"`,
- wantMessage: &durationpb.Duration{Seconds: 315576000000, Nanos: 999999999},
- }, {
- desc: "Duration min value",
- inputMessage: &durationpb.Duration{},
- inputText: `"-315576000000.999999999s"`,
- wantMessage: &durationpb.Duration{Seconds: -315576000000, Nanos: -999999999},
- }, {
- desc: "Duration with +secs out of range",
- inputMessage: &durationpb.Duration{},
- inputText: `"315576000001s"`,
- wantErr: `google.protobuf.Duration value out of range: "315576000001s"`,
- }, {
- desc: "Duration with -secs out of range",
- inputMessage: &durationpb.Duration{},
- inputText: `"-315576000001s"`,
- wantErr: `google.protobuf.Duration value out of range: "-315576000001s"`,
- }, {
- desc: "Duration with nanos beyond 9 digits",
- inputMessage: &durationpb.Duration{},
- inputText: `"0.1000000000s"`,
- wantErr: `invalid google.protobuf.Duration value "0.1000000000s"`,
- }, {
- desc: "Duration without suffix s",
- inputMessage: &durationpb.Duration{},
- inputText: `"123"`,
- wantErr: `invalid google.protobuf.Duration value "123"`,
- }, {
- desc: "Duration invalid signed fraction",
- inputMessage: &durationpb.Duration{},
- inputText: `"123.+123s"`,
- wantErr: `invalid google.protobuf.Duration value "123.+123s"`,
- }, {
- desc: "Duration invalid multiple .",
- inputMessage: &durationpb.Duration{},
- inputText: `"123.123.s"`,
- wantErr: `invalid google.protobuf.Duration value "123.123.s"`,
- }, {
- desc: "Duration invalid integer",
- inputMessage: &durationpb.Duration{},
- inputText: `"01s"`,
- wantErr: `invalid google.protobuf.Duration value "01s"`,
- }, {
- desc: "Timestamp zero",
- inputMessage: &timestamppb.Timestamp{},
- inputText: `"1970-01-01T00:00:00Z"`,
- wantMessage: &timestamppb.Timestamp{},
- }, {
- desc: "Timestamp with tz adjustment",
- inputMessage: &timestamppb.Timestamp{},
- inputText: `"1970-01-01T00:00:00+01:00"`,
- wantMessage: &timestamppb.Timestamp{Seconds: -3600},
- }, {
- desc: "Timestamp UTC",
- inputMessage: &timestamppb.Timestamp{},
- inputText: `"2019-03-19T23:03:21Z"`,
- wantMessage: &timestamppb.Timestamp{Seconds: 1553036601},
- }, {
- desc: "Timestamp with escaped unicode",
- inputMessage: &timestamppb.Timestamp{},
- inputText: `"2019-0\u0033-19T23:03:21Z"`,
- wantMessage: &timestamppb.Timestamp{Seconds: 1553036601},
- }, {
- desc: "Timestamp with nanos",
- inputMessage: &timestamppb.Timestamp{},
- inputText: `"2019-03-19T23:03:21.000000001Z"`,
- wantMessage: &timestamppb.Timestamp{Seconds: 1553036601, Nanos: 1},
- }, {
- desc: "Timestamp max value",
- inputMessage: &timestamppb.Timestamp{},
- inputText: `"9999-12-31T23:59:59.999999999Z"`,
- wantMessage: &timestamppb.Timestamp{Seconds: 253402300799, Nanos: 999999999},
- }, {
- desc: "Timestamp above max value",
- inputMessage: &timestamppb.Timestamp{},
- inputText: `"9999-12-31T23:59:59-01:00"`,
- wantErr: `google.protobuf.Timestamp value out of range: "9999-12-31T23:59:59-01:00"`,
- }, {
- desc: "Timestamp min value",
- inputMessage: &timestamppb.Timestamp{},
- inputText: `"0001-01-01T00:00:00Z"`,
- wantMessage: &timestamppb.Timestamp{Seconds: -62135596800},
- }, {
- desc: "Timestamp below min value",
- inputMessage: &timestamppb.Timestamp{},
- inputText: `"0001-01-01T00:00:00+01:00"`,
- wantErr: `google.protobuf.Timestamp value out of range: "0001-01-01T00:00:00+01:00"`,
- }, {
- desc: "Timestamp with nanos beyond 9 digits",
- inputMessage: &timestamppb.Timestamp{},
- inputText: `"1970-01-01T00:00:00.0000000001Z"`,
- wantErr: `invalid google.protobuf.Timestamp value`,
- }, {
- desc: "FieldMask empty",
- inputMessage: &fieldmaskpb.FieldMask{},
- inputText: `""`,
- wantMessage: &fieldmaskpb.FieldMask{Paths: []string{}},
- }, {
- desc: "FieldMask",
- inputMessage: &fieldmaskpb.FieldMask{},
- inputText: `"foo,fooBar,foo.barQux,Foo"`,
- wantMessage: &fieldmaskpb.FieldMask{
- Paths: []string{
- "foo",
- "foo_bar",
- "foo.bar_qux",
- "_foo",
- },
- },
- }, {
- desc: "FieldMask empty path 1",
- inputMessage: &fieldmaskpb.FieldMask{},
- inputText: `"foo,"`,
- wantErr: `google.protobuf.FieldMask.paths contains invalid path: ""`,
- }, {
- desc: "FieldMask empty path 2",
- inputMessage: &fieldmaskpb.FieldMask{},
- inputText: `"foo, ,bar"`,
- wantErr: `google.protobuf.FieldMask.paths contains invalid path: " "`,
- }, {
- desc: "FieldMask invalid char 1",
- inputMessage: &fieldmaskpb.FieldMask{},
- inputText: `"foo_bar"`,
- wantErr: `google.protobuf.FieldMask.paths contains invalid path: "foo_bar"`,
- }, {
- desc: "FieldMask invalid char 2",
- inputMessage: &fieldmaskpb.FieldMask{},
- inputText: `"foo@bar"`,
- wantErr: `google.protobuf.FieldMask.paths contains invalid path: "foo@bar"`,
- }, {
- desc: "FieldMask field",
- inputMessage: &pb2.KnownTypes{},
- inputText: `{
- "optFieldmask": "foo,qux.fooBar"
-}`,
- wantMessage: &pb2.KnownTypes{
- OptFieldmask: &fieldmaskpb.FieldMask{
- Paths: []string{
- "foo",
- "qux.foo_bar",
- },
- },
- },
- }, {
- desc: "Any empty",
- inputMessage: &anypb.Any{},
- inputText: `{}`,
- wantMessage: &anypb.Any{},
- }, {
- desc: "Any with non-custom message",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "foo/pb2.Nested",
- "optString": "embedded inside Any",
- "optNested": {
- "optString": "inception"
- }
-}`,
- wantMessage: func() proto.Message {
- m := &pb2.Nested{
- OptString: proto.String("embedded inside Any"),
- OptNested: &pb2.Nested{
- OptString: proto.String("inception"),
- },
- }
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "foo/pb2.Nested",
- Value: b,
- }
- }(),
- }, {
- desc: "Any with empty embedded message",
- inputMessage: &anypb.Any{},
- inputText: `{"@type": "foo/pb2.Nested"}`,
- wantMessage: &anypb.Any{TypeUrl: "foo/pb2.Nested"},
- }, {
- desc: "Any without registered type",
- umo: protojson.UnmarshalOptions{Resolver: new(protoregistry.Types)},
- inputMessage: &anypb.Any{},
- inputText: `{"@type": "foo/pb2.Nested"}`,
- wantErr: `(line 1:11): unable to resolve "foo/pb2.Nested":`,
- }, {
- desc: "Any with missing required",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "pb2.PartialRequired",
- "optString": "embedded inside Any"
-}`,
- wantMessage: func() proto.Message {
- m := &pb2.PartialRequired{
- OptString: proto.String("embedded inside Any"),
- }
- b, err := proto.MarshalOptions{
- Deterministic: true,
- AllowPartial: true,
- }.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: string(m.ProtoReflect().Descriptor().FullName()),
- Value: b,
- }
- }(),
- }, {
- desc: "Any with partial required and AllowPartial",
- umo: protojson.UnmarshalOptions{
- AllowPartial: true,
- },
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "pb2.PartialRequired",
- "optString": "embedded inside Any"
-}`,
- wantMessage: func() proto.Message {
- m := &pb2.PartialRequired{
- OptString: proto.String("embedded inside Any"),
- }
- b, err := proto.MarshalOptions{
- Deterministic: true,
- AllowPartial: true,
- }.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: string(m.ProtoReflect().Descriptor().FullName()),
- Value: b,
- }
- }(),
- }, {
- desc: "Any with invalid UTF8",
- inputMessage: &anypb.Any{},
- inputText: `{
- "optString": "` + "abc\xff" + `",
- "@type": "foo/pb2.Nested"
-}`,
- wantErr: `(line 2:16): invalid UTF-8`,
- }, {
- desc: "Any with BoolValue",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "type.googleapis.com/google.protobuf.BoolValue",
- "value": true
-}`,
- wantMessage: func() proto.Message {
- m := &wrapperspb.BoolValue{Value: true}
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.BoolValue",
- Value: b,
- }
- }(),
- }, {
- desc: "Any with Empty",
- inputMessage: &anypb.Any{},
- inputText: `{
- "value": {},
- "@type": "type.googleapis.com/google.protobuf.Empty"
-}`,
- wantMessage: &anypb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.Empty",
- },
- }, {
- desc: "Any with missing Empty",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "type.googleapis.com/google.protobuf.Empty"
-}`,
- wantErr: `(line 3:1): missing "value" field`,
- }, {
- desc: "Any with StringValue containing invalid UTF8",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "google.protobuf.StringValue",
- "value": "` + "abc\xff" + `"
-}`,
- wantErr: `(line 3:12): invalid UTF-8`,
- }, {
- desc: "Any with Int64Value",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "google.protobuf.Int64Value",
- "value": "42"
-}`,
- wantMessage: func() proto.Message {
- m := &wrapperspb.Int64Value{Value: 42}
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "google.protobuf.Int64Value",
- Value: b,
- }
- }(),
- }, {
- desc: "Any with invalid Int64Value",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "google.protobuf.Int64Value",
- "value": "forty-two"
-}`,
- wantErr: `(line 3:12): invalid value for int64 type: "forty-two"`,
- }, {
- desc: "Any with invalid UInt64Value",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "google.protobuf.UInt64Value",
- "value": -42
-}`,
- wantErr: `(line 3:12): invalid value for uint64 type: -42`,
- }, {
- desc: "Any with Duration",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "0s"
-}`,
- wantMessage: func() proto.Message {
- m := &durationpb.Duration{}
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.Duration",
- Value: b,
- }
- }(),
- }, {
- desc: "Any with Value of StringValue",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "google.protobuf.Value",
- "value": "` + "abc\xff" + `"
-}`,
- wantErr: `(line 3:12): invalid UTF-8`,
- }, {
- desc: "Any with Value of NullValue",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "google.protobuf.Value",
- "value": null
-}`,
- wantMessage: func() proto.Message {
- m := &structpb.Value{Kind: &structpb.Value_NullValue{}}
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "google.protobuf.Value",
- Value: b,
- }
- }(),
- }, {
- desc: "Any with Struct",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "google.protobuf.Struct",
- "value": {
- "bool": true,
- "null": null,
- "string": "hello",
- "struct": {
- "string": "world"
- }
- }
-}`,
- wantMessage: func() proto.Message {
- m := &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "bool": {Kind: &structpb.Value_BoolValue{true}},
- "null": {Kind: &structpb.Value_NullValue{}},
- "string": {Kind: &structpb.Value_StringValue{"hello"}},
- "struct": {
- Kind: &structpb.Value_StructValue{
- &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "string": {Kind: &structpb.Value_StringValue{"world"}},
- },
- },
- },
- },
- },
- }
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "google.protobuf.Struct",
- Value: b,
- }
- }(),
- }, {
- desc: "Any with missing @type",
- umo: protojson.UnmarshalOptions{},
- inputMessage: &anypb.Any{},
- inputText: `{
- "value": {}
-}`,
- wantErr: `(line 1:1): missing "@type" field`,
- }, {
- desc: "Any with empty @type",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": ""
-}`,
- wantErr: `(line 2:12): @type field contains empty value`,
- }, {
- desc: "Any with duplicate @type",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "google.protobuf.StringValue",
- "value": "hello",
- "@type": "pb2.Nested"
-}`,
- wantErr: `(line 4:3): duplicate "@type" field`,
- }, {
- desc: "Any with duplicate value",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "google.protobuf.StringValue",
- "value": "hello",
- "value": "world"
-}`,
- wantErr: `(line 4:3): duplicate "value" field`,
- }, {
- desc: "Any with unknown field",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "pb2.Nested",
- "optString": "hello",
- "unknown": "world"
-}`,
- wantErr: `(line 4:3): unknown field "unknown"`,
- }, {
- desc: "Any with embedded type containing Any",
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "pb2.KnownTypes",
- "optAny": {
- "@type": "google.protobuf.StringValue",
- "value": "` + "abc\xff" + `"
- }
-}`,
- wantErr: `(line 5:14): invalid UTF-8`,
- }, {
- desc: "well known types as field values",
- inputMessage: &pb2.KnownTypes{},
- inputText: `{
- "optBool": false,
- "optInt32": 42,
- "optInt64": "42",
- "optUint32": 42,
- "optUint64": "42",
- "optFloat": 1.23,
- "optDouble": 3.1415,
- "optString": "hello",
- "optBytes": "aGVsbG8=",
- "optDuration": "123s",
- "optTimestamp": "2019-03-19T23:03:21Z",
- "optStruct": {
- "string": "hello"
- },
- "optList": [
- null,
- "",
- {},
- []
- ],
- "optValue": "world",
- "optEmpty": {},
- "optAny": {
- "@type": "google.protobuf.Empty",
- "value": {}
- },
- "optFieldmask": "fooBar,barFoo"
-}`,
- wantMessage: &pb2.KnownTypes{
- OptBool: &wrapperspb.BoolValue{Value: false},
- OptInt32: &wrapperspb.Int32Value{Value: 42},
- OptInt64: &wrapperspb.Int64Value{Value: 42},
- OptUint32: &wrapperspb.UInt32Value{Value: 42},
- OptUint64: &wrapperspb.UInt64Value{Value: 42},
- OptFloat: &wrapperspb.FloatValue{Value: 1.23},
- OptDouble: &wrapperspb.DoubleValue{Value: 3.1415},
- OptString: &wrapperspb.StringValue{Value: "hello"},
- OptBytes: &wrapperspb.BytesValue{Value: []byte("hello")},
- OptDuration: &durationpb.Duration{Seconds: 123},
- OptTimestamp: &timestamppb.Timestamp{Seconds: 1553036601},
- OptStruct: &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "string": {Kind: &structpb.Value_StringValue{"hello"}},
- },
- },
- OptList: &structpb.ListValue{
- Values: []*structpb.Value{
- {Kind: &structpb.Value_NullValue{}},
- {Kind: &structpb.Value_StringValue{}},
- {
- Kind: &structpb.Value_StructValue{
- &structpb.Struct{Fields: map[string]*structpb.Value{}},
- },
- },
- {
- Kind: &structpb.Value_ListValue{
- &structpb.ListValue{Values: []*structpb.Value{}},
- },
- },
- },
- },
- OptValue: &structpb.Value{
- Kind: &structpb.Value_StringValue{"world"},
- },
- OptEmpty: &emptypb.Empty{},
- OptAny: &anypb.Any{
- TypeUrl: "google.protobuf.Empty",
- },
- OptFieldmask: &fieldmaskpb.FieldMask{
- Paths: []string{"foo_bar", "bar_foo"},
- },
- },
- }, {
- desc: "DiscardUnknown: regular messages",
- umo: protojson.UnmarshalOptions{DiscardUnknown: true},
- inputMessage: &pb3.Nests{},
- inputText: `{
- "sNested": {
- "unknown": {
- "foo": 1,
- "bar": [1, 2, 3]
- }
- },
- "unknown": "not known"
-}`,
- wantMessage: &pb3.Nests{SNested: &pb3.Nested{}},
- }, {
- desc: "DiscardUnknown: repeated",
- umo: protojson.UnmarshalOptions{DiscardUnknown: true},
- inputMessage: &pb2.Nests{},
- inputText: `{
- "rptNested": [
- {"unknown": "blah"},
- {"optString": "hello"}
- ]
-}`,
- wantMessage: &pb2.Nests{
- RptNested: []*pb2.Nested{
- {},
- {OptString: proto.String("hello")},
- },
- },
- }, {
- desc: "DiscardUnknown: map",
- umo: protojson.UnmarshalOptions{DiscardUnknown: true},
- inputMessage: &pb3.Maps{},
- inputText: `{
- "strToNested": {
- "nested_one": {
- "unknown": "what you see is not"
- }
- }
-}`,
- wantMessage: &pb3.Maps{
- StrToNested: map[string]*pb3.Nested{
- "nested_one": {},
- },
- },
- }, {
- desc: "DiscardUnknown: extension",
- umo: protojson.UnmarshalOptions{DiscardUnknown: true},
- inputMessage: &pb2.Extensions{},
- inputText: `{
- "[pb2.opt_ext_nested]": {
- "unknown": []
- }
-}`,
- wantMessage: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_OptExtNested, &pb2.Nested{})
- return m
- }(),
- }, {
- desc: "DiscardUnknown: Empty",
- umo: protojson.UnmarshalOptions{DiscardUnknown: true},
- inputMessage: &emptypb.Empty{},
- inputText: `{"unknown": "something"}`,
- wantMessage: &emptypb.Empty{},
- }, {
- desc: "DiscardUnknown: Any without type",
- umo: protojson.UnmarshalOptions{DiscardUnknown: true},
- inputMessage: &anypb.Any{},
- inputText: `{
- "value": {"foo": "bar"},
- "unknown": true
-}`,
- wantMessage: &anypb.Any{},
- }, {
- desc: "DiscardUnknown: Any",
- umo: protojson.UnmarshalOptions{
- DiscardUnknown: true,
- },
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "foo/pb2.Nested",
- "unknown": "none"
-}`,
- wantMessage: &anypb.Any{
- TypeUrl: "foo/pb2.Nested",
- },
- }, {
- desc: "DiscardUnknown: Any with Empty",
- umo: protojson.UnmarshalOptions{
- DiscardUnknown: true,
- },
- inputMessage: &anypb.Any{},
- inputText: `{
- "@type": "type.googleapis.com/google.protobuf.Empty",
- "value": {"unknown": 47}
-}`,
- wantMessage: &anypb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.Empty",
- },
- }, {
- desc: "weak fields",
- inputMessage: &testpb.TestWeak{},
- inputText: `{"weak_message1":{"a":1}}`,
- wantMessage: func() *testpb.TestWeak {
- m := new(testpb.TestWeak)
- m.SetWeakMessage1(&weakpb.WeakImportMessage1{A: proto.Int32(1)})
- return m
- }(),
- skip: !flags.ProtoLegacy,
- }, {
- desc: "weak fields; unknown field",
- inputMessage: &testpb.TestWeak{},
- inputText: `{"weak_message1":{"a":1}, "weak_message2":{"a":1}}`,
- wantErr: `unknown field "weak_message2"`, // weak_message2 is unknown since the package containing it is not imported
- skip: !flags.ProtoLegacy,
- }}
-
- for _, tt := range tests {
- tt := tt
- if tt.skip {
- continue
- }
- t.Run(tt.desc, func(t *testing.T) {
- err := tt.umo.Unmarshal([]byte(tt.inputText), tt.inputMessage)
- if err != nil {
- if tt.wantErr == "" {
- t.Errorf("Unmarshal() got unexpected error: %v", err)
- } else if !strings.Contains(err.Error(), tt.wantErr) {
- t.Errorf("Unmarshal() error got %q, want %q", err, tt.wantErr)
- }
- return
- }
- if tt.wantErr != "" {
- t.Errorf("Unmarshal() got nil error, want error %q", tt.wantErr)
- }
- if tt.wantMessage != nil && !proto.Equal(tt.inputMessage, tt.wantMessage) {
- t.Errorf("Unmarshal()\n<got>\n%v\n<want>\n%v\n", tt.inputMessage, tt.wantMessage)
- }
- })
- }
-}
diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/doc.go b/vendor/google.golang.org/protobuf/encoding/protojson/doc.go
index 21d5d2cb18..ae71007c18 100644
--- a/vendor/google.golang.org/protobuf/encoding/protojson/doc.go
+++ b/vendor/google.golang.org/protobuf/encoding/protojson/doc.go
@@ -6,6 +6,6 @@
// format. It follows the guide at
// https://protobuf.dev/programming-guides/proto3#json.
//
-// This package produces a different output than the standard "encoding/json"
+// This package produces a different output than the standard [encoding/json]
// package, which does not operate correctly on protocol buffer messages.
package protojson
diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/encode.go b/vendor/google.golang.org/protobuf/encoding/protojson/encode.go
index 66b95870e9..3f75098b6f 100644
--- a/vendor/google.golang.org/protobuf/encoding/protojson/encode.go
+++ b/vendor/google.golang.org/protobuf/encoding/protojson/encode.go
@@ -31,7 +31,7 @@ func Format(m proto.Message) string {
return MarshalOptions{Multiline: true}.Format(m)
}
-// Marshal writes the given proto.Message in JSON format using default options.
+// Marshal writes the given [proto.Message] in JSON format using default options.
// Do not depend on the output being stable. It may change over time across
// different versions of the program.
func Marshal(m proto.Message) ([]byte, error) {
@@ -81,6 +81,25 @@ type MarshalOptions struct {
// â•šâ•â•â•â•â•â•â•â•§â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
EmitUnpopulated bool
+ // EmitDefaultValues specifies whether to emit default-valued primitive fields,
+ // empty lists, and empty maps. The fields affected are as follows:
+ // â•”â•â•â•â•â•â•â•â•¤â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
+ // ║ JSON │ Protobuf field ║
+ // â• â•â•â•â•â•â•â•â•ªâ•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•£
+ // ║ false │ non-optional scalar boolean fields ║
+ // ║ 0 │ non-optional scalar numeric fields ║
+ // ║ "" │ non-optional scalar string/byte fields ║
+ // ║ [] │ empty repeated fields ║
+ // ║ {} │ empty map fields ║
+ // â•šâ•â•â•â•â•â•â•â•§â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
+ //
+ // Behaves similarly to EmitUnpopulated, but does not emit "null"-value fields,
+ // i.e. presence-sensing fields that are omitted will remain omitted to preserve
+ // presence-sensing.
+ // EmitUnpopulated takes precedence over EmitDefaultValues since the former generates
+ // a strict superset of the latter.
+ EmitDefaultValues bool
+
// Resolver is used for looking up types when expanding google.protobuf.Any
// messages. If nil, this defaults to using protoregistry.GlobalTypes.
Resolver interface {
@@ -102,7 +121,7 @@ func (o MarshalOptions) Format(m proto.Message) string {
return string(b)
}
-// Marshal marshals the given proto.Message in the JSON format using options in
+// Marshal marshals the given [proto.Message] in the JSON format using options in
// MarshalOptions. Do not depend on the output being stable. It may change over
// time across different versions of the program.
func (o MarshalOptions) Marshal(m proto.Message) ([]byte, error) {
@@ -178,7 +197,11 @@ func (m typeURLFieldRanger) Range(f func(protoreflect.FieldDescriptor, protorefl
// unpopulatedFieldRanger wraps a protoreflect.Message and modifies its Range
// method to additionally iterate over unpopulated fields.
-type unpopulatedFieldRanger struct{ protoreflect.Message }
+type unpopulatedFieldRanger struct {
+ protoreflect.Message
+
+ skipNull bool
+}
func (m unpopulatedFieldRanger) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
fds := m.Descriptor().Fields()
@@ -192,6 +215,9 @@ func (m unpopulatedFieldRanger) Range(f func(protoreflect.FieldDescriptor, proto
isProto2Scalar := fd.Syntax() == protoreflect.Proto2 && fd.Default().IsValid()
isSingularMessage := fd.Cardinality() != protoreflect.Repeated && fd.Message() != nil
if isProto2Scalar || isSingularMessage {
+ if m.skipNull {
+ continue
+ }
v = protoreflect.Value{} // use invalid value to emit null
}
if !f(fd, v) {
@@ -217,8 +243,11 @@ func (e encoder) marshalMessage(m protoreflect.Message, typeURL string) error {
defer e.EndObject()
var fields order.FieldRanger = m
- if e.opts.EmitUnpopulated {
- fields = unpopulatedFieldRanger{m}
+ switch {
+ case e.opts.EmitUnpopulated:
+ fields = unpopulatedFieldRanger{Message: m, skipNull: false}
+ case e.opts.EmitDefaultValues:
+ fields = unpopulatedFieldRanger{Message: m, skipNull: true}
}
if typeURL != "" {
fields = typeURLFieldRanger{fields, typeURL}
diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/encode_test.go b/vendor/google.golang.org/protobuf/encoding/protojson/encode_test.go
deleted file mode 100644
index adda0762c1..0000000000
--- a/vendor/google.golang.org/protobuf/encoding/protojson/encode_test.go
+++ /dev/null
@@ -1,2353 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package protojson_test
-
-import (
- "bytes"
- "math"
- "testing"
-
- "github.com/google/go-cmp/cmp"
-
- "google.golang.org/protobuf/encoding/protojson"
- "google.golang.org/protobuf/internal/detrand"
- "google.golang.org/protobuf/internal/flags"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoregistry"
- "google.golang.org/protobuf/testing/protopack"
-
- pb2 "google.golang.org/protobuf/internal/testprotos/textpb2"
- pb3 "google.golang.org/protobuf/internal/testprotos/textpb3"
- "google.golang.org/protobuf/types/known/anypb"
- "google.golang.org/protobuf/types/known/durationpb"
- "google.golang.org/protobuf/types/known/emptypb"
- "google.golang.org/protobuf/types/known/fieldmaskpb"
- "google.golang.org/protobuf/types/known/structpb"
- "google.golang.org/protobuf/types/known/timestamppb"
- "google.golang.org/protobuf/types/known/wrapperspb"
-)
-
-// Disable detrand to enable direct comparisons on outputs.
-func init() { detrand.Disable() }
-
-func TestMarshal(t *testing.T) {
- tests := []struct {
- desc string
- mo protojson.MarshalOptions
- input proto.Message
- want string
- wantErr bool // TODO: Verify error message substring.
- skip bool
- }{{
- desc: "proto2 optional scalars not set",
- input: &pb2.Scalars{},
- want: "{}",
- }, {
- desc: "proto3 scalars not set",
- input: &pb3.Scalars{},
- want: "{}",
- }, {
- desc: "proto3 optional not set",
- input: &pb3.Proto3Optional{},
- want: "{}",
- }, {
- desc: "proto2 optional scalars set to zero values",
- input: &pb2.Scalars{
- OptBool: proto.Bool(false),
- OptInt32: proto.Int32(0),
- OptInt64: proto.Int64(0),
- OptUint32: proto.Uint32(0),
- OptUint64: proto.Uint64(0),
- OptSint32: proto.Int32(0),
- OptSint64: proto.Int64(0),
- OptFixed32: proto.Uint32(0),
- OptFixed64: proto.Uint64(0),
- OptSfixed32: proto.Int32(0),
- OptSfixed64: proto.Int64(0),
- OptFloat: proto.Float32(0),
- OptDouble: proto.Float64(0),
- OptBytes: []byte{},
- OptString: proto.String(""),
- },
- want: `{
- "optBool": false,
- "optInt32": 0,
- "optInt64": "0",
- "optUint32": 0,
- "optUint64": "0",
- "optSint32": 0,
- "optSint64": "0",
- "optFixed32": 0,
- "optFixed64": "0",
- "optSfixed32": 0,
- "optSfixed64": "0",
- "optFloat": 0,
- "optDouble": 0,
- "optBytes": "",
- "optString": ""
-}`,
- }, {
- desc: "proto3 optional set to zero values",
- input: &pb3.Proto3Optional{
- OptBool: proto.Bool(false),
- OptInt32: proto.Int32(0),
- OptInt64: proto.Int64(0),
- OptUint32: proto.Uint32(0),
- OptUint64: proto.Uint64(0),
- OptFloat: proto.Float32(0),
- OptDouble: proto.Float64(0),
- OptString: proto.String(""),
- OptBytes: []byte{},
- OptEnum: pb3.Enum_ZERO.Enum(),
- OptMessage: &pb3.Nested{},
- },
- want: `{
- "optBool": false,
- "optInt32": 0,
- "optInt64": "0",
- "optUint32": 0,
- "optUint64": "0",
- "optFloat": 0,
- "optDouble": 0,
- "optString": "",
- "optBytes": "",
- "optEnum": "ZERO",
- "optMessage": {}
-}`,
- }, {
- desc: "proto2 optional scalars set to some values",
- input: &pb2.Scalars{
- OptBool: proto.Bool(true),
- OptInt32: proto.Int32(0xff),
- OptInt64: proto.Int64(0xdeadbeef),
- OptUint32: proto.Uint32(47),
- OptUint64: proto.Uint64(0xdeadbeef),
- OptSint32: proto.Int32(-1001),
- OptSint64: proto.Int64(-0xffff),
- OptFixed64: proto.Uint64(64),
- OptSfixed32: proto.Int32(-32),
- OptFloat: proto.Float32(1.02),
- OptDouble: proto.Float64(1.234),
- OptBytes: []byte("谷歌"),
- OptString: proto.String("谷歌"),
- },
- want: `{
- "optBool": true,
- "optInt32": 255,
- "optInt64": "3735928559",
- "optUint32": 47,
- "optUint64": "3735928559",
- "optSint32": -1001,
- "optSint64": "-65535",
- "optFixed64": "64",
- "optSfixed32": -32,
- "optFloat": 1.02,
- "optDouble": 1.234,
- "optBytes": "6LC35q2M",
- "optString": "谷歌"
-}`,
- }, {
- desc: "string",
- input: &pb3.Scalars{
- SString: "谷歌",
- },
- want: `{
- "sString": "谷歌"
-}`,
- }, {
- desc: "string with invalid UTF8",
- input: &pb3.Scalars{
- SString: "abc\xff",
- },
- wantErr: true,
- }, {
- desc: "float nan",
- input: &pb3.Scalars{
- SFloat: float32(math.NaN()),
- },
- want: `{
- "sFloat": "NaN"
-}`,
- }, {
- desc: "float positive infinity",
- input: &pb3.Scalars{
- SFloat: float32(math.Inf(1)),
- },
- want: `{
- "sFloat": "Infinity"
-}`,
- }, {
- desc: "float negative infinity",
- input: &pb3.Scalars{
- SFloat: float32(math.Inf(-1)),
- },
- want: `{
- "sFloat": "-Infinity"
-}`,
- }, {
- desc: "double nan",
- input: &pb3.Scalars{
- SDouble: math.NaN(),
- },
- want: `{
- "sDouble": "NaN"
-}`,
- }, {
- desc: "double positive infinity",
- input: &pb3.Scalars{
- SDouble: math.Inf(1),
- },
- want: `{
- "sDouble": "Infinity"
-}`,
- }, {
- desc: "double negative infinity",
- input: &pb3.Scalars{
- SDouble: math.Inf(-1),
- },
- want: `{
- "sDouble": "-Infinity"
-}`,
- }, {
- desc: "proto2 enum not set",
- input: &pb2.Enums{},
- want: "{}",
- }, {
- desc: "proto2 enum set to zero value",
- input: &pb2.Enums{
- OptEnum: pb2.Enum(0).Enum(),
- OptNestedEnum: pb2.Enums_NestedEnum(0).Enum(),
- },
- want: `{
- "optEnum": 0,
- "optNestedEnum": 0
-}`,
- }, {
- desc: "proto2 enum",
- input: &pb2.Enums{
- OptEnum: pb2.Enum_ONE.Enum(),
- OptNestedEnum: pb2.Enums_UNO.Enum(),
- },
- want: `{
- "optEnum": "ONE",
- "optNestedEnum": "UNO"
-}`,
- }, {
- desc: "proto2 enum set to numeric values",
- input: &pb2.Enums{
- OptEnum: pb2.Enum(2).Enum(),
- OptNestedEnum: pb2.Enums_NestedEnum(2).Enum(),
- },
- want: `{
- "optEnum": "TWO",
- "optNestedEnum": "DOS"
-}`,
- }, {
- desc: "proto2 enum set to unnamed numeric values",
- input: &pb2.Enums{
- OptEnum: pb2.Enum(101).Enum(),
- OptNestedEnum: pb2.Enums_NestedEnum(-101).Enum(),
- },
- want: `{
- "optEnum": 101,
- "optNestedEnum": -101
-}`,
- }, {
- desc: "proto3 enum not set",
- input: &pb3.Enums{},
- want: "{}",
- }, {
- desc: "proto3 enum set to zero value",
- input: &pb3.Enums{
- SEnum: pb3.Enum_ZERO,
- SNestedEnum: pb3.Enums_CERO,
- },
- want: "{}",
- }, {
- desc: "proto3 enum",
- input: &pb3.Enums{
- SEnum: pb3.Enum_ONE,
- SNestedEnum: pb3.Enums_UNO,
- },
- want: `{
- "sEnum": "ONE",
- "sNestedEnum": "UNO"
-}`,
- }, {
- desc: "proto3 enum set to numeric values",
- input: &pb3.Enums{
- SEnum: 2,
- SNestedEnum: 2,
- },
- want: `{
- "sEnum": "TWO",
- "sNestedEnum": "DOS"
-}`,
- }, {
- desc: "proto3 enum set to unnamed numeric values",
- input: &pb3.Enums{
- SEnum: -47,
- SNestedEnum: 47,
- },
- want: `{
- "sEnum": -47,
- "sNestedEnum": 47
-}`,
- }, {
- desc: "proto2 nested message not set",
- input: &pb2.Nests{},
- want: "{}",
- }, {
- desc: "proto2 nested message set to empty",
- input: &pb2.Nests{
- OptNested: &pb2.Nested{},
- Optgroup: &pb2.Nests_OptGroup{},
- },
- want: `{
- "optNested": {},
- "optgroup": {}
-}`,
- }, {
- desc: "proto2 nested messages",
- input: &pb2.Nests{
- OptNested: &pb2.Nested{
- OptString: proto.String("nested message"),
- OptNested: &pb2.Nested{
- OptString: proto.String("another nested message"),
- },
- },
- },
- want: `{
- "optNested": {
- "optString": "nested message",
- "optNested": {
- "optString": "another nested message"
- }
- }
-}`,
- }, {
- desc: "proto2 groups",
- input: &pb2.Nests{
- Optgroup: &pb2.Nests_OptGroup{
- OptString: proto.String("inside a group"),
- OptNested: &pb2.Nested{
- OptString: proto.String("nested message inside a group"),
- },
- Optnestedgroup: &pb2.Nests_OptGroup_OptNestedGroup{
- OptFixed32: proto.Uint32(47),
- },
- },
- },
- want: `{
- "optgroup": {
- "optString": "inside a group",
- "optNested": {
- "optString": "nested message inside a group"
- },
- "optnestedgroup": {
- "optFixed32": 47
- }
- }
-}`,
- }, {
- desc: "proto3 nested message not set",
- input: &pb3.Nests{},
- want: "{}",
- }, {
- desc: "proto3 nested message set to empty",
- input: &pb3.Nests{
- SNested: &pb3.Nested{},
- },
- want: `{
- "sNested": {}
-}`,
- }, {
- desc: "proto3 nested message",
- input: &pb3.Nests{
- SNested: &pb3.Nested{
- SString: "nested message",
- SNested: &pb3.Nested{
- SString: "another nested message",
- },
- },
- },
- want: `{
- "sNested": {
- "sString": "nested message",
- "sNested": {
- "sString": "another nested message"
- }
- }
-}`,
- }, {
- desc: "oneof not set",
- input: &pb3.Oneofs{},
- want: "{}",
- }, {
- desc: "oneof set to empty string",
- input: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofString{},
- },
- want: `{
- "oneofString": ""
-}`,
- }, {
- desc: "oneof set to string",
- input: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofString{
- OneofString: "hello",
- },
- },
- want: `{
- "oneofString": "hello"
-}`,
- }, {
- desc: "oneof set to enum",
- input: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofEnum{
- OneofEnum: pb3.Enum_ZERO,
- },
- },
- want: `{
- "oneofEnum": "ZERO"
-}`,
- }, {
- desc: "oneof set to empty message",
- input: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofNested{
- OneofNested: &pb3.Nested{},
- },
- },
- want: `{
- "oneofNested": {}
-}`,
- }, {
- desc: "oneof set to message",
- input: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofNested{
- OneofNested: &pb3.Nested{
- SString: "nested message",
- },
- },
- },
- want: `{
- "oneofNested": {
- "sString": "nested message"
- }
-}`,
- }, {
- desc: "repeated fields not set",
- input: &pb2.Repeats{},
- want: "{}",
- }, {
- desc: "repeated fields set to empty slices",
- input: &pb2.Repeats{
- RptBool: []bool{},
- RptInt32: []int32{},
- RptInt64: []int64{},
- RptUint32: []uint32{},
- RptUint64: []uint64{},
- RptFloat: []float32{},
- RptDouble: []float64{},
- RptBytes: [][]byte{},
- },
- want: "{}",
- }, {
- desc: "repeated fields set to some values",
- input: &pb2.Repeats{
- RptBool: []bool{true, false, true, true},
- RptInt32: []int32{1, 6, 0, 0},
- RptInt64: []int64{-64, 47},
- RptUint32: []uint32{0xff, 0xffff},
- RptUint64: []uint64{0xdeadbeef},
- RptFloat: []float32{float32(math.NaN()), float32(math.Inf(1)), float32(math.Inf(-1)), 1.034},
- RptDouble: []float64{math.NaN(), math.Inf(1), math.Inf(-1), 1.23e-308},
- RptString: []string{"hello", "世界"},
- RptBytes: [][]byte{
- []byte("hello"),
- []byte("\xe4\xb8\x96\xe7\x95\x8c"),
- },
- },
- want: `{
- "rptBool": [
- true,
- false,
- true,
- true
- ],
- "rptInt32": [
- 1,
- 6,
- 0,
- 0
- ],
- "rptInt64": [
- "-64",
- "47"
- ],
- "rptUint32": [
- 255,
- 65535
- ],
- "rptUint64": [
- "3735928559"
- ],
- "rptFloat": [
- "NaN",
- "Infinity",
- "-Infinity",
- 1.034
- ],
- "rptDouble": [
- "NaN",
- "Infinity",
- "-Infinity",
- 1.23e-308
- ],
- "rptString": [
- "hello",
- "世界"
- ],
- "rptBytes": [
- "aGVsbG8=",
- "5LiW55WM"
- ]
-}`,
- }, {
- desc: "repeated enums",
- input: &pb2.Enums{
- RptEnum: []pb2.Enum{pb2.Enum_ONE, 2, pb2.Enum_TEN, 42},
- RptNestedEnum: []pb2.Enums_NestedEnum{2, 47, 10},
- },
- want: `{
- "rptEnum": [
- "ONE",
- "TWO",
- "TEN",
- 42
- ],
- "rptNestedEnum": [
- "DOS",
- 47,
- "DIEZ"
- ]
-}`,
- }, {
- desc: "repeated messages set to empty",
- input: &pb2.Nests{
- RptNested: []*pb2.Nested{},
- Rptgroup: []*pb2.Nests_RptGroup{},
- },
- want: "{}",
- }, {
- desc: "repeated messages",
- input: &pb2.Nests{
- RptNested: []*pb2.Nested{
- {
- OptString: proto.String("repeat nested one"),
- },
- {
- OptString: proto.String("repeat nested two"),
- OptNested: &pb2.Nested{
- OptString: proto.String("inside repeat nested two"),
- },
- },
- {},
- },
- },
- want: `{
- "rptNested": [
- {
- "optString": "repeat nested one"
- },
- {
- "optString": "repeat nested two",
- "optNested": {
- "optString": "inside repeat nested two"
- }
- },
- {}
- ]
-}`,
- }, {
- desc: "repeated messages contains nil value",
- input: &pb2.Nests{
- RptNested: []*pb2.Nested{nil, {}},
- },
- want: `{
- "rptNested": [
- {},
- {}
- ]
-}`,
- }, {
- desc: "repeated groups",
- input: &pb2.Nests{
- Rptgroup: []*pb2.Nests_RptGroup{
- {
- RptString: []string{"hello", "world"},
- },
- {},
- nil,
- },
- },
- want: `{
- "rptgroup": [
- {
- "rptString": [
- "hello",
- "world"
- ]
- },
- {},
- {}
- ]
-}`,
- }, {
- desc: "map fields not set",
- input: &pb3.Maps{},
- want: "{}",
- }, {
- desc: "map fields set to empty",
- input: &pb3.Maps{
- Int32ToStr: map[int32]string{},
- BoolToUint32: map[bool]uint32{},
- Uint64ToEnum: map[uint64]pb3.Enum{},
- StrToNested: map[string]*pb3.Nested{},
- StrToOneofs: map[string]*pb3.Oneofs{},
- },
- want: "{}",
- }, {
- desc: "map fields 1",
- input: &pb3.Maps{
- BoolToUint32: map[bool]uint32{
- true: 42,
- false: 101,
- },
- },
- want: `{
- "boolToUint32": {
- "false": 101,
- "true": 42
- }
-}`,
- }, {
- desc: "map fields 2",
- input: &pb3.Maps{
- Int32ToStr: map[int32]string{
- -101: "-101",
- 0xff: "0xff",
- 0: "zero",
- },
- },
- want: `{
- "int32ToStr": {
- "-101": "-101",
- "0": "zero",
- "255": "0xff"
- }
-}`,
- }, {
- desc: "map fields 3",
- input: &pb3.Maps{
- Uint64ToEnum: map[uint64]pb3.Enum{
- 1: pb3.Enum_ONE,
- 2: pb3.Enum_TWO,
- 10: pb3.Enum_TEN,
- 47: 47,
- },
- },
- want: `{
- "uint64ToEnum": {
- "1": "ONE",
- "2": "TWO",
- "10": "TEN",
- "47": 47
- }
-}`,
- }, {
- desc: "map fields 4",
- input: &pb3.Maps{
- StrToNested: map[string]*pb3.Nested{
- "nested": &pb3.Nested{
- SString: "nested in a map",
- },
- },
- },
- want: `{
- "strToNested": {
- "nested": {
- "sString": "nested in a map"
- }
- }
-}`,
- }, {
- desc: "map fields 5",
- input: &pb3.Maps{
- StrToOneofs: map[string]*pb3.Oneofs{
- "string": &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofString{
- OneofString: "hello",
- },
- },
- "nested": &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofNested{
- OneofNested: &pb3.Nested{
- SString: "nested oneof in map field value",
- },
- },
- },
- },
- },
- want: `{
- "strToOneofs": {
- "nested": {
- "oneofNested": {
- "sString": "nested oneof in map field value"
- }
- },
- "string": {
- "oneofString": "hello"
- }
- }
-}`,
- }, {
- desc: "map field contains nil value",
- input: &pb3.Maps{
- StrToNested: map[string]*pb3.Nested{
- "nil": nil,
- },
- },
- want: `{
- "strToNested": {
- "nil": {}
- }
-}`,
- }, {
- desc: "required fields not set",
- input: &pb2.Requireds{},
- want: `{}`,
- wantErr: true,
- }, {
- desc: "required fields partially set",
- input: &pb2.Requireds{
- ReqBool: proto.Bool(false),
- ReqSfixed64: proto.Int64(0),
- ReqDouble: proto.Float64(1.23),
- ReqString: proto.String("hello"),
- ReqEnum: pb2.Enum_ONE.Enum(),
- },
- want: `{
- "reqBool": false,
- "reqSfixed64": "0",
- "reqDouble": 1.23,
- "reqString": "hello",
- "reqEnum": "ONE"
-}`,
- wantErr: true,
- }, {
- desc: "required fields not set with AllowPartial",
- mo: protojson.MarshalOptions{AllowPartial: true},
- input: &pb2.Requireds{
- ReqBool: proto.Bool(false),
- ReqSfixed64: proto.Int64(0),
- ReqDouble: proto.Float64(1.23),
- ReqString: proto.String("hello"),
- ReqEnum: pb2.Enum_ONE.Enum(),
- },
- want: `{
- "reqBool": false,
- "reqSfixed64": "0",
- "reqDouble": 1.23,
- "reqString": "hello",
- "reqEnum": "ONE"
-}`,
- }, {
- desc: "required fields all set",
- input: &pb2.Requireds{
- ReqBool: proto.Bool(false),
- ReqSfixed64: proto.Int64(0),
- ReqDouble: proto.Float64(1.23),
- ReqString: proto.String("hello"),
- ReqEnum: pb2.Enum_ONE.Enum(),
- ReqNested: &pb2.Nested{},
- },
- want: `{
- "reqBool": false,
- "reqSfixed64": "0",
- "reqDouble": 1.23,
- "reqString": "hello",
- "reqEnum": "ONE",
- "reqNested": {}
-}`,
- }, {
- desc: "indirect required field",
- input: &pb2.IndirectRequired{
- OptNested: &pb2.NestedWithRequired{},
- },
- want: `{
- "optNested": {}
-}`,
- wantErr: true,
- }, {
- desc: "indirect required field with AllowPartial",
- mo: protojson.MarshalOptions{AllowPartial: true},
- input: &pb2.IndirectRequired{
- OptNested: &pb2.NestedWithRequired{},
- },
- want: `{
- "optNested": {}
-}`,
- }, {
- desc: "indirect required field in empty repeated",
- input: &pb2.IndirectRequired{
- RptNested: []*pb2.NestedWithRequired{},
- },
- want: `{}`,
- }, {
- desc: "indirect required field in repeated",
- input: &pb2.IndirectRequired{
- RptNested: []*pb2.NestedWithRequired{
- &pb2.NestedWithRequired{},
- },
- },
- want: `{
- "rptNested": [
- {}
- ]
-}`,
- wantErr: true,
- }, {
- desc: "indirect required field in repeated with AllowPartial",
- mo: protojson.MarshalOptions{AllowPartial: true},
- input: &pb2.IndirectRequired{
- RptNested: []*pb2.NestedWithRequired{
- &pb2.NestedWithRequired{},
- },
- },
- want: `{
- "rptNested": [
- {}
- ]
-}`,
- }, {
- desc: "indirect required field in empty map",
- input: &pb2.IndirectRequired{
- StrToNested: map[string]*pb2.NestedWithRequired{},
- },
- want: "{}",
- }, {
- desc: "indirect required field in map",
- input: &pb2.IndirectRequired{
- StrToNested: map[string]*pb2.NestedWithRequired{
- "fail": &pb2.NestedWithRequired{},
- },
- },
- want: `{
- "strToNested": {
- "fail": {}
- }
-}`,
- wantErr: true,
- }, {
- desc: "indirect required field in map with AllowPartial",
- mo: protojson.MarshalOptions{AllowPartial: true},
- input: &pb2.IndirectRequired{
- StrToNested: map[string]*pb2.NestedWithRequired{
- "fail": &pb2.NestedWithRequired{},
- },
- },
- want: `{
- "strToNested": {
- "fail": {}
- }
-}`,
- }, {
- desc: "indirect required field in oneof",
- input: &pb2.IndirectRequired{
- Union: &pb2.IndirectRequired_OneofNested{
- OneofNested: &pb2.NestedWithRequired{},
- },
- },
- want: `{
- "oneofNested": {}
-}`,
- wantErr: true,
- }, {
- desc: "indirect required field in oneof with AllowPartial",
- mo: protojson.MarshalOptions{AllowPartial: true},
- input: &pb2.IndirectRequired{
- Union: &pb2.IndirectRequired_OneofNested{
- OneofNested: &pb2.NestedWithRequired{},
- },
- },
- want: `{
- "oneofNested": {}
-}`,
- }, {
- desc: "unknown fields are ignored",
- input: func() proto.Message {
- m := &pb2.Scalars{
- OptString: proto.String("no unknowns"),
- }
- m.ProtoReflect().SetUnknown(protopack.Message{
- protopack.Tag{101, protopack.BytesType}, protopack.String("hello world"),
- }.Marshal())
- return m
- }(),
- want: `{
- "optString": "no unknowns"
-}`,
- }, {
- desc: "json_name",
- input: &pb3.JSONNames{
- SString: "json_name",
- },
- want: `{
- "foo_bar": "json_name"
-}`,
- }, {
- desc: "extensions of non-repeated fields",
- input: func() proto.Message {
- m := &pb2.Extensions{
- OptString: proto.String("non-extension field"),
- OptBool: proto.Bool(true),
- OptInt32: proto.Int32(42),
- }
- proto.SetExtension(m, pb2.E_OptExtBool, true)
- proto.SetExtension(m, pb2.E_OptExtString, "extension field")
- proto.SetExtension(m, pb2.E_OptExtEnum, pb2.Enum_TEN)
- proto.SetExtension(m, pb2.E_OptExtNested, &pb2.Nested{
- OptString: proto.String("nested in an extension"),
- OptNested: &pb2.Nested{
- OptString: proto.String("another nested in an extension"),
- },
- })
- return m
- }(),
- want: `{
- "optString": "non-extension field",
- "optBool": true,
- "optInt32": 42,
- "[pb2.opt_ext_bool]": true,
- "[pb2.opt_ext_enum]": "TEN",
- "[pb2.opt_ext_nested]": {
- "optString": "nested in an extension",
- "optNested": {
- "optString": "another nested in an extension"
- }
- },
- "[pb2.opt_ext_string]": "extension field"
-}`,
- }, {
- desc: "extensions of repeated fields",
- input: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_RptExtEnum, []pb2.Enum{pb2.Enum_TEN, 101, pb2.Enum_ONE})
- proto.SetExtension(m, pb2.E_RptExtFixed32, []uint32{42, 47})
- proto.SetExtension(m, pb2.E_RptExtNested, []*pb2.Nested{
- &pb2.Nested{OptString: proto.String("one")},
- &pb2.Nested{OptString: proto.String("two")},
- &pb2.Nested{OptString: proto.String("three")},
- })
- return m
- }(),
- want: `{
- "[pb2.rpt_ext_enum]": [
- "TEN",
- 101,
- "ONE"
- ],
- "[pb2.rpt_ext_fixed32]": [
- 42,
- 47
- ],
- "[pb2.rpt_ext_nested]": [
- {
- "optString": "one"
- },
- {
- "optString": "two"
- },
- {
- "optString": "three"
- }
- ]
-}`,
- }, {
- desc: "extensions of non-repeated fields in another message",
- input: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtBool, true)
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtString, "extension field")
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtEnum, pb2.Enum_TEN)
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtNested, &pb2.Nested{
- OptString: proto.String("nested in an extension"),
- OptNested: &pb2.Nested{
- OptString: proto.String("another nested in an extension"),
- },
- })
- return m
- }(),
- want: `{
- "[pb2.ExtensionsContainer.opt_ext_bool]": true,
- "[pb2.ExtensionsContainer.opt_ext_enum]": "TEN",
- "[pb2.ExtensionsContainer.opt_ext_nested]": {
- "optString": "nested in an extension",
- "optNested": {
- "optString": "another nested in an extension"
- }
- },
- "[pb2.ExtensionsContainer.opt_ext_string]": "extension field"
-}`,
- }, {
- desc: "extensions of repeated fields in another message",
- input: func() proto.Message {
- m := &pb2.Extensions{
- OptString: proto.String("non-extension field"),
- OptBool: proto.Bool(true),
- OptInt32: proto.Int32(42),
- }
- proto.SetExtension(m, pb2.E_ExtensionsContainer_RptExtEnum, []pb2.Enum{pb2.Enum_TEN, 101, pb2.Enum_ONE})
- proto.SetExtension(m, pb2.E_ExtensionsContainer_RptExtString, []string{"hello", "world"})
- proto.SetExtension(m, pb2.E_ExtensionsContainer_RptExtNested, []*pb2.Nested{
- &pb2.Nested{OptString: proto.String("one")},
- &pb2.Nested{OptString: proto.String("two")},
- &pb2.Nested{OptString: proto.String("three")},
- })
- return m
- }(),
- want: `{
- "optString": "non-extension field",
- "optBool": true,
- "optInt32": 42,
- "[pb2.ExtensionsContainer.rpt_ext_enum]": [
- "TEN",
- 101,
- "ONE"
- ],
- "[pb2.ExtensionsContainer.rpt_ext_nested]": [
- {
- "optString": "one"
- },
- {
- "optString": "two"
- },
- {
- "optString": "three"
- }
- ],
- "[pb2.ExtensionsContainer.rpt_ext_string]": [
- "hello",
- "world"
- ]
-}`,
- }, {
- desc: "MessageSet",
- input: func() proto.Message {
- m := &pb2.MessageSet{}
- proto.SetExtension(m, pb2.E_MessageSetExtension_MessageSetExtension, &pb2.MessageSetExtension{
- OptString: proto.String("a messageset extension"),
- })
- proto.SetExtension(m, pb2.E_MessageSetExtension_NotMessageSetExtension, &pb2.MessageSetExtension{
- OptString: proto.String("not a messageset extension"),
- })
- proto.SetExtension(m, pb2.E_MessageSetExtension_ExtNested, &pb2.Nested{
- OptString: proto.String("just a regular extension"),
- })
- return m
- }(),
- want: `{
- "[pb2.MessageSetExtension.ext_nested]": {
- "optString": "just a regular extension"
- },
- "[pb2.MessageSetExtension]": {
- "optString": "a messageset extension"
- },
- "[pb2.MessageSetExtension.not_message_set_extension]": {
- "optString": "not a messageset extension"
- }
-}`,
- skip: !flags.ProtoLegacy,
- }, {
- desc: "not real MessageSet 1",
- input: func() proto.Message {
- m := &pb2.FakeMessageSet{}
- proto.SetExtension(m, pb2.E_FakeMessageSetExtension_MessageSetExtension, &pb2.FakeMessageSetExtension{
- OptString: proto.String("not a messageset extension"),
- })
- return m
- }(),
- want: `{
- "[pb2.FakeMessageSetExtension.message_set_extension]": {
- "optString": "not a messageset extension"
- }
-}`,
- skip: !flags.ProtoLegacy,
- }, {
- desc: "not real MessageSet 2",
- input: func() proto.Message {
- m := &pb2.MessageSet{}
- proto.SetExtension(m, pb2.E_MessageSetExtension, &pb2.FakeMessageSetExtension{
- OptString: proto.String("another not a messageset extension"),
- })
- return m
- }(),
- want: `{
- "[pb2.message_set_extension]": {
- "optString": "another not a messageset extension"
- }
-}`,
- skip: !flags.ProtoLegacy,
- }, {
- desc: "BoolValue empty",
- input: &wrapperspb.BoolValue{},
- want: `false`,
- }, {
- desc: "BoolValue",
- input: &wrapperspb.BoolValue{Value: true},
- want: `true`,
- }, {
- desc: "Int32Value empty",
- input: &wrapperspb.Int32Value{},
- want: `0`,
- }, {
- desc: "Int32Value",
- input: &wrapperspb.Int32Value{Value: 42},
- want: `42`,
- }, {
- desc: "Int64Value",
- input: &wrapperspb.Int64Value{Value: 42},
- want: `"42"`,
- }, {
- desc: "UInt32Value",
- input: &wrapperspb.UInt32Value{Value: 42},
- want: `42`,
- }, {
- desc: "UInt64Value",
- input: &wrapperspb.UInt64Value{Value: 42},
- want: `"42"`,
- }, {
- desc: "FloatValue",
- input: &wrapperspb.FloatValue{Value: 1.02},
- want: `1.02`,
- }, {
- desc: "FloatValue Infinity",
- input: &wrapperspb.FloatValue{Value: float32(math.Inf(-1))},
- want: `"-Infinity"`,
- }, {
- desc: "DoubleValue",
- input: &wrapperspb.DoubleValue{Value: 1.02},
- want: `1.02`,
- }, {
- desc: "DoubleValue NaN",
- input: &wrapperspb.DoubleValue{Value: math.NaN()},
- want: `"NaN"`,
- }, {
- desc: "StringValue empty",
- input: &wrapperspb.StringValue{},
- want: `""`,
- }, {
- desc: "StringValue",
- input: &wrapperspb.StringValue{Value: "谷歌"},
- want: `"谷歌"`,
- }, {
- desc: "StringValue with invalid UTF8 error",
- input: &wrapperspb.StringValue{Value: "abc\xff"},
- wantErr: true,
- }, {
- desc: "StringValue field with invalid UTF8 error",
- input: &pb2.KnownTypes{
- OptString: &wrapperspb.StringValue{Value: "abc\xff"},
- },
- wantErr: true,
- }, {
- desc: "BytesValue",
- input: &wrapperspb.BytesValue{Value: []byte("hello")},
- want: `"aGVsbG8="`,
- }, {
- desc: "Empty",
- input: &emptypb.Empty{},
- want: `{}`,
- }, {
- desc: "NullValue field",
- input: &pb2.KnownTypes{OptNull: new(structpb.NullValue)},
- want: `{
- "optNull": null
-}`,
- }, {
- desc: "Value empty",
- input: &structpb.Value{},
- wantErr: true,
- }, {
- desc: "Value empty field",
- input: &pb2.KnownTypes{
- OptValue: &structpb.Value{},
- },
- wantErr: true,
- }, {
- desc: "Value contains NullValue",
- input: &structpb.Value{Kind: &structpb.Value_NullValue{}},
- want: `null`,
- }, {
- desc: "Value contains BoolValue",
- input: &structpb.Value{Kind: &structpb.Value_BoolValue{}},
- want: `false`,
- }, {
- desc: "Value contains NumberValue",
- input: &structpb.Value{Kind: &structpb.Value_NumberValue{1.02}},
- want: `1.02`,
- }, {
- desc: "Value contains StringValue",
- input: &structpb.Value{Kind: &structpb.Value_StringValue{"hello"}},
- want: `"hello"`,
- }, {
- desc: "Value contains StringValue with invalid UTF8",
- input: &structpb.Value{Kind: &structpb.Value_StringValue{"\xff"}},
- wantErr: true,
- }, {
- desc: "Value contains Struct",
- input: &structpb.Value{
- Kind: &structpb.Value_StructValue{
- &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "null": {Kind: &structpb.Value_NullValue{}},
- "number": {Kind: &structpb.Value_NumberValue{}},
- "string": {Kind: &structpb.Value_StringValue{}},
- "struct": {Kind: &structpb.Value_StructValue{}},
- "list": {Kind: &structpb.Value_ListValue{}},
- "bool": {Kind: &structpb.Value_BoolValue{}},
- },
- },
- },
- },
- want: `{
- "bool": false,
- "list": [],
- "null": null,
- "number": 0,
- "string": "",
- "struct": {}
-}`,
- }, {
- desc: "Value contains ListValue",
- input: &structpb.Value{
- Kind: &structpb.Value_ListValue{
- &structpb.ListValue{
- Values: []*structpb.Value{
- {Kind: &structpb.Value_BoolValue{}},
- {Kind: &structpb.Value_NullValue{}},
- {Kind: &structpb.Value_NumberValue{}},
- {Kind: &structpb.Value_StringValue{}},
- {Kind: &structpb.Value_StructValue{}},
- {Kind: &structpb.Value_ListValue{}},
- },
- },
- },
- },
- want: `[
- false,
- null,
- 0,
- "",
- {},
- []
-]`,
- }, {
- desc: "Value with NaN",
- input: structpb.NewNumberValue(math.NaN()),
- wantErr: true,
- }, {
- desc: "Value with -Inf",
- input: structpb.NewNumberValue(math.Inf(-1)),
- wantErr: true,
- }, {
- desc: "Value with +Inf",
- input: structpb.NewNumberValue(math.Inf(+1)),
- wantErr: true,
- }, {
- desc: "Struct with nil map",
- input: &structpb.Struct{},
- want: `{}`,
- }, {
- desc: "Struct with empty map",
- input: &structpb.Struct{
- Fields: map[string]*structpb.Value{},
- },
- want: `{}`,
- }, {
- desc: "Struct",
- input: &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "bool": {Kind: &structpb.Value_BoolValue{true}},
- "null": {Kind: &structpb.Value_NullValue{}},
- "number": {Kind: &structpb.Value_NumberValue{3.1415}},
- "string": {Kind: &structpb.Value_StringValue{"hello"}},
- "struct": {
- Kind: &structpb.Value_StructValue{
- &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "string": {Kind: &structpb.Value_StringValue{"world"}},
- },
- },
- },
- },
- "list": {
- Kind: &structpb.Value_ListValue{
- &structpb.ListValue{
- Values: []*structpb.Value{
- {Kind: &structpb.Value_BoolValue{}},
- {Kind: &structpb.Value_NullValue{}},
- {Kind: &structpb.Value_NumberValue{}},
- },
- },
- },
- },
- },
- },
- want: `{
- "bool": true,
- "list": [
- false,
- null,
- 0
- ],
- "null": null,
- "number": 3.1415,
- "string": "hello",
- "struct": {
- "string": "world"
- }
-}`,
- }, {
- desc: "Struct message with invalid UTF8 string",
- input: &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "string": {Kind: &structpb.Value_StringValue{"\xff"}},
- },
- },
- wantErr: true,
- }, {
- desc: "ListValue with nil values",
- input: &structpb.ListValue{},
- want: `[]`,
- }, {
- desc: "ListValue with empty values",
- input: &structpb.ListValue{
- Values: []*structpb.Value{},
- },
- want: `[]`,
- }, {
- desc: "ListValue",
- input: &structpb.ListValue{
- Values: []*structpb.Value{
- {Kind: &structpb.Value_BoolValue{true}},
- {Kind: &structpb.Value_NullValue{}},
- {Kind: &structpb.Value_NumberValue{3.1415}},
- {Kind: &structpb.Value_StringValue{"hello"}},
- {
- Kind: &structpb.Value_ListValue{
- &structpb.ListValue{
- Values: []*structpb.Value{
- {Kind: &structpb.Value_BoolValue{}},
- {Kind: &structpb.Value_NullValue{}},
- {Kind: &structpb.Value_NumberValue{}},
- },
- },
- },
- },
- {
- Kind: &structpb.Value_StructValue{
- &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "string": {Kind: &structpb.Value_StringValue{"world"}},
- },
- },
- },
- },
- },
- },
- want: `[
- true,
- null,
- 3.1415,
- "hello",
- [
- false,
- null,
- 0
- ],
- {
- "string": "world"
- }
-]`,
- }, {
- desc: "ListValue with invalid UTF8 string",
- input: &structpb.ListValue{
- Values: []*structpb.Value{
- {Kind: &structpb.Value_StringValue{"\xff"}},
- },
- },
- wantErr: true,
- }, {
- desc: "Duration empty",
- input: &durationpb.Duration{},
- want: `"0s"`,
- }, {
- desc: "Duration with secs",
- input: &durationpb.Duration{Seconds: 3},
- want: `"3s"`,
- }, {
- desc: "Duration with -secs",
- input: &durationpb.Duration{Seconds: -3},
- want: `"-3s"`,
- }, {
- desc: "Duration with nanos",
- input: &durationpb.Duration{Nanos: 1e6},
- want: `"0.001s"`,
- }, {
- desc: "Duration with -nanos",
- input: &durationpb.Duration{Nanos: -1e6},
- want: `"-0.001s"`,
- }, {
- desc: "Duration with large secs",
- input: &durationpb.Duration{Seconds: 1e10, Nanos: 1},
- want: `"10000000000.000000001s"`,
- }, {
- desc: "Duration with 6-digit nanos",
- input: &durationpb.Duration{Nanos: 1e4},
- want: `"0.000010s"`,
- }, {
- desc: "Duration with 3-digit nanos",
- input: &durationpb.Duration{Nanos: 1e6},
- want: `"0.001s"`,
- }, {
- desc: "Duration with -secs -nanos",
- input: &durationpb.Duration{Seconds: -123, Nanos: -450},
- want: `"-123.000000450s"`,
- }, {
- desc: "Duration max value",
- input: &durationpb.Duration{Seconds: 315576000000, Nanos: 999999999},
- want: `"315576000000.999999999s"`,
- }, {
- desc: "Duration min value",
- input: &durationpb.Duration{Seconds: -315576000000, Nanos: -999999999},
- want: `"-315576000000.999999999s"`,
- }, {
- desc: "Duration with +secs -nanos",
- input: &durationpb.Duration{Seconds: 1, Nanos: -1},
- wantErr: true,
- }, {
- desc: "Duration with -secs +nanos",
- input: &durationpb.Duration{Seconds: -1, Nanos: 1},
- wantErr: true,
- }, {
- desc: "Duration with +secs out of range",
- input: &durationpb.Duration{Seconds: 315576000001},
- wantErr: true,
- }, {
- desc: "Duration with -secs out of range",
- input: &durationpb.Duration{Seconds: -315576000001},
- wantErr: true,
- }, {
- desc: "Duration with +nanos out of range",
- input: &durationpb.Duration{Seconds: 0, Nanos: 1e9},
- wantErr: true,
- }, {
- desc: "Duration with -nanos out of range",
- input: &durationpb.Duration{Seconds: 0, Nanos: -1e9},
- wantErr: true,
- }, {
- desc: "Timestamp zero",
- input: &timestamppb.Timestamp{},
- want: `"1970-01-01T00:00:00Z"`,
- }, {
- desc: "Timestamp",
- input: &timestamppb.Timestamp{Seconds: 1553036601},
- want: `"2019-03-19T23:03:21Z"`,
- }, {
- desc: "Timestamp with nanos",
- input: &timestamppb.Timestamp{Seconds: 1553036601, Nanos: 1},
- want: `"2019-03-19T23:03:21.000000001Z"`,
- }, {
- desc: "Timestamp with 6-digit nanos",
- input: &timestamppb.Timestamp{Nanos: 1e3},
- want: `"1970-01-01T00:00:00.000001Z"`,
- }, {
- desc: "Timestamp with 3-digit nanos",
- input: &timestamppb.Timestamp{Nanos: 1e7},
- want: `"1970-01-01T00:00:00.010Z"`,
- }, {
- desc: "Timestamp max value",
- input: &timestamppb.Timestamp{Seconds: 253402300799, Nanos: 999999999},
- want: `"9999-12-31T23:59:59.999999999Z"`,
- }, {
- desc: "Timestamp min value",
- input: &timestamppb.Timestamp{Seconds: -62135596800},
- want: `"0001-01-01T00:00:00Z"`,
- }, {
- desc: "Timestamp with +secs out of range",
- input: &timestamppb.Timestamp{Seconds: 253402300800},
- wantErr: true,
- }, {
- desc: "Timestamp with -secs out of range",
- input: &timestamppb.Timestamp{Seconds: -62135596801},
- wantErr: true,
- }, {
- desc: "Timestamp with -nanos",
- input: &timestamppb.Timestamp{Nanos: -1},
- wantErr: true,
- }, {
- desc: "Timestamp with +nanos out of range",
- input: &timestamppb.Timestamp{Nanos: 1e9},
- wantErr: true,
- }, {
- desc: "FieldMask empty",
- input: &fieldmaskpb.FieldMask{},
- want: `""`,
- }, {
- desc: "FieldMask",
- input: &fieldmaskpb.FieldMask{
- Paths: []string{
- "foo",
- "foo_bar",
- "foo.bar_qux",
- "_foo",
- },
- },
- want: `"foo,fooBar,foo.barQux,Foo"`,
- }, {
- desc: "FieldMask empty string path",
- input: &fieldmaskpb.FieldMask{
- Paths: []string{""},
- },
- wantErr: true,
- }, {
- desc: "FieldMask path contains spaces only",
- input: &fieldmaskpb.FieldMask{
- Paths: []string{" "},
- },
- wantErr: true,
- }, {
- desc: "FieldMask irreversible error 1",
- input: &fieldmaskpb.FieldMask{
- Paths: []string{"foo_"},
- },
- wantErr: true,
- }, {
- desc: "FieldMask irreversible error 2",
- input: &fieldmaskpb.FieldMask{
- Paths: []string{"foo__bar"},
- },
- wantErr: true,
- }, {
- desc: "FieldMask invalid char",
- input: &fieldmaskpb.FieldMask{
- Paths: []string{"foo@bar"},
- },
- wantErr: true,
- }, {
- desc: "Any empty",
- input: &anypb.Any{},
- want: `{}`,
- }, {
- desc: "Any with non-custom message",
- input: func() proto.Message {
- m := &pb2.Nested{
- OptString: proto.String("embedded inside Any"),
- OptNested: &pb2.Nested{
- OptString: proto.String("inception"),
- },
- }
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "foo/pb2.Nested",
- Value: b,
- }
- }(),
- want: `{
- "@type": "foo/pb2.Nested",
- "optString": "embedded inside Any",
- "optNested": {
- "optString": "inception"
- }
-}`,
- }, {
- desc: "Any with empty embedded message",
- input: &anypb.Any{TypeUrl: "foo/pb2.Nested"},
- want: `{
- "@type": "foo/pb2.Nested"
-}`,
- }, {
- desc: "Any without registered type",
- mo: protojson.MarshalOptions{Resolver: new(protoregistry.Types)},
- input: &anypb.Any{TypeUrl: "foo/pb2.Nested"},
- wantErr: true,
- }, {
- desc: "Any with missing required",
- input: func() proto.Message {
- m := &pb2.PartialRequired{
- OptString: proto.String("embedded inside Any"),
- }
- b, err := proto.MarshalOptions{
- AllowPartial: true,
- Deterministic: true,
- }.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: string(m.ProtoReflect().Descriptor().FullName()),
- Value: b,
- }
- }(),
- want: `{
- "@type": "pb2.PartialRequired",
- "optString": "embedded inside Any"
-}`,
- }, {
- desc: "Any with partial required and AllowPartial",
- mo: protojson.MarshalOptions{
- AllowPartial: true,
- },
- input: func() proto.Message {
- m := &pb2.PartialRequired{
- OptString: proto.String("embedded inside Any"),
- }
- b, err := proto.MarshalOptions{
- AllowPartial: true,
- Deterministic: true,
- }.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: string(m.ProtoReflect().Descriptor().FullName()),
- Value: b,
- }
- }(),
- want: `{
- "@type": "pb2.PartialRequired",
- "optString": "embedded inside Any"
-}`,
- }, {
- desc: "Any with EmitUnpopulated",
- mo: protojson.MarshalOptions{
- EmitUnpopulated: true,
- },
- input: func() proto.Message {
- return &anypb.Any{
- TypeUrl: string(new(pb3.Scalars).ProtoReflect().Descriptor().FullName()),
- }
- }(),
- want: `{
- "@type": "pb3.Scalars",
- "sBool": false,
- "sInt32": 0,
- "sInt64": "0",
- "sUint32": 0,
- "sUint64": "0",
- "sSint32": 0,
- "sSint64": "0",
- "sFixed32": 0,
- "sFixed64": "0",
- "sSfixed32": 0,
- "sSfixed64": "0",
- "sFloat": 0,
- "sDouble": 0,
- "sBytes": "",
- "sString": ""
-}`,
- }, {
- desc: "Any with invalid UTF8",
- input: func() proto.Message {
- m := &pb2.Nested{
- OptString: proto.String("abc\xff"),
- }
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "foo/pb2.Nested",
- Value: b,
- }
- }(),
- wantErr: true,
- }, {
- desc: "Any with invalid value",
- input: &anypb.Any{
- TypeUrl: "foo/pb2.Nested",
- Value: []byte("\x80"),
- },
- wantErr: true,
- }, {
- desc: "Any with BoolValue",
- input: func() proto.Message {
- m := &wrapperspb.BoolValue{Value: true}
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.BoolValue",
- Value: b,
- }
- }(),
- want: `{
- "@type": "type.googleapis.com/google.protobuf.BoolValue",
- "value": true
-}`,
- }, {
- desc: "Any with Empty",
- input: func() proto.Message {
- m := &emptypb.Empty{}
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.Empty",
- Value: b,
- }
- }(),
- want: `{
- "@type": "type.googleapis.com/google.protobuf.Empty",
- "value": {}
-}`,
- }, {
- desc: "Any with StringValue containing invalid UTF8",
- input: func() proto.Message {
- m := &wrapperspb.StringValue{Value: "abcd"}
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "google.protobuf.StringValue",
- Value: bytes.Replace(b, []byte("abcd"), []byte("abc\xff"), -1),
- }
- }(),
- wantErr: true,
- }, {
- desc: "Any with Int64Value",
- input: func() proto.Message {
- m := &wrapperspb.Int64Value{Value: 42}
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "google.protobuf.Int64Value",
- Value: b,
- }
- }(),
- want: `{
- "@type": "google.protobuf.Int64Value",
- "value": "42"
-}`,
- }, {
- desc: "Any with Duration",
- input: func() proto.Message {
- m := &durationpb.Duration{}
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.Duration",
- Value: b,
- }
- }(),
- want: `{
- "@type": "type.googleapis.com/google.protobuf.Duration",
- "value": "0s"
-}`,
- }, {
- desc: "Any with empty Value",
- input: func() proto.Message {
- m := &structpb.Value{}
- b, err := proto.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.Value",
- Value: b,
- }
- }(),
- wantErr: true,
- }, {
- desc: "Any with Value of StringValue",
- input: func() proto.Message {
- m := &structpb.Value{Kind: &structpb.Value_StringValue{"abcd"}}
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.Value",
- Value: bytes.Replace(b, []byte("abcd"), []byte("abc\xff"), -1),
- }
- }(),
- wantErr: true,
- }, {
- desc: "Any with Value of NullValue",
- input: func() proto.Message {
- m := &structpb.Value{Kind: &structpb.Value_NullValue{}}
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.Value",
- Value: b,
- }
- }(),
- want: `{
- "@type": "type.googleapis.com/google.protobuf.Value",
- "value": null
-}`,
- }, {
- desc: "Any with Struct",
- input: func() proto.Message {
- m := &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "bool": {Kind: &structpb.Value_BoolValue{true}},
- "null": {Kind: &structpb.Value_NullValue{}},
- "string": {Kind: &structpb.Value_StringValue{"hello"}},
- "struct": {
- Kind: &structpb.Value_StructValue{
- &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "string": {Kind: &structpb.Value_StringValue{"world"}},
- },
- },
- },
- },
- },
- }
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "google.protobuf.Struct",
- Value: b,
- }
- }(),
- want: `{
- "@type": "google.protobuf.Struct",
- "value": {
- "bool": true,
- "null": null,
- "string": "hello",
- "struct": {
- "string": "world"
- }
- }
-}`,
- }, {
- desc: "Any with missing type_url",
- input: func() proto.Message {
- m := &wrapperspb.BoolValue{Value: true}
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- Value: b,
- }
- }(),
- wantErr: true,
- }, {
- desc: "well known types as field values",
- input: &pb2.KnownTypes{
- OptBool: &wrapperspb.BoolValue{Value: false},
- OptInt32: &wrapperspb.Int32Value{Value: 42},
- OptInt64: &wrapperspb.Int64Value{Value: 42},
- OptUint32: &wrapperspb.UInt32Value{Value: 42},
- OptUint64: &wrapperspb.UInt64Value{Value: 42},
- OptFloat: &wrapperspb.FloatValue{Value: 1.23},
- OptDouble: &wrapperspb.DoubleValue{Value: 3.1415},
- OptString: &wrapperspb.StringValue{Value: "hello"},
- OptBytes: &wrapperspb.BytesValue{Value: []byte("hello")},
- OptDuration: &durationpb.Duration{Seconds: 123},
- OptTimestamp: &timestamppb.Timestamp{Seconds: 1553036601},
- OptStruct: &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "string": {Kind: &structpb.Value_StringValue{"hello"}},
- },
- },
- OptList: &structpb.ListValue{
- Values: []*structpb.Value{
- {Kind: &structpb.Value_NullValue{}},
- {Kind: &structpb.Value_StringValue{}},
- {Kind: &structpb.Value_StructValue{}},
- {Kind: &structpb.Value_ListValue{}},
- },
- },
- OptValue: &structpb.Value{
- Kind: &structpb.Value_StringValue{"world"},
- },
- OptEmpty: &emptypb.Empty{},
- OptAny: &anypb.Any{
- TypeUrl: "google.protobuf.Empty",
- },
- OptFieldmask: &fieldmaskpb.FieldMask{
- Paths: []string{"foo_bar", "bar_foo"},
- },
- },
- want: `{
- "optBool": false,
- "optInt32": 42,
- "optInt64": "42",
- "optUint32": 42,
- "optUint64": "42",
- "optFloat": 1.23,
- "optDouble": 3.1415,
- "optString": "hello",
- "optBytes": "aGVsbG8=",
- "optDuration": "123s",
- "optTimestamp": "2019-03-19T23:03:21Z",
- "optStruct": {
- "string": "hello"
- },
- "optList": [
- null,
- "",
- {},
- []
- ],
- "optValue": "world",
- "optEmpty": {},
- "optAny": {
- "@type": "google.protobuf.Empty",
- "value": {}
- },
- "optFieldmask": "fooBar,barFoo"
-}`,
- }, {
- desc: "EmitUnpopulated: proto2 optional scalars",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb2.Scalars{},
- want: `{
- "optBool": null,
- "optInt32": null,
- "optInt64": null,
- "optUint32": null,
- "optUint64": null,
- "optSint32": null,
- "optSint64": null,
- "optFixed32": null,
- "optFixed64": null,
- "optSfixed32": null,
- "optSfixed64": null,
- "optFloat": null,
- "optDouble": null,
- "optBytes": null,
- "optString": null
-}`,
- }, {
- desc: "EmitUnpopulated: proto3 scalars",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb3.Scalars{},
- want: `{
- "sBool": false,
- "sInt32": 0,
- "sInt64": "0",
- "sUint32": 0,
- "sUint64": "0",
- "sSint32": 0,
- "sSint64": "0",
- "sFixed32": 0,
- "sFixed64": "0",
- "sSfixed32": 0,
- "sSfixed64": "0",
- "sFloat": 0,
- "sDouble": 0,
- "sBytes": "",
- "sString": ""
-}`,
- }, {
- desc: "EmitUnpopulated: proto2 enum",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb2.Enums{},
- want: `{
- "optEnum": null,
- "rptEnum": [],
- "optNestedEnum": null,
- "rptNestedEnum": []
-}`,
- }, {
- desc: "EmitUnpopulated: proto3 enum",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb3.Enums{},
- want: `{
- "sEnum": "ZERO",
- "sNestedEnum": "CERO"
-}`,
- }, {
- desc: "EmitUnpopulated: proto2 message and group fields",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb2.Nests{},
- want: `{
- "optNested": null,
- "optgroup": null,
- "rptNested": [],
- "rptgroup": []
-}`,
- }, {
- desc: "EmitUnpopulated: proto3 message field",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb3.Nests{},
- want: `{
- "sNested": null
-}`,
- }, {
- desc: "EmitUnpopulated: proto2 empty message and group fields",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb2.Nests{
- OptNested: &pb2.Nested{},
- Optgroup: &pb2.Nests_OptGroup{},
- },
- want: `{
- "optNested": {
- "optString": null,
- "optNested": null
- },
- "optgroup": {
- "optString": null,
- "optNested": null,
- "optnestedgroup": null
- },
- "rptNested": [],
- "rptgroup": []
-}`,
- }, {
- desc: "EmitUnpopulated: proto3 empty message field",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb3.Nests{
- SNested: &pb3.Nested{},
- },
- want: `{
- "sNested": {
- "sString": "",
- "sNested": null
- }
-}`,
- }, {
- desc: "EmitUnpopulated: proto2 required fields",
- mo: protojson.MarshalOptions{
- AllowPartial: true,
- EmitUnpopulated: true,
- },
- input: &pb2.Requireds{},
- want: `{
- "reqBool": null,
- "reqSfixed64": null,
- "reqDouble": null,
- "reqString": null,
- "reqEnum": null,
- "reqNested": null
-}`,
- }, {
- desc: "EmitUnpopulated: repeated fields",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb2.Repeats{},
- want: `{
- "rptBool": [],
- "rptInt32": [],
- "rptInt64": [],
- "rptUint32": [],
- "rptUint64": [],
- "rptFloat": [],
- "rptDouble": [],
- "rptString": [],
- "rptBytes": []
-}`,
- }, {
- desc: "EmitUnpopulated: repeated containing empty message",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb2.Nests{
- RptNested: []*pb2.Nested{nil, {}},
- },
- want: `{
- "optNested": null,
- "optgroup": null,
- "rptNested": [
- {
- "optString": null,
- "optNested": null
- },
- {
- "optString": null,
- "optNested": null
- }
- ],
- "rptgroup": []
-}`,
- }, {
- desc: "EmitUnpopulated: map fields",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb3.Maps{},
- want: `{
- "int32ToStr": {},
- "boolToUint32": {},
- "uint64ToEnum": {},
- "strToNested": {},
- "strToOneofs": {}
-}`,
- }, {
- desc: "EmitUnpopulated: map containing empty message",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb3.Maps{
- StrToNested: map[string]*pb3.Nested{
- "nested": &pb3.Nested{},
- },
- StrToOneofs: map[string]*pb3.Oneofs{
- "nested": &pb3.Oneofs{},
- },
- },
- want: `{
- "int32ToStr": {},
- "boolToUint32": {},
- "uint64ToEnum": {},
- "strToNested": {
- "nested": {
- "sString": "",
- "sNested": null
- }
- },
- "strToOneofs": {
- "nested": {}
- }
-}`,
- }, {
- desc: "EmitUnpopulated: oneof fields",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb3.Oneofs{},
- want: `{}`,
- }, {
- desc: "EmitUnpopulated: extensions",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_OptExtNested, &pb2.Nested{})
- proto.SetExtension(m, pb2.E_RptExtNested, []*pb2.Nested{
- nil,
- {},
- })
- return m
- }(),
- want: `{
- "optString": null,
- "optBool": null,
- "optInt32": null,
- "[pb2.opt_ext_nested]": {
- "optString": null,
- "optNested": null
- },
- "[pb2.rpt_ext_nested]": [
- {
- "optString": null,
- "optNested": null
- },
- {
- "optString": null,
- "optNested": null
- }
- ]
-}`,
- }, {
- desc: "EmitUnpopulated: with populated fields",
- mo: protojson.MarshalOptions{EmitUnpopulated: true},
- input: &pb2.Scalars{
- OptInt32: proto.Int32(0xff),
- OptUint32: proto.Uint32(47),
- OptSint32: proto.Int32(-1001),
- OptFixed32: proto.Uint32(32),
- OptSfixed32: proto.Int32(-32),
- OptFloat: proto.Float32(1.02),
- OptBytes: []byte("谷歌"),
- },
- want: `{
- "optBool": null,
- "optInt32": 255,
- "optInt64": null,
- "optUint32": 47,
- "optUint64": null,
- "optSint32": -1001,
- "optSint64": null,
- "optFixed32": 32,
- "optFixed64": null,
- "optSfixed32": -32,
- "optSfixed64": null,
- "optFloat": 1.02,
- "optDouble": null,
- "optBytes": "6LC35q2M",
- "optString": null
-}`,
- }, {
- desc: "UseEnumNumbers in singular field",
- mo: protojson.MarshalOptions{UseEnumNumbers: true},
- input: &pb2.Enums{
- OptEnum: pb2.Enum_ONE.Enum(),
- OptNestedEnum: pb2.Enums_UNO.Enum(),
- },
- want: `{
- "optEnum": 1,
- "optNestedEnum": 1
-}`,
- }, {
- desc: "UseEnumNumbers in repeated field",
- mo: protojson.MarshalOptions{UseEnumNumbers: true},
- input: &pb2.Enums{
- RptEnum: []pb2.Enum{pb2.Enum_ONE, 2, pb2.Enum_TEN, 42},
- RptNestedEnum: []pb2.Enums_NestedEnum{pb2.Enums_UNO, pb2.Enums_DOS, 47},
- },
- want: `{
- "rptEnum": [
- 1,
- 2,
- 10,
- 42
- ],
- "rptNestedEnum": [
- 1,
- 2,
- 47
- ]
-}`,
- }, {
- desc: "UseEnumNumbers in map field",
- mo: protojson.MarshalOptions{UseEnumNumbers: true},
- input: &pb3.Maps{
- Uint64ToEnum: map[uint64]pb3.Enum{
- 1: pb3.Enum_ONE,
- 2: pb3.Enum_TWO,
- 10: pb3.Enum_TEN,
- 47: 47,
- },
- },
- want: `{
- "uint64ToEnum": {
- "1": 1,
- "2": 2,
- "10": 10,
- "47": 47
- }
-}`,
- }, {
- desc: "UseProtoNames",
- mo: protojson.MarshalOptions{UseProtoNames: true},
- input: &pb2.Nests{
- OptNested: &pb2.Nested{},
- Optgroup: &pb2.Nests_OptGroup{
- OptString: proto.String("inside a group"),
- OptNested: &pb2.Nested{
- OptString: proto.String("nested message inside a group"),
- },
- Optnestedgroup: &pb2.Nests_OptGroup_OptNestedGroup{
- OptFixed32: proto.Uint32(47),
- },
- },
- Rptgroup: []*pb2.Nests_RptGroup{
- {
- RptString: []string{"hello", "world"},
- },
- },
- },
- want: `{
- "opt_nested": {},
- "OptGroup": {
- "opt_string": "inside a group",
- "opt_nested": {
- "opt_string": "nested message inside a group"
- },
- "OptNestedGroup": {
- "opt_fixed32": 47
- }
- },
- "RptGroup": [
- {
- "rpt_string": [
- "hello",
- "world"
- ]
- }
- ]
-}`,
- }}
-
- for _, tt := range tests {
- tt := tt
- if tt.skip {
- continue
- }
- t.Run(tt.desc, func(t *testing.T) {
- // Use 2-space indentation on all MarshalOptions.
- tt.mo.Indent = " "
- b, err := tt.mo.Marshal(tt.input)
- if err != nil && !tt.wantErr {
- t.Errorf("Marshal() returned error: %v\n", err)
- }
- if err == nil && tt.wantErr {
- t.Errorf("Marshal() got nil error, want error\n")
- }
- got := string(b)
- if got != tt.want {
- t.Errorf("Marshal()\n<got>\n%v\n<want>\n%v\n", got, tt.want)
- if diff := cmp.Diff(tt.want, got); diff != "" {
- t.Errorf("Marshal() diff -want +got\n%v\n", diff)
- }
- }
- })
- }
-}
-
-func TestEncodeAppend(t *testing.T) {
- want := []byte("prefix")
- got := append([]byte(nil), want...)
- got, err := protojson.MarshalOptions{}.MarshalAppend(got, &pb3.Scalars{
- SString: "value",
- })
- if err != nil {
- t.Fatal(err)
- }
- if !bytes.HasPrefix(got, want) {
- t.Fatalf("MarshalAppend modified prefix: got %v, want prefix %v", got, want)
- }
-}
-
-func TestMarshalAppendAllocations(t *testing.T) {
- m := &pb3.Scalars{SInt32: 1}
- const count = 1000
- size := 12
- b := make([]byte, size)
- // AllocsPerRun returns an integral value.
- marshalAllocs := testing.AllocsPerRun(count, func() {
- _, err := protojson.MarshalOptions{}.MarshalAppend(b[:0], m)
- if err != nil {
- t.Fatal(err)
- }
- })
- b = nil
- marshalAppendAllocs := testing.AllocsPerRun(count, func() {
- var err error
- b, err = protojson.MarshalOptions{}.MarshalAppend(b, m)
- if err != nil {
- t.Fatal(err)
- }
- })
- if marshalAllocs != marshalAppendAllocs {
- t.Errorf("%v allocs/op when writing to a preallocated buffer", marshalAllocs)
- t.Errorf("%v allocs/op when repeatedly appending to a slice", marshalAppendAllocs)
- t.Errorf("expect amortized allocs/op to be identical")
- }
-}
diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/gotest/ya.make b/vendor/google.golang.org/protobuf/encoding/protojson/gotest/ya.make
deleted file mode 100644
index 87a03c69b4..0000000000
--- a/vendor/google.golang.org/protobuf/encoding/protojson/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/encoding/protojson)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/well_known_types.go b/vendor/google.golang.org/protobuf/encoding/protojson/well_known_types.go
index 6c37d41744..25329b7692 100644
--- a/vendor/google.golang.org/protobuf/encoding/protojson/well_known_types.go
+++ b/vendor/google.golang.org/protobuf/encoding/protojson/well_known_types.go
@@ -176,7 +176,7 @@ func (d decoder) unmarshalAny(m protoreflect.Message) error {
// Use another decoder to parse the unread bytes for @type field. This
// avoids advancing a read from current decoder because the current JSON
// object may contain the fields of the embedded type.
- dec := decoder{d.Clone(), UnmarshalOptions{}}
+ dec := decoder{d.Clone(), UnmarshalOptions{RecursionLimit: d.opts.RecursionLimit}}
tok, err := findTypeURL(dec)
switch err {
case errEmptyObject:
@@ -308,48 +308,25 @@ Loop:
// array) in order to advance the read to the next JSON value. It relies on
// the decoder returning an error if the types are not in valid sequence.
func (d decoder) skipJSONValue() error {
- tok, err := d.Read()
- if err != nil {
- return err
- }
- // Only need to continue reading for objects and arrays.
- switch tok.Kind() {
- case json.ObjectOpen:
- for {
- tok, err := d.Read()
- if err != nil {
- return err
- }
- switch tok.Kind() {
- case json.ObjectClose:
- return nil
- case json.Name:
- // Skip object field value.
- if err := d.skipJSONValue(); err != nil {
- return err
- }
- }
+ var open int
+ for {
+ tok, err := d.Read()
+ if err != nil {
+ return err
}
-
- case json.ArrayOpen:
- for {
- tok, err := d.Peek()
- if err != nil {
- return err
- }
- switch tok.Kind() {
- case json.ArrayClose:
- d.Read()
- return nil
- default:
- // Skip array item.
- if err := d.skipJSONValue(); err != nil {
- return err
- }
+ switch tok.Kind() {
+ case json.ObjectClose, json.ArrayClose:
+ open--
+ case json.ObjectOpen, json.ArrayOpen:
+ open++
+ if open > d.opts.RecursionLimit {
+ return errors.New("exceeded max recursion depth")
}
}
+ if open == 0 {
+ return nil
+ }
}
- return nil
}
// unmarshalAnyValue unmarshals the given custom-type message from the JSON
diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/ya.make b/vendor/google.golang.org/protobuf/encoding/protojson/ya.make
index 37dff49ad6..dde79bb87c 100644
--- a/vendor/google.golang.org/protobuf/encoding/protojson/ya.make
+++ b/vendor/google.golang.org/protobuf/encoding/protojson/ya.make
@@ -9,12 +9,4 @@ SRCS(
well_known_types.go
)
-GO_XTEST_SRCS(
- bench_test.go
- decode_test.go
- encode_test.go
-)
-
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/encoding/prototext/decode.go b/vendor/google.golang.org/protobuf/encoding/prototext/decode.go
index 4921b2d4a7..a45f112bce 100644
--- a/vendor/google.golang.org/protobuf/encoding/prototext/decode.go
+++ b/vendor/google.golang.org/protobuf/encoding/prototext/decode.go
@@ -21,7 +21,7 @@ import (
"google.golang.org/protobuf/reflect/protoregistry"
)
-// Unmarshal reads the given []byte into the given proto.Message.
+// Unmarshal reads the given []byte into the given [proto.Message].
// The provided message must be mutable (e.g., a non-nil pointer to a message).
func Unmarshal(b []byte, m proto.Message) error {
return UnmarshalOptions{}.Unmarshal(b, m)
@@ -51,7 +51,7 @@ type UnmarshalOptions struct {
}
}
-// Unmarshal reads the given []byte and populates the given proto.Message
+// Unmarshal reads the given []byte and populates the given [proto.Message]
// using options in the UnmarshalOptions object.
// The provided message must be mutable (e.g., a non-nil pointer to a message).
func (o UnmarshalOptions) Unmarshal(b []byte, m proto.Message) error {
@@ -739,7 +739,9 @@ func (d decoder) skipValue() error {
case text.ListClose:
return nil
case text.MessageOpen:
- return d.skipMessageValue()
+ if err := d.skipMessageValue(); err != nil {
+ return err
+ }
default:
// Skip items. This will not validate whether skipped values are
// of the same type or not, same behavior as C++
diff --git a/vendor/google.golang.org/protobuf/encoding/prototext/decode_test.go b/vendor/google.golang.org/protobuf/encoding/prototext/decode_test.go
deleted file mode 100644
index 2f8b59607d..0000000000
--- a/vendor/google.golang.org/protobuf/encoding/prototext/decode_test.go
+++ /dev/null
@@ -1,1706 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package prototext_test
-
-import (
- "math"
- "strings"
- "testing"
-
- "google.golang.org/protobuf/encoding/prototext"
- "google.golang.org/protobuf/internal/flags"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoregistry"
-
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- weakpb "google.golang.org/protobuf/internal/testprotos/test/weak1"
- pb2 "google.golang.org/protobuf/internal/testprotos/textpb2"
- pb3 "google.golang.org/protobuf/internal/testprotos/textpb3"
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-func TestUnmarshal(t *testing.T) {
- tests := []struct {
- desc string
- umo prototext.UnmarshalOptions
- inputMessage proto.Message
- inputText string
- wantMessage proto.Message
- wantErr string // Expected error substring.
- skip bool
- }{{
- desc: "proto2 empty message",
- inputMessage: &pb2.Scalars{},
- wantMessage: &pb2.Scalars{},
- }, {
- desc: "proto2 optional scalars set to zero values",
- inputMessage: &pb2.Scalars{},
- inputText: `opt_bool: false
-opt_int32: 0
-opt_int64: 0
-opt_uint32: 0
-opt_uint64: 0
-opt_sint32: 0
-opt_sint64: 0
-opt_fixed32: 0
-opt_fixed64: 0
-opt_sfixed32: 0
-opt_sfixed64: 0
-opt_float: 0
-opt_double: 0
-opt_bytes: ""
-opt_string: ""
-`,
- wantMessage: &pb2.Scalars{
- OptBool: proto.Bool(false),
- OptInt32: proto.Int32(0),
- OptInt64: proto.Int64(0),
- OptUint32: proto.Uint32(0),
- OptUint64: proto.Uint64(0),
- OptSint32: proto.Int32(0),
- OptSint64: proto.Int64(0),
- OptFixed32: proto.Uint32(0),
- OptFixed64: proto.Uint64(0),
- OptSfixed32: proto.Int32(0),
- OptSfixed64: proto.Int64(0),
- OptFloat: proto.Float32(0),
- OptDouble: proto.Float64(0),
- OptBytes: []byte{},
- OptString: proto.String(""),
- },
- }, {
- desc: "proto3 scalars set to zero values",
- inputMessage: &pb3.Scalars{},
- inputText: `s_bool: false
-s_int32: 0
-s_int64: 0
-s_uint32: 0
-s_uint64: 0
-s_sint32: 0
-s_sint64: 0
-s_fixed32: 0
-s_fixed64: 0
-s_sfixed32: 0
-s_sfixed64: 0
-s_float: 0
-s_double: 0
-s_bytes: ""
-s_string: ""
-`,
- wantMessage: &pb3.Scalars{},
- }, {
- desc: "proto3 optional set to zero values",
- inputMessage: &pb3.Proto3Optional{},
- inputText: `opt_bool: false
-opt_int32: 0
-opt_int64: 0
-opt_uint32: 0
-opt_uint64: 0
-opt_float: 0
-opt_double: 0
-opt_string: ""
-opt_bytes: ""
-opt_enum: ZERO
-opt_message: {}
-`,
- wantMessage: &pb3.Proto3Optional{
- OptBool: proto.Bool(false),
- OptInt32: proto.Int32(0),
- OptInt64: proto.Int64(0),
- OptUint32: proto.Uint32(0),
- OptUint64: proto.Uint64(0),
- OptFloat: proto.Float32(0),
- OptDouble: proto.Float64(0),
- OptString: proto.String(""),
- OptBytes: []byte{},
- OptEnum: pb3.Enum_ZERO.Enum(),
- OptMessage: &pb3.Nested{},
- },
- }, {
- desc: "proto2 optional scalars",
- inputMessage: &pb2.Scalars{},
- inputText: `opt_bool: true
-opt_int32: 255
-opt_int64: 3735928559
-opt_uint32: 0xff
-opt_uint64: 0xdeadbeef
-opt_sint32: -1001
-opt_sint64: - 0xffff
-opt_fixed64: 64
-opt_sfixed32: - 32
-opt_float: 1.234
-opt_double: 1.23e+100
-opt_bytes: "\xe8\xb0\xb7\xe6\xad\x8c"
-opt_string: "谷歌"
-`,
- wantMessage: &pb2.Scalars{
- OptBool: proto.Bool(true),
- OptInt32: proto.Int32(0xff),
- OptInt64: proto.Int64(0xdeadbeef),
- OptUint32: proto.Uint32(0xff),
- OptUint64: proto.Uint64(0xdeadbeef),
- OptSint32: proto.Int32(-1001),
- OptSint64: proto.Int64(-0xffff),
- OptFixed64: proto.Uint64(64),
- OptSfixed32: proto.Int32(-32),
- OptFloat: proto.Float32(1.234),
- OptDouble: proto.Float64(1.23e100),
- OptBytes: []byte("\xe8\xb0\xb7\xe6\xad\x8c"),
- OptString: proto.String("谷歌"),
- },
- }, {
- desc: "case sensitive",
- inputMessage: &pb3.Scalars{},
- inputText: `S_BOOL: true`,
- wantErr: "unknown field: S_BOOL",
- }, {
- desc: "proto3 scalars",
- inputMessage: &pb3.Scalars{},
- inputText: `s_bool: true
-s_int32: 255
-s_int64: 3735928559
-s_uint32: 0xff
-s_uint64: 0xdeadbeef
-s_sint32: -1001
-s_sint64: - #
- 0xffff
-s_fixed64: 64
-s_sfixed32: -32
-s_float: 1.234
-s_double: 1.23e+100
-s_bytes: "\xe8\xb0\xb7\xe6\xad\x8c"
-s_string: "谷歌"
-`,
- wantMessage: &pb3.Scalars{
- SBool: true,
- SInt32: 0xff,
- SInt64: 0xdeadbeef,
- SUint32: 0xff,
- SUint64: 0xdeadbeef,
- SSint32: -1001,
- SSint64: -0xffff,
- SFixed64: 64,
- SSfixed32: -32,
- SFloat: 1.234,
- SDouble: 1.23e100,
- SBytes: []byte("\xe8\xb0\xb7\xe6\xad\x8c"),
- SString: "谷歌",
- },
- }, {
- desc: "proto2 string with invalid UTF-8",
- inputMessage: &pb2.Scalars{},
- inputText: `opt_string: "abc\xff"`,
- wantMessage: &pb2.Scalars{
- OptString: proto.String("abc\xff"),
- },
- }, {
- desc: "proto3 string with invalid UTF-8",
- inputMessage: &pb3.Scalars{},
- inputText: `s_string: "abc\xff"`,
- wantErr: "(line 1:11): contains invalid UTF-8",
- }, {
- desc: "proto2 message contains unknown field",
- inputMessage: &pb2.Scalars{},
- inputText: "unknown_field: 123",
- wantErr: "unknown field",
- }, {
- desc: "proto3 message contains unknown field",
- inputMessage: &pb3.Scalars{},
- inputText: "unknown_field: 456",
- wantErr: "unknown field",
- }, {
- desc: "proto2 message contains discarded unknown field",
- umo: prototext.UnmarshalOptions{DiscardUnknown: true},
- inputMessage: &pb2.Scalars{},
- inputText: `unknown_field:123 1000:"hello"`,
- }, {
- desc: "proto3 message contains discarded unknown field",
- umo: prototext.UnmarshalOptions{DiscardUnknown: true},
- inputMessage: &pb3.Scalars{},
- inputText: `unknown_field:456 1000:"goodbye"`,
- }, {
- desc: "proto2 message cannot parse field number",
- umo: prototext.UnmarshalOptions{DiscardUnknown: true},
- inputMessage: &pb2.Scalars{},
- inputText: `13:"hello"`,
- wantErr: "cannot specify field by number",
- }, {
- desc: "unknown list field",
- umo: prototext.UnmarshalOptions{DiscardUnknown: true},
- inputMessage: &pb2.Scalars{},
- inputText: `unknown_field: { strings: [ "" ] }`,
- }, {
- desc: "unknown list of list field",
- umo: prototext.UnmarshalOptions{DiscardUnknown: true},
- inputMessage: &pb2.Scalars{},
- inputText: `unknown_field: { strings: [ [ ] ] }`,
- wantErr: `(line 1:29): invalid scalar value: [`,
- }, {
- desc: "proto3 message cannot parse field number",
- umo: prototext.UnmarshalOptions{DiscardUnknown: true},
- inputMessage: &pb3.Scalars{},
- inputText: `13:"goodbye"`,
- wantErr: "cannot specify field by number",
- }, {
- desc: "proto2 numeric key field",
- inputMessage: &pb2.Scalars{},
- inputText: "1: true",
- wantErr: "cannot specify field by number",
- }, {
- desc: "proto3 numeric key field",
- inputMessage: &pb3.Scalars{},
- inputText: "1: true",
- wantErr: "cannot specify field by number",
- }, {
- desc: "invalid bool value",
- inputMessage: &pb3.Scalars{},
- inputText: "s_bool: 123",
- wantErr: "invalid value for bool",
- }, {
- desc: "invalid int32 value",
- inputMessage: &pb3.Scalars{},
- inputText: "s_int32: not_a_num",
- wantErr: "invalid value for int32",
- }, {
- desc: "invalid int64 value",
- inputMessage: &pb3.Scalars{},
- inputText: "s_int64: 'not a num either'",
- wantErr: "invalid value for int64",
- }, {
- desc: "invalid uint32 value",
- inputMessage: &pb3.Scalars{},
- inputText: "s_fixed32: -42",
- wantErr: "invalid value for fixed32",
- }, {
- desc: "invalid uint64 value",
- inputMessage: &pb3.Scalars{},
- inputText: "s_uint64: -47",
- wantErr: "invalid value for uint64",
- }, {
- desc: "invalid sint32 value",
- inputMessage: &pb3.Scalars{},
- inputText: "s_sint32: '42'",
- wantErr: "invalid value for sint32",
- }, {
- desc: "invalid sint64 value",
- inputMessage: &pb3.Scalars{},
- inputText: "s_sint64: '-47'",
- wantErr: "invalid value for sint64",
- }, {
- desc: "invalid fixed32 value",
- inputMessage: &pb3.Scalars{},
- inputText: "s_fixed32: -42",
- wantErr: "invalid value for fixed32",
- }, {
- desc: "invalid fixed64 value",
- inputMessage: &pb3.Scalars{},
- inputText: "s_fixed64: -42",
- wantErr: "invalid value for fixed64",
- }, {
- desc: "invalid sfixed32 value",
- inputMessage: &pb3.Scalars{},
- inputText: "s_sfixed32: 'not valid'",
- wantErr: "invalid value for sfixed32",
- }, {
- desc: "invalid sfixed64 value",
- inputMessage: &pb3.Scalars{},
- inputText: "s_sfixed64: bad",
- wantErr: "invalid value for sfixed64",
- }, {
- desc: "incomplete number value",
- inputMessage: &pb3.Scalars{},
- inputText: `s_int32: - `,
- wantErr: "(line 1:10): invalid scalar value: -",
- }, {
- desc: "conformance: FloatFieldMaxValue",
- inputMessage: &pb2.Scalars{},
- inputText: `opt_float: 3.4028235e+38`,
- wantMessage: &pb2.Scalars{
- OptFloat: proto.Float32(3.40282347e+38),
- },
- }, {
- desc: "conformance: FloatFieldLargerThanUint64",
- inputMessage: &pb2.Scalars{},
- inputText: `opt_float: 18446744073709551616`,
- wantMessage: &pb2.Scalars{
- OptFloat: proto.Float32(1.84467441e+19),
- },
- }, {
- desc: "conformance: FloatFieldTooLarge",
- inputMessage: &pb2.Scalars{},
- inputText: `opt_float: 3.4028235e+39`,
- wantMessage: &pb2.Scalars{
- OptFloat: proto.Float32(float32(math.Inf(1))),
- },
- }, {
- desc: "invalid string value",
- inputMessage: &pb3.Scalars{},
- inputText: "s_string: invalid_string",
- wantErr: "invalid value for string type",
- }, {
- desc: "proto2 bytes set to empty string",
- inputMessage: &pb2.Scalars{},
- inputText: "opt_bytes: ''",
- wantMessage: &pb2.Scalars{
- OptBytes: []byte(""),
- },
- }, {
- desc: "proto3 bytes set to empty string",
- inputMessage: &pb3.Scalars{},
- inputText: "s_bytes: ''",
- wantMessage: &pb3.Scalars{},
- }, {
- desc: "proto2 duplicate singular field",
- inputMessage: &pb2.Scalars{},
- inputText: `
-opt_bool: true
-opt_bool: false
-`,
- wantErr: `(line 3:1): non-repeated field "opt_bool" is repeated`,
- }, {
- desc: "proto2 more duplicate singular field",
- inputMessage: &pb2.Scalars{},
- inputText: `
-opt_bool: true
-opt_string: "hello"
-opt_bool: false
-`,
- wantErr: `(line 4:1): non-repeated field "opt_bool" is repeated`,
- }, {
- desc: "proto2 invalid singular field",
- inputMessage: &pb2.Scalars{},
- inputText: `
-opt_bool: [true, false]
-`,
- wantErr: "(line 2:11): unexpected token: [",
- }, {
- desc: "proto3 duplicate singular field",
- inputMessage: &pb3.Scalars{},
- inputText: `
-s_bool: false
-s_bool: true
-`,
- wantErr: `non-repeated field "s_bool" is repeated`,
- }, {
- desc: "proto3 more duplicate singular field",
- inputMessage: &pb3.Scalars{},
- inputText: `
-s_bool: false
-s_string: ""
-s_bool: true
-`,
- wantErr: `non-repeated field "s_bool" is repeated`,
- }, {
- desc: "proto2 enum",
- inputMessage: &pb2.Enums{},
- inputText: `
-opt_enum: ONE
-opt_nested_enum: UNO
-`,
- wantMessage: &pb2.Enums{
- OptEnum: pb2.Enum_ONE.Enum(),
- OptNestedEnum: pb2.Enums_UNO.Enum(),
- },
- }, {
- desc: "proto2 enum set to numeric values",
- inputMessage: &pb2.Enums{},
- inputText: `
-opt_enum: 2
-opt_nested_enum: 2
-`,
- wantMessage: &pb2.Enums{
- OptEnum: pb2.Enum_TWO.Enum(),
- OptNestedEnum: pb2.Enums_DOS.Enum(),
- },
- }, {
- desc: "proto2 enum set to unnamed numeric values",
- inputMessage: &pb2.Enums{},
- inputText: `
-opt_enum: 101
-opt_nested_enum: -101
-`,
- wantMessage: &pb2.Enums{
- OptEnum: pb2.Enum(101).Enum(),
- OptNestedEnum: pb2.Enums_NestedEnum(-101).Enum(),
- },
- }, {
- desc: "proto2 enum set to invalid named",
- inputMessage: &pb2.Enums{},
- inputText: `
-opt_enum: UNNAMED
-opt_nested_enum: UNNAMED_TOO
-`,
- wantErr: "invalid value for enum type: UNNAMED",
- }, {
- desc: "proto3 enum name value",
- inputMessage: &pb3.Enums{},
- inputText: `
-s_enum: ONE
-s_nested_enum: DIEZ
-`,
- wantMessage: &pb3.Enums{
- SEnum: pb3.Enum_ONE,
- SNestedEnum: pb3.Enums_DIEZ,
- },
- }, {
- desc: "proto3 enum numeric value",
- inputMessage: &pb3.Enums{},
- inputText: `
-s_enum: 2
-s_nested_enum: 2
-`,
- wantMessage: &pb3.Enums{
- SEnum: pb3.Enum_TWO,
- SNestedEnum: pb3.Enums_DOS,
- },
- }, {
- desc: "proto3 enum unnamed numeric value",
- inputMessage: &pb3.Enums{},
- inputText: `
-s_enum: 0x7fffffff
-s_nested_enum: -0x80000000
-`,
- wantMessage: &pb3.Enums{
- SEnum: 0x7fffffff,
- SNestedEnum: -0x80000000,
- },
- }, {
- desc: "proto2 nested empty messages",
- inputMessage: &pb2.Nests{},
- inputText: `
-opt_nested: {}
-OptGroup: {}
-`,
- wantMessage: &pb2.Nests{
- OptNested: &pb2.Nested{},
- Optgroup: &pb2.Nests_OptGroup{},
- },
- }, {
- desc: "message fields with no field separator",
- inputMessage: &pb2.Nests{},
- inputText: `
-opt_nested {}
-OptGroup {}
-`,
- wantMessage: &pb2.Nests{
- OptNested: &pb2.Nested{},
- Optgroup: &pb2.Nests_OptGroup{},
- },
- }, {
- desc: "group field name",
- inputMessage: &pb2.Nests{},
- inputText: `optgroup: {}`,
- wantErr: "unknown field: optgroup",
- }, {
- desc: "proto2 nested messages",
- inputMessage: &pb2.Nests{},
- inputText: `
-opt_nested: {
- opt_string: "nested message"
- opt_nested: {
- opt_string: "another nested message"
- }
-}
-`,
- wantMessage: &pb2.Nests{
- OptNested: &pb2.Nested{
- OptString: proto.String("nested message"),
- OptNested: &pb2.Nested{
- OptString: proto.String("another nested message"),
- },
- },
- },
- }, {
- desc: "proto3 nested empty message",
- inputMessage: &pb3.Nests{},
- inputText: "s_nested: {}",
- wantMessage: &pb3.Nests{
- SNested: &pb3.Nested{},
- },
- }, {
- desc: "proto3 nested message",
- inputMessage: &pb3.Nests{},
- inputText: `
-s_nested: {
- s_string: "nested message"
- s_nested: {
- s_string: "another nested message"
- }
-}
-`,
- wantMessage: &pb3.Nests{
- SNested: &pb3.Nested{
- SString: "nested message",
- SNested: &pb3.Nested{
- SString: "another nested message",
- },
- },
- },
- }, {
- desc: "proto3 nested message contains invalid UTF-8",
- inputMessage: &pb3.Nests{},
- inputText: `s_nested: {
- s_string: "abc\xff"
-}
-`,
- wantErr: "contains invalid UTF-8",
- }, {
- desc: "oneof set to empty string",
- inputMessage: &pb3.Oneofs{},
- inputText: "oneof_string: ''",
- wantMessage: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofString{},
- },
- }, {
- desc: "oneof set to string",
- inputMessage: &pb3.Oneofs{},
- inputText: "oneof_string: 'hello'",
- wantMessage: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofString{
- OneofString: "hello",
- },
- },
- }, {
- desc: "oneof set to enum",
- inputMessage: &pb3.Oneofs{},
- inputText: "oneof_enum: TEN",
- wantMessage: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofEnum{
- OneofEnum: pb3.Enum_TEN,
- },
- },
- }, {
- desc: "oneof set to empty message",
- inputMessage: &pb3.Oneofs{},
- inputText: "oneof_nested: {}",
- wantMessage: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofNested{
- OneofNested: &pb3.Nested{},
- },
- },
- }, {
- desc: "oneof set to message",
- inputMessage: &pb3.Oneofs{},
- inputText: `
-oneof_nested: {
- s_string: "nested message"
-}
-`,
- wantMessage: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofNested{
- OneofNested: &pb3.Nested{
- SString: "nested message",
- },
- },
- },
- }, {
- desc: "oneof set to more than one field",
- inputMessage: &pb3.Oneofs{},
- inputText: `
-oneof_enum: ZERO
-oneof_string: "hello"
-`,
- wantErr: `error parsing "oneof_string", oneof pb3.Oneofs.union is already set`,
- }, {
- desc: "repeated scalar using same field name",
- inputMessage: &pb2.Repeats{},
- inputText: `
-rpt_string: "a"
-rpt_string: "b"
-rpt_int32: 0xff
-rpt_float: 1.23
-rpt_bytes: "bytes"
-`,
- wantMessage: &pb2.Repeats{
- RptString: []string{"a", "b"},
- RptInt32: []int32{0xff},
- RptFloat: []float32{1.23},
- RptBytes: [][]byte{[]byte("bytes")},
- },
- }, {
- desc: "repeated using mix of [] and repeated field name",
- inputMessage: &pb2.Repeats{},
- inputText: `
-rpt_string: "a"
-rpt_bool: true
-rpt_string: ["x", "y"]
-rpt_bool: [ false, true ]
-rpt_string: "b"
-`,
- wantMessage: &pb2.Repeats{
- RptString: []string{"a", "x", "y", "b"},
- RptBool: []bool{true, false, true},
- },
- }, {
- desc: "repeated proto2 contains invalid UTF-8",
- inputMessage: &pb2.Repeats{},
- inputText: `rpt_string: "abc\xff"`,
- wantMessage: &pb2.Repeats{
- RptString: []string{"abc\xff"},
- },
- }, {
- desc: "repeated proto3 contains invalid UTF-8",
- inputMessage: &pb3.Repeats{},
- inputText: `rpt_string: "abc\xff"`,
- wantErr: "contains invalid UTF-8",
- }, {
- desc: "repeated enums",
- inputMessage: &pb2.Enums{},
- inputText: `
-rpt_enum: TEN
-rpt_enum: 1
-rpt_nested_enum: [DOS, 2]
-rpt_enum: 42
-rpt_nested_enum: -47
-`,
- wantMessage: &pb2.Enums{
- RptEnum: []pb2.Enum{pb2.Enum_TEN, pb2.Enum_ONE, 42},
- RptNestedEnum: []pb2.Enums_NestedEnum{pb2.Enums_DOS, pb2.Enums_DOS, -47},
- },
- }, {
- desc: "repeated nested messages",
- inputMessage: &pb2.Nests{},
- inputText: `
-rpt_nested: {
- opt_string: "repeat nested one"
-}
-rpt_nested: {
- opt_string: "repeat nested two"
- opt_nested: {
- opt_string: "inside repeat nested two"
- }
-}
-rpt_nested: {}
-`,
- wantMessage: &pb2.Nests{
- RptNested: []*pb2.Nested{
- {
- OptString: proto.String("repeat nested one"),
- },
- {
- OptString: proto.String("repeat nested two"),
- OptNested: &pb2.Nested{
- OptString: proto.String("inside repeat nested two"),
- },
- },
- {},
- },
- },
- }, {
- desc: "repeated group fields",
- inputMessage: &pb2.Nests{},
- inputText: `
-RptGroup: {
- rpt_string: "hello"
- rpt_string: "world"
-}
-RptGroup: {}
-`,
- wantMessage: &pb2.Nests{
- Rptgroup: []*pb2.Nests_RptGroup{
- {
- RptString: []string{"hello", "world"},
- },
- {},
- },
- },
- }, {
- desc: "repeated message fields without field separator",
- inputMessage: &pb2.Nests{},
- inputText: `
-rpt_nested {
- opt_string: "repeat nested one"
-}
-rpt_nested: [
- {
- opt_string: "repeat nested two"
- },
- {}
-]
-`,
- wantMessage: &pb2.Nests{
- RptNested: []*pb2.Nested{
- {
- OptString: proto.String("repeat nested one"),
- },
- {
- OptString: proto.String("repeat nested two"),
- },
- {},
- },
- },
- }, {
- desc: "bools",
- inputMessage: &pb2.Repeats{},
- inputText: `
-rpt_bool: [ True, true, t, 1, False, false, f, 0 ]
-`,
- wantMessage: &pb2.Repeats{
- RptBool: []bool{true, true, true, true, false, false, false, false},
- },
- }, {
- desc: "special floats and doubles",
- inputMessage: &pb2.Repeats{},
- inputText: `
-rpt_float: [ inf, Inf, infinity, InFiniTy, -inf, -inF, -infinitY, -InfinitY, nan, NaN, Nan ],
-rpt_double: [ inf, Inf, infinity, InFiniTy, -inf, -inF, -infinitY, -InfinitY, nan, NaN, Nan ],
-`,
- wantMessage: &pb2.Repeats{
- RptFloat: []float32{
- float32(math.Inf(1)),
- float32(math.Inf(1)),
- float32(math.Inf(1)),
- float32(math.Inf(1)),
- float32(math.Inf(-1)),
- float32(math.Inf(-1)),
- float32(math.Inf(-1)),
- float32(math.Inf(-1)),
- float32(math.NaN()),
- float32(math.NaN()),
- float32(math.NaN()),
- },
- RptDouble: []float64{
- math.Inf(1),
- math.Inf(1),
- math.Inf(1),
- math.Inf(1),
- math.Inf(-1),
- math.Inf(-1),
- math.Inf(-1),
- math.Inf(-1),
- math.NaN(),
- math.NaN(),
- math.NaN(),
- },
- },
- }, {
- desc: "map fields 1",
- inputMessage: &pb3.Maps{},
- inputText: `
-int32_to_str: {
- key: -101
- value: "-101"
-}
-int32_to_str {
- key: 0
- value: "zero"
-}
-bool_to_uint32: {
- key: false
- value: 101
-}
-int32_to_str: {
- key: 255
- value: "0xff"
-}
-bool_to_uint32 {
- key: true
- value: 42
-}
-`,
- wantMessage: &pb3.Maps{
- Int32ToStr: map[int32]string{
- -101: "-101",
- 0xff: "0xff",
- 0: "zero",
- },
- BoolToUint32: map[bool]uint32{
- true: 42,
- false: 101,
- },
- },
- }, {
- desc: "map fields 2",
- inputMessage: &pb3.Maps{},
- inputText: `
-uint64_to_enum: {
- key: 1
- value: ONE
-}
-uint64_to_enum: {
- key: 2
- value: 2
-}
-uint64_to_enum: {
- key: 10
- value: 101
-}
-`,
- wantMessage: &pb3.Maps{
- Uint64ToEnum: map[uint64]pb3.Enum{
- 1: pb3.Enum_ONE,
- 2: pb3.Enum_TWO,
- 10: 101,
- },
- },
- }, {
- desc: "map fields 3",
- inputMessage: &pb3.Maps{},
- inputText: `
-str_to_nested: {
- key: "nested_one"
- value {
- s_string: "nested in a map"
- }
-}
-`,
- wantMessage: &pb3.Maps{
- StrToNested: map[string]*pb3.Nested{
- "nested_one": &pb3.Nested{
- SString: "nested in a map",
- },
- },
- },
- }, {
- desc: "map fields 4",
- inputMessage: &pb3.Maps{},
- inputText: `
-str_to_oneofs: {
- key: "nested"
- value: {
- oneof_nested: {
- s_string: "nested oneof in map field value"
- }
- }
-}
-str_to_oneofs: {
- key: "string"
- value: {
- oneof_string: "hello"
- }
-}
-`,
- wantMessage: &pb3.Maps{
- StrToOneofs: map[string]*pb3.Oneofs{
- "string": &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofString{
- OneofString: "hello",
- },
- },
- "nested": &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofNested{
- OneofNested: &pb3.Nested{
- SString: "nested oneof in map field value",
- },
- },
- },
- },
- },
- }, {
- desc: "map contains duplicate keys",
- inputMessage: &pb3.Maps{},
- inputText: `
-int32_to_str: {
- key: 0
- value: "cero"
-}
-int32_to_str: {
- key: 0
- value: "zero"
-}
-`,
- wantMessage: &pb3.Maps{
- Int32ToStr: map[int32]string{
- 0: "zero",
- },
- },
- }, {
- desc: "map contains duplicate key fields",
- inputMessage: &pb3.Maps{},
- inputText: `
-int32_to_str: {
- key: 0
- key: 1
- value: "cero"
-}
-`,
- wantErr: `map entry "key" cannot be repeated`,
- }, {
- desc: "map contains duplicate value fields",
- inputMessage: &pb3.Maps{},
- inputText: `
-int32_to_str: {
- key: 1
- value: "cero"
- value: "uno"
-}
-`,
- wantErr: `map entry "value" cannot be repeated`,
- }, {
- desc: "map contains missing key",
- inputMessage: &pb3.Maps{},
- inputText: `
-int32_to_str: {
- value: "zero"
-}
-bool_to_uint32: {
- value: 47
-}
-str_to_nested: {
- value: {}
-}
-`,
- wantMessage: &pb3.Maps{
- Int32ToStr: map[int32]string{
- 0: "zero",
- },
- BoolToUint32: map[bool]uint32{
- false: 47,
- },
- StrToNested: map[string]*pb3.Nested{
- "": {},
- },
- },
- }, {
- desc: "map contains missing value",
- inputMessage: &pb3.Maps{},
- inputText: `
-int32_to_str: {
- key: 100
-}
-bool_to_uint32: {
- key: true
-}
-uint64_to_enum: {
- key: 101
-}
-str_to_nested: {
- key: "hello"
-}
-`,
- wantMessage: &pb3.Maps{
- Int32ToStr: map[int32]string{
- 100: "",
- },
- BoolToUint32: map[bool]uint32{
- true: 0,
- },
- Uint64ToEnum: map[uint64]pb3.Enum{
- 101: pb3.Enum_ZERO,
- },
- StrToNested: map[string]*pb3.Nested{
- "hello": {},
- },
- },
- }, {
- desc: "map contains missing key and value",
- inputMessage: &pb3.Maps{},
- inputText: `
-int32_to_str: {}
-bool_to_uint32: {}
-uint64_to_enum: {}
-str_to_nested: {}
-`,
- wantMessage: &pb3.Maps{
- Int32ToStr: map[int32]string{
- 0: "",
- },
- BoolToUint32: map[bool]uint32{
- false: 0,
- },
- Uint64ToEnum: map[uint64]pb3.Enum{
- 0: pb3.Enum_ZERO,
- },
- StrToNested: map[string]*pb3.Nested{
- "": {},
- },
- },
- }, {
- desc: "map contains overriding entries",
- inputMessage: &pb3.Maps{},
- inputText: `
-int32_to_str: {
- key: 0
-}
-int32_to_str: {
- value: "empty"
-}
-int32_to_str: {}
-`,
- wantMessage: &pb3.Maps{
- Int32ToStr: map[int32]string{
- 0: "",
- },
- },
- }, {
- desc: "proto2 map field value contains invalid UTF-8",
- inputMessage: &pb2.Maps{},
- inputText: `int32_to_str: {
- key: 101
- value: "abc\xff"
-}
-`,
- wantMessage: &pb2.Maps{
- Int32ToStr: map[int32]string{101: "abc\xff"},
- },
- }, {
- desc: "proto2 map field key contains invalid UTF-8",
- inputMessage: &pb2.Maps{},
- inputText: `str_to_nested: {
- key: "abc\xff"
- value: {}
-}
-`,
- wantMessage: &pb2.Maps{
- StrToNested: map[string]*pb2.Nested{"abc\xff": {}},
- },
- }, {
- desc: "proto3 map field value contains invalid UTF-8",
- inputMessage: &pb3.Maps{},
- inputText: `int32_to_str: {
- key: 101
- value: "abc\xff"
-}
-`,
- wantErr: "contains invalid UTF-8",
- }, {
- desc: "proto3 map field key contains invalid UTF-8",
- inputMessage: &pb3.Maps{},
- inputText: `str_to_nested: {
- key: "abc\xff"
- value: {}
-}
-`,
- wantErr: "contains invalid UTF-8",
- }, {
- desc: "map contains unknown field",
- inputMessage: &pb3.Maps{},
- inputText: `
-int32_to_str: {
- key: 0
- value: "cero"
- unknown: "bad"
-}
-`,
- wantErr: `(line 5:3): unknown map entry field "unknown"`,
- }, {
- desc: "map contains extension-like key field",
- inputMessage: &pb3.Maps{},
- inputText: `
-int32_to_str: {
- [key]: 10
- value: "ten"
-}
-`,
- wantErr: `unknown map entry field "[key]"`,
- }, {
- desc: "map contains invalid key",
- inputMessage: &pb3.Maps{},
- inputText: `
-int32_to_str: {
- key: "invalid"
- value: "cero"
-}
-`,
- wantErr: "(line 3:8): invalid value for int32 type",
- }, {
- desc: "map contains invalid value",
- inputMessage: &pb3.Maps{},
- inputText: `
-int32_to_str: {
- key: 100
- value: 101
-}
-`,
- wantErr: "(line 4:10): invalid value for string type",
- }, {
- desc: "map contains invalid message value",
- inputMessage: &pb3.Maps{},
- inputText: `
-str_to_nested: {
- key: "one"
- value: 1
-}
-`,
- wantErr: "syntax error (line 4:10): unexpected token: 1",
- }, {
- desc: "map using mix of [] and repeated",
- inputMessage: &pb3.Maps{},
- inputText: `
-int32_to_str: {
- key: 1
- value: "one"
-}
-int32_to_str: [
- {
- key: 2
- value: "not this"
- },
- {
- },
- {
- key: 3
- value: "three"
- }
-]
-int32_to_str: {
- key: 2
- value: "two"
-}
-`,
- wantMessage: &pb3.Maps{
- Int32ToStr: map[int32]string{
- 0: "",
- 1: "one",
- 2: "two",
- 3: "three",
- },
- },
- }, {
- desc: "required fields not set",
- inputMessage: &pb2.Requireds{},
- wantErr: "required field",
- }, {
- desc: "required field set",
- inputMessage: &pb2.PartialRequired{},
- inputText: "req_string: 'this is required'",
- wantMessage: &pb2.PartialRequired{
- ReqString: proto.String("this is required"),
- },
- }, {
- desc: "required fields partially set",
- inputMessage: &pb2.Requireds{},
- inputText: `
-req_bool: false
-req_sfixed64: 3203386110
-req_string: "hello"
-req_enum: ONE
-`,
- wantMessage: &pb2.Requireds{
- ReqBool: proto.Bool(false),
- ReqSfixed64: proto.Int64(0xbeefcafe),
- ReqString: proto.String("hello"),
- ReqEnum: pb2.Enum_ONE.Enum(),
- },
- wantErr: "required field",
- }, {
- desc: "required fields partially set with AllowPartial",
- umo: prototext.UnmarshalOptions{AllowPartial: true},
- inputMessage: &pb2.Requireds{},
- inputText: `
-req_bool: false
-req_sfixed64: 3203386110
-req_string: "hello"
-req_enum: ONE
-`,
- wantMessage: &pb2.Requireds{
- ReqBool: proto.Bool(false),
- ReqSfixed64: proto.Int64(0xbeefcafe),
- ReqString: proto.String("hello"),
- ReqEnum: pb2.Enum_ONE.Enum(),
- },
- }, {
- desc: "required fields all set",
- inputMessage: &pb2.Requireds{},
- inputText: `
-req_bool: false
-req_sfixed64: 0
-req_double: 0
-req_string: ""
-req_enum: ONE
-req_nested: {}
-`,
- wantMessage: &pb2.Requireds{
- ReqBool: proto.Bool(false),
- ReqSfixed64: proto.Int64(0),
- ReqDouble: proto.Float64(0),
- ReqString: proto.String(""),
- ReqEnum: pb2.Enum_ONE.Enum(),
- ReqNested: &pb2.Nested{},
- },
- }, {
- desc: "indirect required field",
- inputMessage: &pb2.IndirectRequired{},
- inputText: "opt_nested: {}",
- wantMessage: &pb2.IndirectRequired{
- OptNested: &pb2.NestedWithRequired{},
- },
- wantErr: "required field",
- }, {
- desc: "indirect required field with AllowPartial",
- umo: prototext.UnmarshalOptions{AllowPartial: true},
- inputMessage: &pb2.IndirectRequired{},
- inputText: "opt_nested: {}",
- wantMessage: &pb2.IndirectRequired{
- OptNested: &pb2.NestedWithRequired{},
- },
- }, {
- desc: "indirect required field in repeated",
- inputMessage: &pb2.IndirectRequired{},
- inputText: `
-rpt_nested: {
- req_string: "one"
-}
-rpt_nested: {}
-`,
- wantMessage: &pb2.IndirectRequired{
- RptNested: []*pb2.NestedWithRequired{
- {
- ReqString: proto.String("one"),
- },
- {},
- },
- },
- wantErr: "required field",
- }, {
- desc: "indirect required field in repeated with AllowPartial",
- umo: prototext.UnmarshalOptions{AllowPartial: true},
- inputMessage: &pb2.IndirectRequired{},
- inputText: `
-rpt_nested: {
- req_string: "one"
-}
-rpt_nested: {}
-`,
- wantMessage: &pb2.IndirectRequired{
- RptNested: []*pb2.NestedWithRequired{
- {
- ReqString: proto.String("one"),
- },
- {},
- },
- },
- }, {
- desc: "indirect required field in map",
- inputMessage: &pb2.IndirectRequired{},
- inputText: `
-str_to_nested: {
- key: "missing"
-}
-str_to_nested: {
- key: "contains"
- value: {
- req_string: "here"
- }
-}
-`,
- wantMessage: &pb2.IndirectRequired{
- StrToNested: map[string]*pb2.NestedWithRequired{
- "missing": &pb2.NestedWithRequired{},
- "contains": &pb2.NestedWithRequired{
- ReqString: proto.String("here"),
- },
- },
- },
- wantErr: "required field",
- }, {
- desc: "indirect required field in map with AllowPartial",
- umo: prototext.UnmarshalOptions{AllowPartial: true},
- inputMessage: &pb2.IndirectRequired{},
- inputText: `
-str_to_nested: {
- key: "missing"
-}
-str_to_nested: {
- key: "contains"
- value: {
- req_string: "here"
- }
-}
-`,
- wantMessage: &pb2.IndirectRequired{
- StrToNested: map[string]*pb2.NestedWithRequired{
- "missing": &pb2.NestedWithRequired{},
- "contains": &pb2.NestedWithRequired{
- ReqString: proto.String("here"),
- },
- },
- },
- }, {
- desc: "indirect required field in oneof",
- inputMessage: &pb2.IndirectRequired{},
- inputText: `oneof_nested: {}
-`,
- wantMessage: &pb2.IndirectRequired{
- Union: &pb2.IndirectRequired_OneofNested{
- OneofNested: &pb2.NestedWithRequired{},
- },
- },
- wantErr: "required field",
- }, {
- desc: "indirect required field in oneof with AllowPartial",
- umo: prototext.UnmarshalOptions{AllowPartial: true},
- inputMessage: &pb2.IndirectRequired{},
- inputText: `oneof_nested: {}
-`,
- wantMessage: &pb2.IndirectRequired{
- Union: &pb2.IndirectRequired_OneofNested{
- OneofNested: &pb2.NestedWithRequired{},
- },
- },
- }, {
- desc: "ignore reserved field",
- inputMessage: &pb2.Nests{},
- inputText: "reserved_field: 'ignore this'",
- wantMessage: &pb2.Nests{},
- }, {
- desc: "extensions of non-repeated fields",
- inputMessage: &pb2.Extensions{},
- inputText: `opt_string: "non-extension field"
-[pb2.opt_ext_bool]: true
-opt_bool: true
-[pb2.opt_ext_nested]: {
- opt_string: "nested in an extension"
- opt_nested: {
- opt_string: "another nested in an extension"
- }
-}
-[pb2.opt_ext_string]: "extension field"
-opt_int32: 42
-[pb2.opt_ext_enum]: TEN
-`,
- wantMessage: func() proto.Message {
- m := &pb2.Extensions{
- OptString: proto.String("non-extension field"),
- OptBool: proto.Bool(true),
- OptInt32: proto.Int32(42),
- }
- proto.SetExtension(m, pb2.E_OptExtBool, true)
- proto.SetExtension(m, pb2.E_OptExtString, "extension field")
- proto.SetExtension(m, pb2.E_OptExtEnum, pb2.Enum_TEN)
- proto.SetExtension(m, pb2.E_OptExtNested, &pb2.Nested{
- OptString: proto.String("nested in an extension"),
- OptNested: &pb2.Nested{
- OptString: proto.String("another nested in an extension"),
- },
- })
- return m
- }(),
- }, {
- desc: "extension field contains invalid UTF-8",
- inputMessage: &pb2.Extensions{},
- inputText: `[pb2.opt_ext_string]: "abc\xff"`,
- wantMessage: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_OptExtString, "abc\xff")
- return m
- }(),
- }, {
- desc: "extensions of repeated fields",
- inputMessage: &pb2.Extensions{},
- inputText: `[pb2.rpt_ext_enum]: TEN
-[pb2.rpt_ext_enum]: 101
-[pb2.rpt_ext_fixed32]: 42
-[pb2.rpt_ext_enum]: ONE
-[pb2.rpt_ext_nested]: {
- opt_string: "one"
-}
-[pb2.rpt_ext_nested]: {
- opt_string: "two"
-}
-[pb2.rpt_ext_fixed32]: 47
-[pb2.rpt_ext_nested]: {
- opt_string: "three"
-}
-`,
- wantMessage: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_RptExtEnum, []pb2.Enum{pb2.Enum_TEN, 101, pb2.Enum_ONE})
- proto.SetExtension(m, pb2.E_RptExtFixed32, []uint32{42, 47})
- proto.SetExtension(m, pb2.E_RptExtNested, []*pb2.Nested{
- &pb2.Nested{OptString: proto.String("one")},
- &pb2.Nested{OptString: proto.String("two")},
- &pb2.Nested{OptString: proto.String("three")},
- })
- return m
- }(),
- }, {
- desc: "extensions of non-repeated fields in another message",
- inputMessage: &pb2.Extensions{},
- inputText: `[pb2.ExtensionsContainer.opt_ext_bool]: true
-[pb2.ExtensionsContainer.opt_ext_enum]: TEN
-[pb2.ExtensionsContainer.opt_ext_nested]: {
- opt_string: "nested in an extension"
- opt_nested: {
- opt_string: "another nested in an extension"
- }
-}
-[pb2.ExtensionsContainer.opt_ext_string]: "extension field"
-`,
- wantMessage: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtBool, true)
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtString, "extension field")
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtEnum, pb2.Enum_TEN)
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtNested, &pb2.Nested{
- OptString: proto.String("nested in an extension"),
- OptNested: &pb2.Nested{
- OptString: proto.String("another nested in an extension"),
- },
- })
- return m
- }(),
- }, {
- desc: "extensions of repeated fields in another message",
- inputMessage: &pb2.Extensions{},
- inputText: `opt_string: "non-extension field"
-opt_bool: true
-opt_int32: 42
-[pb2.ExtensionsContainer.rpt_ext_nested]: {
- opt_string: "one"
-}
-[pb2.ExtensionsContainer.rpt_ext_enum]: TEN
-[pb2.ExtensionsContainer.rpt_ext_nested]: {
- opt_string: "two"
-}
-[pb2.ExtensionsContainer.rpt_ext_enum]: 101
-[pb2.ExtensionsContainer.rpt_ext_string]: "hello"
-[pb2.ExtensionsContainer.rpt_ext_enum]: ONE
-[pb2.ExtensionsContainer.rpt_ext_nested]: {
- opt_string: "three"
-}
-[pb2.ExtensionsContainer.rpt_ext_string]: "world"
-`,
- wantMessage: func() proto.Message {
- m := &pb2.Extensions{
- OptString: proto.String("non-extension field"),
- OptBool: proto.Bool(true),
- OptInt32: proto.Int32(42),
- }
- proto.SetExtension(m, pb2.E_ExtensionsContainer_RptExtEnum, []pb2.Enum{pb2.Enum_TEN, 101, pb2.Enum_ONE})
- proto.SetExtension(m, pb2.E_ExtensionsContainer_RptExtString, []string{"hello", "world"})
- proto.SetExtension(m, pb2.E_ExtensionsContainer_RptExtNested, []*pb2.Nested{
- &pb2.Nested{OptString: proto.String("one")},
- &pb2.Nested{OptString: proto.String("two")},
- &pb2.Nested{OptString: proto.String("three")},
- })
- return m
- }(),
- }, {
- desc: "invalid extension field name",
- inputMessage: &pb2.Extensions{},
- inputText: "[pb2.invalid_message_field]: true",
- wantErr: "unknown field",
- }, {
- desc: "MessageSet",
- inputMessage: &pb2.MessageSet{},
- inputText: `
-[pb2.MessageSetExtension]: {
- opt_string: "a messageset extension"
-}
-[pb2.MessageSetExtension.ext_nested]: {
- opt_string: "just a regular extension"
-}
-[pb2.MessageSetExtension.not_message_set_extension]: {
- opt_string: "not a messageset extension"
-}
-`,
- wantMessage: func() proto.Message {
- m := &pb2.MessageSet{}
- proto.SetExtension(m, pb2.E_MessageSetExtension_MessageSetExtension, &pb2.MessageSetExtension{
- OptString: proto.String("a messageset extension"),
- })
- proto.SetExtension(m, pb2.E_MessageSetExtension_NotMessageSetExtension, &pb2.MessageSetExtension{
- OptString: proto.String("not a messageset extension"),
- })
- proto.SetExtension(m, pb2.E_MessageSetExtension_ExtNested, &pb2.Nested{
- OptString: proto.String("just a regular extension"),
- })
- return m
- }(),
- skip: !flags.ProtoLegacy,
- }, {
- desc: "not real MessageSet 1",
- inputMessage: &pb2.FakeMessageSet{},
- inputText: `
-[pb2.FakeMessageSetExtension.message_set_extension]: {
- opt_string: "not a messageset extension"
-}
-`,
- wantMessage: func() proto.Message {
- m := &pb2.FakeMessageSet{}
- proto.SetExtension(m, pb2.E_FakeMessageSetExtension_MessageSetExtension, &pb2.FakeMessageSetExtension{
- OptString: proto.String("not a messageset extension"),
- })
- return m
- }(),
- skip: !flags.ProtoLegacy,
- }, {
- desc: "not real MessageSet 2",
- inputMessage: &pb2.FakeMessageSet{},
- inputText: `
-[pb2.FakeMessageSetExtension]: {
- opt_string: "not a messageset extension"
-}
-`,
- wantErr: `unable to resolve [[pb2.FakeMessageSetExtension]]: found wrong type`,
- skip: !flags.ProtoLegacy,
- }, {
- desc: "not real MessageSet 3",
- inputMessage: &pb2.MessageSet{},
- inputText: `
-[pb2.message_set_extension]: {
- opt_string: "another not a messageset extension"
-}`,
- wantMessage: func() proto.Message {
- m := &pb2.MessageSet{}
- proto.SetExtension(m, pb2.E_MessageSetExtension, &pb2.FakeMessageSetExtension{
- OptString: proto.String("another not a messageset extension"),
- })
- return m
- }(),
- skip: !flags.ProtoLegacy,
- }, {
- desc: "Any not expanded",
- inputMessage: &anypb.Any{},
- inputText: `
-type_url: "pb2.Nested"
-value: "some bytes"
-`,
- wantMessage: &anypb.Any{
- TypeUrl: "pb2.Nested",
- Value: []byte("some bytes"),
- },
- }, {
- desc: "Any not expanded missing value",
- inputMessage: &anypb.Any{},
- inputText: `type_url: "pb2.Nested"`,
- wantMessage: &anypb.Any{
- TypeUrl: "pb2.Nested",
- },
- }, {
- desc: "Any not expanded missing type_url",
- inputMessage: &anypb.Any{},
- inputText: `value: "some bytes"`,
- wantMessage: &anypb.Any{
- Value: []byte("some bytes"),
- },
- }, {
- desc: "Any expanded",
- inputMessage: &anypb.Any{},
- inputText: `
-[foobar/pb2.Nested]: {
- opt_string: "embedded inside Any"
- opt_nested: {
- opt_string: "inception"
- }
-}
-`,
- wantMessage: func() proto.Message {
- m := &pb2.Nested{
- OptString: proto.String("embedded inside Any"),
- OptNested: &pb2.Nested{
- OptString: proto.String("inception"),
- },
- }
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "foobar/pb2.Nested",
- Value: b,
- }
- }(),
- }, {
- desc: "Any expanded with empty value",
- inputMessage: &anypb.Any{},
- inputText: `[foo.com/pb2.Nested]: {}`,
- wantMessage: &anypb.Any{
- TypeUrl: "foo.com/pb2.Nested",
- },
- }, {
- desc: "Any expanded with missing required",
- inputMessage: &anypb.Any{},
- inputText: `
-[pb2.PartialRequired]: {
- opt_string: "embedded inside Any"
-}
-`,
- wantMessage: func() proto.Message {
- m := &pb2.PartialRequired{
- OptString: proto.String("embedded inside Any"),
- }
- b, err := proto.MarshalOptions{
- AllowPartial: true,
- Deterministic: true,
- }.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "pb2.PartialRequired",
- Value: b,
- }
- }(),
- }, {
- desc: "Any with invalid UTF-8",
- inputMessage: &anypb.Any{},
- inputText: `
-[pb3.Nested]: {
- s_string: "abc\xff"
-}
-`,
- wantErr: "contains invalid UTF-8",
- }, {
- desc: "Any expanded with unregistered type",
- umo: prototext.UnmarshalOptions{Resolver: new(protoregistry.Types)},
- inputMessage: &anypb.Any{},
- inputText: `[SomeMessage]: {}`,
- wantErr: "unable to resolve message [SomeMessage]",
- }, {
- desc: "Any expanded with invalid value",
- inputMessage: &anypb.Any{},
- inputText: `[pb2.Nested]: 123`,
- wantErr: "unexpected token: 123",
- }, {
- desc: "Any expanded with unknown fields",
- inputMessage: &anypb.Any{},
- inputText: `
-[pb2.Nested]: {}
-unknown: ""
-`,
- wantErr: `invalid field name "unknown" in google.protobuf.Any message`,
- }, {
- desc: "Any contains expanded and unexpanded fields",
- inputMessage: &anypb.Any{},
- inputText: `
-[pb2.Nested]: {}
-type_url: "pb2.Nested"
-`,
- wantErr: "(line 3:1): conflict with [pb2.Nested] field",
- }, {
- desc: "weak fields",
- inputMessage: &testpb.TestWeak{},
- inputText: `weak_message1:{a:1}`,
- wantMessage: func() *testpb.TestWeak {
- m := new(testpb.TestWeak)
- m.SetWeakMessage1(&weakpb.WeakImportMessage1{A: proto.Int32(1)})
- return m
- }(),
- skip: !flags.ProtoLegacy,
- }, {
- desc: "weak fields; unknown field",
- inputMessage: &testpb.TestWeak{},
- inputText: `weak_message1:{a:1} weak_message2:{a:1}`,
- wantErr: "unknown field: weak_message2", // weak_message2 is unknown since the package containing it is not imported
- skip: !flags.ProtoLegacy,
- }}
-
- for _, tt := range tests {
- tt := tt
- if tt.skip {
- continue
- }
- t.Run(tt.desc, func(t *testing.T) {
- err := tt.umo.Unmarshal([]byte(tt.inputText), tt.inputMessage)
- if err != nil {
- if tt.wantErr == "" {
- t.Errorf("Unmarshal() got unexpected error: %v", err)
- } else if !strings.Contains(err.Error(), tt.wantErr) {
- t.Errorf("Unmarshal() error got %q, want %q", err, tt.wantErr)
- }
- return
- }
- if tt.wantErr != "" {
- t.Errorf("Unmarshal() got nil error, want error %q", tt.wantErr)
- return
- }
- if tt.wantMessage != nil && !proto.Equal(tt.inputMessage, tt.wantMessage) {
- t.Errorf("Unmarshal()\n<got>\n%v\n<want>\n%v\n", tt.inputMessage, tt.wantMessage)
- }
- })
- }
-}
diff --git a/vendor/google.golang.org/protobuf/encoding/prototext/encode.go b/vendor/google.golang.org/protobuf/encoding/prototext/encode.go
index 722a7b41df..95967e8112 100644
--- a/vendor/google.golang.org/protobuf/encoding/prototext/encode.go
+++ b/vendor/google.golang.org/protobuf/encoding/prototext/encode.go
@@ -33,7 +33,7 @@ func Format(m proto.Message) string {
return MarshalOptions{Multiline: true}.Format(m)
}
-// Marshal writes the given proto.Message in textproto format using default
+// Marshal writes the given [proto.Message] in textproto format using default
// options. Do not depend on the output being stable. It may change over time
// across different versions of the program.
func Marshal(m proto.Message) ([]byte, error) {
@@ -97,7 +97,7 @@ func (o MarshalOptions) Format(m proto.Message) string {
return string(b)
}
-// Marshal writes the given proto.Message in textproto format using options in
+// Marshal writes the given [proto.Message] in textproto format using options in
// MarshalOptions object. Do not depend on the output being stable. It may
// change over time across different versions of the program.
func (o MarshalOptions) Marshal(m proto.Message) ([]byte, error) {
diff --git a/vendor/google.golang.org/protobuf/encoding/prototext/encode_test.go b/vendor/google.golang.org/protobuf/encoding/prototext/encode_test.go
deleted file mode 100644
index 65b93cb407..0000000000
--- a/vendor/google.golang.org/protobuf/encoding/prototext/encode_test.go
+++ /dev/null
@@ -1,1479 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package prototext_test
-
-import (
- "bytes"
- "math"
- "testing"
-
- "github.com/google/go-cmp/cmp"
-
- "google.golang.org/protobuf/encoding/prototext"
- "google.golang.org/protobuf/internal/detrand"
- "google.golang.org/protobuf/internal/flags"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoregistry"
- "google.golang.org/protobuf/testing/protopack"
-
- pb2 "google.golang.org/protobuf/internal/testprotos/textpb2"
- pb3 "google.golang.org/protobuf/internal/testprotos/textpb3"
- "google.golang.org/protobuf/types/known/anypb"
-)
-
-func init() {
- // Disable detrand to enable direct comparisons on outputs.
- detrand.Disable()
-}
-
-func TestMarshal(t *testing.T) {
- tests := []struct {
- desc string
- mo prototext.MarshalOptions
- input proto.Message
- want string
- wantErr bool // TODO: Verify error message content.
- skip bool
- }{{
- desc: "proto2 optional scalars not set",
- input: &pb2.Scalars{},
- want: "",
- }, {
- desc: "proto3 scalars not set",
- input: &pb3.Scalars{},
- want: "",
- }, {
- desc: "proto3 optional not set",
- input: &pb3.Proto3Optional{},
- want: "",
- }, {
- desc: "proto2 optional scalars set to zero values",
- input: &pb2.Scalars{
- OptBool: proto.Bool(false),
- OptInt32: proto.Int32(0),
- OptInt64: proto.Int64(0),
- OptUint32: proto.Uint32(0),
- OptUint64: proto.Uint64(0),
- OptSint32: proto.Int32(0),
- OptSint64: proto.Int64(0),
- OptFixed32: proto.Uint32(0),
- OptFixed64: proto.Uint64(0),
- OptSfixed32: proto.Int32(0),
- OptSfixed64: proto.Int64(0),
- OptFloat: proto.Float32(0),
- OptDouble: proto.Float64(0),
- OptBytes: []byte{},
- OptString: proto.String(""),
- },
- want: `opt_bool: false
-opt_int32: 0
-opt_int64: 0
-opt_uint32: 0
-opt_uint64: 0
-opt_sint32: 0
-opt_sint64: 0
-opt_fixed32: 0
-opt_fixed64: 0
-opt_sfixed32: 0
-opt_sfixed64: 0
-opt_float: 0
-opt_double: 0
-opt_bytes: ""
-opt_string: ""
-`,
- }, {
- desc: "proto3 optional set to zero values",
- input: &pb3.Proto3Optional{
- OptBool: proto.Bool(false),
- OptInt32: proto.Int32(0),
- OptInt64: proto.Int64(0),
- OptUint32: proto.Uint32(0),
- OptUint64: proto.Uint64(0),
- OptFloat: proto.Float32(0),
- OptDouble: proto.Float64(0),
- OptString: proto.String(""),
- OptBytes: []byte{},
- OptEnum: pb3.Enum_ZERO.Enum(),
- OptMessage: &pb3.Nested{},
- },
- want: `opt_bool: false
-opt_int32: 0
-opt_int64: 0
-opt_uint32: 0
-opt_uint64: 0
-opt_float: 0
-opt_double: 0
-opt_string: ""
-opt_bytes: ""
-opt_enum: ZERO
-opt_message: {}
-`,
- }, {
- desc: "proto3 scalars set to zero values",
- input: &pb3.Scalars{
- SBool: false,
- SInt32: 0,
- SInt64: 0,
- SUint32: 0,
- SUint64: 0,
- SSint32: 0,
- SSint64: 0,
- SFixed32: 0,
- SFixed64: 0,
- SSfixed32: 0,
- SSfixed64: 0,
- SFloat: 0,
- SDouble: 0,
- SBytes: []byte{},
- SString: "",
- },
- want: "",
- }, {
- desc: "proto2 optional scalars set to some values",
- input: &pb2.Scalars{
- OptBool: proto.Bool(true),
- OptInt32: proto.Int32(0xff),
- OptInt64: proto.Int64(0xdeadbeef),
- OptUint32: proto.Uint32(47),
- OptUint64: proto.Uint64(0xdeadbeef),
- OptSint32: proto.Int32(-1001),
- OptSint64: proto.Int64(-0xffff),
- OptFixed64: proto.Uint64(64),
- OptSfixed32: proto.Int32(-32),
- OptFloat: proto.Float32(1.02),
- OptDouble: proto.Float64(1.0199999809265137),
- OptBytes: []byte("\xe8\xb0\xb7\xe6\xad\x8c"),
- OptString: proto.String("谷歌"),
- },
- want: `opt_bool: true
-opt_int32: 255
-opt_int64: 3735928559
-opt_uint32: 47
-opt_uint64: 3735928559
-opt_sint32: -1001
-opt_sint64: -65535
-opt_fixed64: 64
-opt_sfixed32: -32
-opt_float: 1.02
-opt_double: 1.0199999809265137
-opt_bytes: "谷歌"
-opt_string: "谷歌"
-`,
- }, {
- desc: "proto2 string with invalid UTF-8",
- input: &pb2.Scalars{
- OptString: proto.String("abc\xff"),
- },
- want: `opt_string: "abc\xff"
-`,
- }, {
- desc: "proto3 string with invalid UTF-8",
- input: &pb3.Scalars{
- SString: "abc\xff",
- },
- wantErr: true,
- }, {
- desc: "float nan",
- input: &pb3.Scalars{
- SFloat: float32(math.NaN()),
- },
- want: "s_float: nan\n",
- }, {
- desc: "float positive infinity",
- input: &pb3.Scalars{
- SFloat: float32(math.Inf(1)),
- },
- want: "s_float: inf\n",
- }, {
- desc: "float negative infinity",
- input: &pb3.Scalars{
- SFloat: float32(math.Inf(-1)),
- },
- want: "s_float: -inf\n",
- }, {
- desc: "double nan",
- input: &pb3.Scalars{
- SDouble: math.NaN(),
- },
- want: "s_double: nan\n",
- }, {
- desc: "double positive infinity",
- input: &pb3.Scalars{
- SDouble: math.Inf(1),
- },
- want: "s_double: inf\n",
- }, {
- desc: "double negative infinity",
- input: &pb3.Scalars{
- SDouble: math.Inf(-1),
- },
- want: "s_double: -inf\n",
- }, {
- desc: "proto2 enum not set",
- input: &pb2.Enums{},
- want: "",
- }, {
- desc: "proto2 enum set to zero value",
- input: &pb2.Enums{
- OptEnum: pb2.Enum(0).Enum(),
- OptNestedEnum: pb2.Enums_NestedEnum(0).Enum(),
- },
- want: `opt_enum: 0
-opt_nested_enum: 0
-`,
- }, {
- desc: "proto2 enum",
- input: &pb2.Enums{
- OptEnum: pb2.Enum_ONE.Enum(),
- OptNestedEnum: pb2.Enums_UNO.Enum(),
- },
- want: `opt_enum: ONE
-opt_nested_enum: UNO
-`,
- }, {
- desc: "proto2 enum set to numeric values",
- input: &pb2.Enums{
- OptEnum: pb2.Enum(2).Enum(),
- OptNestedEnum: pb2.Enums_NestedEnum(2).Enum(),
- },
- want: `opt_enum: TWO
-opt_nested_enum: DOS
-`,
- }, {
- desc: "proto2 enum set to unnamed numeric values",
- input: &pb2.Enums{
- OptEnum: pb2.Enum(101).Enum(),
- OptNestedEnum: pb2.Enums_NestedEnum(-101).Enum(),
- },
- want: `opt_enum: 101
-opt_nested_enum: -101
-`,
- }, {
- desc: "proto3 enum not set",
- input: &pb3.Enums{},
- want: "",
- }, {
- desc: "proto3 enum set to zero value",
- input: &pb3.Enums{
- SEnum: pb3.Enum_ZERO,
- SNestedEnum: pb3.Enums_CERO,
- },
- want: "",
- }, {
- desc: "proto3 enum",
- input: &pb3.Enums{
- SEnum: pb3.Enum_ONE,
- SNestedEnum: pb3.Enums_UNO,
- },
- want: `s_enum: ONE
-s_nested_enum: UNO
-`,
- }, {
- desc: "proto3 enum set to numeric values",
- input: &pb3.Enums{
- SEnum: 2,
- SNestedEnum: 2,
- },
- want: `s_enum: TWO
-s_nested_enum: DOS
-`,
- }, {
- desc: "proto3 enum set to unnamed numeric values",
- input: &pb3.Enums{
- SEnum: -47,
- SNestedEnum: 47,
- },
- want: `s_enum: -47
-s_nested_enum: 47
-`,
- }, {
- desc: "proto2 nested message not set",
- input: &pb2.Nests{},
- want: "",
- }, {
- desc: "proto2 nested message set to empty",
- input: &pb2.Nests{
- OptNested: &pb2.Nested{},
- Optgroup: &pb2.Nests_OptGroup{},
- },
- want: `opt_nested: {}
-OptGroup: {}
-`,
- }, {
- desc: "proto2 nested messages",
- input: &pb2.Nests{
- OptNested: &pb2.Nested{
- OptString: proto.String("nested message"),
- OptNested: &pb2.Nested{
- OptString: proto.String("another nested message"),
- },
- },
- },
- want: `opt_nested: {
- opt_string: "nested message"
- opt_nested: {
- opt_string: "another nested message"
- }
-}
-`,
- }, {
- desc: "proto2 groups",
- input: &pb2.Nests{
- Optgroup: &pb2.Nests_OptGroup{
- OptString: proto.String("inside a group"),
- OptNested: &pb2.Nested{
- OptString: proto.String("nested message inside a group"),
- },
- Optnestedgroup: &pb2.Nests_OptGroup_OptNestedGroup{
- OptFixed32: proto.Uint32(47),
- },
- },
- },
- want: `OptGroup: {
- opt_string: "inside a group"
- opt_nested: {
- opt_string: "nested message inside a group"
- }
- OptNestedGroup: {
- opt_fixed32: 47
- }
-}
-`,
- }, {
- desc: "proto3 nested message not set",
- input: &pb3.Nests{},
- want: "",
- }, {
- desc: "proto3 nested message set to empty",
- input: &pb3.Nests{
- SNested: &pb3.Nested{},
- },
- want: "s_nested: {}\n",
- }, {
- desc: "proto3 nested message",
- input: &pb3.Nests{
- SNested: &pb3.Nested{
- SString: "nested message",
- SNested: &pb3.Nested{
- SString: "another nested message",
- },
- },
- },
- want: `s_nested: {
- s_string: "nested message"
- s_nested: {
- s_string: "another nested message"
- }
-}
-`,
- }, {
- desc: "proto3 nested message contains invalid UTF-8",
- input: &pb3.Nests{
- SNested: &pb3.Nested{
- SString: "abc\xff",
- },
- },
- wantErr: true,
- }, {
- desc: "oneof not set",
- input: &pb3.Oneofs{},
- want: "",
- }, {
- desc: "oneof set to empty string",
- input: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofString{},
- },
- want: `oneof_string: ""
-`,
- }, {
- desc: "oneof set to string",
- input: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofString{
- OneofString: "hello",
- },
- },
- want: `oneof_string: "hello"
-`,
- }, {
- desc: "oneof set to enum",
- input: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofEnum{
- OneofEnum: pb3.Enum_ZERO,
- },
- },
- want: `oneof_enum: ZERO
-`,
- }, {
- desc: "oneof set to empty message",
- input: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofNested{
- OneofNested: &pb3.Nested{},
- },
- },
- want: "oneof_nested: {}\n",
- }, {
- desc: "oneof set to message",
- input: &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofNested{
- OneofNested: &pb3.Nested{
- SString: "nested message",
- },
- },
- },
- want: `oneof_nested: {
- s_string: "nested message"
-}
-`,
- }, {
- desc: "repeated fields not set",
- input: &pb2.Repeats{},
- want: "",
- }, {
- desc: "repeated fields set to empty slices",
- input: &pb2.Repeats{
- RptBool: []bool{},
- RptInt32: []int32{},
- RptInt64: []int64{},
- RptUint32: []uint32{},
- RptUint64: []uint64{},
- RptFloat: []float32{},
- RptDouble: []float64{},
- RptBytes: [][]byte{},
- },
- want: "",
- }, {
- desc: "repeated fields set to some values",
- input: &pb2.Repeats{
- RptBool: []bool{true, false, true, true},
- RptInt32: []int32{1, 6, 0, 0},
- RptInt64: []int64{-64, 47},
- RptUint32: []uint32{0xff, 0xffff},
- RptUint64: []uint64{0xdeadbeef},
- RptFloat: []float32{float32(math.NaN()), float32(math.Inf(1)), float32(math.Inf(-1)), 1.034},
- RptDouble: []float64{math.NaN(), math.Inf(1), math.Inf(-1), 1.23e-308},
- RptString: []string{"hello", "世界"},
- RptBytes: [][]byte{
- []byte("hello"),
- []byte("\xe4\xb8\x96\xe7\x95\x8c"),
- },
- },
- want: `rpt_bool: true
-rpt_bool: false
-rpt_bool: true
-rpt_bool: true
-rpt_int32: 1
-rpt_int32: 6
-rpt_int32: 0
-rpt_int32: 0
-rpt_int64: -64
-rpt_int64: 47
-rpt_uint32: 255
-rpt_uint32: 65535
-rpt_uint64: 3735928559
-rpt_float: nan
-rpt_float: inf
-rpt_float: -inf
-rpt_float: 1.034
-rpt_double: nan
-rpt_double: inf
-rpt_double: -inf
-rpt_double: 1.23e-308
-rpt_string: "hello"
-rpt_string: "世界"
-rpt_bytes: "hello"
-rpt_bytes: "世界"
-`,
- }, {
- desc: "repeated proto2 contains invalid UTF-8",
- input: &pb2.Repeats{
- RptString: []string{"abc\xff"},
- },
- want: `rpt_string: "abc\xff"
-`,
- }, {
- desc: "repeated proto3 contains invalid UTF-8",
- input: &pb3.Repeats{
- RptString: []string{"abc\xff"},
- },
- wantErr: true,
- }, {
- desc: "repeated enums",
- input: &pb2.Enums{
- RptEnum: []pb2.Enum{pb2.Enum_ONE, 2, pb2.Enum_TEN, 42},
- RptNestedEnum: []pb2.Enums_NestedEnum{2, 47, 10},
- },
- want: `rpt_enum: ONE
-rpt_enum: TWO
-rpt_enum: TEN
-rpt_enum: 42
-rpt_nested_enum: DOS
-rpt_nested_enum: 47
-rpt_nested_enum: DIEZ
-`,
- }, {
- desc: "repeated messages set to empty",
- input: &pb2.Nests{
- RptNested: []*pb2.Nested{},
- Rptgroup: []*pb2.Nests_RptGroup{},
- },
- want: "",
- }, {
- desc: "repeated messages",
- input: &pb2.Nests{
- RptNested: []*pb2.Nested{
- {
- OptString: proto.String("repeat nested one"),
- },
- {
- OptString: proto.String("repeat nested two"),
- OptNested: &pb2.Nested{
- OptString: proto.String("inside repeat nested two"),
- },
- },
- {},
- },
- },
- want: `rpt_nested: {
- opt_string: "repeat nested one"
-}
-rpt_nested: {
- opt_string: "repeat nested two"
- opt_nested: {
- opt_string: "inside repeat nested two"
- }
-}
-rpt_nested: {}
-`,
- }, {
- desc: "repeated messages contains nil value",
- input: &pb2.Nests{
- RptNested: []*pb2.Nested{nil, {}},
- },
- want: `rpt_nested: {}
-rpt_nested: {}
-`,
- }, {
- desc: "repeated groups",
- input: &pb2.Nests{
- Rptgroup: []*pb2.Nests_RptGroup{
- {
- RptString: []string{"hello", "world"},
- },
- {},
- nil,
- },
- },
- want: `RptGroup: {
- rpt_string: "hello"
- rpt_string: "world"
-}
-RptGroup: {}
-RptGroup: {}
-`,
- }, {
- desc: "map fields not set",
- input: &pb3.Maps{},
- want: "",
- }, {
- desc: "map fields set to empty",
- input: &pb3.Maps{
- Int32ToStr: map[int32]string{},
- BoolToUint32: map[bool]uint32{},
- Uint64ToEnum: map[uint64]pb3.Enum{},
- StrToNested: map[string]*pb3.Nested{},
- StrToOneofs: map[string]*pb3.Oneofs{},
- },
- want: "",
- }, {
- desc: "map fields 1",
- input: &pb3.Maps{
- Int32ToStr: map[int32]string{
- -101: "-101",
- 0xff: "0xff",
- 0: "zero",
- },
- BoolToUint32: map[bool]uint32{
- true: 42,
- false: 101,
- },
- },
- want: `int32_to_str: {
- key: -101
- value: "-101"
-}
-int32_to_str: {
- key: 0
- value: "zero"
-}
-int32_to_str: {
- key: 255
- value: "0xff"
-}
-bool_to_uint32: {
- key: false
- value: 101
-}
-bool_to_uint32: {
- key: true
- value: 42
-}
-`,
- }, {
- desc: "map fields 2",
- input: &pb3.Maps{
- Uint64ToEnum: map[uint64]pb3.Enum{
- 1: pb3.Enum_ONE,
- 2: pb3.Enum_TWO,
- 10: pb3.Enum_TEN,
- 47: 47,
- },
- },
- want: `uint64_to_enum: {
- key: 1
- value: ONE
-}
-uint64_to_enum: {
- key: 2
- value: TWO
-}
-uint64_to_enum: {
- key: 10
- value: TEN
-}
-uint64_to_enum: {
- key: 47
- value: 47
-}
-`,
- }, {
- desc: "map fields 3",
- input: &pb3.Maps{
- StrToNested: map[string]*pb3.Nested{
- "nested": &pb3.Nested{
- SString: "nested in a map",
- },
- },
- },
- want: `str_to_nested: {
- key: "nested"
- value: {
- s_string: "nested in a map"
- }
-}
-`,
- }, {
- desc: "map fields 4",
- input: &pb3.Maps{
- StrToOneofs: map[string]*pb3.Oneofs{
- "string": &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofString{
- OneofString: "hello",
- },
- },
- "nested": &pb3.Oneofs{
- Union: &pb3.Oneofs_OneofNested{
- OneofNested: &pb3.Nested{
- SString: "nested oneof in map field value",
- },
- },
- },
- },
- },
- want: `str_to_oneofs: {
- key: "nested"
- value: {
- oneof_nested: {
- s_string: "nested oneof in map field value"
- }
- }
-}
-str_to_oneofs: {
- key: "string"
- value: {
- oneof_string: "hello"
- }
-}
-`,
- }, {
- desc: "proto2 map field value contains invalid UTF-8",
- input: &pb2.Maps{
- Int32ToStr: map[int32]string{
- 101: "abc\xff",
- },
- },
- want: `int32_to_str: {
- key: 101
- value: "abc\xff"
-}
-`,
- }, {
- desc: "proto2 map field key contains invalid UTF-8",
- input: &pb2.Maps{
- StrToNested: map[string]*pb2.Nested{
- "abc\xff": {},
- },
- },
- want: `str_to_nested: {
- key: "abc\xff"
- value: {}
-}
-`,
- }, {
- desc: "proto3 map field value contains invalid UTF-8",
- input: &pb3.Maps{
- Int32ToStr: map[int32]string{
- 101: "abc\xff",
- },
- },
- wantErr: true,
- }, {
- desc: "proto3 map field key contains invalid UTF-8",
- input: &pb3.Maps{
- StrToNested: map[string]*pb3.Nested{
- "abc\xff": {},
- },
- },
- wantErr: true,
- }, {
- desc: "map field contains nil value",
- input: &pb3.Maps{
- StrToNested: map[string]*pb3.Nested{
- "nil": nil,
- },
- },
- want: `str_to_nested: {
- key: "nil"
- value: {}
-}
-`,
- }, {
- desc: "required fields not set",
- input: &pb2.Requireds{},
- want: "",
- wantErr: true,
- }, {
- desc: "required fields partially set",
- input: &pb2.Requireds{
- ReqBool: proto.Bool(false),
- ReqSfixed64: proto.Int64(0xbeefcafe),
- ReqDouble: proto.Float64(math.NaN()),
- ReqString: proto.String("hello"),
- ReqEnum: pb2.Enum_ONE.Enum(),
- },
- want: `req_bool: false
-req_sfixed64: 3203386110
-req_double: nan
-req_string: "hello"
-req_enum: ONE
-`,
- wantErr: true,
- }, {
- desc: "required fields not set with AllowPartial",
- mo: prototext.MarshalOptions{AllowPartial: true},
- input: &pb2.Requireds{
- ReqBool: proto.Bool(false),
- ReqSfixed64: proto.Int64(0xbeefcafe),
- ReqDouble: proto.Float64(math.NaN()),
- ReqString: proto.String("hello"),
- ReqEnum: pb2.Enum_ONE.Enum(),
- },
- want: `req_bool: false
-req_sfixed64: 3203386110
-req_double: nan
-req_string: "hello"
-req_enum: ONE
-`,
- }, {
- desc: "required fields all set",
- input: &pb2.Requireds{
- ReqBool: proto.Bool(false),
- ReqSfixed64: proto.Int64(0),
- ReqDouble: proto.Float64(1.23),
- ReqString: proto.String(""),
- ReqEnum: pb2.Enum_ONE.Enum(),
- ReqNested: &pb2.Nested{},
- },
- want: `req_bool: false
-req_sfixed64: 0
-req_double: 1.23
-req_string: ""
-req_enum: ONE
-req_nested: {}
-`,
- }, {
- desc: "indirect required field",
- input: &pb2.IndirectRequired{
- OptNested: &pb2.NestedWithRequired{},
- },
- want: "opt_nested: {}\n",
- wantErr: true,
- }, {
- desc: "indirect required field with AllowPartial",
- mo: prototext.MarshalOptions{AllowPartial: true},
- input: &pb2.IndirectRequired{
- OptNested: &pb2.NestedWithRequired{},
- },
- want: "opt_nested: {}\n",
- }, {
- desc: "indirect required field in empty repeated",
- input: &pb2.IndirectRequired{
- RptNested: []*pb2.NestedWithRequired{},
- },
- want: "",
- }, {
- desc: "indirect required field in repeated",
- input: &pb2.IndirectRequired{
- RptNested: []*pb2.NestedWithRequired{
- &pb2.NestedWithRequired{},
- },
- },
- want: "rpt_nested: {}\n",
- wantErr: true,
- }, {
- desc: "indirect required field in repeated with AllowPartial",
- mo: prototext.MarshalOptions{AllowPartial: true},
- input: &pb2.IndirectRequired{
- RptNested: []*pb2.NestedWithRequired{
- &pb2.NestedWithRequired{},
- },
- },
- want: "rpt_nested: {}\n",
- }, {
- desc: "indirect required field in empty map",
- input: &pb2.IndirectRequired{
- StrToNested: map[string]*pb2.NestedWithRequired{},
- },
- want: "",
- }, {
- desc: "indirect required field in map",
- input: &pb2.IndirectRequired{
- StrToNested: map[string]*pb2.NestedWithRequired{
- "fail": &pb2.NestedWithRequired{},
- },
- },
- want: `str_to_nested: {
- key: "fail"
- value: {}
-}
-`,
- wantErr: true,
- }, {
- desc: "indirect required field in map with AllowPartial",
- mo: prototext.MarshalOptions{AllowPartial: true},
- input: &pb2.IndirectRequired{
- StrToNested: map[string]*pb2.NestedWithRequired{
- "fail": &pb2.NestedWithRequired{},
- },
- },
- want: `str_to_nested: {
- key: "fail"
- value: {}
-}
-`,
- }, {
- desc: "indirect required field in oneof",
- input: &pb2.IndirectRequired{
- Union: &pb2.IndirectRequired_OneofNested{
- OneofNested: &pb2.NestedWithRequired{},
- },
- },
- want: "oneof_nested: {}\n",
- wantErr: true,
- }, {
- desc: "indirect required field in oneof with AllowPartial",
- mo: prototext.MarshalOptions{AllowPartial: true},
- input: &pb2.IndirectRequired{
- Union: &pb2.IndirectRequired_OneofNested{
- OneofNested: &pb2.NestedWithRequired{},
- },
- },
- want: "oneof_nested: {}\n",
- }, {
- desc: "unknown fields not printed",
- input: func() proto.Message {
- m := &pb2.Scalars{
- OptString: proto.String("this message contains unknown fields"),
- }
- m.ProtoReflect().SetUnknown(protopack.Message{
- protopack.Tag{101, protopack.VarintType}, protopack.Bool(true),
- protopack.Tag{102, protopack.VarintType}, protopack.Varint(0xff),
- protopack.Tag{103, protopack.Fixed32Type}, protopack.Uint32(47),
- protopack.Tag{104, protopack.Fixed64Type}, protopack.Int64(0xdeadbeef),
- }.Marshal())
- return m
- }(),
- want: `opt_string: "this message contains unknown fields"
-`,
- }, {
- desc: "unknown varint and fixed types",
- mo: prototext.MarshalOptions{EmitUnknown: true},
- input: func() proto.Message {
- m := &pb2.Scalars{
- OptString: proto.String("this message contains unknown fields"),
- }
- m.ProtoReflect().SetUnknown(protopack.Message{
- protopack.Tag{101, protopack.VarintType}, protopack.Bool(true),
- protopack.Tag{102, protopack.VarintType}, protopack.Varint(0xff),
- protopack.Tag{103, protopack.Fixed32Type}, protopack.Uint32(0x47),
- protopack.Tag{104, protopack.Fixed64Type}, protopack.Int64(0xdeadbeef),
- }.Marshal())
- return m
- }(),
- want: `opt_string: "this message contains unknown fields"
-101: 1
-102: 255
-103: 0x47
-104: 0xdeadbeef
-`,
- }, {
- desc: "unknown length-delimited",
- mo: prototext.MarshalOptions{EmitUnknown: true},
- input: func() proto.Message {
- m := new(pb2.Scalars)
- m.ProtoReflect().SetUnknown(protopack.Message{
- protopack.Tag{101, protopack.BytesType}, protopack.LengthPrefix{protopack.Bool(true), protopack.Bool(false)},
- protopack.Tag{102, protopack.BytesType}, protopack.String("hello world"),
- protopack.Tag{103, protopack.BytesType}, protopack.Bytes("\xe4\xb8\x96\xe7\x95\x8c"),
- }.Marshal())
- return m
- }(),
- want: `101: "\x01\x00"
-102: "hello world"
-103: "世界"
-`,
- }, {
- desc: "unknown group type",
- mo: prototext.MarshalOptions{EmitUnknown: true},
- input: func() proto.Message {
- m := new(pb2.Scalars)
- m.ProtoReflect().SetUnknown(protopack.Message{
- protopack.Tag{101, protopack.StartGroupType}, protopack.Tag{101, protopack.EndGroupType},
- protopack.Tag{102, protopack.StartGroupType},
- protopack.Tag{101, protopack.VarintType}, protopack.Bool(false),
- protopack.Tag{102, protopack.BytesType}, protopack.String("inside a group"),
- protopack.Tag{102, protopack.EndGroupType},
- }.Marshal())
- return m
- }(),
- want: `101: {}
-102: {
- 101: 0
- 102: "inside a group"
-}
-`,
- }, {
- desc: "unknown unpack repeated field",
- mo: prototext.MarshalOptions{EmitUnknown: true},
- input: func() proto.Message {
- m := new(pb2.Scalars)
- m.ProtoReflect().SetUnknown(protopack.Message{
- protopack.Tag{101, protopack.BytesType}, protopack.LengthPrefix{protopack.Bool(true), protopack.Bool(false), protopack.Bool(true)},
- protopack.Tag{102, protopack.BytesType}, protopack.String("hello"),
- protopack.Tag{101, protopack.VarintType}, protopack.Bool(true),
- protopack.Tag{102, protopack.BytesType}, protopack.String("世界"),
- }.Marshal())
- return m
- }(),
- want: `101: "\x01\x00\x01"
-102: "hello"
-101: 1
-102: "世界"
-`,
- }, {
- desc: "extensions of non-repeated fields",
- input: func() proto.Message {
- m := &pb2.Extensions{
- OptString: proto.String("non-extension field"),
- OptBool: proto.Bool(true),
- OptInt32: proto.Int32(42),
- }
- proto.SetExtension(m, pb2.E_OptExtBool, true)
- proto.SetExtension(m, pb2.E_OptExtString, "extension field")
- proto.SetExtension(m, pb2.E_OptExtEnum, pb2.Enum_TEN)
- proto.SetExtension(m, pb2.E_OptExtNested, &pb2.Nested{
- OptString: proto.String("nested in an extension"),
- OptNested: &pb2.Nested{
- OptString: proto.String("another nested in an extension"),
- },
- })
- return m
- }(),
- want: `opt_string: "non-extension field"
-opt_bool: true
-opt_int32: 42
-[pb2.opt_ext_bool]: true
-[pb2.opt_ext_enum]: TEN
-[pb2.opt_ext_nested]: {
- opt_string: "nested in an extension"
- opt_nested: {
- opt_string: "another nested in an extension"
- }
-}
-[pb2.opt_ext_string]: "extension field"
-`,
- }, {
- desc: "proto2 extension field contains invalid UTF-8",
- input: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_OptExtString, "abc\xff")
- return m
- }(),
- want: `[pb2.opt_ext_string]: "abc\xff"
-`,
- }, {
- desc: "extension partial returns error",
- input: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_OptExtPartial, &pb2.PartialRequired{
- OptString: proto.String("partial1"),
- })
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtPartial, &pb2.PartialRequired{
- OptString: proto.String("partial2"),
- })
- return m
- }(),
- want: `[pb2.ExtensionsContainer.opt_ext_partial]: {
- opt_string: "partial2"
-}
-[pb2.opt_ext_partial]: {
- opt_string: "partial1"
-}
-`,
- wantErr: true,
- }, {
- desc: "extension partial with AllowPartial",
- mo: prototext.MarshalOptions{AllowPartial: true},
- input: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_OptExtPartial, &pb2.PartialRequired{
- OptString: proto.String("partial1"),
- })
- return m
- }(),
- want: `[pb2.opt_ext_partial]: {
- opt_string: "partial1"
-}
-`,
- }, {
- desc: "extensions of repeated fields",
- input: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_RptExtEnum, []pb2.Enum{pb2.Enum_TEN, 101, pb2.Enum_ONE})
- proto.SetExtension(m, pb2.E_RptExtFixed32, []uint32{42, 47})
- proto.SetExtension(m, pb2.E_RptExtNested, []*pb2.Nested{
- &pb2.Nested{OptString: proto.String("one")},
- &pb2.Nested{OptString: proto.String("two")},
- &pb2.Nested{OptString: proto.String("three")},
- })
- return m
- }(),
- want: `[pb2.rpt_ext_enum]: TEN
-[pb2.rpt_ext_enum]: 101
-[pb2.rpt_ext_enum]: ONE
-[pb2.rpt_ext_fixed32]: 42
-[pb2.rpt_ext_fixed32]: 47
-[pb2.rpt_ext_nested]: {
- opt_string: "one"
-}
-[pb2.rpt_ext_nested]: {
- opt_string: "two"
-}
-[pb2.rpt_ext_nested]: {
- opt_string: "three"
-}
-`,
- }, {
- desc: "extensions of non-repeated fields in another message",
- input: func() proto.Message {
- m := &pb2.Extensions{}
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtBool, true)
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtString, "extension field")
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtEnum, pb2.Enum_TEN)
- proto.SetExtension(m, pb2.E_ExtensionsContainer_OptExtNested, &pb2.Nested{
- OptString: proto.String("nested in an extension"),
- OptNested: &pb2.Nested{
- OptString: proto.String("another nested in an extension"),
- },
- })
- return m
- }(),
- want: `[pb2.ExtensionsContainer.opt_ext_bool]: true
-[pb2.ExtensionsContainer.opt_ext_enum]: TEN
-[pb2.ExtensionsContainer.opt_ext_nested]: {
- opt_string: "nested in an extension"
- opt_nested: {
- opt_string: "another nested in an extension"
- }
-}
-[pb2.ExtensionsContainer.opt_ext_string]: "extension field"
-`,
- }, {
- desc: "extensions of repeated fields in another message",
- input: func() proto.Message {
- m := &pb2.Extensions{
- OptString: proto.String("non-extension field"),
- OptBool: proto.Bool(true),
- OptInt32: proto.Int32(42),
- }
- proto.SetExtension(m, pb2.E_ExtensionsContainer_RptExtEnum, []pb2.Enum{pb2.Enum_TEN, 101, pb2.Enum_ONE})
- proto.SetExtension(m, pb2.E_ExtensionsContainer_RptExtString, []string{"hello", "world"})
- proto.SetExtension(m, pb2.E_ExtensionsContainer_RptExtNested, []*pb2.Nested{
- &pb2.Nested{OptString: proto.String("one")},
- &pb2.Nested{OptString: proto.String("two")},
- &pb2.Nested{OptString: proto.String("three")},
- })
- return m
- }(),
- want: `opt_string: "non-extension field"
-opt_bool: true
-opt_int32: 42
-[pb2.ExtensionsContainer.rpt_ext_enum]: TEN
-[pb2.ExtensionsContainer.rpt_ext_enum]: 101
-[pb2.ExtensionsContainer.rpt_ext_enum]: ONE
-[pb2.ExtensionsContainer.rpt_ext_nested]: {
- opt_string: "one"
-}
-[pb2.ExtensionsContainer.rpt_ext_nested]: {
- opt_string: "two"
-}
-[pb2.ExtensionsContainer.rpt_ext_nested]: {
- opt_string: "three"
-}
-[pb2.ExtensionsContainer.rpt_ext_string]: "hello"
-[pb2.ExtensionsContainer.rpt_ext_string]: "world"
-`,
- }, {
- desc: "MessageSet",
- input: func() proto.Message {
- m := &pb2.MessageSet{}
- proto.SetExtension(m, pb2.E_MessageSetExtension_MessageSetExtension, &pb2.MessageSetExtension{
- OptString: proto.String("a messageset extension"),
- })
- proto.SetExtension(m, pb2.E_MessageSetExtension_NotMessageSetExtension, &pb2.MessageSetExtension{
- OptString: proto.String("not a messageset extension"),
- })
- proto.SetExtension(m, pb2.E_MessageSetExtension_ExtNested, &pb2.Nested{
- OptString: proto.String("just a regular extension"),
- })
- return m
- }(),
- want: `[pb2.MessageSetExtension.ext_nested]: {
- opt_string: "just a regular extension"
-}
-[pb2.MessageSetExtension]: {
- opt_string: "a messageset extension"
-}
-[pb2.MessageSetExtension.not_message_set_extension]: {
- opt_string: "not a messageset extension"
-}
-`,
- skip: !flags.ProtoLegacy,
- }, {
- desc: "not real MessageSet 1",
- input: func() proto.Message {
- m := &pb2.FakeMessageSet{}
- proto.SetExtension(m, pb2.E_FakeMessageSetExtension_MessageSetExtension, &pb2.FakeMessageSetExtension{
- OptString: proto.String("not a messageset extension"),
- })
- return m
- }(),
- want: `[pb2.FakeMessageSetExtension.message_set_extension]: {
- opt_string: "not a messageset extension"
-}
-`,
- skip: !flags.ProtoLegacy,
- }, {
- desc: "not real MessageSet 2",
- input: func() proto.Message {
- m := &pb2.MessageSet{}
- proto.SetExtension(m, pb2.E_MessageSetExtension, &pb2.FakeMessageSetExtension{
- OptString: proto.String("another not a messageset extension"),
- })
- return m
- }(),
- want: `[pb2.message_set_extension]: {
- opt_string: "another not a messageset extension"
-}
-`,
- skip: !flags.ProtoLegacy,
- }, {
- desc: "Any not expanded",
- mo: prototext.MarshalOptions{
- Resolver: new(protoregistry.Types),
- },
- input: func() proto.Message {
- m := &pb2.Nested{
- OptString: proto.String("embedded inside Any"),
- OptNested: &pb2.Nested{
- OptString: proto.String("inception"),
- },
- }
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "pb2.Nested",
- Value: b,
- }
- }(),
- want: `type_url: "pb2.Nested"
-value: "\n\x13embedded inside Any\x12\x0b\n\tinception"
-`,
- }, {
- desc: "Any expanded",
- input: func() proto.Message {
- m := &pb2.Nested{
- OptString: proto.String("embedded inside Any"),
- OptNested: &pb2.Nested{
- OptString: proto.String("inception"),
- },
- }
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: "foo/pb2.Nested",
- Value: b,
- }
- }(),
- want: `[foo/pb2.Nested]: {
- opt_string: "embedded inside Any"
- opt_nested: {
- opt_string: "inception"
- }
-}
-`,
- }, {
- desc: "Any expanded with missing required",
- input: func() proto.Message {
- m := &pb2.PartialRequired{
- OptString: proto.String("embedded inside Any"),
- }
- b, err := proto.MarshalOptions{
- AllowPartial: true,
- Deterministic: true,
- }.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &anypb.Any{
- TypeUrl: string(m.ProtoReflect().Descriptor().FullName()),
- Value: b,
- }
- }(),
- want: `[pb2.PartialRequired]: {
- opt_string: "embedded inside Any"
-}
-`,
- }, {
- desc: "Any with invalid value",
- input: &anypb.Any{
- TypeUrl: "foo/pb2.Nested",
- Value: []byte("\x80"),
- },
- want: `type_url: "foo/pb2.Nested"
-value: "\x80"
-`,
- }, {
- desc: "Any expanded in another message",
- input: func() *pb2.KnownTypes {
- m1 := &pb2.Nested{
- OptString: proto.String("message inside Any of another Any field"),
- }
- b1, err := proto.MarshalOptions{Deterministic: true}.Marshal(m1)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- m2 := &anypb.Any{
- TypeUrl: "pb2.Nested",
- Value: b1,
- }
- b2, err := proto.MarshalOptions{Deterministic: true}.Marshal(m2)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &pb2.KnownTypes{
- OptAny: &anypb.Any{
- TypeUrl: "google.protobuf.Any",
- Value: b2,
- },
- }
- }(),
- want: `opt_any: {
- [google.protobuf.Any]: {
- [pb2.Nested]: {
- opt_string: "message inside Any of another Any field"
- }
- }
-}
-`,
- }, {
- desc: "Any expanded with invalid UTF-8 in proto2",
- input: func() *pb2.KnownTypes {
- m := &pb2.Nested{
- OptString: proto.String("invalid UTF-8 abc\xff"),
- }
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &pb2.KnownTypes{
- OptAny: &anypb.Any{
- TypeUrl: "pb2.Nested",
- Value: b,
- },
- }
- }(),
- want: `opt_any: {
- [pb2.Nested]: {
- opt_string: "invalid UTF-8 abc\xff"
- }
-}
-`,
- }, {
- desc: "Any not expanded due to invalid data",
- mo: prototext.MarshalOptions{EmitASCII: true},
- input: func() *pb2.KnownTypes {
- return &pb2.KnownTypes{
- OptAny: &anypb.Any{
- TypeUrl: "pb3.Scalar",
- Value: []byte("\xde\xad\xbe\xef"),
- },
- }
- }(),
- want: `opt_any: {
- type_url: "pb3.Scalar"
- value: "\u07ad\xbe\xef"
-}
-`,
- }, {
- desc: "Any inside Any expanded",
- input: func() *pb2.KnownTypes {
- m1 := &pb2.Nested{
- OptString: proto.String("invalid UTF-8 abc\xff"),
- }
- b1, err := proto.MarshalOptions{Deterministic: true}.Marshal(m1)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- m2 := &anypb.Any{
- TypeUrl: "pb2.Nested",
- Value: b1,
- }
- b2, err := proto.MarshalOptions{Deterministic: true}.Marshal(m2)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &pb2.KnownTypes{
- OptAny: &anypb.Any{
- TypeUrl: "google.protobuf.Any",
- Value: b2,
- },
- }
- }(),
- want: `opt_any: {
- [google.protobuf.Any]: {
- [pb2.Nested]: {
- opt_string: "invalid UTF-8 abc\xff"
- }
- }
-}
-`,
- }, {
- desc: "Any inside Any not expanded due to invalid data",
- mo: prototext.MarshalOptions{EmitASCII: true},
- input: func() *pb2.KnownTypes {
- m := &anypb.Any{
- TypeUrl: "pb2.Nested",
- Value: []byte("\xde\xad\xbe\xef"),
- }
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &pb2.KnownTypes{
- OptAny: &anypb.Any{
- TypeUrl: "google.protobuf.Any",
- Value: b,
- },
- }
- }(),
- want: `opt_any: {
- [google.protobuf.Any]: {
- type_url: "pb2.Nested"
- value: "\u07ad\xbe\xef"
- }
-}
-`,
- }}
-
- for _, tt := range tests {
- tt := tt
- if tt.skip {
- continue
- }
- t.Run(tt.desc, func(t *testing.T) {
- // Use 2-space indentation on all MarshalOptions.
- tt.mo.Indent = " "
- b, err := tt.mo.Marshal(tt.input)
- if err != nil && !tt.wantErr {
- t.Errorf("Marshal() returned error: %v\n", err)
- }
- if err == nil && tt.wantErr {
- t.Error("Marshal() got nil error, want error\n")
- }
- got := string(b)
- if tt.want != "" && got != tt.want {
- t.Errorf("Marshal()\n<got>\n%v\n<want>\n%v\n", got, tt.want)
- if diff := cmp.Diff(tt.want, got); diff != "" {
- t.Errorf("Marshal() diff -want +got\n%v\n", diff)
- }
- }
- })
- }
-}
-
-func TestEncodeAppend(t *testing.T) {
- want := []byte("prefix")
- got := append([]byte(nil), want...)
- got, err := prototext.MarshalOptions{}.MarshalAppend(got, &pb3.Scalars{
- SString: "value",
- })
- if err != nil {
- t.Fatal(err)
- }
- if !bytes.HasPrefix(got, want) {
- t.Fatalf("MarshalAppend modified prefix: got %v, want prefix %v", got, want)
- }
-}
-
-func TestMarshalAppendAllocations(t *testing.T) {
- m := &pb3.Scalars{SInt32: 1}
- const count = 1000
- size := 9
- b := make([]byte, size)
- // AllocsPerRun returns an integral value.
- marshalAllocs := testing.AllocsPerRun(count, func() {
- _, err := prototext.MarshalOptions{}.MarshalAppend(b[:0], m)
- if err != nil {
- t.Fatal(err)
- }
- })
- b = nil
- marshalAppendAllocs := testing.AllocsPerRun(count, func() {
- var err error
- b, err = prototext.MarshalOptions{}.MarshalAppend(b, m)
- if err != nil {
- t.Fatal(err)
- }
- })
- if marshalAllocs != marshalAppendAllocs {
- t.Errorf("%v allocs/op when writing to a preallocated buffer", marshalAllocs)
- t.Errorf("%v allocs/op when repeatedly appending to a slice", marshalAppendAllocs)
- t.Errorf("expect amortized allocs/op to be identical")
- }
-}
diff --git a/vendor/google.golang.org/protobuf/encoding/prototext/gotest/ya.make b/vendor/google.golang.org/protobuf/encoding/prototext/gotest/ya.make
deleted file mode 100644
index 3c69da63d5..0000000000
--- a/vendor/google.golang.org/protobuf/encoding/prototext/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/encoding/prototext)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/encoding/prototext/other_test.go b/vendor/google.golang.org/protobuf/encoding/prototext/other_test.go
deleted file mode 100644
index 5cebffdcdc..0000000000
--- a/vendor/google.golang.org/protobuf/encoding/prototext/other_test.go
+++ /dev/null
@@ -1,238 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package prototext_test
-
-import (
- "testing"
-
- "google.golang.org/protobuf/encoding/prototext"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoregistry"
-
- pb2 "google.golang.org/protobuf/internal/testprotos/textpb2"
- "google.golang.org/protobuf/types/known/anypb"
- "google.golang.org/protobuf/types/known/durationpb"
- "google.golang.org/protobuf/types/known/emptypb"
- "google.golang.org/protobuf/types/known/structpb"
- "google.golang.org/protobuf/types/known/timestamppb"
- "google.golang.org/protobuf/types/known/wrapperspb"
-)
-
-func TestRoundTrip(t *testing.T) {
- tests := []struct {
- desc string
- resolver *protoregistry.Types
- message proto.Message
- }{{
- desc: "well-known type fields set to empty messages",
- message: &pb2.KnownTypes{
- OptBool: &wrapperspb.BoolValue{},
- OptInt32: &wrapperspb.Int32Value{},
- OptInt64: &wrapperspb.Int64Value{},
- OptUint32: &wrapperspb.UInt32Value{},
- OptUint64: &wrapperspb.UInt64Value{},
- OptFloat: &wrapperspb.FloatValue{},
- OptDouble: &wrapperspb.DoubleValue{},
- OptString: &wrapperspb.StringValue{},
- OptBytes: &wrapperspb.BytesValue{},
- OptDuration: &durationpb.Duration{},
- OptTimestamp: &timestamppb.Timestamp{},
- OptStruct: &structpb.Struct{},
- OptList: &structpb.ListValue{},
- OptValue: &structpb.Value{},
- OptEmpty: &emptypb.Empty{},
- OptAny: &anypb.Any{},
- },
- }, {
- desc: "well-known type scalar fields",
- message: &pb2.KnownTypes{
- OptBool: &wrapperspb.BoolValue{
- Value: true,
- },
- OptInt32: &wrapperspb.Int32Value{
- Value: -42,
- },
- OptInt64: &wrapperspb.Int64Value{
- Value: -42,
- },
- OptUint32: &wrapperspb.UInt32Value{
- Value: 0xff,
- },
- OptUint64: &wrapperspb.UInt64Value{
- Value: 0xffff,
- },
- OptFloat: &wrapperspb.FloatValue{
- Value: 1.234,
- },
- OptDouble: &wrapperspb.DoubleValue{
- Value: 1.23e308,
- },
- OptString: &wrapperspb.StringValue{
- Value: "谷歌",
- },
- OptBytes: &wrapperspb.BytesValue{
- Value: []byte("\xe8\xb0\xb7\xe6\xad\x8c"),
- },
- },
- }, {
- desc: "well-known type time-related fields",
- message: &pb2.KnownTypes{
- OptDuration: &durationpb.Duration{
- Seconds: -3600,
- Nanos: -123,
- },
- OptTimestamp: &timestamppb.Timestamp{
- Seconds: 1257894000,
- Nanos: 123,
- },
- },
- }, {
- desc: "Struct field and different Value types",
- message: &pb2.KnownTypes{
- OptStruct: &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "bool": &structpb.Value{
- Kind: &structpb.Value_BoolValue{
- BoolValue: true,
- },
- },
- "double": &structpb.Value{
- Kind: &structpb.Value_NumberValue{
- NumberValue: 3.1415,
- },
- },
- "null": &structpb.Value{
- Kind: &structpb.Value_NullValue{
- NullValue: structpb.NullValue_NULL_VALUE,
- },
- },
- "string": &structpb.Value{
- Kind: &structpb.Value_StringValue{
- StringValue: "string",
- },
- },
- "struct": &structpb.Value{
- Kind: &structpb.Value_StructValue{
- StructValue: &structpb.Struct{
- Fields: map[string]*structpb.Value{
- "bool": &structpb.Value{
- Kind: &structpb.Value_BoolValue{
- BoolValue: false,
- },
- },
- },
- },
- },
- },
- "list": &structpb.Value{
- Kind: &structpb.Value_ListValue{
- ListValue: &structpb.ListValue{
- Values: []*structpb.Value{
- {
- Kind: &structpb.Value_BoolValue{
- BoolValue: false,
- },
- },
- {
- Kind: &structpb.Value_StringValue{
- StringValue: "hello",
- },
- },
- },
- },
- },
- },
- },
- },
- },
- }, {
- desc: "Any field without registered type",
- resolver: new(protoregistry.Types),
- message: func() proto.Message {
- m := &pb2.Nested{
- OptString: proto.String("embedded inside Any"),
- OptNested: &pb2.Nested{
- OptString: proto.String("inception"),
- },
- }
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &pb2.KnownTypes{
- OptAny: &anypb.Any{
- TypeUrl: string(m.ProtoReflect().Descriptor().FullName()),
- Value: b,
- },
- }
- }(),
- }, {
- desc: "Any field with registered type",
- message: func() *pb2.KnownTypes {
- m := &pb2.Nested{
- OptString: proto.String("embedded inside Any"),
- OptNested: &pb2.Nested{
- OptString: proto.String("inception"),
- },
- }
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &pb2.KnownTypes{
- OptAny: &anypb.Any{
- TypeUrl: string(m.ProtoReflect().Descriptor().FullName()),
- Value: b,
- },
- }
- }(),
- }, {
- desc: "Any field containing Any message",
- message: func() *pb2.KnownTypes {
- m1 := &pb2.Nested{
- OptString: proto.String("message inside Any of another Any field"),
- }
- b1, err := proto.MarshalOptions{Deterministic: true}.Marshal(m1)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- m2 := &anypb.Any{
- TypeUrl: "pb2.Nested",
- Value: b1,
- }
- b2, err := proto.MarshalOptions{Deterministic: true}.Marshal(m2)
- if err != nil {
- t.Fatalf("error in binary marshaling message for Any.value: %v", err)
- }
- return &pb2.KnownTypes{
- OptAny: &anypb.Any{
- TypeUrl: "google.protobuf.Any",
- Value: b2,
- },
- }
- }(),
- }}
-
- for _, tt := range tests {
- tt := tt
- t.Run(tt.desc, func(t *testing.T) {
- t.Parallel()
- b, err := prototext.MarshalOptions{Resolver: tt.resolver}.Marshal(tt.message)
- if err != nil {
- t.Errorf("Marshal() returned error: %v\n\n", err)
- }
-
- gotMessage := new(pb2.KnownTypes)
- err = prototext.UnmarshalOptions{Resolver: tt.resolver}.Unmarshal(b, gotMessage)
- if err != nil {
- t.Errorf("Unmarshal() returned error: %v\n\n", err)
- }
-
- if !proto.Equal(gotMessage, tt.message) {
- t.Errorf("Unmarshal()\n<got>\n%v\n<want>\n%v\n", gotMessage, tt.message)
- }
- })
- }
-}
diff --git a/vendor/google.golang.org/protobuf/encoding/prototext/ya.make b/vendor/google.golang.org/protobuf/encoding/prototext/ya.make
index 6eab62f09e..14ea8e575d 100644
--- a/vendor/google.golang.org/protobuf/encoding/prototext/ya.make
+++ b/vendor/google.golang.org/protobuf/encoding/prototext/ya.make
@@ -8,12 +8,4 @@ SRCS(
encode.go
)
-GO_XTEST_SRCS(
- decode_test.go
- encode_test.go
- other_test.go
-)
-
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/encoding/protowire/gotest/ya.make b/vendor/google.golang.org/protobuf/encoding/protowire/gotest/ya.make
deleted file mode 100644
index b19c44c1bb..0000000000
--- a/vendor/google.golang.org/protobuf/encoding/protowire/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/encoding/protowire)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/encoding/protowire/wire.go b/vendor/google.golang.org/protobuf/encoding/protowire/wire.go
index f4b4686cf9..e942bc983e 100644
--- a/vendor/google.golang.org/protobuf/encoding/protowire/wire.go
+++ b/vendor/google.golang.org/protobuf/encoding/protowire/wire.go
@@ -6,7 +6,7 @@
// See https://protobuf.dev/programming-guides/encoding.
//
// For marshaling and unmarshaling entire protobuf messages,
-// use the "google.golang.org/protobuf/proto" package instead.
+// use the [google.golang.org/protobuf/proto] package instead.
package protowire
import (
@@ -87,7 +87,7 @@ func ParseError(n int) error {
// ConsumeField parses an entire field record (both tag and value) and returns
// the field number, the wire type, and the total length.
-// This returns a negative length upon an error (see ParseError).
+// This returns a negative length upon an error (see [ParseError]).
//
// The total length includes the tag header and the end group marker (if the
// field is a group).
@@ -104,8 +104,8 @@ func ConsumeField(b []byte) (Number, Type, int) {
}
// ConsumeFieldValue parses a field value and returns its length.
-// This assumes that the field Number and wire Type have already been parsed.
-// This returns a negative length upon an error (see ParseError).
+// This assumes that the field [Number] and wire [Type] have already been parsed.
+// This returns a negative length upon an error (see [ParseError]).
//
// When parsing a group, the length includes the end group marker and
// the end group is verified to match the starting field number.
@@ -164,7 +164,7 @@ func AppendTag(b []byte, num Number, typ Type) []byte {
}
// ConsumeTag parses b as a varint-encoded tag, reporting its length.
-// This returns a negative length upon an error (see ParseError).
+// This returns a negative length upon an error (see [ParseError]).
func ConsumeTag(b []byte) (Number, Type, int) {
v, n := ConsumeVarint(b)
if n < 0 {
@@ -263,7 +263,7 @@ func AppendVarint(b []byte, v uint64) []byte {
}
// ConsumeVarint parses b as a varint-encoded uint64, reporting its length.
-// This returns a negative length upon an error (see ParseError).
+// This returns a negative length upon an error (see [ParseError]).
func ConsumeVarint(b []byte) (v uint64, n int) {
var y uint64
if len(b) <= 0 {
@@ -384,7 +384,7 @@ func AppendFixed32(b []byte, v uint32) []byte {
}
// ConsumeFixed32 parses b as a little-endian uint32, reporting its length.
-// This returns a negative length upon an error (see ParseError).
+// This returns a negative length upon an error (see [ParseError]).
func ConsumeFixed32(b []byte) (v uint32, n int) {
if len(b) < 4 {
return 0, errCodeTruncated
@@ -412,7 +412,7 @@ func AppendFixed64(b []byte, v uint64) []byte {
}
// ConsumeFixed64 parses b as a little-endian uint64, reporting its length.
-// This returns a negative length upon an error (see ParseError).
+// This returns a negative length upon an error (see [ParseError]).
func ConsumeFixed64(b []byte) (v uint64, n int) {
if len(b) < 8 {
return 0, errCodeTruncated
@@ -432,7 +432,7 @@ func AppendBytes(b []byte, v []byte) []byte {
}
// ConsumeBytes parses b as a length-prefixed bytes value, reporting its length.
-// This returns a negative length upon an error (see ParseError).
+// This returns a negative length upon an error (see [ParseError]).
func ConsumeBytes(b []byte) (v []byte, n int) {
m, n := ConsumeVarint(b)
if n < 0 {
@@ -456,7 +456,7 @@ func AppendString(b []byte, v string) []byte {
}
// ConsumeString parses b as a length-prefixed bytes value, reporting its length.
-// This returns a negative length upon an error (see ParseError).
+// This returns a negative length upon an error (see [ParseError]).
func ConsumeString(b []byte) (v string, n int) {
bb, n := ConsumeBytes(b)
return string(bb), n
@@ -471,7 +471,7 @@ func AppendGroup(b []byte, num Number, v []byte) []byte {
// ConsumeGroup parses b as a group value until the trailing end group marker,
// and verifies that the end marker matches the provided num. The value v
// does not contain the end marker, while the length does contain the end marker.
-// This returns a negative length upon an error (see ParseError).
+// This returns a negative length upon an error (see [ParseError]).
func ConsumeGroup(num Number, b []byte) (v []byte, n int) {
n = ConsumeFieldValue(num, StartGroupType, b)
if n < 0 {
@@ -495,8 +495,8 @@ func SizeGroup(num Number, n int) int {
return n + SizeTag(num)
}
-// DecodeTag decodes the field Number and wire Type from its unified form.
-// The Number is -1 if the decoded field number overflows int32.
+// DecodeTag decodes the field [Number] and wire [Type] from its unified form.
+// The [Number] is -1 if the decoded field number overflows int32.
// Other than overflow, this does not check for field number validity.
func DecodeTag(x uint64) (Number, Type) {
// NOTE: MessageSet allows for larger field numbers than normal.
@@ -506,7 +506,7 @@ func DecodeTag(x uint64) (Number, Type) {
return Number(x >> 3), Type(x & 7)
}
-// EncodeTag encodes the field Number and wire Type into its unified form.
+// EncodeTag encodes the field [Number] and wire [Type] into its unified form.
func EncodeTag(num Number, typ Type) uint64 {
return uint64(num)<<3 | uint64(typ&7)
}
diff --git a/vendor/google.golang.org/protobuf/encoding/protowire/wire_test.go b/vendor/google.golang.org/protobuf/encoding/protowire/wire_test.go
deleted file mode 100644
index 10ec7f8050..0000000000
--- a/vendor/google.golang.org/protobuf/encoding/protowire/wire_test.go
+++ /dev/null
@@ -1,680 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package protowire
-
-import (
- "bytes"
- "encoding/hex"
- "io"
- "math"
- "strings"
- "testing"
-)
-
-type (
- testOps struct {
- // appendOps is a sequence of append operations, each appending to
- // the output of the previous append operation.
- appendOps []appendOp
-
- // wantRaw (if not nil) is the bytes that the appendOps should produce.
- wantRaw []byte
-
- // consumeOps are a sequence of consume operations, each consuming the
- // remaining output after the previous consume operation.
- // The first consume operation starts with the output of appendOps.
- consumeOps []consumeOp
- }
-
- // appendOp represents an Append operation.
- appendOp = interface{}
- appendTag struct {
- inNum Number
- inType Type
- }
- appendVarint struct {
- inVal uint64
- }
- appendFixed32 struct {
- inVal uint32
- }
- appendFixed64 struct {
- inVal uint64
- }
- appendBytes struct {
- inVal []byte
- }
- appendGroup struct {
- inNum Number
- inVal []byte
- }
- appendRaw []byte
-
- // consumeOp represents an Consume operation.
- consumeOp = interface{}
- consumeField struct {
- wantNum Number
- wantType Type
- wantCnt int
- wantErr error
- }
- consumeFieldValue struct {
- inNum Number
- inType Type
- wantCnt int
- wantErr error
- }
- consumeTag struct {
- wantNum Number
- wantType Type
- wantCnt int
- wantErr error
- }
- consumeVarint struct {
- wantVal uint64
- wantCnt int
- wantErr error
- }
- consumeFixed32 struct {
- wantVal uint32
- wantCnt int
- wantErr error
- }
- consumeFixed64 struct {
- wantVal uint64
- wantCnt int
- wantErr error
- }
- consumeBytes struct {
- wantVal []byte
- wantCnt int
- wantErr error
- }
- consumeGroup struct {
- inNum Number
- wantVal []byte
- wantCnt int
- wantErr error
- }
-
- ops []interface{}
-)
-
-// dhex decodes a hex-string and returns the bytes and panics if s is invalid.
-func dhex(s string) []byte {
- b, err := hex.DecodeString(s)
- if err != nil {
- panic(err)
- }
- return b
-}
-
-func TestTag(t *testing.T) {
- runTests(t, []testOps{{
- appendOps: ops{appendRaw(dhex(""))},
- consumeOps: ops{consumeTag{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendTag{inNum: 0, inType: Fixed32Type}},
- wantRaw: dhex("05"),
- consumeOps: ops{consumeTag{wantErr: errFieldNumber}},
- }, {
- appendOps: ops{appendTag{inNum: 1, inType: Fixed32Type}},
- wantRaw: dhex("0d"),
- consumeOps: ops{consumeTag{wantNum: 1, wantType: Fixed32Type, wantCnt: 1}},
- }, {
- appendOps: ops{appendTag{inNum: FirstReservedNumber, inType: BytesType}},
- wantRaw: dhex("c2a309"),
- consumeOps: ops{consumeTag{wantNum: FirstReservedNumber, wantType: BytesType, wantCnt: 3}},
- }, {
- appendOps: ops{appendTag{inNum: LastReservedNumber, inType: StartGroupType}},
- wantRaw: dhex("fbe109"),
- consumeOps: ops{consumeTag{wantNum: LastReservedNumber, wantType: StartGroupType, wantCnt: 3}},
- }, {
- appendOps: ops{appendTag{inNum: MaxValidNumber, inType: VarintType}},
- wantRaw: dhex("f8ffffff0f"),
- consumeOps: ops{consumeTag{wantNum: MaxValidNumber, wantType: VarintType, wantCnt: 5}},
- }, {
- appendOps: ops{appendVarint{inVal: ((math.MaxInt32+1)<<3 | uint64(VarintType))}},
- wantRaw: dhex("8080808040"),
- consumeOps: ops{consumeTag{wantErr: errFieldNumber}},
- }})
-}
-
-func TestVarint(t *testing.T) {
- runTests(t, []testOps{{
- appendOps: ops{appendRaw(dhex(""))},
- consumeOps: ops{consumeVarint{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendRaw(dhex("80"))},
- consumeOps: ops{consumeVarint{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendRaw(dhex("8080"))},
- consumeOps: ops{consumeVarint{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendRaw(dhex("808080"))},
- consumeOps: ops{consumeVarint{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendRaw(dhex("80808080"))},
- consumeOps: ops{consumeVarint{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendRaw(dhex("8080808080"))},
- consumeOps: ops{consumeVarint{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendRaw(dhex("808080808080"))},
- consumeOps: ops{consumeVarint{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendRaw(dhex("80808080808080"))},
- consumeOps: ops{consumeVarint{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendRaw(dhex("8080808080808080"))},
- consumeOps: ops{consumeVarint{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendRaw(dhex("808080808080808080"))},
- consumeOps: ops{consumeVarint{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendRaw(dhex("80808080808080808080"))},
- consumeOps: ops{consumeVarint{wantErr: errOverflow}},
- }, {
- // Test varints at various boundaries where the length changes.
- appendOps: ops{appendVarint{inVal: 0x0}},
- wantRaw: dhex("00"),
- consumeOps: ops{consumeVarint{wantVal: 0, wantCnt: 1}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x1}},
- wantRaw: dhex("01"),
- consumeOps: ops{consumeVarint{wantVal: 1, wantCnt: 1}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x7f}},
- wantRaw: dhex("7f"),
- consumeOps: ops{consumeVarint{wantVal: 0x7f, wantCnt: 1}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x7f + 1}},
- wantRaw: dhex("8001"),
- consumeOps: ops{consumeVarint{wantVal: 0x7f + 1, wantCnt: 2}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x3fff}},
- wantRaw: dhex("ff7f"),
- consumeOps: ops{consumeVarint{wantVal: 0x3fff, wantCnt: 2}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x3fff + 1}},
- wantRaw: dhex("808001"),
- consumeOps: ops{consumeVarint{wantVal: 0x3fff + 1, wantCnt: 3}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x1fffff}},
- wantRaw: dhex("ffff7f"),
- consumeOps: ops{consumeVarint{wantVal: 0x1fffff, wantCnt: 3}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x1fffff + 1}},
- wantRaw: dhex("80808001"),
- consumeOps: ops{consumeVarint{wantVal: 0x1fffff + 1, wantCnt: 4}},
- }, {
- appendOps: ops{appendVarint{inVal: 0xfffffff}},
- wantRaw: dhex("ffffff7f"),
- consumeOps: ops{consumeVarint{wantVal: 0xfffffff, wantCnt: 4}},
- }, {
- appendOps: ops{appendVarint{inVal: 0xfffffff + 1}},
- wantRaw: dhex("8080808001"),
- consumeOps: ops{consumeVarint{wantVal: 0xfffffff + 1, wantCnt: 5}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x7ffffffff}},
- wantRaw: dhex("ffffffff7f"),
- consumeOps: ops{consumeVarint{wantVal: 0x7ffffffff, wantCnt: 5}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x7ffffffff + 1}},
- wantRaw: dhex("808080808001"),
- consumeOps: ops{consumeVarint{wantVal: 0x7ffffffff + 1, wantCnt: 6}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x3ffffffffff}},
- wantRaw: dhex("ffffffffff7f"),
- consumeOps: ops{consumeVarint{wantVal: 0x3ffffffffff, wantCnt: 6}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x3ffffffffff + 1}},
- wantRaw: dhex("80808080808001"),
- consumeOps: ops{consumeVarint{wantVal: 0x3ffffffffff + 1, wantCnt: 7}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x1ffffffffffff}},
- wantRaw: dhex("ffffffffffff7f"),
- consumeOps: ops{consumeVarint{wantVal: 0x1ffffffffffff, wantCnt: 7}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x1ffffffffffff + 1}},
- wantRaw: dhex("8080808080808001"),
- consumeOps: ops{consumeVarint{wantVal: 0x1ffffffffffff + 1, wantCnt: 8}},
- }, {
- appendOps: ops{appendVarint{inVal: 0xffffffffffffff}},
- wantRaw: dhex("ffffffffffffff7f"),
- consumeOps: ops{consumeVarint{wantVal: 0xffffffffffffff, wantCnt: 8}},
- }, {
- appendOps: ops{appendVarint{inVal: 0xffffffffffffff + 1}},
- wantRaw: dhex("808080808080808001"),
- consumeOps: ops{consumeVarint{wantVal: 0xffffffffffffff + 1, wantCnt: 9}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x7fffffffffffffff}},
- wantRaw: dhex("ffffffffffffffff7f"),
- consumeOps: ops{consumeVarint{wantVal: 0x7fffffffffffffff, wantCnt: 9}},
- }, {
- appendOps: ops{appendVarint{inVal: 0x7fffffffffffffff + 1}},
- wantRaw: dhex("80808080808080808001"),
- consumeOps: ops{consumeVarint{wantVal: 0x7fffffffffffffff + 1, wantCnt: 10}},
- }, {
- appendOps: ops{appendVarint{inVal: math.MaxUint64}},
- wantRaw: dhex("ffffffffffffffffff01"),
- consumeOps: ops{consumeVarint{wantVal: math.MaxUint64, wantCnt: 10}},
- }, {
- appendOps: ops{appendRaw(dhex("ffffffffffffffffff02"))},
- consumeOps: ops{consumeVarint{wantErr: errOverflow}},
- }, {
- // Test denormalized varints; where the encoding, while valid, is
- // larger than necessary.
- appendOps: ops{appendRaw(dhex("01"))},
- consumeOps: ops{consumeVarint{wantVal: 1, wantCnt: 1}},
- }, {
- appendOps: ops{appendRaw(dhex("8100"))},
- consumeOps: ops{consumeVarint{wantVal: 1, wantCnt: 2}},
- }, {
- appendOps: ops{appendRaw(dhex("818000"))},
- consumeOps: ops{consumeVarint{wantVal: 1, wantCnt: 3}},
- }, {
- appendOps: ops{appendRaw(dhex("81808000"))},
- consumeOps: ops{consumeVarint{wantVal: 1, wantCnt: 4}},
- }, {
- appendOps: ops{appendRaw(dhex("8180808000"))},
- consumeOps: ops{consumeVarint{wantVal: 1, wantCnt: 5}},
- }, {
- appendOps: ops{appendRaw(dhex("818080808000"))},
- consumeOps: ops{consumeVarint{wantVal: 1, wantCnt: 6}},
- }, {
- appendOps: ops{appendRaw(dhex("81808080808000"))},
- consumeOps: ops{consumeVarint{wantVal: 1, wantCnt: 7}},
- }, {
- appendOps: ops{appendRaw(dhex("8180808080808000"))},
- consumeOps: ops{consumeVarint{wantVal: 1, wantCnt: 8}},
- }, {
- appendOps: ops{appendRaw(dhex("818080808080808000"))},
- consumeOps: ops{consumeVarint{wantVal: 1, wantCnt: 9}},
- }, {
- appendOps: ops{appendRaw(dhex("81808080808080808000"))},
- consumeOps: ops{consumeVarint{wantVal: 1, wantCnt: 10}},
- }, {
- appendOps: ops{appendRaw(dhex("8180808080808080808000"))},
- consumeOps: ops{consumeVarint{wantErr: errOverflow}},
- }})
-}
-
-func TestFixed32(t *testing.T) {
- runTests(t, []testOps{{
- appendOps: ops{appendRaw(dhex(""))},
- consumeOps: ops{consumeFixed32{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendRaw(dhex("000000"))},
- consumeOps: ops{consumeFixed32{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendFixed32{0}},
- wantRaw: dhex("00000000"),
- consumeOps: ops{consumeFixed32{wantVal: 0, wantCnt: 4}},
- }, {
- appendOps: ops{appendFixed32{math.MaxUint32}},
- wantRaw: dhex("ffffffff"),
- consumeOps: ops{consumeFixed32{wantVal: math.MaxUint32, wantCnt: 4}},
- }, {
- appendOps: ops{appendFixed32{0xf0e1d2c3}},
- wantRaw: dhex("c3d2e1f0"),
- consumeOps: ops{consumeFixed32{wantVal: 0xf0e1d2c3, wantCnt: 4}},
- }})
-}
-
-func TestFixed64(t *testing.T) {
- runTests(t, []testOps{{
- appendOps: ops{appendRaw(dhex(""))},
- consumeOps: ops{consumeFixed64{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendRaw(dhex("00000000000000"))},
- consumeOps: ops{consumeFixed64{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendFixed64{0}},
- wantRaw: dhex("0000000000000000"),
- consumeOps: ops{consumeFixed64{wantVal: 0, wantCnt: 8}},
- }, {
- appendOps: ops{appendFixed64{math.MaxUint64}},
- wantRaw: dhex("ffffffffffffffff"),
- consumeOps: ops{consumeFixed64{wantVal: math.MaxUint64, wantCnt: 8}},
- }, {
- appendOps: ops{appendFixed64{0xf0e1d2c3b4a59687}},
- wantRaw: dhex("8796a5b4c3d2e1f0"),
- consumeOps: ops{consumeFixed64{wantVal: 0xf0e1d2c3b4a59687, wantCnt: 8}},
- }})
-}
-
-func TestBytes(t *testing.T) {
- runTests(t, []testOps{{
- appendOps: ops{appendRaw(dhex(""))},
- consumeOps: ops{consumeBytes{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendRaw(dhex("01"))},
- consumeOps: ops{consumeBytes{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendVarint{0}, appendRaw("")},
- wantRaw: dhex("00"),
- consumeOps: ops{consumeBytes{wantVal: dhex(""), wantCnt: 1}},
- }, {
- appendOps: ops{appendBytes{[]byte("hello")}},
- wantRaw: []byte("\x05hello"),
- consumeOps: ops{consumeBytes{wantVal: []byte("hello"), wantCnt: 6}},
- }, {
- appendOps: ops{appendBytes{[]byte(strings.Repeat("hello", 50))}},
- wantRaw: []byte("\xfa\x01" + strings.Repeat("hello", 50)),
- consumeOps: ops{consumeBytes{wantVal: []byte(strings.Repeat("hello", 50)), wantCnt: 252}},
- }, {
- appendOps: ops{appendRaw("\x85\x80\x00hello")},
- consumeOps: ops{consumeBytes{wantVal: []byte("hello"), wantCnt: 8}},
- }, {
- appendOps: ops{appendRaw("\x85\x80\x00hell")},
- consumeOps: ops{consumeBytes{wantErr: io.ErrUnexpectedEOF}},
- }})
-}
-
-func TestGroup(t *testing.T) {
- runTests(t, []testOps{{
- appendOps: ops{appendRaw(dhex(""))},
- consumeOps: ops{consumeGroup{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{appendTag{inNum: 0, inType: StartGroupType}},
- consumeOps: ops{consumeGroup{inNum: 1, wantErr: errFieldNumber}},
- }, {
- appendOps: ops{appendTag{inNum: 2, inType: EndGroupType}},
- consumeOps: ops{consumeGroup{inNum: 1, wantErr: errEndGroup}},
- }, {
- appendOps: ops{appendTag{inNum: 1, inType: EndGroupType}},
- consumeOps: ops{consumeGroup{inNum: 1, wantCnt: 1}},
- }, {
- appendOps: ops{
- appendTag{inNum: 5, inType: Fixed32Type},
- appendFixed32{0xf0e1d2c3},
- appendTag{inNum: 5, inType: EndGroupType},
- },
- wantRaw: dhex("2dc3d2e1f02c"),
- consumeOps: ops{consumeGroup{inNum: 5, wantVal: dhex("2dc3d2e1f0"), wantCnt: 6}},
- }, {
- appendOps: ops{
- appendTag{inNum: 5, inType: Fixed32Type},
- appendFixed32{0xf0e1d2c3},
- appendRaw(dhex("ac808000")),
- },
- consumeOps: ops{consumeGroup{inNum: 5, wantVal: dhex("2dc3d2e1f0"), wantCnt: 9}},
- }})
-}
-
-func TestField(t *testing.T) {
- runTests(t, []testOps{{
- appendOps: ops{appendRaw(dhex(""))},
- consumeOps: ops{consumeField{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{
- appendTag{inNum: 5000, inType: StartGroupType},
- appendTag{inNum: 1, inType: VarintType},
- appendVarint{123456789},
- appendTag{inNum: 12, inType: Fixed32Type},
- appendFixed32{123456789},
- appendTag{inNum: 123, inType: Fixed64Type},
- appendFixed64{123456789},
- appendTag{inNum: 1234, inType: BytesType},
- appendBytes{[]byte("hello")},
- appendTag{inNum: 12345, inType: StartGroupType},
- appendTag{inNum: 11, inType: VarintType},
- appendVarint{123456789},
- appendTag{inNum: 1212, inType: Fixed32Type},
- appendFixed32{123456789},
- appendTag{inNum: 123123, inType: Fixed64Type},
- appendFixed64{123456789},
- appendTag{inNum: 12341234, inType: BytesType},
- appendBytes{[]byte("goodbye")},
- appendTag{inNum: 12345, inType: EndGroupType},
- appendTag{inNum: 5000, inType: EndGroupType},
- },
- wantRaw: dhex("c3b80208959aef3a6515cd5b07d90715cd5b0700000000924d0568656c6c6fcb830658959aef3ae54b15cd5b07998f3c15cd5b070000000092ff892f07676f6f64627965cc8306c4b802"),
- consumeOps: ops{
- consumeTag{wantNum: 5000, wantType: StartGroupType, wantCnt: 3},
- consumeTag{wantNum: 1, wantType: VarintType, wantCnt: 1},
- consumeVarint{wantVal: 123456789, wantCnt: 4},
- consumeTag{wantNum: 12, wantType: Fixed32Type, wantCnt: 1},
- consumeFixed32{wantVal: 123456789, wantCnt: 4},
- consumeTag{wantNum: 123, wantType: Fixed64Type, wantCnt: 2},
- consumeFixed64{wantVal: 123456789, wantCnt: 8},
- consumeTag{wantNum: 1234, wantType: BytesType, wantCnt: 2},
- consumeBytes{wantVal: []byte("hello"), wantCnt: 6},
- consumeTag{wantNum: 12345, wantType: StartGroupType, wantCnt: 3},
- consumeTag{wantNum: 11, wantType: VarintType, wantCnt: 1},
- consumeVarint{wantVal: 123456789, wantCnt: 4},
- consumeTag{wantNum: 1212, wantType: Fixed32Type, wantCnt: 2},
- consumeFixed32{wantVal: 123456789, wantCnt: 4},
- consumeTag{wantNum: 123123, wantType: Fixed64Type, wantCnt: 3},
- consumeFixed64{wantVal: 123456789, wantCnt: 8},
- consumeTag{wantNum: 12341234, wantType: BytesType, wantCnt: 4},
- consumeBytes{wantVal: []byte("goodbye"), wantCnt: 8},
- consumeTag{wantNum: 12345, wantType: EndGroupType, wantCnt: 3},
- consumeTag{wantNum: 5000, wantType: EndGroupType, wantCnt: 3},
- },
- }, {
- appendOps: ops{appendRaw(dhex("c3b80208959aef3a6515cd5b07d90715cd5b0700000000924d0568656c6c6fcb830658959aef3ae54b15cd5b07998f3c15cd5b070000000092ff892f07676f6f64627965cc8306c4b802"))},
- consumeOps: ops{consumeField{wantNum: 5000, wantType: StartGroupType, wantCnt: 74}},
- }, {
- appendOps: ops{appendTag{inNum: 5, inType: EndGroupType}},
- wantRaw: dhex("2c"),
- consumeOps: ops{consumeField{wantErr: errEndGroup}},
- }, {
- appendOps: ops{
- appendTag{inNum: 1, inType: StartGroupType},
- appendTag{inNum: 22, inType: StartGroupType},
- appendTag{inNum: 333, inType: StartGroupType},
- appendTag{inNum: 4444, inType: StartGroupType},
- appendTag{inNum: 4444, inType: EndGroupType},
- appendTag{inNum: 333, inType: EndGroupType},
- appendTag{inNum: 22, inType: EndGroupType},
- appendTag{inNum: 1, inType: EndGroupType},
- },
- wantRaw: dhex("0bb301eb14e39502e49502ec14b4010c"),
- consumeOps: ops{consumeField{wantNum: 1, wantType: StartGroupType, wantCnt: 16}},
- }, {
- appendOps: ops{
- appendTag{inNum: 1, inType: StartGroupType},
- appendGroup{inNum: 1, inVal: dhex("b301eb14e39502e49502ec14b401")},
- },
- wantRaw: dhex("0b" + "b301eb14e39502e49502ec14b401" + "0c"),
- consumeOps: ops{consumeField{wantNum: 1, wantType: StartGroupType, wantCnt: 16}},
- }, {
- appendOps: ops{
- appendTag{inNum: 1, inType: StartGroupType},
- appendTag{inNum: 22, inType: StartGroupType},
- appendTag{inNum: 333, inType: StartGroupType},
- appendTag{inNum: 4444, inType: StartGroupType},
- appendTag{inNum: 333, inType: EndGroupType},
- appendTag{inNum: 22, inType: EndGroupType},
- appendTag{inNum: 1, inType: EndGroupType},
- },
- consumeOps: ops{consumeField{wantErr: errEndGroup}},
- }, {
- appendOps: ops{
- appendTag{inNum: 1, inType: StartGroupType},
- appendTag{inNum: 22, inType: StartGroupType},
- appendTag{inNum: 333, inType: StartGroupType},
- appendTag{inNum: 4444, inType: StartGroupType},
- appendTag{inNum: 4444, inType: EndGroupType},
- appendTag{inNum: 333, inType: EndGroupType},
- appendTag{inNum: 22, inType: EndGroupType},
- },
- consumeOps: ops{consumeField{wantErr: io.ErrUnexpectedEOF}},
- }, {
- appendOps: ops{
- appendTag{inNum: 1, inType: StartGroupType},
- appendTag{inNum: 22, inType: StartGroupType},
- appendTag{inNum: 333, inType: StartGroupType},
- appendTag{inNum: 4444, inType: StartGroupType},
- appendTag{inNum: 0, inType: VarintType},
- appendTag{inNum: 4444, inType: EndGroupType},
- appendTag{inNum: 333, inType: EndGroupType},
- appendTag{inNum: 22, inType: EndGroupType},
- appendTag{inNum: 1, inType: EndGroupType},
- },
- consumeOps: ops{consumeField{wantErr: errFieldNumber}},
- }, {
- appendOps: ops{
- appendTag{inNum: 1, inType: StartGroupType},
- appendTag{inNum: 22, inType: StartGroupType},
- appendTag{inNum: 333, inType: StartGroupType},
- appendTag{inNum: 4444, inType: StartGroupType},
- appendTag{inNum: 1, inType: 6},
- appendTag{inNum: 4444, inType: EndGroupType},
- appendTag{inNum: 333, inType: EndGroupType},
- appendTag{inNum: 22, inType: EndGroupType},
- appendTag{inNum: 1, inType: EndGroupType},
- },
- consumeOps: ops{consumeField{wantErr: errReserved}},
- }})
-}
-
-func runTests(t *testing.T, tests []testOps) {
- for _, tt := range tests {
- t.Run("", func(t *testing.T) {
- var b []byte
- for _, op := range tt.appendOps {
- b0 := b
- switch op := op.(type) {
- case appendTag:
- b = AppendTag(b, op.inNum, op.inType)
- case appendVarint:
- b = AppendVarint(b, op.inVal)
- case appendFixed32:
- b = AppendFixed32(b, op.inVal)
- case appendFixed64:
- b = AppendFixed64(b, op.inVal)
- case appendBytes:
- b = AppendBytes(b, op.inVal)
- case appendGroup:
- b = AppendGroup(b, op.inNum, op.inVal)
- case appendRaw:
- b = append(b, op...)
- }
-
- check := func(label string, want int) {
- t.Helper()
- if got := len(b) - len(b0); got != want {
- t.Errorf("len(Append%v) and Size%v mismatch: got %v, want %v", label, label, got, want)
- }
- }
- switch op := op.(type) {
- case appendTag:
- check("Tag", SizeTag(op.inNum))
- case appendVarint:
- check("Varint", SizeVarint(op.inVal))
- case appendFixed32:
- check("Fixed32", SizeFixed32())
- case appendFixed64:
- check("Fixed64", SizeFixed64())
- case appendBytes:
- check("Bytes", SizeBytes(len(op.inVal)))
- case appendGroup:
- check("Group", SizeGroup(op.inNum, len(op.inVal)))
- }
- }
-
- if tt.wantRaw != nil && !bytes.Equal(b, tt.wantRaw) {
- t.Errorf("raw output mismatch:\ngot %x\nwant %x", b, tt.wantRaw)
- }
-
- for _, op := range tt.consumeOps {
- check := func(label string, gotCnt, wantCnt int, wantErr error) {
- t.Helper()
- gotErr := ParseError(gotCnt)
- if gotCnt < 0 {
- gotCnt = 0
- }
- if gotCnt != wantCnt {
- t.Errorf("Consume%v(): consumed %d bytes, want %d bytes consumed", label, gotCnt, wantCnt)
- }
- if gotErr != wantErr {
- t.Errorf("Consume%v(): got %v error, want %v error", label, gotErr, wantErr)
- }
- b = b[gotCnt:]
- }
- switch op := op.(type) {
- case consumeField:
- gotNum, gotType, n := ConsumeField(b)
- if gotNum != op.wantNum || gotType != op.wantType {
- t.Errorf("ConsumeField() = (%d, %v), want (%d, %v)", gotNum, gotType, op.wantNum, op.wantType)
- }
- check("Field", n, op.wantCnt, op.wantErr)
- case consumeFieldValue:
- n := ConsumeFieldValue(op.inNum, op.inType, b)
- check("FieldValue", n, op.wantCnt, op.wantErr)
- case consumeTag:
- gotNum, gotType, n := ConsumeTag(b)
- if gotNum != op.wantNum || gotType != op.wantType {
- t.Errorf("ConsumeTag() = (%d, %v), want (%d, %v)", gotNum, gotType, op.wantNum, op.wantType)
- }
- check("Tag", n, op.wantCnt, op.wantErr)
- case consumeVarint:
- gotVal, n := ConsumeVarint(b)
- if gotVal != op.wantVal {
- t.Errorf("ConsumeVarint() = %d, want %d", gotVal, op.wantVal)
- }
- check("Varint", n, op.wantCnt, op.wantErr)
- case consumeFixed32:
- gotVal, n := ConsumeFixed32(b)
- if gotVal != op.wantVal {
- t.Errorf("ConsumeFixed32() = %d, want %d", gotVal, op.wantVal)
- }
- check("Fixed32", n, op.wantCnt, op.wantErr)
- case consumeFixed64:
- gotVal, n := ConsumeFixed64(b)
- if gotVal != op.wantVal {
- t.Errorf("ConsumeFixed64() = %d, want %d", gotVal, op.wantVal)
- }
- check("Fixed64", n, op.wantCnt, op.wantErr)
- case consumeBytes:
- gotVal, n := ConsumeBytes(b)
- if !bytes.Equal(gotVal, op.wantVal) {
- t.Errorf("ConsumeBytes() = %x, want %x", gotVal, op.wantVal)
- }
- check("Bytes", n, op.wantCnt, op.wantErr)
- case consumeGroup:
- gotVal, n := ConsumeGroup(op.inNum, b)
- if !bytes.Equal(gotVal, op.wantVal) {
- t.Errorf("ConsumeGroup() = %x, want %x", gotVal, op.wantVal)
- }
- check("Group", n, op.wantCnt, op.wantErr)
- }
- }
- })
- }
-}
-
-func TestZigZag(t *testing.T) {
- tests := []struct {
- dec int64
- enc uint64
- }{
- {math.MinInt64 + 0, math.MaxUint64 - 0},
- {math.MinInt64 + 1, math.MaxUint64 - 2},
- {math.MinInt64 + 2, math.MaxUint64 - 4},
- {-3, 5},
- {-2, 3},
- {-1, 1},
- {0, 0},
- {+1, 2},
- {+2, 4},
- {+3, 6},
- {math.MaxInt64 - 2, math.MaxUint64 - 5},
- {math.MaxInt64 - 1, math.MaxUint64 - 3},
- {math.MaxInt64 - 0, math.MaxUint64 - 1},
- }
-
- for _, tt := range tests {
- if enc := EncodeZigZag(tt.dec); enc != tt.enc {
- t.Errorf("EncodeZigZag(%d) = %d, want %d", tt.dec, enc, tt.enc)
- }
- if dec := DecodeZigZag(tt.enc); dec != tt.dec {
- t.Errorf("DecodeZigZag(%d) = %d, want %d", tt.enc, dec, tt.dec)
- }
- }
-}
diff --git a/vendor/google.golang.org/protobuf/encoding/protowire/ya.make b/vendor/google.golang.org/protobuf/encoding/protowire/ya.make
index 577108ba46..74a3dc5f92 100644
--- a/vendor/google.golang.org/protobuf/encoding/protowire/ya.make
+++ b/vendor/google.golang.org/protobuf/encoding/protowire/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(wire.go)
-
-GO_TEST_SRCS(wire_test.go)
+SRCS(
+ wire.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/internal/descfmt/desc_test.go b/vendor/google.golang.org/protobuf/internal/descfmt/desc_test.go
deleted file mode 100644
index c9b92f561b..0000000000
--- a/vendor/google.golang.org/protobuf/internal/descfmt/desc_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package descfmt
-
-import (
- "testing"
-)
-
-// TestDescriptorAccessors tests that descriptorAccessors is up-to-date.
-func TestDescriptorAccessors(t *testing.T) {
- ignore := map[string]bool{
- "ParentFile": true,
- "Parent": true,
- "Index": true,
- "Syntax": true,
- "Name": true,
- "FullName": true,
- "IsPlaceholder": true,
- "Options": true,
- "ProtoInternal": true,
- "ProtoType": true,
-
- "TextName": true, // derived from other fields
- "HasOptionalKeyword": true, // captured by HasPresence
- "IsSynthetic": true, // captured by HasPresence
-
- "SourceLocations": true, // specific to FileDescriptor
- "ExtensionRangeOptions": true, // specific to MessageDescriptor
- "DefaultEnumValue": true, // specific to FieldDescriptor
- "MapKey": true, // specific to FieldDescriptor
- "MapValue": true, // specific to FieldDescriptor
- }
-
- for rt, m := range descriptorAccessors {
- got := map[string]bool{}
- for _, s := range m {
- got[s] = true
- }
- want := map[string]bool{}
- for i := 0; i < rt.NumMethod(); i++ {
- want[rt.Method(i).Name] = true
- }
-
- // Check if descriptorAccessors contains a non-existent accessor.
- // If this test fails, remove the accessor from descriptorAccessors.
- for s := range got {
- if !want[s] && !ignore[s] {
- t.Errorf("%v.%v does not exist", rt, s)
- }
- }
-
- // Check if there are new protoreflect interface methods that are not
- // handled by the formatter. If this fails, either add the method to
- // ignore or add them to descriptorAccessors.
- for s := range want {
- if !got[s] && !ignore[s] {
- t.Errorf("%v.%v is not called by formatter", rt, s)
- }
- }
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/descfmt/gotest/ya.make b/vendor/google.golang.org/protobuf/internal/descfmt/gotest/ya.make
deleted file mode 100644
index b40aded50e..0000000000
--- a/vendor/google.golang.org/protobuf/internal/descfmt/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/internal/descfmt)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go b/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go
index db5248e1b5..a45625c8d1 100644
--- a/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go
+++ b/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go
@@ -83,7 +83,13 @@ func formatListOpt(vs list, isRoot, allowMulti bool) string {
case protoreflect.FileImports:
for i := 0; i < vs.Len(); i++ {
var rs records
- rs.Append(reflect.ValueOf(vs.Get(i)), "Path", "Package", "IsPublic", "IsWeak")
+ rv := reflect.ValueOf(vs.Get(i))
+ rs.Append(rv, []methodAndName{
+ {rv.MethodByName("Path"), "Path"},
+ {rv.MethodByName("Package"), "Package"},
+ {rv.MethodByName("IsPublic"), "IsPublic"},
+ {rv.MethodByName("IsWeak"), "IsWeak"},
+ }...)
ss = append(ss, "{"+rs.Join()+"}")
}
return start + joinStrings(ss, allowMulti) + end
@@ -92,34 +98,26 @@ func formatListOpt(vs list, isRoot, allowMulti bool) string {
for i := 0; i < vs.Len(); i++ {
m := reflect.ValueOf(vs).MethodByName("Get")
v := m.Call([]reflect.Value{reflect.ValueOf(i)})[0].Interface()
- ss = append(ss, formatDescOpt(v.(protoreflect.Descriptor), false, allowMulti && !isEnumValue))
+ ss = append(ss, formatDescOpt(v.(protoreflect.Descriptor), false, allowMulti && !isEnumValue, nil))
}
return start + joinStrings(ss, allowMulti && isEnumValue) + end
}
}
-// descriptorAccessors is a list of accessors to print for each descriptor.
-//
-// Do not print all accessors since some contain redundant information,
-// while others are pointers that we do not want to follow since the descriptor
-// is actually a cyclic graph.
-//
-// Using a list allows us to print the accessors in a sensible order.
-var descriptorAccessors = map[reflect.Type][]string{
- reflect.TypeOf((*protoreflect.FileDescriptor)(nil)).Elem(): {"Path", "Package", "Imports", "Messages", "Enums", "Extensions", "Services"},
- reflect.TypeOf((*protoreflect.MessageDescriptor)(nil)).Elem(): {"IsMapEntry", "Fields", "Oneofs", "ReservedNames", "ReservedRanges", "RequiredNumbers", "ExtensionRanges", "Messages", "Enums", "Extensions"},
- reflect.TypeOf((*protoreflect.FieldDescriptor)(nil)).Elem(): {"Number", "Cardinality", "Kind", "HasJSONName", "JSONName", "HasPresence", "IsExtension", "IsPacked", "IsWeak", "IsList", "IsMap", "MapKey", "MapValue", "HasDefault", "Default", "ContainingOneof", "ContainingMessage", "Message", "Enum"},
- reflect.TypeOf((*protoreflect.OneofDescriptor)(nil)).Elem(): {"Fields"}, // not directly used; must keep in sync with formatDescOpt
- reflect.TypeOf((*protoreflect.EnumDescriptor)(nil)).Elem(): {"Values", "ReservedNames", "ReservedRanges"},
- reflect.TypeOf((*protoreflect.EnumValueDescriptor)(nil)).Elem(): {"Number"},
- reflect.TypeOf((*protoreflect.ServiceDescriptor)(nil)).Elem(): {"Methods"},
- reflect.TypeOf((*protoreflect.MethodDescriptor)(nil)).Elem(): {"Input", "Output", "IsStreamingClient", "IsStreamingServer"},
+type methodAndName struct {
+ method reflect.Value
+ name string
}
func FormatDesc(s fmt.State, r rune, t protoreflect.Descriptor) {
- io.WriteString(s, formatDescOpt(t, true, r == 'v' && (s.Flag('+') || s.Flag('#'))))
+ io.WriteString(s, formatDescOpt(t, true, r == 'v' && (s.Flag('+') || s.Flag('#')), nil))
}
-func formatDescOpt(t protoreflect.Descriptor, isRoot, allowMulti bool) string {
+
+func InternalFormatDescOptForTesting(t protoreflect.Descriptor, isRoot, allowMulti bool, record func(string)) string {
+ return formatDescOpt(t, isRoot, allowMulti, record)
+}
+
+func formatDescOpt(t protoreflect.Descriptor, isRoot, allowMulti bool, record func(string)) string {
rv := reflect.ValueOf(t)
rt := rv.MethodByName("ProtoType").Type().In(0)
@@ -129,26 +127,60 @@ func formatDescOpt(t protoreflect.Descriptor, isRoot, allowMulti bool) string {
}
_, isFile := t.(protoreflect.FileDescriptor)
- rs := records{allowMulti: allowMulti}
+ rs := records{
+ allowMulti: allowMulti,
+ record: record,
+ }
if t.IsPlaceholder() {
if isFile {
- rs.Append(rv, "Path", "Package", "IsPlaceholder")
+ rs.Append(rv, []methodAndName{
+ {rv.MethodByName("Path"), "Path"},
+ {rv.MethodByName("Package"), "Package"},
+ {rv.MethodByName("IsPlaceholder"), "IsPlaceholder"},
+ }...)
} else {
- rs.Append(rv, "FullName", "IsPlaceholder")
+ rs.Append(rv, []methodAndName{
+ {rv.MethodByName("FullName"), "FullName"},
+ {rv.MethodByName("IsPlaceholder"), "IsPlaceholder"},
+ }...)
}
} else {
switch {
case isFile:
- rs.Append(rv, "Syntax")
+ rs.Append(rv, methodAndName{rv.MethodByName("Syntax"), "Syntax"})
case isRoot:
- rs.Append(rv, "Syntax", "FullName")
+ rs.Append(rv, []methodAndName{
+ {rv.MethodByName("Syntax"), "Syntax"},
+ {rv.MethodByName("FullName"), "FullName"},
+ }...)
default:
- rs.Append(rv, "Name")
+ rs.Append(rv, methodAndName{rv.MethodByName("Name"), "Name"})
}
switch t := t.(type) {
case protoreflect.FieldDescriptor:
- for _, s := range descriptorAccessors[rt] {
- switch s {
+ accessors := []methodAndName{
+ {rv.MethodByName("Number"), "Number"},
+ {rv.MethodByName("Cardinality"), "Cardinality"},
+ {rv.MethodByName("Kind"), "Kind"},
+ {rv.MethodByName("HasJSONName"), "HasJSONName"},
+ {rv.MethodByName("JSONName"), "JSONName"},
+ {rv.MethodByName("HasPresence"), "HasPresence"},
+ {rv.MethodByName("IsExtension"), "IsExtension"},
+ {rv.MethodByName("IsPacked"), "IsPacked"},
+ {rv.MethodByName("IsWeak"), "IsWeak"},
+ {rv.MethodByName("IsList"), "IsList"},
+ {rv.MethodByName("IsMap"), "IsMap"},
+ {rv.MethodByName("MapKey"), "MapKey"},
+ {rv.MethodByName("MapValue"), "MapValue"},
+ {rv.MethodByName("HasDefault"), "HasDefault"},
+ {rv.MethodByName("Default"), "Default"},
+ {rv.MethodByName("ContainingOneof"), "ContainingOneof"},
+ {rv.MethodByName("ContainingMessage"), "ContainingMessage"},
+ {rv.MethodByName("Message"), "Message"},
+ {rv.MethodByName("Enum"), "Enum"},
+ }
+ for _, s := range accessors {
+ switch s.name {
case "MapKey":
if k := t.MapKey(); k != nil {
rs.recs = append(rs.recs, [2]string{"MapKey", k.Kind().String()})
@@ -157,20 +189,20 @@ func formatDescOpt(t protoreflect.Descriptor, isRoot, allowMulti bool) string {
if v := t.MapValue(); v != nil {
switch v.Kind() {
case protoreflect.EnumKind:
- rs.recs = append(rs.recs, [2]string{"MapValue", string(v.Enum().FullName())})
+ rs.AppendRecs("MapValue", [2]string{"MapValue", string(v.Enum().FullName())})
case protoreflect.MessageKind, protoreflect.GroupKind:
- rs.recs = append(rs.recs, [2]string{"MapValue", string(v.Message().FullName())})
+ rs.AppendRecs("MapValue", [2]string{"MapValue", string(v.Message().FullName())})
default:
- rs.recs = append(rs.recs, [2]string{"MapValue", v.Kind().String()})
+ rs.AppendRecs("MapValue", [2]string{"MapValue", v.Kind().String()})
}
}
case "ContainingOneof":
if od := t.ContainingOneof(); od != nil {
- rs.recs = append(rs.recs, [2]string{"Oneof", string(od.Name())})
+ rs.AppendRecs("ContainingOneof", [2]string{"Oneof", string(od.Name())})
}
case "ContainingMessage":
if t.IsExtension() {
- rs.recs = append(rs.recs, [2]string{"Extendee", string(t.ContainingMessage().FullName())})
+ rs.AppendRecs("ContainingMessage", [2]string{"Extendee", string(t.ContainingMessage().FullName())})
}
case "Message":
if !t.IsMap() {
@@ -187,13 +219,61 @@ func formatDescOpt(t protoreflect.Descriptor, isRoot, allowMulti bool) string {
ss = append(ss, string(fs.Get(i).Name()))
}
if len(ss) > 0 {
- rs.recs = append(rs.recs, [2]string{"Fields", "[" + joinStrings(ss, false) + "]"})
+ rs.AppendRecs("Fields", [2]string{"Fields", "[" + joinStrings(ss, false) + "]"})
}
- default:
- rs.Append(rv, descriptorAccessors[rt]...)
+
+ case protoreflect.FileDescriptor:
+ rs.Append(rv, []methodAndName{
+ {rv.MethodByName("Path"), "Path"},
+ {rv.MethodByName("Package"), "Package"},
+ {rv.MethodByName("Imports"), "Imports"},
+ {rv.MethodByName("Messages"), "Messages"},
+ {rv.MethodByName("Enums"), "Enums"},
+ {rv.MethodByName("Extensions"), "Extensions"},
+ {rv.MethodByName("Services"), "Services"},
+ }...)
+
+ case protoreflect.MessageDescriptor:
+ rs.Append(rv, []methodAndName{
+ {rv.MethodByName("IsMapEntry"), "IsMapEntry"},
+ {rv.MethodByName("Fields"), "Fields"},
+ {rv.MethodByName("Oneofs"), "Oneofs"},
+ {rv.MethodByName("ReservedNames"), "ReservedNames"},
+ {rv.MethodByName("ReservedRanges"), "ReservedRanges"},
+ {rv.MethodByName("RequiredNumbers"), "RequiredNumbers"},
+ {rv.MethodByName("ExtensionRanges"), "ExtensionRanges"},
+ {rv.MethodByName("Messages"), "Messages"},
+ {rv.MethodByName("Enums"), "Enums"},
+ {rv.MethodByName("Extensions"), "Extensions"},
+ }...)
+
+ case protoreflect.EnumDescriptor:
+ rs.Append(rv, []methodAndName{
+ {rv.MethodByName("Values"), "Values"},
+ {rv.MethodByName("ReservedNames"), "ReservedNames"},
+ {rv.MethodByName("ReservedRanges"), "ReservedRanges"},
+ }...)
+
+ case protoreflect.EnumValueDescriptor:
+ rs.Append(rv, []methodAndName{
+ {rv.MethodByName("Number"), "Number"},
+ }...)
+
+ case protoreflect.ServiceDescriptor:
+ rs.Append(rv, []methodAndName{
+ {rv.MethodByName("Methods"), "Methods"},
+ }...)
+
+ case protoreflect.MethodDescriptor:
+ rs.Append(rv, []methodAndName{
+ {rv.MethodByName("Input"), "Input"},
+ {rv.MethodByName("Output"), "Output"},
+ {rv.MethodByName("IsStreamingClient"), "IsStreamingClient"},
+ {rv.MethodByName("IsStreamingServer"), "IsStreamingServer"},
+ }...)
}
- if rv.MethodByName("GoType").IsValid() {
- rs.Append(rv, "GoType")
+ if m := rv.MethodByName("GoType"); m.IsValid() {
+ rs.Append(rv, methodAndName{m, "GoType"})
}
}
return start + rs.Join() + end
@@ -202,19 +282,34 @@ func formatDescOpt(t protoreflect.Descriptor, isRoot, allowMulti bool) string {
type records struct {
recs [][2]string
allowMulti bool
+
+ // record is a function that will be called for every Append() or
+ // AppendRecs() call, to be used for testing with the
+ // InternalFormatDescOptForTesting function.
+ record func(string)
}
-func (rs *records) Append(v reflect.Value, accessors ...string) {
+func (rs *records) AppendRecs(fieldName string, newRecs [2]string) {
+ if rs.record != nil {
+ rs.record(fieldName)
+ }
+ rs.recs = append(rs.recs, newRecs)
+}
+
+func (rs *records) Append(v reflect.Value, accessors ...methodAndName) {
for _, a := range accessors {
+ if rs.record != nil {
+ rs.record(a.name)
+ }
var rv reflect.Value
- if m := v.MethodByName(a); m.IsValid() {
- rv = m.Call(nil)[0]
+ if a.method.IsValid() {
+ rv = a.method.Call(nil)[0]
}
if v.Kind() == reflect.Struct && !rv.IsValid() {
- rv = v.FieldByName(a)
+ rv = v.FieldByName(a.name)
}
if !rv.IsValid() {
- panic(fmt.Sprintf("unknown accessor: %v.%s", v.Type(), a))
+ panic(fmt.Sprintf("unknown accessor: %v.%s", v.Type(), a.name))
}
if _, ok := rv.Interface().(protoreflect.Value); ok {
rv = rv.MethodByName("Interface").Call(nil)[0]
@@ -261,7 +356,7 @@ func (rs *records) Append(v reflect.Value, accessors ...string) {
default:
s = fmt.Sprint(v)
}
- rs.recs = append(rs.recs, [2]string{a, s})
+ rs.recs = append(rs.recs, [2]string{a.name, s})
}
}
diff --git a/vendor/google.golang.org/protobuf/internal/descfmt/ya.make b/vendor/google.golang.org/protobuf/internal/descfmt/ya.make
index eaaabd5a49..6f0464b58b 100644
--- a/vendor/google.golang.org/protobuf/internal/descfmt/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/descfmt/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(stringer.go)
-
-GO_TEST_SRCS(desc_test.go)
+SRCS(
+ stringer.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/internal/descopts/ya.make b/vendor/google.golang.org/protobuf/internal/descopts/ya.make
index 2dcbe19035..26ef6cc24b 100644
--- a/vendor/google.golang.org/protobuf/internal/descopts/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/descopts/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(options.go)
+SRCS(
+ options.go
+)
END()
diff --git a/vendor/google.golang.org/protobuf/internal/detrand/gotest/ya.make b/vendor/google.golang.org/protobuf/internal/detrand/gotest/ya.make
deleted file mode 100644
index e6a5b0942a..0000000000
--- a/vendor/google.golang.org/protobuf/internal/detrand/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/internal/detrand)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/detrand/rand_test.go b/vendor/google.golang.org/protobuf/internal/detrand/rand_test.go
deleted file mode 100644
index 68c55d284c..0000000000
--- a/vendor/google.golang.org/protobuf/internal/detrand/rand_test.go
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package detrand
-
-import "testing"
-
-func Benchmark(b *testing.B) {
- b.ReportAllocs()
- for i := 0; i < b.N; i++ {
- binaryHash()
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/detrand/ya.make b/vendor/google.golang.org/protobuf/internal/detrand/ya.make
index bfb5498787..dd1b8456b9 100644
--- a/vendor/google.golang.org/protobuf/internal/detrand/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/detrand/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(rand.go)
-
-GO_TEST_SRCS(rand_test.go)
+SRCS(
+ rand.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/defval/default_test.go b/vendor/google.golang.org/protobuf/internal/encoding/defval/default_test.go
deleted file mode 100644
index bde8ca2aa3..0000000000
--- a/vendor/google.golang.org/protobuf/internal/encoding/defval/default_test.go
+++ /dev/null
@@ -1,105 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package defval_test
-
-import (
- "math"
- "reflect"
- "testing"
-
- "google.golang.org/protobuf/internal/encoding/defval"
- "google.golang.org/protobuf/internal/filedesc"
- "google.golang.org/protobuf/reflect/protoreflect"
-)
-
-func Test(t *testing.T) {
- evs := filedesc.EnumValues{List: []filedesc.EnumValue{{}}}
- evs.List[0].L0.ParentFile = filedesc.SurrogateProto2
- evs.List[0].L0.FullName = "ALPHA"
- evs.List[0].L1.Number = 1
-
- V := protoreflect.ValueOf
- tests := []struct {
- val protoreflect.Value
- enum protoreflect.EnumValueDescriptor
- enums protoreflect.EnumValueDescriptors
- kind protoreflect.Kind
- strPB string
- strGo string
- }{{
- val: V(bool(true)),
- enum: nil,
- enums: nil,
- kind: protoreflect.BoolKind,
- strPB: "true",
- strGo: "1",
- }, {
- val: V(int32(-0x1234)),
- enum: nil,
- enums: nil,
- kind: protoreflect.Int32Kind,
- strPB: "-4660",
- strGo: "-4660",
- }, {
- val: V(float32(math.Pi)),
- enum: nil,
- enums: nil,
- kind: protoreflect.FloatKind,
- strPB: "3.1415927",
- strGo: "3.1415927",
- }, {
- val: V(float64(math.Pi)),
- enum: nil,
- enums: nil,
- kind: protoreflect.DoubleKind,
- strPB: "3.141592653589793",
- strGo: "3.141592653589793",
- }, {
- val: V(string("hello, \xde\xad\xbe\xef\n")),
- enum: nil,
- enums: nil,
- kind: protoreflect.StringKind,
- strPB: "hello, \xde\xad\xbe\xef\n",
- strGo: "hello, \xde\xad\xbe\xef\n",
- }, {
- val: V([]byte("hello, \xde\xad\xbe\xef\n")),
- enum: nil,
- enums: nil,
- kind: protoreflect.BytesKind,
- strPB: "hello, \\336\\255\\276\\357\\n",
- strGo: "hello, \\336\\255\\276\\357\\n",
- }, {
- val: V(protoreflect.EnumNumber(1)),
- enum: &evs.List[0],
- enums: &evs,
- kind: protoreflect.EnumKind,
- strPB: "ALPHA",
- strGo: "1",
- }}
-
- for _, tt := range tests {
- t.Run("", func(t *testing.T) {
- gotStr, _ := defval.Marshal(tt.val, tt.enum, tt.kind, defval.Descriptor)
- if gotStr != tt.strPB {
- t.Errorf("Marshal(%v, %v, Descriptor) = %q, want %q", tt.val, tt.kind, gotStr, tt.strPB)
- }
-
- gotStr, _ = defval.Marshal(tt.val, tt.enum, tt.kind, defval.GoTag)
- if gotStr != tt.strGo {
- t.Errorf("Marshal(%v, %v, GoTag) = %q, want %q", tt.val, tt.kind, gotStr, tt.strGo)
- }
-
- gotVal, gotEnum, _ := defval.Unmarshal(tt.strPB, tt.kind, tt.enums, defval.Descriptor)
- if !reflect.DeepEqual(gotVal.Interface(), tt.val.Interface()) || gotEnum != tt.enum {
- t.Errorf("Unmarshal(%v, %v, Descriptor) = (%q, %v), want (%q, %v)", tt.strPB, tt.kind, gotVal, gotEnum, tt.val, tt.enum)
- }
-
- gotVal, gotEnum, _ = defval.Unmarshal(tt.strGo, tt.kind, tt.enums, defval.GoTag)
- if !reflect.DeepEqual(gotVal.Interface(), tt.val.Interface()) || gotEnum != tt.enum {
- t.Errorf("Unmarshal(%v, %v, GoTag) = (%q, %v), want (%q, %v)", tt.strGo, tt.kind, gotVal, gotEnum, tt.val, tt.enum)
- }
- })
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/defval/gotest/ya.make b/vendor/google.golang.org/protobuf/internal/encoding/defval/gotest/ya.make
deleted file mode 100644
index 90edb812b1..0000000000
--- a/vendor/google.golang.org/protobuf/internal/encoding/defval/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/internal/encoding/defval)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/defval/ya.make b/vendor/google.golang.org/protobuf/internal/encoding/defval/ya.make
index 96b84b177e..9f5b5a3fb7 100644
--- a/vendor/google.golang.org/protobuf/internal/encoding/defval/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/encoding/defval/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(default.go)
-
-GO_XTEST_SRCS(default_test.go)
+SRCS(
+ default.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/json/bench_test.go b/vendor/google.golang.org/protobuf/internal/encoding/json/bench_test.go
deleted file mode 100644
index 284b141a8e..0000000000
--- a/vendor/google.golang.org/protobuf/internal/encoding/json/bench_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package json_test
-
-import (
- "testing"
-
- "google.golang.org/protobuf/internal/encoding/json"
-)
-
-func BenchmarkFloat(b *testing.B) {
- input := []byte(`1.797693134862315708145274237317043567981e+308`)
- for i := 0; i < b.N; i++ {
- dec := json.NewDecoder(input)
- val, err := dec.Read()
- if err != nil {
- b.Fatal(err)
- }
- if _, ok := val.Float(64); !ok {
- b.Fatal("not a float")
- }
- }
-}
-
-func BenchmarkInt(b *testing.B) {
- input := []byte(`922337203.6854775807e+10`)
- for i := 0; i < b.N; i++ {
- dec := json.NewDecoder(input)
- val, err := dec.Read()
- if err != nil {
- b.Fatal(err)
- }
- if _, ok := val.Int(64); !ok {
- b.Fatal("not an int64")
- }
- }
-}
-
-func BenchmarkString(b *testing.B) {
- input := []byte(`"abcdefghijklmnopqrstuvwxyz0123456789\\n\\t"`)
- for i := 0; i < b.N; i++ {
- dec := json.NewDecoder(input)
- val, err := dec.Read()
- if err != nil {
- b.Fatal(err)
- }
- _ = val.ParsedString()
- }
-}
-
-func BenchmarkBool(b *testing.B) {
- input := []byte(`true`)
- for i := 0; i < b.N; i++ {
- dec := json.NewDecoder(input)
- val, err := dec.Read()
- if err != nil {
- b.Fatal(err)
- }
- _ = val.Bool()
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/json/decode_test.go b/vendor/google.golang.org/protobuf/internal/encoding/json/decode_test.go
deleted file mode 100644
index d70c3de0e0..0000000000
--- a/vendor/google.golang.org/protobuf/internal/encoding/json/decode_test.go
+++ /dev/null
@@ -1,1414 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package json_test
-
-import (
- "fmt"
- "math"
- "strings"
- "testing"
- "unicode/utf8"
-
- "github.com/google/go-cmp/cmp"
-
- "google.golang.org/protobuf/internal/encoding/json"
-)
-
-type R struct {
- // E is expected error substring from calling Decoder.Read if set.
- E string
- // V is one of the checker implementations that validates the token value.
- V checker
- // P is expected Token.Pos() if set > 0.
- P int
- // RS is expected result from Token.RawString() if not empty.
- RS string
-}
-
-// checker defines API for Token validation.
-type checker interface {
- // check checks and expects for token API call to return and compare
- // against implementation-stored value. Returns empty string if success,
- // else returns error message describing the error.
- check(json.Token) string
-}
-
-// checkers that checks the token kind only.
-var (
- EOF = kindOnly{json.EOF}
- Null = kindOnly{json.Null}
- ObjectOpen = kindOnly{json.ObjectOpen}
- ObjectClose = kindOnly{json.ObjectClose}
- ArrayOpen = kindOnly{json.ArrayOpen}
- ArrayClose = kindOnly{json.ArrayClose}
-)
-
-type kindOnly struct {
- want json.Kind
-}
-
-func (x kindOnly) check(tok json.Token) string {
- if got := tok.Kind(); got != x.want {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, x.want)
- }
- return ""
-}
-
-type Name struct {
- val string
-}
-
-func (x Name) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Name {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Name)
- }
-
- if got := tok.Name(); got != x.val {
- return fmt.Sprintf("Token.Name(): got %v, want %v", got, x.val)
- }
- return ""
-}
-
-type Bool struct {
- val bool
-}
-
-func (x Bool) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Bool {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Bool)
- }
-
- if got := tok.Bool(); got != x.val {
- return fmt.Sprintf("Token.Bool(): got %v, want %v", got, x.val)
- }
- return ""
-}
-
-type Str struct {
- val string
-}
-
-func (x Str) check(tok json.Token) string {
- if got := tok.Kind(); got != json.String {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.String)
- }
-
- if got := tok.ParsedString(); got != x.val {
- return fmt.Sprintf("Token.ParsedString(): got %v, want %v", got, x.val)
- }
- return ""
-}
-
-type F64 struct {
- val float64
-}
-
-func (x F64) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Number {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Number)
- }
-
- got, ok := tok.Float(64)
- if !ok {
- return fmt.Sprintf("Token.Float(64): returned not ok")
- }
- if got != x.val {
- return fmt.Sprintf("Token.Float(64): got %v, want %v", got, x.val)
- }
- return ""
-}
-
-type F32 struct {
- val float32
-}
-
-func (x F32) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Number {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Number)
- }
-
- got, ok := tok.Float(32)
- if !ok {
- return fmt.Sprintf("Token.Float(32): returned not ok")
- }
- if float32(got) != x.val {
- return fmt.Sprintf("Token.Float(32): got %v, want %v", got, x.val)
- }
- return ""
-}
-
-// NotF64 is a checker to validate a Number token where Token.Float(64) returns not ok.
-var NotF64 = xf64{}
-
-type xf64 struct{}
-
-func (x xf64) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Number {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Number)
- }
-
- _, ok := tok.Float(64)
- if ok {
- return fmt.Sprintf("Token.Float(64): returned ok")
- }
- return ""
-}
-
-// NotF32 is a checker to validate a Number token where Token.Float(32) returns not ok.
-var NotF32 = xf32{}
-
-type xf32 struct{}
-
-func (x xf32) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Number {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Number)
- }
-
- _, ok := tok.Float(32)
- if ok {
- return fmt.Sprintf("Token.Float(32): returned ok")
- }
- return ""
-}
-
-type I64 struct {
- val int64
-}
-
-func (x I64) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Number {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Number)
- }
-
- got, ok := tok.Int(64)
- if !ok {
- return fmt.Sprintf("Token.Int(64): returned not ok")
- }
- if got != x.val {
- return fmt.Sprintf("Token.Int(64): got %v, want %v", got, x.val)
- }
- return ""
-}
-
-type I32 struct {
- val int32
-}
-
-func (x I32) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Number {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Number)
- }
-
- got, ok := tok.Int(32)
- if !ok {
- return fmt.Sprintf("Token.Int(32): returned not ok")
- }
- if int32(got) != x.val {
- return fmt.Sprintf("Token.Int(32): got %v, want %v", got, x.val)
- }
- return ""
-}
-
-// NotI64 is a checker to validate a Number token where Token.Int(64) returns not ok.
-var NotI64 = xi64{}
-
-type xi64 struct{}
-
-func (x xi64) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Number {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Number)
- }
-
- _, ok := tok.Int(64)
- if ok {
- return fmt.Sprintf("Token.Int(64): returned ok")
- }
- return ""
-}
-
-// NotI32 is a checker to validate a Number token where Token.Int(32) returns not ok.
-var NotI32 = xi32{}
-
-type xi32 struct{}
-
-func (x xi32) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Number {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Number)
- }
-
- _, ok := tok.Int(32)
- if ok {
- return fmt.Sprintf("Token.Int(32): returned ok")
- }
- return ""
-}
-
-type Ui64 struct {
- val uint64
-}
-
-func (x Ui64) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Number {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Number)
- }
-
- got, ok := tok.Uint(64)
- if !ok {
- return fmt.Sprintf("Token.Uint(64): returned not ok")
- }
- if got != x.val {
- return fmt.Sprintf("Token.Uint(64): got %v, want %v", got, x.val)
- }
- return ""
-}
-
-type Ui32 struct {
- val uint32
-}
-
-func (x Ui32) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Number {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Number)
- }
-
- got, ok := tok.Uint(32)
- if !ok {
- return fmt.Sprintf("Token.Uint(32): returned not ok")
- }
- if uint32(got) != x.val {
- return fmt.Sprintf("Token.Uint(32): got %v, want %v", got, x.val)
- }
- return ""
-}
-
-// NotUi64 is a checker to validate a Number token where Token.Uint(64) returns not ok.
-var NotUi64 = xui64{}
-
-type xui64 struct{}
-
-func (x xui64) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Number {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Number)
- }
-
- _, ok := tok.Uint(64)
- if ok {
- return fmt.Sprintf("Token.Uint(64): returned ok")
- }
- return ""
-}
-
-// NotI32 is a checker to validate a Number token where Token.Uint(32) returns not ok.
-var NotUi32 = xui32{}
-
-type xui32 struct{}
-
-func (x xui32) check(tok json.Token) string {
- if got := tok.Kind(); got != json.Number {
- return fmt.Sprintf("Token.Kind(): got %v, want %v", got, json.Number)
- }
-
- _, ok := tok.Uint(32)
- if ok {
- return fmt.Sprintf("Token.Uint(32): returned ok")
- }
- return ""
-}
-
-var errEOF = json.ErrUnexpectedEOF.Error()
-
-func TestDecoder(t *testing.T) {
- const space = " \n\r\t"
-
- tests := []struct {
- in string
- // want is a list of expected values returned from calling
- // Decoder.Read. An item makes the test code invoke
- // Decoder.Read and compare against R.E for error returned or use R.V to
- // validate the returned Token object.
- want []R
- }{
- {
- in: ``,
- want: []R{{V: EOF}},
- },
- {
- in: space,
- want: []R{{V: EOF}},
- },
- {
- // Calling Read after EOF will keep returning EOF for
- // succeeding Read calls.
- in: space,
- want: []R{
- {V: EOF},
- {V: EOF},
- {V: EOF},
- },
- },
-
- // JSON literals.
- {
- in: space + `null` + space,
- want: []R{
- {V: Null, P: len(space), RS: `null`},
- {V: EOF},
- },
- },
- {
- in: space + `true` + space,
- want: []R{
- {V: Bool{true}},
- {V: EOF},
- },
- },
- {
- in: space + `false` + space,
- want: []R{
- {V: Bool{false}},
- {V: EOF},
- },
- },
- {
- // Error returned will produce the same error again.
- in: space + `foo` + space,
- want: []R{
- {E: `invalid value foo`},
- {E: `invalid value foo`},
- },
- },
-
- // JSON strings.
- {
- in: space + `""` + space,
- want: []R{
- {V: Str{}},
- {V: EOF},
- },
- },
- {
- in: space + `"hello"` + space,
- want: []R{
- {V: Str{"hello"}, RS: `"hello"`},
- {V: EOF},
- },
- },
- {
- in: `"hello`,
- want: []R{{E: errEOF}},
- },
- {
- in: "\"\x00\"",
- want: []R{{E: `invalid character '\x00' in string`}},
- },
- {
- in: "\"\u0031\u0032\"",
- want: []R{
- {V: Str{"12"}, RS: "\"\u0031\u0032\""},
- {V: EOF},
- },
- },
- {
- // Invalid UTF-8 error is returned in ReadString instead of Read.
- in: "\"\xff\"",
- want: []R{{E: `syntax error (line 1:1): invalid UTF-8 in string`}},
- },
- {
- in: `"` + string(utf8.RuneError) + `"`,
- want: []R{
- {V: Str{string(utf8.RuneError)}},
- {V: EOF},
- },
- },
- {
- in: `"\uFFFD"`,
- want: []R{
- {V: Str{string(utf8.RuneError)}},
- {V: EOF},
- },
- },
- {
- in: `"\x"`,
- want: []R{{E: `invalid escape code "\\x" in string`}},
- },
- {
- in: `"\uXXXX"`,
- want: []R{{E: `invalid escape code "\\uXXXX" in string`}},
- },
- {
- in: `"\uDEAD"`, // unmatched surrogate pair
- want: []R{{E: errEOF}},
- },
- {
- in: `"\uDEAD\uBEEF"`, // invalid surrogate half
- want: []R{{E: `invalid escape code "\\uBEEF" in string`}},
- },
- {
- in: `"\uD800\udead"`, // valid surrogate pair
- want: []R{
- {V: Str{`ðŠ­`}},
- {V: EOF},
- },
- },
- {
- in: `"\u0000\"\\\/\b\f\n\r\t"`,
- want: []R{
- {V: Str{"\u0000\"\\/\b\f\n\r\t"}},
- {V: EOF},
- },
- },
-
- // Invalid JSON numbers.
- {
- in: `-`,
- want: []R{{E: `invalid value -`}},
- },
- {
- in: `+0`,
- want: []R{{E: `invalid value +0`}},
- },
- {
- in: `-+`,
- want: []R{{E: `invalid value -+`}},
- },
- {
- in: `0.`,
- want: []R{{E: `invalid value 0.`}},
- },
- {
- in: `.1`,
- want: []R{{E: `invalid value .1`}},
- },
- {
- in: `1.0.1`,
- want: []R{{E: `invalid value 1.0.1`}},
- },
- {
- in: `1..1`,
- want: []R{{E: `invalid value 1..1`}},
- },
- {
- in: `-1-2`,
- want: []R{{E: `invalid value -1-2`}},
- },
- {
- in: `01`,
- want: []R{{E: `invalid value 01`}},
- },
- {
- in: `1e`,
- want: []R{{E: `invalid value 1e`}},
- },
- {
- in: `1e1.2`,
- want: []R{{E: `invalid value 1e1.2`}},
- },
- {
- in: `1Ee`,
- want: []R{{E: `invalid value 1Ee`}},
- },
- {
- in: `1.e1`,
- want: []R{{E: `invalid value 1.e1`}},
- },
- {
- in: `1.e+`,
- want: []R{{E: `invalid value 1.e+`}},
- },
- {
- in: `1e+-2`,
- want: []R{{E: `invalid value 1e+-2`}},
- },
- {
- in: `1e--2`,
- want: []R{{E: `invalid value 1e--2`}},
- },
- {
- in: `1.0true`,
- want: []R{{E: `invalid value 1.0true`}},
- },
-
- // JSON numbers as floating point.
- {
- in: space + `0.0` + space,
- want: []R{
- {V: F32{0}, P: len(space), RS: `0.0`},
- {V: EOF},
- },
- },
- {
- in: space + `0` + space,
- want: []R{
- {V: F32{0}},
- {V: EOF},
- },
- },
- {
- in: space + `-0` + space,
- want: []R{
- {V: F32{float32(math.Copysign(0, -1))}},
- {V: EOF},
- },
- },
- {
- in: `-0`,
- want: []R{
- {V: F64{math.Copysign(0, -1)}},
- {V: EOF},
- },
- },
- {
- in: `-0.0`,
- want: []R{
- {V: F32{float32(math.Copysign(0, -1))}},
- {V: EOF},
- },
- },
- {
- in: `-0.0`,
- want: []R{
- {V: F64{math.Copysign(0, -1)}},
- {V: EOF},
- },
- },
- {
- in: `-1.02`,
- want: []R{
- {V: F32{-1.02}},
- {V: EOF},
- },
- },
- {
- in: `1.020000`,
- want: []R{
- {V: F32{1.02}},
- {V: EOF},
- },
- },
- {
- in: `-1.0e0`,
- want: []R{
- {V: F32{-1}},
- {V: EOF},
- },
- },
- {
- in: `1.0e-000`,
- want: []R{
- {V: F32{1}},
- {V: EOF},
- },
- },
- {
- in: `1e+00`,
- want: []R{
- {V: F32{1}},
- {V: EOF},
- },
- },
- {
- in: `1.02e3`,
- want: []R{
- {V: F32{1.02e3}},
- {V: EOF},
- },
- },
- {
- in: `-1.02E03`,
- want: []R{
- {V: F32{-1.02e3}},
- {V: EOF},
- },
- },
- {
- in: `1.0200e+3`,
- want: []R{
- {V: F32{1.02e3}},
- {V: EOF},
- },
- },
- {
- in: `-1.0200E+03`,
- want: []R{
- {V: F32{-1.02e3}},
- {V: EOF},
- },
- },
- {
- in: `1.0200e-3`,
- want: []R{
- {V: F32{1.02e-3}},
- {V: EOF},
- },
- },
- {
- in: `-1.0200E-03`,
- want: []R{
- {V: F32{-1.02e-3}},
- {V: EOF},
- },
- },
- {
- // Exceeds max float32 limit, but should be ok for float64.
- in: `3.4e39`,
- want: []R{
- {V: F64{3.4e39}},
- {V: EOF},
- },
- },
-
- {
- // Exceeds max float32 limit.
- in: `3.4e39`,
- want: []R{
- {V: NotF32},
- {V: EOF},
- },
- },
- {
- // Less than negative max float32 limit.
- in: `-3.4e39`,
- want: []R{
- {V: NotF32},
- {V: EOF},
- },
- },
- {
- // Exceeds max float64 limit.
- in: `1.79e+309`,
- want: []R{
- {V: NotF64},
- {V: EOF},
- },
- },
- {
- // Less than negative max float64 limit.
- in: `-1.79e+309`,
- want: []R{
- {V: NotF64},
- {V: EOF},
- },
- },
-
- // JSON numbers as signed integers.
- {
- in: space + `0` + space,
- want: []R{
- {V: I32{0}},
- {V: EOF},
- },
- },
- {
- in: space + `-0` + space,
- want: []R{
- {V: I32{0}},
- {V: EOF},
- },
- },
- {
- // Fractional part equals 0 is ok.
- in: `1.00000`,
- want: []R{
- {V: I32{1}},
- {V: EOF},
- },
- },
- {
- // Fractional part not equals 0 returns error.
- in: `1.0000000001`,
- want: []R{
- {V: NotI32},
- {V: EOF},
- },
- },
- {
- in: `0e0`,
- want: []R{
- {V: I32{0}},
- {V: EOF},
- },
- },
- {
- in: `0.0E0`,
- want: []R{
- {V: I32{0}},
- {V: EOF},
- },
- },
- {
- in: `0.0E10`,
- want: []R{
- {V: I32{0}},
- {V: EOF},
- },
- },
- {
- in: `-1`,
- want: []R{
- {V: I32{-1}},
- {V: EOF},
- },
- },
- {
- in: `1.0e+0`,
- want: []R{
- {V: I32{1}},
- {V: EOF},
- },
- },
- {
- in: `-1E-0`,
- want: []R{
- {V: I32{-1}},
- {V: EOF},
- },
- },
- {
- in: `1E1`,
- want: []R{
- {V: I32{10}},
- {V: EOF},
- },
- },
- {
- in: `-100.00e-02`,
- want: []R{
- {V: I32{-1}},
- {V: EOF},
- },
- },
- {
- in: `0.1200E+02`,
- want: []R{
- {V: I64{12}},
- {V: EOF},
- },
- },
- {
- in: `0.012e2`,
- want: []R{
- {V: NotI32},
- {V: EOF},
- },
- },
- {
- in: `12e-2`,
- want: []R{
- {V: NotI32},
- {V: EOF},
- },
- },
- {
- // Exceeds math.MaxInt32.
- in: `2147483648`,
- want: []R{
- {V: NotI32},
- {V: EOF},
- },
- },
- {
- // Exceeds math.MinInt32.
- in: `-2147483649`,
- want: []R{
- {V: NotI32},
- {V: EOF},
- },
- },
- {
- // Exceeds math.MaxInt32, but ok for int64.
- in: `2147483648`,
- want: []R{
- {V: I64{2147483648}},
- {V: EOF},
- },
- },
- {
- // Exceeds math.MinInt32, but ok for int64.
- in: `-2147483649`,
- want: []R{
- {V: I64{-2147483649}},
- {V: EOF},
- },
- },
- {
- // Exceeds math.MaxInt64.
- in: `9223372036854775808`,
- want: []R{
- {V: NotI64},
- {V: EOF},
- },
- },
- {
- // Exceeds math.MinInt64.
- in: `-9223372036854775809`,
- want: []R{
- {V: NotI64},
- {V: EOF},
- },
- },
-
- // JSON numbers as unsigned integers.
- {
- in: space + `0` + space,
- want: []R{
- {V: Ui32{0}},
- {V: EOF},
- },
- },
- {
- in: space + `-0` + space,
- want: []R{
- {V: Ui32{0}},
- {V: EOF},
- },
- },
- {
- in: `-1`,
- want: []R{
- {V: NotUi32},
- {V: EOF},
- },
- },
- {
- // Exceeds math.MaxUint32.
- in: `4294967296`,
- want: []R{
- {V: NotUi32},
- {V: EOF},
- },
- },
- {
- // Exceeds math.MaxUint64.
- in: `18446744073709551616`,
- want: []R{
- {V: NotUi64},
- {V: EOF},
- },
- },
-
- // JSON sequence of values.
- {
- in: `true null`,
- want: []R{
- {V: Bool{true}},
- {E: `(line 1:6): unexpected token null`},
- },
- },
- {
- in: "null false",
- want: []R{
- {V: Null},
- {E: `unexpected token false`},
- },
- },
- {
- in: `true,false`,
- want: []R{
- {V: Bool{true}},
- {E: `unexpected token ,`},
- },
- },
- {
- in: `47"hello"`,
- want: []R{
- {V: I32{47}},
- {E: `unexpected token "hello"`},
- },
- },
- {
- in: `47 "hello"`,
- want: []R{
- {V: I32{47}},
- {E: `unexpected token "hello"`},
- },
- },
- {
- in: `true 42`,
- want: []R{
- {V: Bool{true}},
- {E: `unexpected token 42`},
- },
- },
-
- // JSON arrays.
- {
- in: space + `[]` + space,
- want: []R{
- {V: ArrayOpen},
- {V: ArrayClose},
- {V: EOF},
- },
- },
- {
- in: space + `[` + space + `]` + space,
- want: []R{
- {V: ArrayOpen, P: len(space), RS: `[`},
- {V: ArrayClose},
- {V: EOF},
- },
- },
- {
- in: space + `[` + space,
- want: []R{
- {V: ArrayOpen},
- {E: errEOF},
- },
- },
- {
- in: space + `]` + space,
- want: []R{{E: `unexpected token ]`}},
- },
- {
- in: `[null,true,false, 1e1, "hello" ]`,
- want: []R{
- {V: ArrayOpen},
- {V: Null},
- {V: Bool{true}},
- {V: Bool{false}},
- {V: I32{10}},
- {V: Str{"hello"}},
- {V: ArrayClose},
- {V: EOF},
- },
- },
- {
- in: `[` + space + `true` + space + `,` + space + `"hello"` + space + `]`,
- want: []R{
- {V: ArrayOpen},
- {V: Bool{true}},
- {V: Str{"hello"}},
- {V: ArrayClose},
- {V: EOF},
- },
- },
- {
- in: `[` + space + `true` + space + `,` + space + `]`,
- want: []R{
- {V: ArrayOpen},
- {V: Bool{true}},
- {E: `unexpected token ]`},
- },
- },
- {
- in: `[` + space + `false` + space + `]`,
- want: []R{
- {V: ArrayOpen},
- {V: Bool{false}},
- {V: ArrayClose},
- {V: EOF},
- },
- },
- {
- in: `[` + space + `1` + space + `0` + space + `]`,
- want: []R{
- {V: ArrayOpen},
- {V: I64{1}},
- {E: `unexpected token 0`},
- },
- },
- {
- in: `[null`,
- want: []R{
- {V: ArrayOpen},
- {V: Null},
- {E: errEOF},
- },
- },
- {
- in: `[foo]`,
- want: []R{
- {V: ArrayOpen},
- {E: `invalid value foo`},
- },
- },
- {
- in: `[{}, "hello", [true, false], null]`,
- want: []R{
- {V: ArrayOpen},
- {V: ObjectOpen},
- {V: ObjectClose},
- {V: Str{"hello"}},
- {V: ArrayOpen},
- {V: Bool{true}},
- {V: Bool{false}},
- {V: ArrayClose},
- {V: Null},
- {V: ArrayClose},
- {V: EOF},
- },
- },
- {
- in: `[{ ]`,
- want: []R{
- {V: ArrayOpen},
- {V: ObjectOpen},
- {E: `unexpected token ]`},
- },
- },
- {
- in: `[[ ]`,
- want: []R{
- {V: ArrayOpen},
- {V: ArrayOpen},
- {V: ArrayClose},
- {E: errEOF},
- },
- },
- {
- in: `[,]`,
- want: []R{
- {V: ArrayOpen},
- {E: `unexpected token ,`},
- },
- },
- {
- in: `[true "hello"]`,
- want: []R{
- {V: ArrayOpen},
- {V: Bool{true}},
- {E: `unexpected token "hello"`},
- },
- },
- {
- in: `[] null`,
- want: []R{
- {V: ArrayOpen},
- {V: ArrayClose},
- {E: `unexpected token null`},
- },
- },
- {
- in: `true []`,
- want: []R{
- {V: Bool{true}},
- {E: `unexpected token [`},
- },
- },
-
- // JSON objects.
- {
- in: space + `{}` + space,
- want: []R{
- {V: ObjectOpen},
- {V: ObjectClose},
- {V: EOF},
- },
- },
- {
- in: space + `{` + space + `}` + space,
- want: []R{
- {V: ObjectOpen},
- {V: ObjectClose},
- {V: EOF},
- },
- },
- {
- in: space + `{` + space,
- want: []R{
- {V: ObjectOpen},
- {E: errEOF},
- },
- },
- {
- in: space + `}` + space,
- want: []R{{E: `unexpected token }`}},
- },
- {
- in: `{` + space + `null` + space + `}`,
- want: []R{
- {V: ObjectOpen},
- {E: `unexpected token null`},
- },
- },
- {
- in: `{[]}`,
- want: []R{
- {V: ObjectOpen},
- {E: `(line 1:2): unexpected token [`},
- },
- },
- {
- in: `{,}`,
- want: []R{
- {V: ObjectOpen},
- {E: `unexpected token ,`},
- },
- },
- {
- in: `{"345678"}`,
- want: []R{
- {V: ObjectOpen},
- {E: `(line 1:10): unexpected character }, missing ":" after field name`},
- },
- },
- {
- in: `{` + space + `"hello"` + space + `:` + space + `"world"` + space + `}`,
- want: []R{
- {V: ObjectOpen},
- {V: Name{"hello"}, P: len(space) + 1, RS: `"hello"`},
- {V: Str{"world"}, RS: `"world"`},
- {V: ObjectClose},
- {V: EOF},
- },
- },
- {
- in: `{"hello" "world"}`,
- want: []R{
- {V: ObjectOpen},
- {E: `(line 1:10): unexpected character ", missing ":" after field name`},
- },
- },
- {
- in: `{"hello":`,
- want: []R{
- {V: ObjectOpen},
- {V: Name{"hello"}},
- {E: errEOF},
- },
- },
- {
- in: `{"hello":"world"`,
- want: []R{
- {V: ObjectOpen},
- {V: Name{"hello"}},
- {V: Str{"world"}},
- {E: errEOF},
- },
- },
- {
- in: `{"hello":"world",`,
- want: []R{
- {V: ObjectOpen},
- {V: Name{"hello"}},
- {V: Str{"world"}},
- {E: errEOF},
- },
- },
- {
- in: `{""`,
- want: []R{
- {V: ObjectOpen},
- {E: errEOF},
- },
- },
- {
- in: `{"34":"89",}`,
- want: []R{
- {V: ObjectOpen},
- {V: Name{"34"}, RS: `"34"`},
- {V: Str{"89"}},
- {E: `syntax error (line 1:12): unexpected token }`},
- },
- },
- {
- in: `{
- "number": 123e2,
- "bool" : false,
- "object": {"string": "world"},
- "null" : null,
- "array" : [1.01, "hello", true],
- "string": "hello"
- }`,
- want: []R{
- {V: ObjectOpen},
-
- {V: Name{"number"}},
- {V: I32{12300}},
-
- {V: Name{"bool"}},
- {V: Bool{false}},
-
- {V: Name{"object"}},
- {V: ObjectOpen},
- {V: Name{"string"}},
- {V: Str{"world"}},
- {V: ObjectClose},
-
- {V: Name{"null"}},
- {V: Null},
-
- {V: Name{"array"}},
- {V: ArrayOpen},
- {V: F32{1.01}},
- {V: Str{"hello"}},
- {V: Bool{true}},
- {V: ArrayClose},
-
- {V: Name{"string"}},
- {V: Str{"hello"}},
-
- {V: ObjectClose},
- {V: EOF},
- },
- },
- {
- in: `[
- {"object": {"number": 47}},
- ["list"],
- null
- ]`,
- want: []R{
- {V: ArrayOpen},
-
- {V: ObjectOpen},
- {V: Name{"object"}},
- {V: ObjectOpen},
- {V: Name{"number"}},
- {V: I32{47}},
- {V: ObjectClose},
- {V: ObjectClose},
-
- {V: ArrayOpen},
- {V: Str{"list"}},
- {V: ArrayClose},
-
- {V: Null},
-
- {V: ArrayClose},
- {V: EOF},
- },
- },
-
- // Tests for line and column info.
- {
- in: `12345678 x`,
- want: []R{
- {V: I64{12345678}},
- {E: `syntax error (line 1:10): invalid value x`},
- },
- },
- {
- in: "\ntrue\n x",
- want: []R{
- {V: Bool{true}},
- {E: `syntax error (line 3:4): invalid value x`},
- },
- },
- {
- in: `"💩"x`,
- want: []R{
- {V: Str{"💩"}},
- {E: `syntax error (line 1:4): invalid value x`},
- },
- },
- {
- in: "\n\n[\"🔥🔥🔥\"x",
- want: []R{
- {V: ArrayOpen},
- {V: Str{"🔥🔥🔥"}},
- {E: `syntax error (line 3:7): invalid value x`},
- },
- },
- {
- // Multi-rune emojis.
- in: `["ðŸ‘ðŸ»ðŸ‘ðŸ¿"x`,
- want: []R{
- {V: ArrayOpen},
- {V: Str{"ðŸ‘ðŸ»ðŸ‘ðŸ¿"}},
- {E: `syntax error (line 1:8): invalid value x`},
- },
- },
- }
-
- for _, tc := range tests {
- tc := tc
- t.Run("", func(t *testing.T) {
- dec := json.NewDecoder([]byte(tc.in))
- for i, want := range tc.want {
- peekTok, peekErr := dec.Peek()
- tok, err := dec.Read()
- if err != nil {
- if want.E == "" {
- errorf(t, tc.in, "want#%d: Read() got unexpected error: %v", i, err)
- } else if !strings.Contains(err.Error(), want.E) {
- errorf(t, tc.in, "want#%d: Read() got %q, want %q", i, err, want.E)
- }
- return
- }
- if want.E != "" {
- errorf(t, tc.in, "want#%d: Read() got nil error, want %q", i, want.E)
- return
- }
- checkToken(t, tok, i, want, tc.in)
- if !cmp.Equal(tok, peekTok, cmp.Comparer(json.TokenEquals)) {
- errorf(t, tc.in, "want#%d: Peek() %+v != Read() token %+v", i, peekTok, tok)
- }
- if err != peekErr {
- errorf(t, tc.in, "want#%d: Peek() error %v != Read() error %v", i, err, peekErr)
- }
- }
- })
- }
-}
-
-func checkToken(t *testing.T, tok json.Token, idx int, r R, in string) {
- // Validate Token.Pos() if R.P is set.
- if r.P > 0 {
- got := tok.Pos()
- if got != r.P {
- errorf(t, in, "want#%d: Token.Pos() got %v want %v", idx, got, r.P)
- }
- }
- // Validate Token.RawString if R.RS is set.
- if len(r.RS) > 0 {
- got := tok.RawString()
- if got != r.RS {
- errorf(t, in, "want#%d: Token.RawString() got %v want %v", idx, got, r.P)
- }
- }
-
- // Skip checking for Token details if r.V is not set.
- if r.V == nil {
- return
- }
-
- if err := r.V.check(tok); err != "" {
- errorf(t, in, "want#%d: %s", idx, err)
- }
- return
-}
-
-func errorf(t *testing.T, in string, fmtStr string, args ...interface{}) {
- t.Helper()
- vargs := []interface{}{in}
- for _, arg := range args {
- vargs = append(vargs, arg)
- }
- t.Errorf("input:\n%s\n~end~\n"+fmtStr, vargs...)
-}
-
-func TestClone(t *testing.T) {
- input := `{"outer":{"str":"hello", "number": 123}}`
- dec := json.NewDecoder([]byte(input))
-
- // Clone at the start should produce the same reads as the original.
- clone := dec.Clone()
- compareDecoders(t, dec, clone)
-
- // Advance to inner object, clone and compare again.
- dec.Read() // Read ObjectOpen.
- dec.Read() // Read Name.
- clone = dec.Clone()
- compareDecoders(t, dec, clone)
-}
-
-func compareDecoders(t *testing.T, d1 *json.Decoder, d2 *json.Decoder) {
- for {
- tok1, err1 := d1.Read()
- tok2, err2 := d2.Read()
- if tok1.Kind() != tok2.Kind() {
- t.Errorf("cloned decoder: got Kind %v, want %v", tok2.Kind(), tok1.Kind())
- }
- if tok1.RawString() != tok2.RawString() {
- t.Errorf("cloned decoder: got RawString %v, want %v", tok2.RawString(), tok1.RawString())
- }
- if err1 != err2 {
- t.Errorf("cloned decoder: got error %v, want %v", err2, err1)
- }
- if tok1.Kind() == json.EOF {
- break
- }
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/json/encode_test.go b/vendor/google.golang.org/protobuf/internal/encoding/json/encode_test.go
deleted file mode 100644
index c844b55319..0000000000
--- a/vendor/google.golang.org/protobuf/internal/encoding/json/encode_test.go
+++ /dev/null
@@ -1,399 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package json_test
-
-import (
- "math"
- "strings"
- "testing"
-
- "github.com/google/go-cmp/cmp"
- "github.com/google/go-cmp/cmp/cmpopts"
-
- "google.golang.org/protobuf/internal/detrand"
- "google.golang.org/protobuf/internal/encoding/json"
-)
-
-// Disable detrand to enable direct comparisons on outputs.
-func init() { detrand.Disable() }
-
-// splitLines is a cmpopts.Option for comparing strings with line breaks.
-var splitLines = cmpopts.AcyclicTransformer("SplitLines", func(s string) []string {
- return strings.Split(s, "\n")
-})
-
-func TestEncoder(t *testing.T) {
- tests := []struct {
- desc string
- write func(*json.Encoder)
- wantOut string
- wantOutIndent string
- }{
- {
- desc: "null",
- write: func(e *json.Encoder) {
- e.WriteNull()
- },
- wantOut: `null`,
- },
- {
- desc: "true",
- write: func(e *json.Encoder) {
- e.WriteBool(true)
- },
- wantOut: `true`,
- },
- {
- desc: "false",
- write: func(e *json.Encoder) {
- e.WriteBool(false)
- },
- wantOut: `false`,
- },
- {
- desc: "string",
- write: func(e *json.Encoder) {
- e.WriteString("hello world")
- },
- wantOut: `"hello world"`,
- },
- {
- desc: "string contains escaped characters",
- write: func(e *json.Encoder) {
- e.WriteString("\u0000\"\\/\b\f\n\r\t")
- },
- wantOut: `"\u0000\"\\/\b\f\n\r\t"`,
- },
- {
- desc: "float64",
- write: func(e *json.Encoder) {
- e.WriteFloat(1.0199999809265137, 64)
- },
- wantOut: `1.0199999809265137`,
- },
- {
- desc: "float64 max value",
- write: func(e *json.Encoder) {
- e.WriteFloat(math.MaxFloat64, 64)
- },
- wantOut: `1.7976931348623157e+308`,
- },
- {
- desc: "float64 min value",
- write: func(e *json.Encoder) {
- e.WriteFloat(-math.MaxFloat64, 64)
- },
- wantOut: `-1.7976931348623157e+308`,
- },
- {
- desc: "float64 NaN",
- write: func(e *json.Encoder) {
- e.WriteFloat(math.NaN(), 64)
- },
- wantOut: `"NaN"`,
- },
- {
- desc: "float64 Infinity",
- write: func(e *json.Encoder) {
- e.WriteFloat(math.Inf(+1), 64)
- },
- wantOut: `"Infinity"`,
- },
- {
- desc: "float64 -Infinity",
- write: func(e *json.Encoder) {
- e.WriteFloat(math.Inf(-1), 64)
- },
- wantOut: `"-Infinity"`,
- },
- {
- desc: "float64 negative zero",
- write: func(e *json.Encoder) {
- e.WriteFloat(math.Copysign(0, -1), 64)
- },
- wantOut: `-0`,
- },
- {
- desc: "float32",
- write: func(e *json.Encoder) {
- e.WriteFloat(1.02, 32)
- },
- wantOut: `1.02`,
- },
- {
- desc: "float32 max value",
- write: func(e *json.Encoder) {
- e.WriteFloat(math.MaxFloat32, 32)
- },
- wantOut: `3.4028235e+38`,
- },
- {
- desc: "float32 min value",
- write: func(e *json.Encoder) {
- e.WriteFloat(-math.MaxFloat32, 32)
- },
- wantOut: `-3.4028235e+38`,
- },
- {
- desc: "float32 negative zero",
- write: func(e *json.Encoder) {
- e.WriteFloat(math.Copysign(0, -1), 32)
- },
- wantOut: `-0`,
- },
- {
- desc: "int",
- write: func(e *json.Encoder) {
- e.WriteInt(-math.MaxInt64)
- },
- wantOut: `-9223372036854775807`,
- },
- {
- desc: "uint",
- write: func(e *json.Encoder) {
- e.WriteUint(math.MaxUint64)
- },
- wantOut: `18446744073709551615`,
- },
- {
- desc: "empty object",
- write: func(e *json.Encoder) {
- e.StartObject()
- e.EndObject()
- },
- wantOut: `{}`,
- },
- {
- desc: "empty array",
- write: func(e *json.Encoder) {
- e.StartArray()
- e.EndArray()
- },
- wantOut: `[]`,
- },
- {
- desc: "object with one member",
- write: func(e *json.Encoder) {
- e.StartObject()
- e.WriteName("hello")
- e.WriteString("world")
- e.EndObject()
- },
- wantOut: `{"hello":"world"}`,
- wantOutIndent: `{
- "hello": "world"
-}`,
- },
- {
- desc: "array with one member",
- write: func(e *json.Encoder) {
- e.StartArray()
- e.WriteNull()
- e.EndArray()
- },
- wantOut: `[null]`,
- wantOutIndent: `[
- null
-]`,
- },
- {
- desc: "simple object",
- write: func(e *json.Encoder) {
- e.StartObject()
- {
- e.WriteName("null")
- e.WriteNull()
- }
- {
- e.WriteName("bool")
- e.WriteBool(true)
- }
- {
- e.WriteName("string")
- e.WriteString("hello")
- }
- {
- e.WriteName("float")
- e.WriteFloat(6.28318, 64)
- }
- {
- e.WriteName("int")
- e.WriteInt(42)
- }
- {
- e.WriteName("uint")
- e.WriteUint(47)
- }
- e.EndObject()
- },
- wantOut: `{"null":null,"bool":true,"string":"hello","float":6.28318,"int":42,"uint":47}`,
- wantOutIndent: `{
- "null": null,
- "bool": true,
- "string": "hello",
- "float": 6.28318,
- "int": 42,
- "uint": 47
-}`,
- },
- {
- desc: "simple array",
- write: func(e *json.Encoder) {
- e.StartArray()
- {
- e.WriteString("hello")
- e.WriteFloat(6.28318, 32)
- e.WriteInt(42)
- e.WriteUint(47)
- e.WriteBool(true)
- e.WriteNull()
- }
- e.EndArray()
- },
- wantOut: `["hello",6.28318,42,47,true,null]`,
- wantOutIndent: `[
- "hello",
- 6.28318,
- 42,
- 47,
- true,
- null
-]`,
- },
- {
- desc: "fancy object",
- write: func(e *json.Encoder) {
- e.StartObject()
- {
- e.WriteName("object0")
- e.StartObject()
- e.EndObject()
- }
- {
- e.WriteName("array0")
- e.StartArray()
- e.EndArray()
- }
- {
- e.WriteName("object1")
- e.StartObject()
- {
- e.WriteName("null")
- e.WriteNull()
- }
- {
- e.WriteName("object1-1")
- e.StartObject()
- {
- e.WriteName("bool")
- e.WriteBool(false)
- }
- {
- e.WriteName("float")
- e.WriteFloat(3.14159, 32)
- }
- e.EndObject()
- }
- e.EndObject()
- }
- {
- e.WriteName("array1")
- e.StartArray()
- {
- e.WriteNull()
- e.StartObject()
- e.EndObject()
- e.StartObject()
- {
- e.WriteName("hello")
- e.WriteString("world")
- }
- {
- e.WriteName("hola")
- e.WriteString("mundo")
- }
- e.EndObject()
- e.StartArray()
- {
- e.WriteUint(1)
- e.WriteUint(0)
- e.WriteUint(1)
- }
- e.EndArray()
- }
- e.EndArray()
- }
- e.EndObject()
- },
- wantOutIndent: `{
- "object0": {},
- "array0": [],
- "object1": {
- "null": null,
- "object1-1": {
- "bool": false,
- "float": 3.14159
- }
- },
- "array1": [
- null,
- {},
- {
- "hello": "world",
- "hola": "mundo"
- },
- [
- 1,
- 0,
- 1
- ]
- ]
-}`,
- }}
-
- for _, tc := range tests {
- t.Run(tc.desc, func(t *testing.T) {
- if tc.wantOut != "" {
- enc, err := json.NewEncoder(nil, "")
- if err != nil {
- t.Fatalf("NewEncoder() returned error: %v", err)
- }
- tc.write(enc)
- got := string(enc.Bytes())
- if got != tc.wantOut {
- t.Errorf("%s:\n<got>:\n%v\n<want>\n%v\n", tc.desc, got, tc.wantOut)
- }
- }
- if tc.wantOutIndent != "" {
- enc, err := json.NewEncoder(nil, "\t")
- if err != nil {
- t.Fatalf("NewEncoder() returned error: %v", err)
- }
- tc.write(enc)
- got, want := string(enc.Bytes()), tc.wantOutIndent
- if got != want {
- t.Errorf("%s(indent):\n<got>:\n%v\n<want>\n%v\n<diff -want +got>\n%v\n",
- tc.desc, got, want, cmp.Diff(want, got, splitLines))
- }
- }
- })
- }
-}
-
-func TestWriteStringError(t *testing.T) {
- tests := []string{"abc\xff"}
-
- for _, in := range tests {
- t.Run(in, func(t *testing.T) {
- enc, err := json.NewEncoder(nil, "")
- if err != nil {
- t.Fatalf("NewEncoder() returned error: %v", err)
- }
- if err := enc.WriteString(in); err == nil {
- t.Errorf("WriteString(%v): got nil error, want error", in)
- }
- })
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/json/gotest/ya.make b/vendor/google.golang.org/protobuf/internal/encoding/json/gotest/ya.make
deleted file mode 100644
index 8290d39c91..0000000000
--- a/vendor/google.golang.org/protobuf/internal/encoding/json/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/internal/encoding/json)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/json/ya.make b/vendor/google.golang.org/protobuf/internal/encoding/json/ya.make
index 7c858fb5a9..4f0b79391e 100644
--- a/vendor/google.golang.org/protobuf/internal/encoding/json/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/encoding/json/ya.make
@@ -10,12 +10,4 @@ SRCS(
encode.go
)
-GO_XTEST_SRCS(
- bench_test.go
- decode_test.go
- encode_test.go
-)
-
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/messageset/ya.make b/vendor/google.golang.org/protobuf/internal/encoding/messageset/ya.make
index 78df562dee..3681a9a476 100644
--- a/vendor/google.golang.org/protobuf/internal/encoding/messageset/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/encoding/messageset/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(messageset.go)
+SRCS(
+ messageset.go
+)
END()
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/tag/gotest/ya.make b/vendor/google.golang.org/protobuf/internal/encoding/tag/gotest/ya.make
deleted file mode 100644
index 0bc406ead2..0000000000
--- a/vendor/google.golang.org/protobuf/internal/encoding/tag/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/internal/encoding/tag)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/tag/tag_test.go b/vendor/google.golang.org/protobuf/internal/encoding/tag/tag_test.go
deleted file mode 100644
index e904a7b6bf..0000000000
--- a/vendor/google.golang.org/protobuf/internal/encoding/tag/tag_test.go
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package tag_test
-
-import (
- "reflect"
- "testing"
-
- "google.golang.org/protobuf/internal/encoding/tag"
- "google.golang.org/protobuf/internal/filedesc"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protodesc"
- "google.golang.org/protobuf/reflect/protoreflect"
-)
-
-func Test(t *testing.T) {
- fd := new(filedesc.Field)
- fd.L0.ParentFile = filedesc.SurrogateProto3
- fd.L0.FullName = "foo_field"
- fd.L1.Number = 1337
- fd.L1.Cardinality = protoreflect.Repeated
- fd.L1.Kind = protoreflect.BytesKind
- fd.L1.Default = filedesc.DefaultValue(protoreflect.ValueOf([]byte("hello, \xde\xad\xbe\xef\n")), nil)
-
- // Marshal test.
- gotTag := tag.Marshal(fd, "")
- wantTag := `bytes,1337,rep,name=foo_field,json=fooField,proto3,def=hello, \336\255\276\357\n`
- if gotTag != wantTag {
- t.Errorf("Marshal() = `%v`, want `%v`", gotTag, wantTag)
- }
-
- // Unmarshal test.
- gotFD := tag.Unmarshal(wantTag, reflect.TypeOf([]byte{}), nil)
- wantFD := fd
- if !proto.Equal(protodesc.ToFieldDescriptorProto(gotFD), protodesc.ToFieldDescriptorProto(wantFD)) {
- t.Errorf("Umarshal() mismatch:\ngot %v\nwant %v", gotFD, wantFD)
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/tag/ya.make b/vendor/google.golang.org/protobuf/internal/encoding/tag/ya.make
index 956490c6fc..12d85eb139 100644
--- a/vendor/google.golang.org/protobuf/internal/encoding/tag/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/encoding/tag/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(tag.go)
-
-GO_XTEST_SRCS(tag_test.go)
+SRCS(
+ tag.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/text/decode_test.go b/vendor/google.golang.org/protobuf/internal/encoding/text/decode_test.go
deleted file mode 100644
index 7c705ab515..0000000000
--- a/vendor/google.golang.org/protobuf/internal/encoding/text/decode_test.go
+++ /dev/null
@@ -1,1955 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package text_test
-
-import (
- "fmt"
- "math"
- "strings"
- "testing"
- "unicode/utf8"
-
- "github.com/google/go-cmp/cmp"
-
- "google.golang.org/protobuf/internal/encoding/text"
- "google.golang.org/protobuf/internal/flags"
-)
-
-var eofErr = text.ErrUnexpectedEOF.Error()
-
-type R struct {
- // K is expected Kind of the returned Token object from calling Decoder.Read.
- K text.Kind
- // E is expected error substring from calling Decoder.Read if set.
- E string
- // T contains NT (if K is Name) or ST (if K is Scalar) or nil (others)
- T interface{}
- // P is expected Token.Pos if set > 0.
- P int
- // RS is expected result from Token.RawString() if not empty.
- RS string
-}
-
-// NT contains data for checking against a name token.
-type NT struct {
- K text.NameKind
- // Sep is true if name token should have separator character, else false.
- Sep bool
- // If K is IdentName or TypeName, invoke corresponding getter and compare against this field.
- S string
- // If K is FieldNumber, invoke getter and compare against this field.
- N int32
-}
-
-// ST contains data for checking against a scalar token.
-type ST struct {
- // checker that is expected to return OK.
- ok checker
- // checker that is expected to return not OK.
- nok checker
-}
-
-// checker provides API for the token wrapper API call types Str, Enum, Bool,
-// Uint64, Uint32, Int64, Int32, Float64, Float32.
-type checker interface {
- // checkOk checks and expects for token API call to return ok and compare
- // against implementation-stored value. Returns empty string if success,
- // else returns error message describing the error.
- checkOk(text.Token) string
- // checkNok checks and expects for token API call to return not ok. Returns
- // empty string if success, else returns error message describing the error.
- checkNok(text.Token) string
-}
-
-type Str struct {
- val string
-}
-
-func (s Str) checkOk(tok text.Token) string {
- got, ok := tok.String()
- if !ok {
- return fmt.Sprintf("Token.String() returned not OK for token: %v", tok.RawString())
- }
- if got != s.val {
- return fmt.Sprintf("Token.String() got %q want %q for token: %v", got, s.val, tok.RawString())
- }
- return ""
-}
-
-func (s Str) checkNok(tok text.Token) string {
- if _, ok := tok.String(); ok {
- return fmt.Sprintf("Token.String() returned OK for token: %v", tok.RawString())
- }
- return ""
-}
-
-type Enum struct {
- val string
-}
-
-func (e Enum) checkOk(tok text.Token) string {
- got, ok := tok.Enum()
- if !ok {
- return fmt.Sprintf("Token.Enum() returned not OK for token: %v", tok.RawString())
- }
- if got != e.val {
- return fmt.Sprintf("Token.Enum() got %q want %q for token: %v", got, e.val, tok.RawString())
- }
- return ""
-}
-
-func (e Enum) checkNok(tok text.Token) string {
- if _, ok := tok.Enum(); ok {
- return fmt.Sprintf("Token.Enum() returned OK for token: %v", tok.RawString())
- }
- return ""
-}
-
-type Bool struct {
- val bool
-}
-
-func (b Bool) checkOk(tok text.Token) string {
- got, ok := tok.Bool()
- if !ok {
- return fmt.Sprintf("Token.Bool() returned not OK for token: %v", tok.RawString())
- }
- if got != b.val {
- return fmt.Sprintf("Token.Bool() got %v want %v for token: %v", got, b.val, tok.RawString())
- }
- return ""
-}
-
-func (b Bool) checkNok(tok text.Token) string {
- if _, ok := tok.Bool(); ok {
- return fmt.Sprintf("Token.Bool() returned OK for token: %v", tok.RawString())
- }
- return ""
-}
-
-type Uint64 struct {
- val uint64
-}
-
-func (n Uint64) checkOk(tok text.Token) string {
- got, ok := tok.Uint64()
- if !ok {
- return fmt.Sprintf("Token.Uint64() returned not OK for token: %v", tok.RawString())
- }
- if got != n.val {
- return fmt.Sprintf("Token.Uint64() got %v want %v for token: %v", got, n.val, tok.RawString())
- }
- return ""
-}
-
-func (n Uint64) checkNok(tok text.Token) string {
- if _, ok := tok.Uint64(); ok {
- return fmt.Sprintf("Token.Uint64() returned OK for token: %v", tok.RawString())
- }
- return ""
-}
-
-type Uint32 struct {
- val uint32
-}
-
-func (n Uint32) checkOk(tok text.Token) string {
- got, ok := tok.Uint32()
- if !ok {
- return fmt.Sprintf("Token.Uint32() returned not OK for token: %v", tok.RawString())
- }
- if got != n.val {
- return fmt.Sprintf("Token.Uint32() got %v want %v for token: %v", got, n.val, tok.RawString())
- }
- return ""
-}
-
-func (n Uint32) checkNok(tok text.Token) string {
- if _, ok := tok.Uint32(); ok {
- return fmt.Sprintf("Token.Uint32() returned OK for token: %v", tok.RawString())
- }
- return ""
-}
-
-type Int64 struct {
- val int64
-}
-
-func (n Int64) checkOk(tok text.Token) string {
- got, ok := tok.Int64()
- if !ok {
- return fmt.Sprintf("Token.Int64() returned not OK for token: %v", tok.RawString())
- }
- if got != n.val {
- return fmt.Sprintf("Token.Int64() got %v want %v for token: %v", got, n.val, tok.RawString())
- }
- return ""
-}
-
-func (n Int64) checkNok(tok text.Token) string {
- if _, ok := tok.Int64(); ok {
- return fmt.Sprintf("Token.Int64() returned OK for token: %v", tok.RawString())
- }
- return ""
-}
-
-type Int32 struct {
- val int32
-}
-
-func (n Int32) checkOk(tok text.Token) string {
- got, ok := tok.Int32()
- if !ok {
- return fmt.Sprintf("Token.Int32() returned not OK for token: %v", tok.RawString())
- }
- if got != n.val {
- return fmt.Sprintf("Token.Int32() got %v want %v for token: %v", got, n.val, tok.RawString())
- }
- return ""
-}
-
-func (n Int32) checkNok(tok text.Token) string {
- if _, ok := tok.Int32(); ok {
- return fmt.Sprintf("Token.Int32() returned OK for token: %v", tok.RawString())
- }
- return ""
-}
-
-type Float64 struct {
- val float64
-}
-
-func (n Float64) checkOk(tok text.Token) string {
- got, ok := tok.Float64()
- if !ok {
- return fmt.Sprintf("Token.Float64() returned not OK for token: %v", tok.RawString())
- }
- if math.Float64bits(got) != math.Float64bits(n.val) {
- return fmt.Sprintf("Token.Float64() got %v want %v for token: %v", got, n.val, tok.RawString())
- }
- return ""
-}
-
-func (n Float64) checkNok(tok text.Token) string {
- if _, ok := tok.Float64(); ok {
- return fmt.Sprintf("Token.Float64() returned OK for token: %v", tok.RawString())
- }
- return ""
-}
-
-type Float32 struct {
- val float32
-}
-
-func (n Float32) checkOk(tok text.Token) string {
- got, ok := tok.Float32()
- if !ok {
- return fmt.Sprintf("Token.Float32() returned not OK for token: %v", tok.RawString())
- }
- if math.Float32bits(got) != math.Float32bits(n.val) {
- return fmt.Sprintf("Token.Float32() got %v want %v for token: %v", got, n.val, tok.RawString())
- }
- return ""
-}
-
-func (n Float32) checkNok(tok text.Token) string {
- if _, ok := tok.Float32(); ok {
- return fmt.Sprintf("Token.Float32() returned OK for token: %v", tok.RawString())
- }
- return ""
-}
-
-func TestDecoder(t *testing.T) {
- const space = " \n\r\t"
- tests := []struct {
- in string
- // want is a list of expected Tokens returned from calling Decoder.Read.
- // An item makes the test code invoke Decoder.Read and compare against
- // R.K and R.E. If R.K is Name, it compares
- want []R
- }{
- {
- in: "",
- want: []R{{K: text.EOF}},
- },
- {
- in: "# comment",
- want: []R{{K: text.EOF}},
- },
- {
- in: space + "# comment" + space,
- want: []R{{K: text.EOF}},
- },
- {
- in: space,
- want: []R{{K: text.EOF, P: len(space)}},
- },
- {
- // Calling Read after EOF will keep returning EOF for
- // succeeding Read calls.
- in: space,
- want: []R{
- {K: text.EOF},
- {K: text.EOF},
- {K: text.EOF},
- },
- },
- {
- // NUL is an invalid whitespace since C++ uses C-strings.
- in: "\x00",
- want: []R{{E: "invalid field name: \x00"}},
- },
-
- // Field names.
- {
- in: "name",
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, S: "name"}, RS: "name"},
- {E: eofErr},
- },
- },
- {
- in: space + "name:" + space,
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, Sep: true, S: "name"}},
- {E: eofErr},
- },
- },
- {
- in: space + "name" + space + ":" + space,
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, Sep: true, S: "name"}},
- {E: eofErr},
- },
- },
- {
- in: "name # comment",
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, S: "name"}},
- {E: eofErr},
- },
- },
- {
- // Comments only extend until the newline.
- in: "# comment \nname",
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, S: "name"}, P: 11},
- },
- },
- {
- in: "name # comment \n:",
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, Sep: true, S: "name"}},
- },
- },
- {
- in: "name123",
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, S: "name123"}},
- },
- },
- {
- in: "name_123",
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, S: "name_123"}},
- },
- },
- {
- in: "_123",
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, S: "_123"}},
- },
- },
- {
- in: ":",
- want: []R{{E: "syntax error (line 1:1): invalid field name: :"}},
- },
- {
- in: "\n\n\n {",
- want: []R{{E: "syntax error (line 4:2): invalid field name: {"}},
- },
- {
- in: "123name",
- want: []R{{E: "invalid field name: 123name"}},
- },
- {
- in: `/`,
- want: []R{{E: `invalid field name: /`}},
- },
- {
- in: `世界`,
- want: []R{{E: `invalid field name: 世`}},
- },
- {
- in: `1a/b`,
- want: []R{{E: `invalid field name: 1a`}},
- },
- {
- in: `1c\d`,
- want: []R{{E: `invalid field name: 1c`}},
- },
- {
- in: "\x84f",
- want: []R{{E: "invalid field name: \x84"}},
- },
- {
- in: "\uFFFDxxx",
- want: []R{{E: "invalid field name: \uFFFD"}},
- },
- {
- in: "-a234567890123456789012345678901234567890abc",
- want: []R{{E: "invalid field name: -a2345678901234567890123456789012…"}},
- },
- {
- in: "[type]",
- want: []R{
- {K: text.Name, T: NT{K: text.TypeName, S: "type"}, RS: "[type]"},
- },
- },
- {
- // V1 allows this syntax. C++ does not, however, C++ also fails if
- // field is Any and does not contain '/'.
- in: "[/type]",
- want: []R{
- {K: text.Name, T: NT{K: text.TypeName, S: "/type"}},
- },
- },
- {
- in: "[.type]",
- want: []R{{E: "invalid type URL/extension field name: [.type]"}},
- },
- {
- in: "[pkg.Foo.extension_field]",
- want: []R{
- {K: text.Name, T: NT{K: text.TypeName, S: "pkg.Foo.extension_field"}},
- },
- },
- {
- in: "[domain.com/type]",
- want: []R{
- {K: text.Name, T: NT{K: text.TypeName, S: "domain.com/type"}},
- },
- },
- {
- in: "[domain.com/pkg.type]",
- want: []R{
- {K: text.Name, T: NT{K: text.TypeName, S: "domain.com/pkg.type"}},
- },
- },
- {
- in: "[sub.domain.com\x2fpath\x2fto\x2fproto.package.name]",
- want: []R{
- {
- K: text.Name,
- T: NT{
- K: text.TypeName,
- S: "sub.domain.com/path/to/proto.package.name",
- },
- RS: "[sub.domain.com\x2fpath\x2fto\x2fproto.package.name]",
- },
- },
- },
- {
- // V2 no longer allows a quoted string for the Any type URL.
- in: `["domain.com/pkg.type"]`,
- want: []R{{E: `invalid type URL/extension field name: ["`}},
- },
- {
- // V2 no longer allows a quoted string for the Any type URL.
- in: `['domain.com/pkg.type']`,
- want: []R{{E: `invalid type URL/extension field name: ['`}},
- },
- {
- in: "[pkg.Foo.extension_field:",
- want: []R{{E: "invalid type URL/extension field name: [pkg.Foo.extension_field:"}},
- },
- {
- // V2 no longer allows whitespace within identifier "word".
- in: "[proto.packa ge.field]",
- want: []R{{E: "invalid type URL/extension field name: [proto.packa g"}},
- },
- {
- // V2 no longer allows comments within identifier "word".
- in: "[proto.packa # comment\n ge.field]",
- want: []R{{E: "invalid type URL/extension field name: [proto.packa # comment\n g"}},
- },
- {
- in: "[proto.package.]",
- want: []R{{E: "invalid type URL/extension field name: [proto.package."}},
- },
- {
- in: "[proto.package/]",
- want: []R{{E: "invalid type URL/extension field name: [proto.package/"}},
- },
- {
- in: `message_field{[bad@]`,
- want: []R{
- {K: text.Name},
- {K: text.MessageOpen},
- {E: `invalid type URL/extension field name: [bad@`},
- },
- },
- {
- in: `message_field{[invalid//type]`,
- want: []R{
- {K: text.Name},
- {K: text.MessageOpen},
- {E: `invalid type URL/extension field name: [invalid//`},
- },
- },
- {
- in: `message_field{[proto.package.]`,
- want: []R{
- {K: text.Name},
- {K: text.MessageOpen},
- {E: `invalid type URL/extension field name: [proto.package.`},
- },
- },
- {
- in: "[proto.package",
- want: []R{{E: eofErr}},
- },
- {
- in: "[" + space + "type" + space + "]" + space + ":",
- want: []R{
- {
- K: text.Name,
- T: NT{
- K: text.TypeName,
- Sep: true,
- S: "type",
- },
- RS: "[" + space + "type" + space + "]",
- },
- },
- },
- {
- // Whitespaces/comments are only allowed betweeb
- in: "[" + space + "domain" + space + "." + space + "com # comment\n" +
- "/" + "pkg" + space + "." + space + "type" + space + "]",
- want: []R{
- {K: text.Name, T: NT{K: text.TypeName, S: "domain.com/pkg.type"}},
- },
- },
- {
- in: "42",
- want: []R{
- {K: text.Name, T: NT{K: text.FieldNumber, N: 42}},
- },
- },
- {
- in: "0x42:",
- want: []R{{E: "invalid field number: 0x42"}},
- },
- {
- in: "042:",
- want: []R{{E: "invalid field number: 042"}},
- },
- {
- in: "123.456:",
- want: []R{{E: "invalid field number: 123.456"}},
- },
- {
- in: "-123",
- want: []R{{E: "invalid field number: -123"}},
- },
- {
- in: "- \t 123.321e6",
- want: []R{{E: "invalid field number: -123.321e6"}},
- },
- {
- in: "-",
- want: []R{{E: "invalid field name: -"}},
- },
- {
- in: "- ",
- want: []R{{E: "invalid field name: -"}},
- },
- {
- in: "- # negative\n 123",
- want: []R{{E: "invalid field number: -123"}},
- },
- {
- // Field number > math.MaxInt32.
- in: "2147483648:",
- want: []R{{E: "invalid field number: 2147483648"}},
- },
-
- // String field value. More string parsing specific testing in
- // TestUnmarshalString.
- {
- in: `name: "hello world"`,
- want: []R{
- {K: text.Name},
- {
- K: text.Scalar,
- T: ST{ok: Str{"hello world"}, nok: Enum{}},
- RS: `"hello world"`,
- },
- {K: text.EOF},
- },
- },
- {
- in: `name: 'hello'`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
- },
- },
- {
- in: `name: "hello'`,
- want: []R{
- {K: text.Name},
- {E: eofErr},
- },
- },
- {
- in: `name: 'hello`,
- want: []R{
- {K: text.Name},
- {E: eofErr},
- },
- },
- {
- // Field name without separator is ok. prototext package will need
- // to determine that this is not valid for scalar values.
- in: space + `name` + space + `"hello"` + space,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
- },
- },
- {
- in: `name'hello'`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
- },
- },
- {
- in: `name: ` + space + `"hello"` + space + `,`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
- {K: text.EOF},
- },
- },
- {
- in: `name` + space + `:` + `"hello"` + space + `;` + space,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
- {K: text.EOF},
- },
- },
- {
- in: `name:"hello" , ,`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar},
- {E: "(line 1:16): invalid field name: ,"},
- },
- },
- {
- in: `name:"hello" , ;`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar},
- {E: "(line 1:16): invalid field name: ;"},
- },
- },
- {
- in: `name:"hello" name:'world'`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Str{"world"}}},
- {K: text.EOF},
- },
- },
- {
- in: `name:"hello", name:"world"`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Str{"world"}}},
- {K: text.EOF},
- },
- },
- {
- in: `name:"hello"; name:"world",`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Str{"world"}}},
- {K: text.EOF},
- },
- },
- {
- in: `foo:"hello"bar:"world"`,
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, Sep: true, S: "foo"}},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
- {K: text.Name, T: NT{K: text.IdentName, Sep: true, S: "bar"}},
- {K: text.Scalar, T: ST{ok: Str{"world"}}},
- {K: text.EOF},
- },
- },
- {
- in: `foo:"hello"[bar]:"world"`,
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, Sep: true, S: "foo"}},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
- {K: text.Name, T: NT{K: text.TypeName, Sep: true, S: "bar"}},
- {K: text.Scalar, T: ST{ok: Str{"world"}}},
- {K: text.EOF},
- },
- },
- {
- in: `name:"foo"` + space + `"bar"` + space + `'qux'`,
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, Sep: true, S: "name"}},
- {K: text.Scalar, T: ST{ok: Str{"foobarqux"}}},
- {K: text.EOF},
- },
- },
- {
- in: `name:"foo"'bar'"qux"`,
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, Sep: true, S: "name"}},
- {K: text.Scalar, T: ST{ok: Str{"foobarqux"}}},
- {K: text.EOF},
- },
- },
- {
- in: `name:"foo"` + space + `"bar" # comment` + "\n'qux' # comment",
- want: []R{
- {K: text.Name, T: NT{K: text.IdentName, Sep: true, S: "name"}},
- {K: text.Scalar, T: ST{ok: Str{"foobarqux"}}},
- {K: text.EOF},
- },
- },
-
- // Lists.
- {
- in: `name: [`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {E: eofErr},
- },
- },
- {
- in: `name: []`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.ListClose},
- {K: text.EOF},
- },
- },
- {
- in: `name []`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.ListClose},
- {K: text.EOF},
- },
- },
- {
- in: `name: [,`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {E: `(line 1:8): invalid scalar value: ,`},
- },
- },
- {
- in: `name: [0`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar},
- {E: eofErr},
- },
- },
- {
- in: `name: [` + space + `"hello"` + space + `]` + space,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}, P: len(space) + 7},
- {K: text.ListClose},
- {K: text.EOF},
- },
- },
- {
- in: `name: ["hello",]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
- {E: `invalid scalar value: ]`},
- },
- },
- {
- in: `name: ["foo"` + space + `'bar' "qux"]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Str{"foobarqux"}}},
- {K: text.ListClose},
- {K: text.EOF},
- },
- },
- {
- in: `name:` + space + `["foo",` + space + "'bar', # comment\n\n" + `"qux"]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Str{"foo"}}},
- {K: text.Scalar, T: ST{ok: Str{"bar"}}},
- {K: text.Scalar, T: ST{ok: Str{"qux"}}},
- {K: text.ListClose},
- {K: text.EOF},
- },
- },
-
- {
- // List within list is not allowed.
- in: `name: [[]]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {E: `syntax error (line 1:8): invalid scalar value: [`},
- },
- },
- {
- // List items need to be separated by ,.
- in: `name: ["foo" true]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Str{"foo"}}},
- {E: `syntax error (line 1:14): unexpected character 't'`},
- },
- },
- {
- in: `name: ["foo"; "bar"]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Str{"foo"}}},
- {E: `syntax error (line 1:13): unexpected character ';'`},
- },
- },
- {
- in: `name: ["foo", true, ENUM, 1.0]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Str{"foo"}}},
- {K: text.Scalar, T: ST{ok: Enum{"true"}}},
- {K: text.Scalar, T: ST{ok: Enum{"ENUM"}}},
- {K: text.Scalar, T: ST{ok: Float32{1.0}}},
- {K: text.ListClose},
- },
- },
-
- // Boolean literal values.
- {
- in: `name: True`,
- want: []R{
- {K: text.Name},
- {
- K: text.Scalar,
- T: ST{ok: Bool{true}},
- },
- {K: text.EOF},
- },
- },
- {
- in: `name false`,
- want: []R{
- {K: text.Name},
- {
- K: text.Scalar,
- T: ST{ok: Bool{false}},
- },
- {K: text.EOF},
- },
- },
- {
- in: `name: [t, f, True, False, true, false, 1, 0, 0x01, 0x00, 01, 00]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Bool{true}}},
- {K: text.Scalar, T: ST{ok: Bool{false}}},
- {K: text.Scalar, T: ST{ok: Bool{true}}},
- {K: text.Scalar, T: ST{ok: Bool{false}}},
- {K: text.Scalar, T: ST{ok: Bool{true}}},
- {K: text.Scalar, T: ST{ok: Bool{false}}},
- {K: text.Scalar, T: ST{ok: Bool{true}}},
- {K: text.Scalar, T: ST{ok: Bool{false}}},
- {K: text.Scalar, T: ST{ok: Bool{true}}},
- {K: text.Scalar, T: ST{ok: Bool{false}}},
- {K: text.Scalar, T: ST{ok: Bool{true}}},
- {K: text.Scalar, T: ST{ok: Bool{false}}},
- {K: text.ListClose},
- },
- },
- {
- // Looks like boolean but not.
- in: `name: [tRUe, falSE, -1, -0, -0x01, -0x00, -01, -00, 0.0]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{nok: Bool{}}},
- {K: text.Scalar, T: ST{nok: Bool{}}},
- {K: text.Scalar, T: ST{nok: Bool{}}},
- {K: text.Scalar, T: ST{nok: Bool{}}},
- {K: text.Scalar, T: ST{nok: Bool{}}},
- {K: text.Scalar, T: ST{nok: Bool{}}},
- {K: text.Scalar, T: ST{nok: Bool{}}},
- {K: text.Scalar, T: ST{nok: Bool{}}},
- {K: text.Scalar, T: ST{nok: Bool{}}},
- {K: text.ListClose},
- },
- },
- {
- in: `foo: true[bar] false`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Bool{true}}},
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Bool{false}}},
- },
- },
-
- // Enum field values.
- {
- in: space + `name: ENUM`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Enum{"ENUM"}}},
- },
- },
- {
- in: space + `name:[TRUE, FALSE, T, F, t, f]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Enum{"TRUE"}}},
- {K: text.Scalar, T: ST{ok: Enum{"FALSE"}}},
- {K: text.Scalar, T: ST{ok: Enum{"T"}}},
- {K: text.Scalar, T: ST{ok: Enum{"F"}}},
- {K: text.Scalar, T: ST{ok: Enum{"t"}}},
- {K: text.Scalar, T: ST{ok: Enum{"f"}}},
- {K: text.ListClose},
- },
- },
- {
- in: `foo: Enum1[bar]:Enum2`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Enum{"Enum1"}}},
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Enum{"Enum2"}}},
- },
- },
- {
- // Invalid enum values.
- in: `name: [-inf, -foo, "string", 42, 1.0, 0x47]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{nok: Enum{}}},
- {K: text.Scalar, T: ST{nok: Enum{}}},
- {K: text.Scalar, T: ST{nok: Enum{}}},
- {K: text.Scalar, T: ST{nok: Enum{}}},
- {K: text.Scalar, T: ST{nok: Enum{}}},
- {K: text.Scalar, T: ST{nok: Enum{}}},
- {K: text.ListClose},
- },
- },
- {
- in: `name: true.`,
- want: []R{
- {K: text.Name},
- {E: `invalid scalar value: true.`},
- },
- },
-
- // Numeric values.
- {
- in: `nums:42 nums:0x2A nums:052`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Uint64{42}}},
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Uint64{42}}},
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Uint64{42}}},
- },
- },
- {
- in: `nums:[-42, -0x2a, -052]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{nok: Uint64{}}},
- {K: text.Scalar, T: ST{nok: Uint64{}}},
- {K: text.Scalar, T: ST{nok: Uint64{}}},
- {K: text.ListClose},
- },
- },
- {
- in: `nums:[-42, -0x2a, -052]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Int64{-42}}},
- {K: text.Scalar, T: ST{ok: Int64{-42}}},
- {K: text.Scalar, T: ST{ok: Int64{-42}}},
- {K: text.ListClose},
- },
- },
- {
- in: `nums: [0,0x0,00,-9876543210,9876543210,0x0123456789abcdef,-0x0123456789abcdef,01234567,-01234567]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Uint64{0}}},
- {K: text.Scalar, T: ST{ok: Int64{0}}},
- {K: text.Scalar, T: ST{ok: Uint64{0}}},
- {K: text.Scalar, T: ST{ok: Int64{-9876543210}}},
- {K: text.Scalar, T: ST{ok: Uint64{9876543210}}},
- {K: text.Scalar, T: ST{ok: Uint64{0x0123456789abcdef}}},
- {K: text.Scalar, T: ST{ok: Int64{-0x0123456789abcdef}}},
- {K: text.Scalar, T: ST{ok: Uint64{01234567}}},
- {K: text.Scalar, T: ST{ok: Int64{-01234567}}},
- {K: text.ListClose},
- },
- },
- {
- in: `nums: [0,0x0,00,-876543210,876543210,0x01234,-0x01234,01234567,-01234567]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Uint32{0}}},
- {K: text.Scalar, T: ST{ok: Int32{0}}},
- {K: text.Scalar, T: ST{ok: Uint32{0}}},
- {K: text.Scalar, T: ST{ok: Int32{-876543210}}},
- {K: text.Scalar, T: ST{ok: Uint32{876543210}}},
- {K: text.Scalar, T: ST{ok: Uint32{0x01234}}},
- {K: text.Scalar, T: ST{ok: Int32{-0x01234}}},
- {K: text.Scalar, T: ST{ok: Uint32{01234567}}},
- {K: text.Scalar, T: ST{ok: Int32{-01234567}}},
- {K: text.ListClose},
- },
- },
- {
- in: `nums: [` +
- fmt.Sprintf("%d", uint64(math.MaxUint64)) + `,` +
- fmt.Sprintf("%d", uint32(math.MaxUint32)) + `,` +
- fmt.Sprintf("%d", int64(math.MaxInt64)) + `,` +
- fmt.Sprintf("%d", int64(math.MinInt64)) + `,` +
- fmt.Sprintf("%d", int32(math.MaxInt32)) + `,` +
- fmt.Sprintf("%d", int32(math.MinInt32)) +
- `]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Uint64{math.MaxUint64}}},
- {K: text.Scalar, T: ST{ok: Uint32{math.MaxUint32}}},
- {K: text.Scalar, T: ST{ok: Int64{math.MaxInt64}}},
- {K: text.Scalar, T: ST{ok: Int64{math.MinInt64}}},
- {K: text.Scalar, T: ST{ok: Int32{math.MaxInt32}}},
- {K: text.Scalar, T: ST{ok: Int32{math.MinInt32}}},
- {K: text.ListClose},
- },
- },
- {
- // Integer exceeds range.
- in: `nums: [` +
- `18446744073709551616,` + // max uint64 + 1
- fmt.Sprintf("%d", uint64(math.MaxUint32+1)) + `,` +
- fmt.Sprintf("%d", uint64(math.MaxInt64+1)) + `,` +
- `-9223372036854775809,` + // min int64 - 1
- fmt.Sprintf("%d", uint64(math.MaxInt32+1)) + `,` +
- fmt.Sprintf("%d", int64(math.MinInt32-1)) + `` +
- `]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{nok: Uint64{}}},
- {K: text.Scalar, T: ST{nok: Uint32{}}},
- {K: text.Scalar, T: ST{nok: Int64{}}},
- {K: text.Scalar, T: ST{nok: Int64{}}},
- {K: text.Scalar, T: ST{nok: Int32{}}},
- {K: text.Scalar, T: ST{nok: Int32{}}},
- {K: text.ListClose},
- },
- },
- {
- in: `nums: [0xbeefbeef, 0xbeefbeefbeefbeef]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {
- K: text.Scalar,
- T: func() ST {
- if flags.ProtoLegacy {
- return ST{ok: Int32{-1091584273}}
- }
- return ST{nok: Int32{}}
- }(),
- },
- {
- K: text.Scalar,
- T: func() ST {
- if flags.ProtoLegacy {
- return ST{ok: Int64{-4688318750159552785}}
- }
- return ST{nok: Int64{}}
- }(),
- },
- {K: text.ListClose},
- },
- },
- {
- in: `nums: [0.,0f,1f,10f,-0f,-1f,-10f,1.0,0.1e-3,1.5e+5,1e10,.0]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Float64{0.0}}},
- {K: text.Scalar, T: ST{ok: Float64{0.0}}},
- {K: text.Scalar, T: ST{ok: Float64{1.0}}},
- {K: text.Scalar, T: ST{ok: Float64{10.0}}},
- {K: text.Scalar, T: ST{ok: Float64{math.Copysign(0, -1)}}},
- {K: text.Scalar, T: ST{ok: Float64{-1.0}}},
- {K: text.Scalar, T: ST{ok: Float64{-10.0}}},
- {K: text.Scalar, T: ST{ok: Float64{1.0}}},
- {K: text.Scalar, T: ST{ok: Float64{0.1e-3}}},
- {K: text.Scalar, T: ST{ok: Float64{1.5e+5}}},
- {K: text.Scalar, T: ST{ok: Float64{1.0e+10}}},
- {K: text.Scalar, T: ST{ok: Float64{0.0}}},
- {K: text.ListClose},
- },
- },
- {
- in: `nums: [0.,0f,1f,10f,-0f,-1f,-10f,1.0,0.1e-3,1.5e+5,1e10,.0]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Float32{0.0}}},
- {K: text.Scalar, T: ST{ok: Float32{0.0}}},
- {K: text.Scalar, T: ST{ok: Float32{1.0}}},
- {K: text.Scalar, T: ST{ok: Float32{10.0}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Copysign(0, -1))}}},
- {K: text.Scalar, T: ST{ok: Float32{-1.0}}},
- {K: text.Scalar, T: ST{ok: Float32{-10.0}}},
- {K: text.Scalar, T: ST{ok: Float32{1.0}}},
- {K: text.Scalar, T: ST{ok: Float32{0.1e-3}}},
- {K: text.Scalar, T: ST{ok: Float32{1.5e+5}}},
- {K: text.Scalar, T: ST{ok: Float32{1.0e+10}}},
- {K: text.Scalar, T: ST{ok: Float32{0.0}}},
- {K: text.ListClose},
- },
- },
- {
- in: `nums: [0.,1f,10F,1e1,1.10]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{nok: Int64{}}},
- {K: text.Scalar, T: ST{nok: Int64{}}},
- {K: text.Scalar, T: ST{nok: Int64{}}},
- {K: text.Scalar, T: ST{nok: Int64{}}},
- {K: text.Scalar, T: ST{nok: Int64{}}},
- {K: text.ListClose},
- },
- },
- {
- in: `nums: [0.,1f,10F,1e1,1.10]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{nok: Int32{}}},
- {K: text.Scalar, T: ST{nok: Int32{}}},
- {K: text.Scalar, T: ST{nok: Int32{}}},
- {K: text.Scalar, T: ST{nok: Int32{}}},
- {K: text.Scalar, T: ST{nok: Int32{}}},
- {K: text.ListClose},
- },
- },
- {
- in: `nums: [0.,1f,10F,1e1,1.10]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{nok: Uint64{}}},
- {K: text.Scalar, T: ST{nok: Uint64{}}},
- {K: text.Scalar, T: ST{nok: Uint64{}}},
- {K: text.Scalar, T: ST{nok: Uint64{}}},
- {K: text.Scalar, T: ST{nok: Uint64{}}},
- {K: text.ListClose},
- },
- },
- {
- in: `nums: [0.,1f,10F,1e1,1.10]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{nok: Uint32{}}},
- {K: text.Scalar, T: ST{nok: Uint32{}}},
- {K: text.Scalar, T: ST{nok: Uint32{}}},
- {K: text.Scalar, T: ST{nok: Uint32{}}},
- {K: text.Scalar, T: ST{nok: Uint32{}}},
- {K: text.ListClose},
- },
- },
- {
- in: `nums: [` +
- fmt.Sprintf("%g", math.MaxFloat32) + `,` +
- fmt.Sprintf("%g", -math.MaxFloat32) + `,` +
- fmt.Sprintf("%g", math.MaxFloat32*2) + `,` +
- fmt.Sprintf("%g", -math.MaxFloat32*2) + `,` +
- `3.59539e+308,` + // math.MaxFloat64 * 2
- `-3.59539e+308,` + // -math.MaxFloat64 * 2
- fmt.Sprintf("%d000", uint64(math.MaxUint64)) +
- `]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.MaxFloat32)}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(-math.MaxFloat32)}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(1))}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(-1))}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(1))}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(-1))}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.MaxUint64) * 1000}}},
- {K: text.ListClose},
- },
- },
- {
- in: `nums: [` +
- fmt.Sprintf("%g", math.MaxFloat64) + `,` +
- fmt.Sprintf("%g", -math.MaxFloat64) + `,` +
- `3.59539e+308,` + // math.MaxFloat64 * 2
- `-3.59539e+308,` + // -math.MaxFloat64 * 2
- fmt.Sprintf("%d000", uint64(math.MaxUint64)) +
- `]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Float64{math.MaxFloat64}}},
- {K: text.Scalar, T: ST{ok: Float64{-math.MaxFloat64}}},
- {K: text.Scalar, T: ST{ok: Float64{math.Inf(1)}}},
- {K: text.Scalar, T: ST{ok: Float64{math.Inf(-1)}}},
- {K: text.Scalar, T: ST{ok: Float64{float64(math.MaxUint64) * 1000}}},
- {K: text.ListClose},
- },
- },
- {
- // -0 is only valid for signed types. It is not valid for unsigned types.
- in: `num: [-0, -0]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{nok: Uint32{}}},
- {K: text.Scalar, T: ST{nok: Uint64{}}},
- {K: text.ListClose},
- },
- },
- {
- // -0 is only valid for signed types. It is not valid for unsigned types.
- in: `num: [-0, -0]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Int32{0}}},
- {K: text.Scalar, T: ST{ok: Int64{0}}},
- {K: text.ListClose},
- },
- },
- {
- // Negative zeros on float64 should preserve sign bit.
- in: `num: [-0, -.0]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Float64{math.Copysign(0, -1)}}},
- {K: text.Scalar, T: ST{ok: Float64{math.Copysign(0, -1)}}},
- {K: text.ListClose},
- },
- },
- {
- // Negative zeros on float32 should preserve sign bit.
- in: `num: [-0, -.0]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Copysign(0, -1))}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Copysign(0, -1))}}},
- {K: text.ListClose},
- },
- },
- {
- in: `num: +0`,
- want: []R{
- {K: text.Name},
- {E: `invalid scalar value: +`},
- },
- },
- {
- in: `num: 01.1234`,
- want: []R{
- {K: text.Name},
- {E: `invalid scalar value: 01.1234`},
- },
- },
- {
- in: `num: 0x`,
- want: []R{
- {K: text.Name},
- {E: `invalid scalar value: 0x`},
- },
- },
- {
- in: `num: 0xX`,
- want: []R{
- {K: text.Name},
- {E: `invalid scalar value: 0xX`},
- },
- },
- {
- in: `num: 0800`,
- want: []R{
- {K: text.Name},
- {E: `invalid scalar value: 0800`},
- },
- },
- {
- in: `num: 1.`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Float32{1.0}}},
- },
- },
- {
- in: `num: -.`,
- want: []R{
- {K: text.Name},
- {E: `invalid scalar value: -.`},
- },
- },
-
- // Float special literal values, case-insensitive match.
- {
- in: `name:[nan, NaN, Nan, NAN]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Float64{math.NaN()}}},
- {K: text.Scalar, T: ST{ok: Float64{math.NaN()}}},
- {K: text.Scalar, T: ST{ok: Float64{math.NaN()}}},
- {K: text.Scalar, T: ST{ok: Float64{math.NaN()}}},
- {K: text.ListClose},
- },
- },
- {
- in: `name:[inf, INF, infinity, Infinity, INFinity]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Float64{math.Inf(1)}}},
- {K: text.Scalar, T: ST{ok: Float64{math.Inf(1)}}},
- {K: text.Scalar, T: ST{ok: Float64{math.Inf(1)}}},
- {K: text.Scalar, T: ST{ok: Float64{math.Inf(1)}}},
- {K: text.Scalar, T: ST{ok: Float64{math.Inf(1)}}},
- {K: text.ListClose},
- },
- },
- {
- in: `name:[-inf, -INF, -infinity, -Infinity, -INFinity]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Float64{math.Inf(-1)}}},
- {K: text.Scalar, T: ST{ok: Float64{math.Inf(-1)}}},
- {K: text.Scalar, T: ST{ok: Float64{math.Inf(-1)}}},
- {K: text.Scalar, T: ST{ok: Float64{math.Inf(-1)}}},
- {K: text.Scalar, T: ST{ok: Float64{math.Inf(-1)}}},
- {K: text.ListClose},
- },
- },
- {
- in: `name:[nan, NaN, Nan, NAN]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.NaN())}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.NaN())}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.NaN())}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.NaN())}}},
- {K: text.ListClose},
- },
- },
- {
- in: `name:[inf, INF, infinity, Infinity, INFinity]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(1))}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(1))}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(1))}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(1))}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(1))}}},
- {K: text.ListClose},
- },
- },
- {
- in: `name:[-inf, -INF, -infinity, -Infinity, -INFinity]`,
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(-1))}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(-1))}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(-1))}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(-1))}}},
- {K: text.Scalar, T: ST{ok: Float32{float32(math.Inf(-1))}}},
- {K: text.ListClose},
- },
- },
- {
- // C++ permits this, but we currently reject this. It is easy to add
- // if needed.
- in: `name: -nan`,
- want: []R{
- {K: text.Name},
- {K: text.Scalar, T: ST{nok: Float64{}}},
- },
- },
- // Messages.
- {
- in: `m: {}`,
- want: []R{
- {K: text.Name},
- {K: text.MessageOpen},
- {K: text.MessageClose},
- {K: text.EOF},
- },
- },
- {
- in: `m: <>`,
- want: []R{
- {K: text.Name},
- {K: text.MessageOpen},
- {K: text.MessageClose},
- {K: text.EOF},
- },
- },
- {
- in: space + `m {` + space + "\n# comment\n" + `}` + space,
- want: []R{
- {K: text.Name},
- {K: text.MessageOpen},
- {K: text.MessageClose},
- },
- },
- {
- in: `m { foo: < bar: "hello" > }`,
- want: []R{
- {K: text.Name, RS: "m"},
- {K: text.MessageOpen},
-
- {K: text.Name, RS: "foo"},
- {K: text.MessageOpen},
-
- {K: text.Name, RS: "bar"},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
-
- {K: text.MessageClose},
-
- {K: text.MessageClose},
- },
- },
- {
- in: `list [ <s:"hello">, {s:"world"} ]`,
- want: []R{
- {K: text.Name, RS: "list"},
- {K: text.ListOpen},
-
- {K: text.MessageOpen},
- {K: text.Name, RS: "s"},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
- {K: text.MessageClose},
-
- {K: text.MessageOpen},
- {K: text.Name, RS: "s"},
- {K: text.Scalar, T: ST{ok: Str{"world"}}},
- {K: text.MessageClose},
-
- {K: text.ListClose},
- {K: text.EOF},
- },
- },
- {
- in: `m: { >`,
- want: []R{
- {K: text.Name},
- {K: text.MessageOpen},
- {E: `mismatched close character '>'`},
- },
- },
- {
- in: `m: <s: "hello"}`,
- want: []R{
- {K: text.Name},
- {K: text.MessageOpen},
-
- {K: text.Name},
- {K: text.Scalar, T: ST{ok: Str{"hello"}}},
-
- {E: `mismatched close character '}'`},
- },
- },
- {
- in: `{}`,
- want: []R{{E: `invalid field name: {`}},
- },
- {
- in: `
-m: {
- foo: true;
- bar: {
- enum: ENUM
- list: [ < >, { } ] ;
- }
- [qux]: "end"
-}
- `,
- want: []R{
- {K: text.Name},
- {K: text.MessageOpen},
-
- {K: text.Name, RS: "foo"},
- {K: text.Scalar, T: ST{ok: Bool{true}}},
-
- {K: text.Name, RS: "bar"},
- {K: text.MessageOpen},
-
- {K: text.Name, RS: "enum"},
- {K: text.Scalar, T: ST{ok: Enum{"ENUM"}}},
-
- {K: text.Name, RS: "list"},
- {K: text.ListOpen},
- {K: text.MessageOpen},
- {K: text.MessageClose},
- {K: text.MessageOpen},
- {K: text.MessageClose},
- {K: text.ListClose},
-
- {K: text.MessageClose},
-
- {K: text.Name, RS: "[qux]"},
- {K: text.Scalar, T: ST{ok: Str{"end"}}},
-
- {K: text.MessageClose},
- {K: text.EOF},
- },
- },
-
- // Other syntax errors.
- {
- in: "x: -",
- want: []R{
- {K: text.Name},
- {E: `syntax error (line 1:4): invalid scalar value: -`},
- },
- },
- {
- in: "x:[\"💩\"x",
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Str{"💩"}}, P: 3},
- {E: `syntax error (line 1:7)`},
- },
- },
- {
- in: "x:\n\n[\"🔥🔥🔥\"x",
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Str{"🔥🔥🔥"}}, P: 5},
- {E: `syntax error (line 3:7)`},
- },
- },
- {
- // multi-rune emojis; could be column:8
- in: "x:[\"ðŸ‘ðŸ»ðŸ‘ðŸ¿\"x",
- want: []R{
- {K: text.Name},
- {K: text.ListOpen},
- {K: text.Scalar, T: ST{ok: Str{"ðŸ‘ðŸ»ðŸ‘ðŸ¿"}}, P: 3},
- {E: `syntax error (line 1:10)`},
- },
- },
- }
-
- for _, tc := range tests {
- t.Run("", func(t *testing.T) {
- tc := tc
- in := []byte(tc.in)
- dec := text.NewDecoder(in[:len(in):len(in)])
- for i, want := range tc.want {
- peekTok, peekErr := dec.Peek()
- tok, err := dec.Read()
- if err != nil {
- if want.E == "" {
- errorf(t, tc.in, "Read() got unexpected error: %v", err)
- } else if !strings.Contains(err.Error(), want.E) {
- errorf(t, tc.in, "Read() got %q, want %q", err, want.E)
- }
- return
- }
- if want.E != "" {
- errorf(t, tc.in, "Read() got nil error, want %q", want.E)
- return
- }
- gotK := tok.Kind()
- if gotK != want.K {
- errorf(t, tc.in, "Read() got %v, want %v", gotK, want.K)
- return
- }
- checkToken(t, tok, i, want, tc.in)
- if !cmp.Equal(tok, peekTok, cmp.Comparer(text.TokenEquals)) {
- errorf(t, tc.in, "Peek() %+v != Read() token %+v", peekTok, tok)
- }
- if err != peekErr {
- errorf(t, tc.in, "Peek() error %v != Read() error %v", err, peekErr)
- }
- }
- })
- }
-}
-
-func checkToken(t *testing.T, tok text.Token, idx int, r R, in string) {
- // Validate Token.Pos() if R.P is set.
- if r.P > 0 {
- got := tok.Pos()
- if got != r.P {
- errorf(t, in, "want#%d: Token.Pos() got %v want %v", idx, got, r.P)
- }
- }
-
- // Validate Token.RawString if R.RS is set.
- if len(r.RS) > 0 {
- got := tok.RawString()
- if got != r.RS {
- errorf(t, in, "want#%d: Token.RawString() got %v want %v", idx, got, r.P)
- }
- }
-
- // Skip checking for Token details if r.T is not set.
- if r.T == nil {
- return
- }
-
- switch tok.Kind() {
- case text.Name:
- want := r.T.(NT)
- kind := tok.NameKind()
- if kind != want.K {
- errorf(t, in, "want#%d: Token.NameKind() got %v want %v", idx, kind, want.K)
- return
- }
- switch kind {
- case text.IdentName:
- got := tok.IdentName()
- if got != want.S {
- errorf(t, in, "want#%d: Token.IdentName() got %v want %v", idx, got, want.S)
- }
- case text.TypeName:
- got := tok.TypeName()
- if got != want.S {
- errorf(t, in, "want#%d: Token.TypeName() got %v want %v", idx, got, want.S)
- }
- case text.FieldNumber:
- got := tok.FieldNumber()
- if got != want.N {
- errorf(t, in, "want#%d: Token.FieldNumber() got %v want %v", idx, got, want.N)
- }
- }
-
- case text.Scalar:
- want := r.T.(ST)
- if ok := want.ok; ok != nil {
- if err := ok.checkOk(tok); err != "" {
- errorf(t, in, "want#%d: %s", idx, err)
- }
- }
- if nok := want.nok; nok != nil {
- if err := nok.checkNok(tok); err != "" {
- errorf(t, in, "want#%d: %s", idx, err)
- }
- }
- }
-}
-
-func errorf(t *testing.T, in string, fmtStr string, args ...interface{}) {
- t.Helper()
- vargs := []interface{}{in}
- for _, arg := range args {
- vargs = append(vargs, arg)
- }
- t.Errorf("input:\n%s\n~end~\n"+fmtStr, vargs...)
-}
-
-func TestUnmarshalString(t *testing.T) {
- tests := []struct {
- in string
- // want is expected string result.
- want string
- // err is expected error substring from calling DecodeString if set.
- err string
- }{
- {
- in: func() string {
- var b []byte
- for i := 0; i < utf8.RuneSelf; i++ {
- switch i {
- case 0, '\\', '\n', '\'': // these must be escaped, so ignore them
- default:
- b = append(b, byte(i))
- }
- }
- return "'" + string(b) + "'"
- }(),
- want: "\x01\x02\x03\x04\x05\x06\a\b\t\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~\u007f",
- },
- {
- in: "'\xde\xad\xbe\xef'",
- err: `invalid UTF-8 detected`,
- },
- {
- // Valid UTF-8 wire encoding, but sub-optimal encoding.
- in: "'\xc0\x80'",
- err: "invalid UTF-8 detected",
- },
- {
- // Valid UTF-8 wire encoding, but invalid rune (surrogate pair).
- in: "'\xed\xa0\x80'",
- err: "invalid UTF-8 detected",
- },
- {
- // Valid UTF-8 wire encoding, but invalid rune (above max rune).
- in: "'\xf7\xbf\xbf\xbf'",
- err: "invalid UTF-8 detected",
- },
- {
- // Valid UTF-8 wire encoding of the RuneError rune.
- in: "'\xef\xbf\xbd'",
- want: string(utf8.RuneError),
- },
- {
- in: "'hello\u1234world'",
- want: "hello\u1234world",
- },
- {
- in: `'\"\'\\\?\a\b\n\r\t\v\f\1\12\123\xA\xaB\x12\uAb8f\U0010FFFF'`,
- want: "\"'\\?\a\b\n\r\t\v\f\x01\nS\n\xab\x12\uab8f\U0010ffff",
- },
- {
- in: `str: '\8'`,
- err: `invalid escape code "\\8" in string`,
- },
- {
- in: `'\1x'`,
- want: "\001x",
- },
- {
- in: `'\12x'`,
- want: "\012x",
- },
- {
- in: `'\123x'`,
- want: "\123x",
- },
- {
- in: `'\1234x'`,
- want: "\1234x",
- },
- {
- in: `'\1'`,
- want: "\001",
- },
- {
- in: `'\12'`,
- want: "\012",
- },
- {
- in: `'\123'`,
- want: "\123",
- },
- {
- in: `'\1234'`,
- want: "\1234",
- },
- {
- in: `'\377'`,
- want: "\377",
- },
- {
- // Overflow octal escape.
- in: `'\400'`,
- err: `invalid octal escape code "\\400" in string`,
- },
- {
- in: `'\xfx'`,
- want: "\x0fx",
- },
- {
- in: `'\xffx'`,
- want: "\xffx",
- },
- {
- in: `'\xfffx'`,
- want: "\xfffx",
- },
- {
- in: `'\xf'`,
- want: "\x0f",
- },
- {
- in: `'\xff'`,
- want: "\xff",
- },
- {
- in: `'\xfff'`,
- want: "\xfff",
- },
- {
- in: `'\xz'`,
- err: `invalid hex escape code "\\x" in string`,
- },
- {
- in: `'\uPo'`,
- err: eofErr,
- },
- {
- in: `'\uPoo'`,
- err: `invalid Unicode escape code "\\uPoo'" in string`,
- },
- {
- in: `str: '\uPoop'`,
- err: `invalid Unicode escape code "\\uPoop" in string`,
- },
- {
- // Unmatched surrogate pair.
- in: `str: '\uDEAD'`,
- err: `unexpected EOF`, // trying to reader other half
- },
- {
- // Surrogate pair with invalid other half.
- in: `str: '\uDEAD\u0000'`,
- err: `invalid Unicode escape code "\\u0000" in string`,
- },
- {
- // Properly matched surrogate pair.
- in: `'\uD800\uDEAD'`,
- want: "ðŠ­",
- },
- {
- // Overflow on Unicode rune.
- in: `'\U00110000'`,
- err: `invalid Unicode escape code "\\U00110000" in string`,
- },
- {
- in: `'\z'`,
- err: `invalid escape code "\\z" in string`,
- },
- {
- // Strings cannot have NUL literal since C-style strings forbid them.
- in: "'\x00'",
- err: `invalid character '\x00' in string`,
- },
- {
- // Strings cannot have newline literal. The C++ permits them if an
- // option is specified to allow them. In Go, we always forbid them.
- in: "'\n'",
- err: `invalid character '\n' in string`,
- },
- }
-
- for _, tc := range tests {
- t.Run("", func(t *testing.T) {
- got, err := text.UnmarshalString(tc.in)
- if err != nil {
- if tc.err == "" {
- errorf(t, tc.in, "UnmarshalString() got unexpected error: %q", err)
- } else if !strings.Contains(err.Error(), tc.err) {
- errorf(t, tc.in, "UnmarshalString() error got %q, want %q", err, tc.err)
- }
- return
- }
- if tc.err != "" {
- errorf(t, tc.in, "UnmarshalString() got nil error, want %q", tc.err)
- return
- }
- if got != tc.want {
- errorf(t, tc.in, "UnmarshalString()\n[got]\n%s\n[want]\n%s", got, tc.want)
- }
- })
- }
-}
-
-// Tests line and column number produced by Decoder.Position.
-func TestPosition(t *testing.T) {
- dec := text.NewDecoder([]byte("0123456789\n12345\n789"))
-
- tests := []struct {
- pos int
- row int
- col int
- }{
- {
- pos: 0,
- row: 1,
- col: 1,
- },
- {
- pos: 10,
- row: 1,
- col: 11,
- },
- {
- pos: 11,
- row: 2,
- col: 1,
- },
- {
- pos: 18,
- row: 3,
- col: 2,
- },
- }
-
- for _, tc := range tests {
- t.Run("", func(t *testing.T) {
- row, col := dec.Position(tc.pos)
- if row != tc.row || col != tc.col {
- t.Errorf("Position(%d) got (%d,%d) want (%d,%d)", tc.pos, row, col, tc.row, tc.col)
- }
- })
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/text/encode_test.go b/vendor/google.golang.org/protobuf/internal/encoding/text/encode_test.go
deleted file mode 100644
index d9c5009833..0000000000
--- a/vendor/google.golang.org/protobuf/internal/encoding/text/encode_test.go
+++ /dev/null
@@ -1,557 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package text_test
-
-import (
- "math"
- "strings"
- "testing"
- "unicode/utf8"
-
- "github.com/google/go-cmp/cmp"
-
- "google.golang.org/protobuf/internal/detrand"
- "google.golang.org/protobuf/internal/encoding/text"
-)
-
-// Disable detrand to enable direct comparisons on outputs.
-func init() { detrand.Disable() }
-
-func TestEncoder(t *testing.T) {
- tests := []encoderTestCase{
- {
- desc: "no-opt",
- write: func(e *text.Encoder) {},
- wantOut: ``,
- wantOutIndent: ``,
- },
- {
- desc: "true",
- write: func(e *text.Encoder) {
- e.WriteName("bool")
- e.WriteBool(true)
- },
- wantOut: `bool:true`,
- wantOutIndent: `bool: true`,
- },
- {
- desc: "false",
- write: func(e *text.Encoder) {
- e.WriteName("bool")
- e.WriteBool(false)
- },
- wantOut: `bool:false`,
- wantOutIndent: `bool: false`,
- },
- {
- desc: "bracket name",
- write: func(e *text.Encoder) {
- e.WriteName("[extension]")
- e.WriteString("hello")
- },
- wantOut: `[extension]:"hello"`,
- wantOutIndent: `[extension]: "hello"`,
- },
- {
- desc: "numeric name",
- write: func(e *text.Encoder) {
- e.WriteName("01234")
- e.WriteString("hello")
- },
- wantOut: `01234:"hello"`,
- wantOutIndent: `01234: "hello"`,
- },
- {
- desc: "string",
- write: func(e *text.Encoder) {
- e.WriteName("str")
- e.WriteString("hello world")
- },
- wantOut: `str:"hello world"`,
- wantOutIndent: `str: "hello world"`,
- },
- {
- desc: "enum",
- write: func(e *text.Encoder) {
- e.WriteName("enum")
- e.WriteLiteral("ENUM_VALUE")
- },
- wantOut: `enum:ENUM_VALUE`,
- wantOutIndent: `enum: ENUM_VALUE`,
- },
- {
- desc: "float64",
- write: func(e *text.Encoder) {
- e.WriteName("float64")
- e.WriteFloat(1.0199999809265137, 64)
- },
- wantOut: `float64:1.0199999809265137`,
- wantOutIndent: `float64: 1.0199999809265137`,
- },
- {
- desc: "float64 max value",
- write: func(e *text.Encoder) {
- e.WriteName("float64")
- e.WriteFloat(math.MaxFloat64, 64)
- },
- wantOut: `float64:1.7976931348623157e+308`,
- wantOutIndent: `float64: 1.7976931348623157e+308`,
- },
- {
- desc: "float64 min value",
- write: func(e *text.Encoder) {
- e.WriteName("float64")
- e.WriteFloat(-math.MaxFloat64, 64)
- },
- wantOut: `float64:-1.7976931348623157e+308`,
- wantOutIndent: `float64: -1.7976931348623157e+308`,
- },
- {
- desc: "float64 nan",
- write: func(e *text.Encoder) {
- e.WriteName("float64")
- e.WriteFloat(math.NaN(), 64)
- },
- wantOut: `float64:nan`,
- wantOutIndent: `float64: nan`,
- },
- {
- desc: "float64 inf",
- write: func(e *text.Encoder) {
- e.WriteName("float64")
- e.WriteFloat(math.Inf(+1), 64)
- },
- wantOut: `float64:inf`,
- wantOutIndent: `float64: inf`,
- },
- {
- desc: "float64 -inf",
- write: func(e *text.Encoder) {
- e.WriteName("float64")
- e.WriteFloat(math.Inf(-1), 64)
- },
- wantOut: `float64:-inf`,
- wantOutIndent: `float64: -inf`,
- },
- {
- desc: "float64 negative zero",
- write: func(e *text.Encoder) {
- e.WriteName("float64")
- e.WriteFloat(math.Copysign(0, -1), 64)
- },
- wantOut: `float64:-0`,
- wantOutIndent: `float64: -0`,
- },
- {
- desc: "float32",
- write: func(e *text.Encoder) {
- e.WriteName("float")
- e.WriteFloat(1.02, 32)
- },
- wantOut: `float:1.02`,
- wantOutIndent: `float: 1.02`,
- },
- {
- desc: "float32 max value",
- write: func(e *text.Encoder) {
- e.WriteName("float32")
- e.WriteFloat(math.MaxFloat32, 32)
- },
- wantOut: `float32:3.4028235e+38`,
- wantOutIndent: `float32: 3.4028235e+38`,
- },
- {
- desc: "float32 nan",
- write: func(e *text.Encoder) {
- e.WriteName("float32")
- e.WriteFloat(math.NaN(), 32)
- },
- wantOut: `float32:nan`,
- wantOutIndent: `float32: nan`,
- },
- {
- desc: "float32 inf",
- write: func(e *text.Encoder) {
- e.WriteName("float32")
- e.WriteFloat(math.Inf(+1), 32)
- },
- wantOut: `float32:inf`,
- wantOutIndent: `float32: inf`,
- },
- {
- desc: "float32 -inf",
- write: func(e *text.Encoder) {
- e.WriteName("float32")
- e.WriteFloat(math.Inf(-1), 32)
- },
- wantOut: `float32:-inf`,
- wantOutIndent: `float32: -inf`,
- },
- {
- desc: "float32 negative zero",
- write: func(e *text.Encoder) {
- e.WriteName("float32")
- e.WriteFloat(math.Copysign(0, -1), 32)
- },
- wantOut: `float32:-0`,
- wantOutIndent: `float32: -0`,
- },
- {
- desc: "int64 max value",
- write: func(e *text.Encoder) {
- e.WriteName("int")
- e.WriteInt(math.MaxInt64)
- },
- wantOut: `int:9223372036854775807`,
- wantOutIndent: `int: 9223372036854775807`,
- },
- {
- desc: "int64 min value",
- write: func(e *text.Encoder) {
- e.WriteName("int")
- e.WriteInt(math.MinInt64)
- },
- wantOut: `int:-9223372036854775808`,
- wantOutIndent: `int: -9223372036854775808`,
- },
- {
- desc: "uint",
- write: func(e *text.Encoder) {
- e.WriteName("uint")
- e.WriteUint(math.MaxUint64)
- },
- wantOut: `uint:18446744073709551615`,
- wantOutIndent: `uint: 18446744073709551615`,
- },
- {
- desc: "empty message field",
- write: func(e *text.Encoder) {
- e.WriteName("m")
- e.StartMessage()
- e.EndMessage()
- },
- wantOut: `m:{}`,
- wantOutIndent: `m: {}`,
- },
- {
- desc: "multiple fields",
- write: func(e *text.Encoder) {
- e.WriteName("bool")
- e.WriteBool(true)
- e.WriteName("str")
- e.WriteString("hello")
- e.WriteName("str")
- e.WriteString("world")
- e.WriteName("m")
- e.StartMessage()
- e.EndMessage()
- e.WriteName("[int]")
- e.WriteInt(49)
- e.WriteName("float64")
- e.WriteFloat(1.00023e4, 64)
- e.WriteName("101")
- e.WriteString("unknown")
- },
- wantOut: `bool:true str:"hello" str:"world" m:{} [int]:49 float64:10002.3 101:"unknown"`,
- wantOutIndent: `bool: true
-str: "hello"
-str: "world"
-m: {}
-[int]: 49
-float64: 10002.3
-101: "unknown"`,
- },
- {
- desc: "populated message fields",
- write: func(e *text.Encoder) {
- e.WriteName("m1")
- e.StartMessage()
- {
- e.WriteName("str")
- e.WriteString("hello")
- }
- e.EndMessage()
-
- e.WriteName("bool")
- e.WriteBool(true)
-
- e.WriteName("m2")
- e.StartMessage()
- {
- e.WriteName("str")
- e.WriteString("world")
- e.WriteName("m2-1")
- e.StartMessage()
- e.EndMessage()
- e.WriteName("m2-2")
- e.StartMessage()
- {
- e.WriteName("[int]")
- e.WriteInt(49)
- }
- e.EndMessage()
- e.WriteName("float64")
- e.WriteFloat(1.00023e4, 64)
- }
- e.EndMessage()
-
- e.WriteName("101")
- e.WriteString("unknown")
- },
- wantOut: `m1:{str:"hello"} bool:true m2:{str:"world" m2-1:{} m2-2:{[int]:49} float64:10002.3} 101:"unknown"`,
- wantOutIndent: `m1: {
- str: "hello"
-}
-bool: true
-m2: {
- str: "world"
- m2-1: {}
- m2-2: {
- [int]: 49
- }
- float64: 10002.3
-}
-101: "unknown"`,
- },
- }
-
- for _, tc := range tests {
- t.Run(tc.desc, func(t *testing.T) {
- runEncoderTest(t, tc, [2]byte{})
-
- // Test using the angle brackets.
- // Testcases should not contain characters '{' and '}'.
- tc.wantOut = replaceDelims(tc.wantOut)
- tc.wantOutIndent = replaceDelims(tc.wantOutIndent)
- runEncoderTest(t, tc, [2]byte{'<', '>'})
- })
- }
-}
-
-type encoderTestCase struct {
- desc string
- write func(*text.Encoder)
- wantOut string
- wantOutIndent string
-}
-
-func runEncoderTest(t *testing.T, tc encoderTestCase, delims [2]byte) {
- t.Helper()
-
- if tc.wantOut != "" {
- enc, err := text.NewEncoder(nil, "", delims, false)
- if err != nil {
- t.Fatalf("NewEncoder returned error: %v", err)
- }
- tc.write(enc)
- got := string(enc.Bytes())
- if got != tc.wantOut {
- t.Errorf("(compact)\n<got>\n%v\n<want>\n%v\n", got, tc.wantOut)
- }
- }
- if tc.wantOutIndent != "" {
- enc, err := text.NewEncoder(nil, "\t", delims, false)
- if err != nil {
- t.Fatalf("NewEncoder returned error: %v", err)
- }
- tc.write(enc)
- got, want := string(enc.Bytes()), tc.wantOutIndent
- if got != want {
- t.Errorf("(multi-line)\n<got>\n%v\n<want>\n%v\n<diff -want +got>\n%v\n",
- got, want, cmp.Diff(want, got))
- }
- }
-}
-
-func replaceDelims(s string) string {
- s = strings.Replace(s, "{", "<", -1)
- return strings.Replace(s, "}", ">", -1)
-}
-
-// Test for UTF-8 and ASCII outputs.
-func TestEncodeStrings(t *testing.T) {
- tests := []struct {
- in string
- wantOut string
- wantOutASCII string
- }{
- {
- in: `"`,
- wantOut: `"\""`,
- },
- {
- in: `'`,
- wantOut: `"'"`,
- },
- {
- in: "hello\u1234world",
- wantOut: "\"hello\u1234world\"",
- wantOutASCII: `"hello\u1234world"`,
- },
- {
- // String that has as few escaped characters as possible.
- in: func() string {
- var b []byte
- for i := rune(0); i <= 0x00a0; i++ {
- switch i {
- case 0, '\\', '\n', '\'': // these must be escaped, so ignore them
- default:
- var r [utf8.UTFMax]byte
- n := utf8.EncodeRune(r[:], i)
- b = append(b, r[:n]...)
- }
- }
- return string(b)
- }(),
- wantOut: `"\x01\x02\x03\x04\x05\x06\x07\x08\t\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_` + "`" + `abcdefghijklmnopqrstuvwxyz{|}~\x7f\u0080\u0081\u0082\u0083\u0084\u0085\u0086\u0087\u0088\u0089\u008a\u008b\u008c\u008d\u008e\u008f\u0090\u0091\u0092\u0093\u0094\u0095\u0096\u0097\u0098\u0099\u009a\u009b\u009c\u009d\u009e\u009f` + "\u00a0" + `"`,
- wantOutASCII: `"\x01\x02\x03\x04\x05\x06\x07\x08\t\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_` + "`" + `abcdefghijklmnopqrstuvwxyz{|}~\x7f\u0080\u0081\u0082\u0083\u0084\u0085\u0086\u0087\u0088\u0089\u008a\u008b\u008c\u008d\u008e\u008f\u0090\u0091\u0092\u0093\u0094\u0095\u0096\u0097\u0098\u0099\u009a\u009b\u009c\u009d\u009e\u009f\u00a0"`,
- },
- {
- // Valid UTF-8 wire encoding of the RuneError rune.
- in: string(utf8.RuneError),
- wantOut: `"` + string(utf8.RuneError) + `"`,
- wantOutASCII: `"\ufffd"`,
- },
- {
- in: "\"'\\?\a\b\n\r\t\v\f\x01\nS\n\xab\x12\uab8f\U0010ffff",
- wantOut: `"\"'\\?\x07\x08\n\r\t\x0b\x0c\x01\nS\n\xab\x12` + "\uab8f\U0010ffff" + `"`,
- wantOutASCII: `"\"'\\?\x07\x08\n\r\t\x0b\x0c\x01\nS\n\xab\x12\uab8f\U0010ffff"`,
- },
- {
- in: "\001x",
- wantOut: `"\x01x"`,
- wantOutASCII: `"\x01x"`,
- },
- {
- in: "\012x",
- wantOut: `"\nx"`,
- wantOutASCII: `"\nx"`,
- },
- {
- in: "\123x",
- wantOut: `"Sx"`,
- wantOutASCII: `"Sx"`,
- },
- {
- in: "\1234x",
- wantOut: `"S4x"`,
- wantOutASCII: `"S4x"`,
- },
- {
- in: "\001",
- wantOut: `"\x01"`,
- wantOutASCII: `"\x01"`,
- },
- {
- in: "\012",
- wantOut: `"\n"`,
- wantOutASCII: `"\n"`,
- },
- {
- in: "\123",
- wantOut: `"S"`,
- wantOutASCII: `"S"`,
- },
- {
- in: "\1234",
- wantOut: `"S4"`,
- wantOutASCII: `"S4"`,
- },
- {
- in: "\377",
- wantOut: `"\xff"`,
- wantOutASCII: `"\xff"`,
- },
- {
- in: "\x0fx",
- wantOut: `"\x0fx"`,
- wantOutASCII: `"\x0fx"`,
- },
- {
- in: "\xffx",
- wantOut: `"\xffx"`,
- wantOutASCII: `"\xffx"`,
- },
- {
- in: "\xfffx",
- wantOut: `"\xfffx"`,
- wantOutASCII: `"\xfffx"`,
- },
- {
- in: "\x0f",
- wantOut: `"\x0f"`,
- wantOutASCII: `"\x0f"`,
- },
- {
- in: "\x7f",
- wantOut: `"\x7f"`,
- wantOutASCII: `"\x7f"`,
- },
- {
- in: "\xff",
- wantOut: `"\xff"`,
- wantOutASCII: `"\xff"`,
- },
- {
- in: "\xfff",
- wantOut: `"\xfff"`,
- wantOutASCII: `"\xfff"`,
- },
- }
- for _, tc := range tests {
- t.Run("", func(t *testing.T) {
- if tc.wantOut != "" {
- runEncodeStringsTest(t, tc.in, tc.wantOut, false)
- }
- if tc.wantOutASCII != "" {
- runEncodeStringsTest(t, tc.in, tc.wantOutASCII, true)
- }
- })
- }
-}
-
-func runEncodeStringsTest(t *testing.T, in string, want string, outputASCII bool) {
- t.Helper()
-
- charType := "UTF-8"
- if outputASCII {
- charType = "ASCII"
- }
-
- enc, err := text.NewEncoder(nil, "", [2]byte{}, outputASCII)
- if err != nil {
- t.Fatalf("[%s] NewEncoder returned error: %v", charType, err)
- }
- enc.WriteString(in)
- got := string(enc.Bytes())
- if got != want {
- t.Errorf("[%s] WriteString(%q)\n<got>\n%v\n<want>\n%v\n", charType, in, got, want)
- }
-}
-
-func TestReset(t *testing.T) {
- enc, err := text.NewEncoder(nil, "\t", [2]byte{}, false)
- if err != nil {
- t.Fatalf("NewEncoder returned error: %v", err)
- }
-
- enc.WriteName("foo")
- pos := enc.Snapshot()
-
- // Attempt to write a message value.
- enc.StartMessage()
- enc.WriteName("bar")
- enc.WriteUint(10)
-
- // Reset the value and decided to write a string value instead.
- enc.Reset(pos)
- enc.WriteString("0123456789")
-
- got := string(enc.Bytes())
- want := `foo: "0123456789"`
- if got != want {
- t.Errorf("Reset did not restore given position:\n<got>\n%v\n<want>\n%v\n", got, want)
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/text/gotest/ya.make b/vendor/google.golang.org/protobuf/internal/encoding/text/gotest/ya.make
deleted file mode 100644
index c19bba9efd..0000000000
--- a/vendor/google.golang.org/protobuf/internal/encoding/text/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/internal/encoding/text)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/encoding/text/ya.make b/vendor/google.golang.org/protobuf/internal/encoding/text/ya.make
index d9fb283dd6..5665f82701 100644
--- a/vendor/google.golang.org/protobuf/internal/encoding/text/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/encoding/text/ya.make
@@ -11,11 +11,4 @@ SRCS(
encode.go
)
-GO_XTEST_SRCS(
- decode_test.go
- encode_test.go
-)
-
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/internal/errors/errors_test.go b/vendor/google.golang.org/protobuf/internal/errors/errors_test.go
deleted file mode 100644
index 804eb96c29..0000000000
--- a/vendor/google.golang.org/protobuf/internal/errors/errors_test.go
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package errors
-
-import (
- "errors"
- "strings"
- "testing"
-)
-
-func TestErrors(t *testing.T) {
- var sentinel = New("sentinel")
- var foreign = errors.New("foreign")
- for _, test := range []struct {
- what string
- err error
- wantText string
- is []error
- isNot []error
- }{{
- what: `New("abc")`,
- err: New("abc"),
- wantText: "abc",
- }, {
- what: `New("%v", sentinel)`,
- err: New("%v", sentinel),
- wantText: "sentinel",
- isNot: []error{sentinel},
- }, {
- what: `Wrap(sentinel, "%v", "text")`,
- err: Wrap(sentinel, "%v", "text"),
- wantText: "text: sentinel",
- is: []error{sentinel},
- }, {
- what: `New("%v", foreign)`,
- err: New("%v", foreign),
- wantText: "foreign",
- isNot: []error{foreign},
- }, {
- what: `Wrap(foreign, "%v", "text")`,
- err: Wrap(foreign, "%v", "text"),
- wantText: "text: foreign",
- is: []error{foreign},
- }} {
- if got, want := test.err.Error(), prefix; !strings.HasPrefix(got, want) {
- t.Errorf("%v.Error() = %q, want prefix %q", test.what, got, want)
- }
- if got, want := test.err.Error(), prefix+test.wantText; got != want {
- t.Errorf("%v.Error() = %q, want %q", test.what, got, want)
- }
- if got, want := Is(test.err, Error), true; got != want {
- t.Errorf("errors.Is(%v, errors.Error) = %v, want %v", test.what, got, want)
- }
- for _, err := range test.is {
- if got, want := Is(test.err, err), true; got != want {
- t.Errorf("errors.Is(%v, %v) = %v, want %v", test.what, err, got, want)
- }
- }
- for _, err := range test.isNot {
- if got, want := Is(test.err, err), false; got != want {
- t.Errorf("errors.Is(%v, %v) = %v, want %v", test.what, err, got, want)
- }
- }
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/errors/gotest/ya.make b/vendor/google.golang.org/protobuf/internal/errors/gotest/ya.make
deleted file mode 100644
index e7246ed530..0000000000
--- a/vendor/google.golang.org/protobuf/internal/errors/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/internal/errors)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/errors/ya.make b/vendor/google.golang.org/protobuf/internal/errors/ya.make
index 33bdecf50b..d958a0d019 100644
--- a/vendor/google.golang.org/protobuf/internal/errors/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/errors/ya.make
@@ -7,8 +7,4 @@ SRCS(
is_go113.go
)
-GO_TEST_SRCS(errors_test.go)
-
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/internal/filedesc/build_test.go b/vendor/google.golang.org/protobuf/internal/filedesc/build_test.go
deleted file mode 100644
index 979b8ea19a..0000000000
--- a/vendor/google.golang.org/protobuf/internal/filedesc/build_test.go
+++ /dev/null
@@ -1,137 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package filedesc_test
-
-import (
- "bytes"
- "compress/gzip"
- "io/ioutil"
- "testing"
-
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protodesc"
- "google.golang.org/protobuf/reflect/protoreflect"
-
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- _ "google.golang.org/protobuf/internal/testprotos/test/weak1"
- "google.golang.org/protobuf/types/descriptorpb"
-)
-
-var testFile = new(testpb.TestAllTypes).ProtoReflect().Descriptor().ParentFile()
-
-func TestInit(t *testing.T) {
- // Compare the FileDescriptorProto for the same test file from two different sources:
- //
- // 1. The result of passing the filedesc-produced FileDescriptor through protodesc.
- // 2. The protoc-generated wire-encoded message.
- //
- // This serves as a test of both filedesc and protodesc.
- got := protodesc.ToFileDescriptorProto(testFile)
-
- want := &descriptorpb.FileDescriptorProto{}
- zb, _ := (&testpb.TestAllTypes{}).Descriptor()
- r, _ := gzip.NewReader(bytes.NewBuffer(zb))
- b, _ := ioutil.ReadAll(r)
- if err := proto.Unmarshal(b, want); err != nil {
- t.Fatal(err)
- }
-
- if !proto.Equal(got, want) {
- t.Errorf("protodesc.ToFileDescriptorProto(testpb.Test_protoFile) is not equal to the protoc-generated FileDescriptorProto for internal/testprotos/test/test.proto")
- }
-
- // Verify that the test proto file provides exhaustive coverage of all descriptor fields.
- seen := make(map[protoreflect.FullName]bool)
- visitFields(want.ProtoReflect(), func(field protoreflect.FieldDescriptor) {
- seen[field.FullName()] = true
- })
- descFile := new(descriptorpb.DescriptorProto).ProtoReflect().Descriptor().ParentFile()
- descPkg := descFile.Package()
- ignore := map[protoreflect.FullName]bool{
- // The protoreflect descriptors don't include source info.
- descPkg.Append("FileDescriptorProto.source_code_info"): true,
- descPkg.Append("FileDescriptorProto.syntax"): true,
- // Nothing is using edition yet.
- descPkg.Append("FileDescriptorProto.edition"): true,
-
- // Impossible to test proto3 optional in a proto2 file.
- descPkg.Append("FieldDescriptorProto.proto3_optional"): true,
-
- // TODO: Test oneof and extension options. Testing these requires extending the
- // options messages (because they contain no user-settable fields), but importing
- // descriptor.proto from test.proto currently causes an import cycle. Add test
- // cases when that import cycle has been fixed.
- descPkg.Append("OneofDescriptorProto.options"): true,
- }
- for _, messageName := range []protoreflect.Name{
- "FileDescriptorProto",
- "DescriptorProto",
- "FieldDescriptorProto",
- "OneofDescriptorProto",
- "EnumDescriptorProto",
- "EnumValueDescriptorProto",
- } {
- message := descFile.Messages().ByName(messageName)
- for i, fields := 0, message.Fields(); i < fields.Len(); i++ {
- if name := fields.Get(i).FullName(); !seen[name] && !ignore[name] {
- t.Errorf("No test for descriptor field: %v", name)
- }
- }
- }
-
- // Verify that message descriptors for map entries have no Go type info.
- mapEntryName := protoreflect.FullName("goproto.proto.test.TestAllTypes.MapInt32Int32Entry")
- d := testFile.Messages().ByName("TestAllTypes").Fields().ByName("map_int32_int32").Message()
- if gotName, wantName := d.FullName(), mapEntryName; gotName != wantName {
- t.Fatalf("looked up wrong descriptor: got %v, want %v", gotName, wantName)
- }
- if _, ok := d.(protoreflect.MessageType); ok {
- t.Errorf("message descriptor for %v must not implement protoreflect.MessageType", mapEntryName)
- }
-}
-
-// visitFields calls f for every field set in m and its children.
-func visitFields(m protoreflect.Message, f func(protoreflect.FieldDescriptor)) {
- m.Range(func(fd protoreflect.FieldDescriptor, value protoreflect.Value) bool {
- f(fd)
- switch fd.Kind() {
- case protoreflect.MessageKind, protoreflect.GroupKind:
- if fd.IsList() {
- for i, list := 0, value.List(); i < list.Len(); i++ {
- visitFields(list.Get(i).Message(), f)
- }
- } else {
- visitFields(value.Message(), f)
- }
- }
- return true
- })
-}
-
-func TestWeakInit(t *testing.T) {
- // We do not expect to get a placeholder since weak1 is imported.
- fd1 := testFile.Messages().ByName("TestWeak").Fields().ByName("weak_message1")
- if got, want := fd1.IsWeak(), true; got != want {
- t.Errorf("field %v: IsWeak() = %v, want %v", fd1.FullName(), got, want)
- }
- if got, want := fd1.Message().IsPlaceholder(), false; got != want {
- t.Errorf("field %v: Message.IsPlaceholder() = %v, want %v", fd1.FullName(), got, want)
- }
- if got, want := fd1.Message().Fields().Len(), 1; got != want {
- t.Errorf("field %v: Message().Fields().Len() == %d, want %d", fd1.FullName(), got, want)
- }
-
- // We do expect to get a placeholder since weak2 is not imported.
- fd2 := testFile.Messages().ByName("TestWeak").Fields().ByName("weak_message2")
- if got, want := fd2.IsWeak(), true; got != want {
- t.Errorf("field %v: IsWeak() = %v, want %v", fd2.FullName(), got, want)
- }
- if got, want := fd2.Message().IsPlaceholder(), true; got != want {
- t.Errorf("field %v: Message.IsPlaceholder() = %v, want %v", fd2.FullName(), got, want)
- }
- if got, want := fd2.Message().Fields().Len(), 0; got != want {
- t.Errorf("field %v: Message().Fields().Len() == %d, want %d", fd2.FullName(), got, want)
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/filedesc/desc.go b/vendor/google.golang.org/protobuf/internal/filedesc/desc.go
index 7c3689baee..193c68e8f9 100644
--- a/vendor/google.golang.org/protobuf/internal/filedesc/desc.go
+++ b/vendor/google.golang.org/protobuf/internal/filedesc/desc.go
@@ -21,11 +21,26 @@ import (
"google.golang.org/protobuf/reflect/protoregistry"
)
+// Edition is an Enum for proto2.Edition
+type Edition int32
+
+// These values align with the value of Enum in descriptor.proto which allows
+// direct conversion between the proto enum and this enum.
+const (
+ EditionUnknown Edition = 0
+ EditionProto2 Edition = 998
+ EditionProto3 Edition = 999
+ Edition2023 Edition = 1000
+ EditionUnsupported Edition = 100000
+)
+
// The types in this file may have a suffix:
// • L0: Contains fields common to all descriptors (except File) and
// must be initialized up front.
// • L1: Contains fields specific to a descriptor and
-// must be initialized up front.
+// must be initialized up front. If the associated proto uses Editions, the
+// Editions features must always be resolved. If not explicitly set, the
+// appropriate default must be resolved and set.
// • L2: Contains fields that are lazily initialized when constructing
// from the raw file descriptor. When constructing as a literal, the L2
// fields must be initialized up front.
@@ -44,6 +59,7 @@ type (
}
FileL1 struct {
Syntax protoreflect.Syntax
+ Edition Edition // Only used if Syntax == Editions
Path string
Package protoreflect.FullName
@@ -51,12 +67,35 @@ type (
Messages Messages
Extensions Extensions
Services Services
+
+ EditionFeatures FileEditionFeatures
}
FileL2 struct {
Options func() protoreflect.ProtoMessage
Imports FileImports
Locations SourceLocations
}
+
+ FileEditionFeatures struct {
+ // IsFieldPresence is true if field_presence is EXPLICIT
+ // https://protobuf.dev/editions/features/#field_presence
+ IsFieldPresence bool
+ // IsOpenEnum is true if enum_type is OPEN
+ // https://protobuf.dev/editions/features/#enum_type
+ IsOpenEnum bool
+ // IsPacked is true if repeated_field_encoding is PACKED
+ // https://protobuf.dev/editions/features/#repeated_field_encoding
+ IsPacked bool
+ // IsUTF8Validated is true if utf_validation is VERIFY
+ // https://protobuf.dev/editions/features/#utf8_validation
+ IsUTF8Validated bool
+ // IsDelimitedEncoded is true if message_encoding is DELIMITED
+ // https://protobuf.dev/editions/features/#message_encoding
+ IsDelimitedEncoded bool
+ // IsJSONCompliant is true if json_format is ALLOW
+ // https://protobuf.dev/editions/features/#json_format
+ IsJSONCompliant bool
+ }
)
func (fd *File) ParentFile() protoreflect.FileDescriptor { return fd }
@@ -210,6 +249,9 @@ type (
ContainingOneof protoreflect.OneofDescriptor // must be consistent with Message.Oneofs.Fields
Enum protoreflect.EnumDescriptor
Message protoreflect.MessageDescriptor
+
+ // Edition features.
+ Presence bool
}
Oneof struct {
@@ -273,6 +315,9 @@ func (fd *Field) HasJSONName() bool { return fd.L1.StringNam
func (fd *Field) JSONName() string { return fd.L1.StringName.getJSON(fd) }
func (fd *Field) TextName() string { return fd.L1.StringName.getText(fd) }
func (fd *Field) HasPresence() bool {
+ if fd.L0.ParentFile.L1.Syntax == protoreflect.Editions {
+ return fd.L1.Presence || fd.L1.Message != nil || fd.L1.ContainingOneof != nil
+ }
return fd.L1.Cardinality != protoreflect.Repeated && (fd.L0.ParentFile.L1.Syntax == protoreflect.Proto2 || fd.L1.Message != nil || fd.L1.ContainingOneof != nil)
}
func (fd *Field) HasOptionalKeyword() bool {
diff --git a/vendor/google.golang.org/protobuf/internal/filedesc/desc_test.go b/vendor/google.golang.org/protobuf/internal/filedesc/desc_test.go
deleted file mode 100644
index 21919d1e33..0000000000
--- a/vendor/google.golang.org/protobuf/internal/filedesc/desc_test.go
+++ /dev/null
@@ -1,850 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package filedesc_test
-
-import (
- "fmt"
- "reflect"
- "regexp"
- "strconv"
- "strings"
- "testing"
-
- "github.com/google/go-cmp/cmp"
-
- "google.golang.org/protobuf/internal/detrand"
- "google.golang.org/protobuf/internal/filedesc"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protodesc"
- "google.golang.org/protobuf/reflect/protoreflect"
-
- "google.golang.org/protobuf/types/descriptorpb"
-)
-
-func init() {
- // Disable detrand to enable direct comparisons on outputs.
- detrand.Disable()
-}
-
-// TODO: Test protodesc.NewFile with imported files.
-
-func TestFile(t *testing.T) {
- f1 := &descriptorpb.FileDescriptorProto{
- Syntax: proto.String("proto2"),
- Name: proto.String("path/to/file.proto"),
- Package: proto.String("test"),
- Options: &descriptorpb.FileOptions{Deprecated: proto.Bool(true)},
- MessageType: []*descriptorpb.DescriptorProto{{
- Name: proto.String("A"),
- Options: &descriptorpb.MessageOptions{
- Deprecated: proto.Bool(true),
- },
- }, {
- Name: proto.String("B"),
- Field: []*descriptorpb.FieldDescriptorProto{{
- Name: proto.String("field_one"),
- Number: proto.Int32(1),
- Label: descriptorpb.FieldDescriptorProto_Label(protoreflect.Optional).Enum(),
- Type: descriptorpb.FieldDescriptorProto_Type(protoreflect.StringKind).Enum(),
- DefaultValue: proto.String("hello, \"world!\"\n"),
- OneofIndex: proto.Int32(0),
- }, {
- Name: proto.String("field_two"),
- JsonName: proto.String("Field2"),
- Number: proto.Int32(2),
- Label: descriptorpb.FieldDescriptorProto_Label(protoreflect.Optional).Enum(),
- Type: descriptorpb.FieldDescriptorProto_Type(protoreflect.EnumKind).Enum(),
- DefaultValue: proto.String("BAR"),
- TypeName: proto.String(".test.E1"),
- OneofIndex: proto.Int32(1),
- }, {
- Name: proto.String("field_three"),
- Number: proto.Int32(3),
- Label: descriptorpb.FieldDescriptorProto_Label(protoreflect.Optional).Enum(),
- Type: descriptorpb.FieldDescriptorProto_Type(protoreflect.MessageKind).Enum(),
- TypeName: proto.String(".test.C"),
- OneofIndex: proto.Int32(1),
- }, {
- Name: proto.String("field_four"),
- JsonName: proto.String("Field4"),
- Number: proto.Int32(4),
- Label: descriptorpb.FieldDescriptorProto_Label(protoreflect.Repeated).Enum(),
- Type: descriptorpb.FieldDescriptorProto_Type(protoreflect.MessageKind).Enum(),
- TypeName: proto.String(".test.B.FieldFourEntry"),
- }, {
- Name: proto.String("field_five"),
- Number: proto.Int32(5),
- Label: descriptorpb.FieldDescriptorProto_Label(protoreflect.Repeated).Enum(),
- Type: descriptorpb.FieldDescriptorProto_Type(protoreflect.Int32Kind).Enum(),
- Options: &descriptorpb.FieldOptions{Packed: proto.Bool(true)},
- }, {
- Name: proto.String("field_six"),
- Number: proto.Int32(6),
- Label: descriptorpb.FieldDescriptorProto_Label(protoreflect.Required).Enum(),
- Type: descriptorpb.FieldDescriptorProto_Type(protoreflect.BytesKind).Enum(),
- }},
- OneofDecl: []*descriptorpb.OneofDescriptorProto{
- {
- Name: proto.String("O1"),
- Options: &descriptorpb.OneofOptions{
- UninterpretedOption: []*descriptorpb.UninterpretedOption{
- {StringValue: []byte("option")},
- },
- },
- },
- {Name: proto.String("O2")},
- },
- ReservedName: []string{"fizz", "buzz"},
- ReservedRange: []*descriptorpb.DescriptorProto_ReservedRange{
- {Start: proto.Int32(100), End: proto.Int32(200)},
- {Start: proto.Int32(300), End: proto.Int32(301)},
- },
- ExtensionRange: []*descriptorpb.DescriptorProto_ExtensionRange{
- {Start: proto.Int32(1000), End: proto.Int32(2000)},
- {Start: proto.Int32(3000), End: proto.Int32(3001), Options: new(descriptorpb.ExtensionRangeOptions)},
- },
- NestedType: []*descriptorpb.DescriptorProto{{
- Name: proto.String("FieldFourEntry"),
- Field: []*descriptorpb.FieldDescriptorProto{{
- Name: proto.String("key"),
- Number: proto.Int32(1),
- Label: descriptorpb.FieldDescriptorProto_Label(protoreflect.Optional).Enum(),
- Type: descriptorpb.FieldDescriptorProto_Type(protoreflect.StringKind).Enum(),
- }, {
- Name: proto.String("value"),
- Number: proto.Int32(2),
- Label: descriptorpb.FieldDescriptorProto_Label(protoreflect.Optional).Enum(),
- Type: descriptorpb.FieldDescriptorProto_Type(protoreflect.MessageKind).Enum(),
- TypeName: proto.String(".test.B"),
- }},
- Options: &descriptorpb.MessageOptions{
- MapEntry: proto.Bool(true),
- },
- }},
- }, {
- Name: proto.String("C"),
- NestedType: []*descriptorpb.DescriptorProto{{
- Name: proto.String("A"),
- Field: []*descriptorpb.FieldDescriptorProto{{
- Name: proto.String("F"),
- Number: proto.Int32(1),
- Label: descriptorpb.FieldDescriptorProto_Label(protoreflect.Required).Enum(),
- Type: descriptorpb.FieldDescriptorProto_Type(protoreflect.BytesKind).Enum(),
- DefaultValue: proto.String(`dead\276\357`),
- }},
- }},
- EnumType: []*descriptorpb.EnumDescriptorProto{{
- Name: proto.String("E1"),
- Value: []*descriptorpb.EnumValueDescriptorProto{
- {Name: proto.String("FOO"), Number: proto.Int32(0)},
- {Name: proto.String("BAR"), Number: proto.Int32(1)},
- },
- }},
- Extension: []*descriptorpb.FieldDescriptorProto{{
- Name: proto.String("X"),
- Number: proto.Int32(1000),
- Label: descriptorpb.FieldDescriptorProto_Label(protoreflect.Repeated).Enum(),
- Type: descriptorpb.FieldDescriptorProto_Type(protoreflect.MessageKind).Enum(),
- TypeName: proto.String(".test.C"),
- Extendee: proto.String(".test.B"),
- }},
- }},
- EnumType: []*descriptorpb.EnumDescriptorProto{{
- Name: proto.String("E1"),
- Options: &descriptorpb.EnumOptions{Deprecated: proto.Bool(true)},
- Value: []*descriptorpb.EnumValueDescriptorProto{
- {
- Name: proto.String("FOO"),
- Number: proto.Int32(0),
- Options: &descriptorpb.EnumValueOptions{Deprecated: proto.Bool(true)},
- },
- {Name: proto.String("BAR"), Number: proto.Int32(1)},
- },
- ReservedName: []string{"FIZZ", "BUZZ"},
- ReservedRange: []*descriptorpb.EnumDescriptorProto_EnumReservedRange{
- {Start: proto.Int32(10), End: proto.Int32(19)},
- {Start: proto.Int32(30), End: proto.Int32(30)},
- },
- }},
- Extension: []*descriptorpb.FieldDescriptorProto{{
- Name: proto.String("X"),
- Number: proto.Int32(1000),
- Label: descriptorpb.FieldDescriptorProto_Label(protoreflect.Repeated).Enum(),
- Type: descriptorpb.FieldDescriptorProto_Type(protoreflect.EnumKind).Enum(),
- Options: &descriptorpb.FieldOptions{Packed: proto.Bool(true)},
- TypeName: proto.String(".test.E1"),
- Extendee: proto.String(".test.B"),
- }},
- Service: []*descriptorpb.ServiceDescriptorProto{{
- Name: proto.String("S"),
- Options: &descriptorpb.ServiceOptions{Deprecated: proto.Bool(true)},
- Method: []*descriptorpb.MethodDescriptorProto{{
- Name: proto.String("M"),
- InputType: proto.String(".test.A"),
- OutputType: proto.String(".test.C.A"),
- ClientStreaming: proto.Bool(true),
- ServerStreaming: proto.Bool(true),
- Options: &descriptorpb.MethodOptions{Deprecated: proto.Bool(true)},
- }},
- }},
- }
- fd1, err := protodesc.NewFile(f1, nil)
- if err != nil {
- t.Fatalf("protodesc.NewFile() error: %v", err)
- }
-
- b, err := proto.Marshal(f1)
- if err != nil {
- t.Fatalf("proto.Marshal() error: %v", err)
- }
- fd2 := filedesc.Builder{RawDescriptor: b}.Build().File
-
- tests := []struct {
- name string
- desc protoreflect.FileDescriptor
- }{
- {"protodesc.NewFile", fd1},
- {"filedesc.Builder.Build", fd2},
- }
- for _, tt := range tests {
- tt := tt
- t.Run(tt.name, func(t *testing.T) {
- // Run sub-tests in parallel to induce potential races.
- for i := 0; i < 2; i++ {
- t.Run("Accessors", func(t *testing.T) { t.Parallel(); testFileAccessors(t, tt.desc) })
- t.Run("Format", func(t *testing.T) { t.Parallel(); testFileFormat(t, tt.desc) })
- }
- })
- }
-}
-
-func testFileAccessors(t *testing.T, fd protoreflect.FileDescriptor) {
- // Represent the descriptor as a map where each key is an accessor method
- // and the value is either the wanted tail value or another accessor map.
- type M = map[string]interface{}
- want := M{
- "Parent": nil,
- "Index": 0,
- "Syntax": protoreflect.Proto2,
- "Name": protoreflect.Name("test"),
- "FullName": protoreflect.FullName("test"),
- "Path": "path/to/file.proto",
- "Package": protoreflect.FullName("test"),
- "IsPlaceholder": false,
- "Options": &descriptorpb.FileOptions{Deprecated: proto.Bool(true)},
- "Messages": M{
- "Len": 3,
- "Get:0": M{
- "Parent": M{"FullName": protoreflect.FullName("test")},
- "Index": 0,
- "Syntax": protoreflect.Proto2,
- "Name": protoreflect.Name("A"),
- "FullName": protoreflect.FullName("test.A"),
- "IsPlaceholder": false,
- "IsMapEntry": false,
- "Options": &descriptorpb.MessageOptions{
- Deprecated: proto.Bool(true),
- },
- "Oneofs": M{"Len": 0},
- "RequiredNumbers": M{"Len": 0},
- "ExtensionRanges": M{"Len": 0},
- "Messages": M{"Len": 0},
- "Enums": M{"Len": 0},
- "Extensions": M{"Len": 0},
- },
- "ByName:B": M{
- "Name": protoreflect.Name("B"),
- "Index": 1,
- "Fields": M{
- "Len": 6,
- "ByJSONName:field_one": nil,
- "ByJSONName:fieldOne": M{
- "Name": protoreflect.Name("field_one"),
- "Index": 0,
- "JSONName": "fieldOne",
- "Default": "hello, \"world!\"\n",
- "ContainingOneof": M{"Name": protoreflect.Name("O1"), "IsPlaceholder": false},
- "ContainingMessage": M{"FullName": protoreflect.FullName("test.B")},
- },
- "ByJSONName:fieldTwo": nil,
- "ByJSONName:Field2": M{
- "Name": protoreflect.Name("field_two"),
- "Index": 1,
- "HasJSONName": true,
- "JSONName": "Field2",
- "Default": protoreflect.EnumNumber(1),
- "ContainingOneof": M{"Name": protoreflect.Name("O2"), "IsPlaceholder": false},
- },
- "ByName:fieldThree": nil,
- "ByName:field_three": M{
- "IsExtension": false,
- "IsMap": false,
- "MapKey": nil,
- "MapValue": nil,
- "Message": M{"FullName": protoreflect.FullName("test.C"), "IsPlaceholder": false},
- "ContainingOneof": M{"Name": protoreflect.Name("O2"), "IsPlaceholder": false},
- "ContainingMessage": M{"FullName": protoreflect.FullName("test.B")},
- },
- "ByNumber:12": nil,
- "ByNumber:4": M{
- "Cardinality": protoreflect.Repeated,
- "IsExtension": false,
- "IsList": false,
- "IsMap": true,
- "MapKey": M{"Kind": protoreflect.StringKind},
- "MapValue": M{"Kind": protoreflect.MessageKind, "Message": M{"FullName": protoreflect.FullName("test.B")}},
- "Default": nil,
- "Message": M{"FullName": protoreflect.FullName("test.B.FieldFourEntry"), "IsPlaceholder": false},
- },
- "ByNumber:5": M{
- "Cardinality": protoreflect.Repeated,
- "Kind": protoreflect.Int32Kind,
- "IsPacked": true,
- "IsList": true,
- "IsMap": false,
- "Default": nil,
- },
- "ByNumber:6": M{
- "Cardinality": protoreflect.Required,
- "Default": []byte(nil),
- "ContainingOneof": nil,
- },
- },
- "Oneofs": M{
- "Len": 2,
- "ByName:O0": nil,
- "ByName:O1": M{
- "FullName": protoreflect.FullName("test.B.O1"),
- "Index": 0,
- "Options": &descriptorpb.OneofOptions{
- UninterpretedOption: []*descriptorpb.UninterpretedOption{
- {StringValue: []byte("option")},
- },
- },
- "Fields": M{
- "Len": 1,
- "Get:0": M{"FullName": protoreflect.FullName("test.B.field_one")},
- },
- },
- "Get:1": M{
- "FullName": protoreflect.FullName("test.B.O2"),
- "Index": 1,
- "Fields": M{
- "Len": 2,
- "ByName:field_two": M{"Name": protoreflect.Name("field_two")},
- "Get:1": M{"Name": protoreflect.Name("field_three")},
- },
- },
- },
- "ReservedNames": M{
- "Len": 2,
- "Get:0": protoreflect.Name("fizz"),
- "Has:buzz": true,
- "Has:noexist": false,
- },
- "ReservedRanges": M{
- "Len": 2,
- "Get:0": [2]protoreflect.FieldNumber{100, 200},
- "Has:99": false,
- "Has:100": true,
- "Has:150": true,
- "Has:199": true,
- "Has:200": false,
- "Has:300": true,
- "Has:301": false,
- },
- "RequiredNumbers": M{
- "Len": 1,
- "Get:0": protoreflect.FieldNumber(6),
- "Has:1": false,
- "Has:6": true,
- },
- "ExtensionRanges": M{
- "Len": 2,
- "Get:0": [2]protoreflect.FieldNumber{1000, 2000},
- "Has:999": false,
- "Has:1000": true,
- "Has:1500": true,
- "Has:1999": true,
- "Has:2000": false,
- "Has:3000": true,
- "Has:3001": false,
- },
- "ExtensionRangeOptions:0": (*descriptorpb.ExtensionRangeOptions)(nil),
- "ExtensionRangeOptions:1": new(descriptorpb.ExtensionRangeOptions),
- "Messages": M{
- "Get:0": M{
- "Fields": M{
- "Len": 2,
- "ByNumber:1": M{
- "Parent": M{"FullName": protoreflect.FullName("test.B.FieldFourEntry")},
- "Index": 0,
- "Name": protoreflect.Name("key"),
- "FullName": protoreflect.FullName("test.B.FieldFourEntry.key"),
- "Number": protoreflect.FieldNumber(1),
- "Cardinality": protoreflect.Optional,
- "Kind": protoreflect.StringKind,
- "Options": (*descriptorpb.FieldOptions)(nil),
- "HasJSONName": false,
- "JSONName": "key",
- "IsPacked": false,
- "IsList": false,
- "IsMap": false,
- "IsExtension": false,
- "IsWeak": false,
- "Default": "",
- "ContainingOneof": nil,
- "ContainingMessage": M{"FullName": protoreflect.FullName("test.B.FieldFourEntry")},
- "Message": nil,
- "Enum": nil,
- },
- "ByNumber:2": M{
- "Parent": M{"FullName": protoreflect.FullName("test.B.FieldFourEntry")},
- "Index": 1,
- "Name": protoreflect.Name("value"),
- "FullName": protoreflect.FullName("test.B.FieldFourEntry.value"),
- "Number": protoreflect.FieldNumber(2),
- "Cardinality": protoreflect.Optional,
- "Kind": protoreflect.MessageKind,
- "JSONName": "value",
- "IsPacked": false,
- "IsList": false,
- "IsMap": false,
- "IsExtension": false,
- "IsWeak": false,
- "Default": nil,
- "ContainingOneof": nil,
- "ContainingMessage": M{"FullName": protoreflect.FullName("test.B.FieldFourEntry")},
- "Message": M{"FullName": protoreflect.FullName("test.B"), "IsPlaceholder": false},
- "Enum": nil,
- },
- "ByNumber:3": nil,
- },
- },
- },
- },
- "Get:2": M{
- "Name": protoreflect.Name("C"),
- "Index": 2,
- "Messages": M{
- "Len": 1,
- "Get:0": M{"FullName": protoreflect.FullName("test.C.A")},
- },
- "Enums": M{
- "Len": 1,
- "Get:0": M{"FullName": protoreflect.FullName("test.C.E1")},
- },
- "Extensions": M{
- "Len": 1,
- "Get:0": M{"FullName": protoreflect.FullName("test.C.X")},
- },
- },
- },
- "Enums": M{
- "Len": 1,
- "Get:0": M{
- "Name": protoreflect.Name("E1"),
- "Options": &descriptorpb.EnumOptions{Deprecated: proto.Bool(true)},
- "Values": M{
- "Len": 2,
- "ByName:Foo": nil,
- "ByName:FOO": M{
- "FullName": protoreflect.FullName("test.FOO"),
- "Options": &descriptorpb.EnumValueOptions{Deprecated: proto.Bool(true)},
- },
- "ByNumber:2": nil,
- "ByNumber:1": M{"FullName": protoreflect.FullName("test.BAR")},
- },
- "ReservedNames": M{
- "Len": 2,
- "Get:0": protoreflect.Name("FIZZ"),
- "Has:BUZZ": true,
- "Has:NOEXIST": false,
- },
- "ReservedRanges": M{
- "Len": 2,
- "Get:0": [2]protoreflect.EnumNumber{10, 19},
- "Has:9": false,
- "Has:10": true,
- "Has:15": true,
- "Has:19": true,
- "Has:20": false,
- "Has:30": true,
- "Has:31": false,
- },
- },
- },
- "Extensions": M{
- "Len": 1,
- "ByName:X": M{
- "Name": protoreflect.Name("X"),
- "Number": protoreflect.FieldNumber(1000),
- "Cardinality": protoreflect.Repeated,
- "Kind": protoreflect.EnumKind,
- "IsExtension": true,
- "IsPacked": true,
- "IsList": true,
- "IsMap": false,
- "MapKey": nil,
- "MapValue": nil,
- "ContainingOneof": nil,
- "ContainingMessage": M{"FullName": protoreflect.FullName("test.B"), "IsPlaceholder": false},
- "Enum": M{"FullName": protoreflect.FullName("test.E1"), "IsPlaceholder": false},
- "Options": &descriptorpb.FieldOptions{Packed: proto.Bool(true)},
- },
- },
- "Services": M{
- "Len": 1,
- "ByName:s": nil,
- "ByName:S": M{
- "Parent": M{"FullName": protoreflect.FullName("test")},
- "Name": protoreflect.Name("S"),
- "FullName": protoreflect.FullName("test.S"),
- "Options": &descriptorpb.ServiceOptions{Deprecated: proto.Bool(true)},
- "Methods": M{
- "Len": 1,
- "Get:0": M{
- "Parent": M{"FullName": protoreflect.FullName("test.S")},
- "Name": protoreflect.Name("M"),
- "FullName": protoreflect.FullName("test.S.M"),
- "Input": M{"FullName": protoreflect.FullName("test.A"), "IsPlaceholder": false},
- "Output": M{"FullName": protoreflect.FullName("test.C.A"), "IsPlaceholder": false},
- "IsStreamingClient": true,
- "IsStreamingServer": true,
- "Options": &descriptorpb.MethodOptions{Deprecated: proto.Bool(true)},
- },
- },
- },
- },
- }
- checkAccessors(t, "", reflect.ValueOf(fd), want)
-}
-func checkAccessors(t *testing.T, p string, rv reflect.Value, want map[string]interface{}) {
- p0 := p
- defer func() {
- if ex := recover(); ex != nil {
- t.Errorf("panic at %v: %v", p, ex)
- }
- }()
-
- if rv.Interface() == nil {
- t.Errorf("%v is nil, want non-nil", p)
- return
- }
- for s, v := range want {
- // Call the accessor method.
- p = p0 + "." + s
- var rets []reflect.Value
- if i := strings.IndexByte(s, ':'); i >= 0 {
- // Accessor method takes in a single argument, which is encoded
- // after the accessor name, separated by a ':' delimiter.
- fnc := rv.MethodByName(s[:i])
- arg := reflect.New(fnc.Type().In(0)).Elem()
- s = s[i+len(":"):]
- switch arg.Kind() {
- case reflect.String:
- arg.SetString(s)
- case reflect.Int32, reflect.Int:
- n, _ := strconv.ParseInt(s, 0, 64)
- arg.SetInt(n)
- }
- rets = fnc.Call([]reflect.Value{arg})
- } else {
- rets = rv.MethodByName(s).Call(nil)
- }
-
- // Check that (val, ok) pattern is internally consistent.
- if len(rets) == 2 {
- if rets[0].IsNil() && rets[1].Bool() {
- t.Errorf("%v = (nil, true), want (nil, false)", p)
- }
- if !rets[0].IsNil() && !rets[1].Bool() {
- t.Errorf("%v = (non-nil, false), want (non-nil, true)", p)
- }
- }
-
- // Check that the accessor output matches.
- if want, ok := v.(map[string]interface{}); ok {
- checkAccessors(t, p, rets[0], want)
- continue
- }
-
- got := rets[0].Interface()
- if pv, ok := got.(protoreflect.Value); ok {
- got = pv.Interface()
- }
-
- // Compare with proto.Equal if possible.
- gotMsg, gotMsgOK := got.(proto.Message)
- wantMsg, wantMsgOK := v.(proto.Message)
- if gotMsgOK && wantMsgOK {
- gotNil := reflect.ValueOf(gotMsg).IsNil()
- wantNil := reflect.ValueOf(wantMsg).IsNil()
- switch {
- case !gotNil && wantNil:
- t.Errorf("%v = non-nil, want nil", p)
- case gotNil && !wantNil:
- t.Errorf("%v = nil, want non-nil", p)
- case !proto.Equal(gotMsg, wantMsg):
- t.Errorf("%v = %v, want %v", p, gotMsg, wantMsg)
- }
- continue
- }
-
- if want := v; !reflect.DeepEqual(got, want) {
- t.Errorf("%v = %T(%v), want %T(%v)", p, got, got, want, want)
- }
- }
-}
-
-func testFileFormat(t *testing.T, fd protoreflect.FileDescriptor) {
- const wantFileDescriptor = `FileDescriptor{
- Syntax: proto2
- Path: "path/to/file.proto"
- Package: test
- Messages: [{
- Name: A
- }, {
- Name: B
- Fields: [{
- Name: field_one
- Number: 1
- Cardinality: optional
- Kind: string
- JSONName: "fieldOne"
- HasPresence: true
- HasDefault: true
- Default: "hello, \"world!\"\n"
- Oneof: O1
- }, {
- Name: field_two
- Number: 2
- Cardinality: optional
- Kind: enum
- HasJSONName: true
- JSONName: "Field2"
- HasPresence: true
- HasDefault: true
- Default: 1
- Oneof: O2
- Enum: test.E1
- }, {
- Name: field_three
- Number: 3
- Cardinality: optional
- Kind: message
- JSONName: "fieldThree"
- HasPresence: true
- Oneof: O2
- Message: test.C
- }, {
- Name: field_four
- Number: 4
- Cardinality: repeated
- Kind: message
- HasJSONName: true
- JSONName: "Field4"
- IsMap: true
- MapKey: string
- MapValue: test.B
- }, {
- Name: field_five
- Number: 5
- Cardinality: repeated
- Kind: int32
- JSONName: "fieldFive"
- IsPacked: true
- IsList: true
- }, {
- Name: field_six
- Number: 6
- Cardinality: required
- Kind: bytes
- JSONName: "fieldSix"
- HasPresence: true
- }]
- Oneofs: [{
- Name: O1
- Fields: [field_one]
- }, {
- Name: O2
- Fields: [field_two, field_three]
- }]
- ReservedNames: [fizz, buzz]
- ReservedRanges: [100:200, 300]
- RequiredNumbers: [6]
- ExtensionRanges: [1000:2000, 3000]
- Messages: [{
- Name: FieldFourEntry
- IsMapEntry: true
- Fields: [{
- Name: key
- Number: 1
- Cardinality: optional
- Kind: string
- JSONName: "key"
- HasPresence: true
- }, {
- Name: value
- Number: 2
- Cardinality: optional
- Kind: message
- JSONName: "value"
- HasPresence: true
- Message: test.B
- }]
- }]
- }, {
- Name: C
- Messages: [{
- Name: A
- Fields: [{
- Name: F
- Number: 1
- Cardinality: required
- Kind: bytes
- JSONName: "F"
- HasPresence: true
- HasDefault: true
- Default: "dead\xbe\xef"
- }]
- RequiredNumbers: [1]
- }]
- Enums: [{
- Name: E1
- Values: [
- {Name: FOO}
- {Name: BAR, Number: 1}
- ]
- }]
- Extensions: [{
- Name: X
- Number: 1000
- Cardinality: repeated
- Kind: message
- JSONName: "[test.C.X]"
- IsExtension: true
- IsList: true
- Extendee: test.B
- Message: test.C
- }]
- }]
- Enums: [{
- Name: E1
- Values: [
- {Name: FOO}
- {Name: BAR, Number: 1}
- ]
- ReservedNames: [FIZZ, BUZZ]
- ReservedRanges: [10:20, 30]
- }]
- Extensions: [{
- Name: X
- Number: 1000
- Cardinality: repeated
- Kind: enum
- JSONName: "[test.X]"
- IsExtension: true
- IsPacked: true
- IsList: true
- Extendee: test.B
- Enum: test.E1
- }]
- Services: [{
- Name: S
- Methods: [{
- Name: M
- Input: test.A
- Output: test.C.A
- IsStreamingClient: true
- IsStreamingServer: true
- }]
- }]
-}`
-
- const wantEnums = `Enums{{
- Name: E1
- Values: [
- {Name: FOO}
- {Name: BAR, Number: 1}
- ]
- ReservedNames: [FIZZ, BUZZ]
- ReservedRanges: [10:20, 30]
-}}`
-
- const wantExtensions = `Extensions{{
- Name: X
- Number: 1000
- Cardinality: repeated
- Kind: enum
- JSONName: "[test.X]"
- IsExtension: true
- IsPacked: true
- IsList: true
- Extendee: test.B
- Enum: test.E1
-}}`
-
- const wantImports = `FileImports{}`
-
- const wantReservedNames = "Names{fizz, buzz}"
-
- const wantReservedRanges = "FieldRanges{100:200, 300}"
-
- const wantServices = `Services{{
- Name: S
- Methods: [{
- Name: M
- Input: test.A
- Output: test.C.A
- IsStreamingClient: true
- IsStreamingServer: true
- }]
-}}`
-
- tests := []struct {
- path string
- fmt string
- want string
- val interface{}
- }{
- {"fd", "%v", compactMultiFormat(wantFileDescriptor), fd},
- {"fd", "%+v", wantFileDescriptor, fd},
- {"fd.Enums()", "%v", compactMultiFormat(wantEnums), fd.Enums()},
- {"fd.Enums()", "%+v", wantEnums, fd.Enums()},
- {"fd.Extensions()", "%v", compactMultiFormat(wantExtensions), fd.Extensions()},
- {"fd.Extensions()", "%+v", wantExtensions, fd.Extensions()},
- {"fd.Imports()", "%v", compactMultiFormat(wantImports), fd.Imports()},
- {"fd.Imports()", "%+v", wantImports, fd.Imports()},
- {"fd.Messages(B).ReservedNames()", "%v", compactMultiFormat(wantReservedNames), fd.Messages().ByName("B").ReservedNames()},
- {"fd.Messages(B).ReservedNames()", "%+v", wantReservedNames, fd.Messages().ByName("B").ReservedNames()},
- {"fd.Messages(B).ReservedRanges()", "%v", compactMultiFormat(wantReservedRanges), fd.Messages().ByName("B").ReservedRanges()},
- {"fd.Messages(B).ReservedRanges()", "%+v", wantReservedRanges, fd.Messages().ByName("B").ReservedRanges()},
- {"fd.Services()", "%v", compactMultiFormat(wantServices), fd.Services()},
- {"fd.Services()", "%+v", wantServices, fd.Services()},
- }
- for _, tt := range tests {
- got := fmt.Sprintf(tt.fmt, tt.val)
- if diff := cmp.Diff(got, tt.want); diff != "" {
- t.Errorf("fmt.Sprintf(%q, %s) mismatch (-got +want):\n%s", tt.fmt, tt.path, diff)
- }
- }
-}
-
-// compactMultiFormat returns the single line form of a multi line output.
-func compactMultiFormat(s string) string {
- var b []byte
- for _, s := range strings.Split(s, "\n") {
- s = strings.TrimSpace(s)
- s = regexp.MustCompile(": +").ReplaceAllString(s, ": ")
- prevWord := len(b) > 0 && b[len(b)-1] != '[' && b[len(b)-1] != '{'
- nextWord := len(s) > 0 && s[0] != ']' && s[0] != '}'
- if prevWord && nextWord {
- b = append(b, ", "...)
- }
- b = append(b, s...)
- }
- return string(b)
-}
diff --git a/vendor/google.golang.org/protobuf/internal/filedesc/gotest/ya.make b/vendor/google.golang.org/protobuf/internal/filedesc/gotest/ya.make
deleted file mode 100644
index bba40722a2..0000000000
--- a/vendor/google.golang.org/protobuf/internal/filedesc/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/internal/filedesc)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/filedesc/ya.make b/vendor/google.golang.org/protobuf/internal/filedesc/ya.make
index 9deb58bad3..561a28ef2d 100644
--- a/vendor/google.golang.org/protobuf/internal/filedesc/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/filedesc/ya.make
@@ -12,11 +12,4 @@ SRCS(
placeholder.go
)
-GO_XTEST_SRCS(
- build_test.go
- desc_test.go
-)
-
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/internal/filetype/ya.make b/vendor/google.golang.org/protobuf/internal/filetype/ya.make
index 4506aaa671..e0fc61c11b 100644
--- a/vendor/google.golang.org/protobuf/internal/filetype/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/filetype/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(build.go)
+SRCS(
+ build.go
+)
END()
diff --git a/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go b/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go
index 136f1b2157..8f94230ea1 100644
--- a/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go
+++ b/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go
@@ -12,6 +12,12 @@ import (
const File_google_protobuf_descriptor_proto = "google/protobuf/descriptor.proto"
+// Full and short names for google.protobuf.Edition.
+const (
+ Edition_enum_fullname = "google.protobuf.Edition"
+ Edition_enum_name = "Edition"
+)
+
// Names for google.protobuf.FileDescriptorSet.
const (
FileDescriptorSet_message_name protoreflect.Name = "FileDescriptorSet"
@@ -81,7 +87,7 @@ const (
FileDescriptorProto_Options_field_number protoreflect.FieldNumber = 8
FileDescriptorProto_SourceCodeInfo_field_number protoreflect.FieldNumber = 9
FileDescriptorProto_Syntax_field_number protoreflect.FieldNumber = 12
- FileDescriptorProto_Edition_field_number protoreflect.FieldNumber = 13
+ FileDescriptorProto_Edition_field_number protoreflect.FieldNumber = 14
)
// Names for google.protobuf.DescriptorProto.
@@ -184,10 +190,12 @@ const (
const (
ExtensionRangeOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option"
ExtensionRangeOptions_Declaration_field_name protoreflect.Name = "declaration"
+ ExtensionRangeOptions_Features_field_name protoreflect.Name = "features"
ExtensionRangeOptions_Verification_field_name protoreflect.Name = "verification"
ExtensionRangeOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.uninterpreted_option"
ExtensionRangeOptions_Declaration_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.declaration"
+ ExtensionRangeOptions_Features_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.features"
ExtensionRangeOptions_Verification_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.verification"
)
@@ -195,6 +203,7 @@ const (
const (
ExtensionRangeOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999
ExtensionRangeOptions_Declaration_field_number protoreflect.FieldNumber = 2
+ ExtensionRangeOptions_Features_field_number protoreflect.FieldNumber = 50
ExtensionRangeOptions_Verification_field_number protoreflect.FieldNumber = 3
)
@@ -212,29 +221,26 @@ const (
// Field names for google.protobuf.ExtensionRangeOptions.Declaration.
const (
- ExtensionRangeOptions_Declaration_Number_field_name protoreflect.Name = "number"
- ExtensionRangeOptions_Declaration_FullName_field_name protoreflect.Name = "full_name"
- ExtensionRangeOptions_Declaration_Type_field_name protoreflect.Name = "type"
- ExtensionRangeOptions_Declaration_IsRepeated_field_name protoreflect.Name = "is_repeated"
- ExtensionRangeOptions_Declaration_Reserved_field_name protoreflect.Name = "reserved"
- ExtensionRangeOptions_Declaration_Repeated_field_name protoreflect.Name = "repeated"
+ ExtensionRangeOptions_Declaration_Number_field_name protoreflect.Name = "number"
+ ExtensionRangeOptions_Declaration_FullName_field_name protoreflect.Name = "full_name"
+ ExtensionRangeOptions_Declaration_Type_field_name protoreflect.Name = "type"
+ ExtensionRangeOptions_Declaration_Reserved_field_name protoreflect.Name = "reserved"
+ ExtensionRangeOptions_Declaration_Repeated_field_name protoreflect.Name = "repeated"
- ExtensionRangeOptions_Declaration_Number_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.number"
- ExtensionRangeOptions_Declaration_FullName_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.full_name"
- ExtensionRangeOptions_Declaration_Type_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.type"
- ExtensionRangeOptions_Declaration_IsRepeated_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.is_repeated"
- ExtensionRangeOptions_Declaration_Reserved_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.reserved"
- ExtensionRangeOptions_Declaration_Repeated_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.repeated"
+ ExtensionRangeOptions_Declaration_Number_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.number"
+ ExtensionRangeOptions_Declaration_FullName_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.full_name"
+ ExtensionRangeOptions_Declaration_Type_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.type"
+ ExtensionRangeOptions_Declaration_Reserved_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.reserved"
+ ExtensionRangeOptions_Declaration_Repeated_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.repeated"
)
// Field numbers for google.protobuf.ExtensionRangeOptions.Declaration.
const (
- ExtensionRangeOptions_Declaration_Number_field_number protoreflect.FieldNumber = 1
- ExtensionRangeOptions_Declaration_FullName_field_number protoreflect.FieldNumber = 2
- ExtensionRangeOptions_Declaration_Type_field_number protoreflect.FieldNumber = 3
- ExtensionRangeOptions_Declaration_IsRepeated_field_number protoreflect.FieldNumber = 4
- ExtensionRangeOptions_Declaration_Reserved_field_number protoreflect.FieldNumber = 5
- ExtensionRangeOptions_Declaration_Repeated_field_number protoreflect.FieldNumber = 6
+ ExtensionRangeOptions_Declaration_Number_field_number protoreflect.FieldNumber = 1
+ ExtensionRangeOptions_Declaration_FullName_field_number protoreflect.FieldNumber = 2
+ ExtensionRangeOptions_Declaration_Type_field_number protoreflect.FieldNumber = 3
+ ExtensionRangeOptions_Declaration_Reserved_field_number protoreflect.FieldNumber = 5
+ ExtensionRangeOptions_Declaration_Repeated_field_number protoreflect.FieldNumber = 6
)
// Names for google.protobuf.FieldDescriptorProto.
@@ -478,6 +484,7 @@ const (
FileOptions_PhpNamespace_field_name protoreflect.Name = "php_namespace"
FileOptions_PhpMetadataNamespace_field_name protoreflect.Name = "php_metadata_namespace"
FileOptions_RubyPackage_field_name protoreflect.Name = "ruby_package"
+ FileOptions_Features_field_name protoreflect.Name = "features"
FileOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option"
FileOptions_JavaPackage_field_fullname protoreflect.FullName = "google.protobuf.FileOptions.java_package"
@@ -500,6 +507,7 @@ const (
FileOptions_PhpNamespace_field_fullname protoreflect.FullName = "google.protobuf.FileOptions.php_namespace"
FileOptions_PhpMetadataNamespace_field_fullname protoreflect.FullName = "google.protobuf.FileOptions.php_metadata_namespace"
FileOptions_RubyPackage_field_fullname protoreflect.FullName = "google.protobuf.FileOptions.ruby_package"
+ FileOptions_Features_field_fullname protoreflect.FullName = "google.protobuf.FileOptions.features"
FileOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.FileOptions.uninterpreted_option"
)
@@ -525,6 +533,7 @@ const (
FileOptions_PhpNamespace_field_number protoreflect.FieldNumber = 41
FileOptions_PhpMetadataNamespace_field_number protoreflect.FieldNumber = 44
FileOptions_RubyPackage_field_number protoreflect.FieldNumber = 45
+ FileOptions_Features_field_number protoreflect.FieldNumber = 50
FileOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999
)
@@ -547,6 +556,7 @@ const (
MessageOptions_Deprecated_field_name protoreflect.Name = "deprecated"
MessageOptions_MapEntry_field_name protoreflect.Name = "map_entry"
MessageOptions_DeprecatedLegacyJsonFieldConflicts_field_name protoreflect.Name = "deprecated_legacy_json_field_conflicts"
+ MessageOptions_Features_field_name protoreflect.Name = "features"
MessageOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option"
MessageOptions_MessageSetWireFormat_field_fullname protoreflect.FullName = "google.protobuf.MessageOptions.message_set_wire_format"
@@ -554,6 +564,7 @@ const (
MessageOptions_Deprecated_field_fullname protoreflect.FullName = "google.protobuf.MessageOptions.deprecated"
MessageOptions_MapEntry_field_fullname protoreflect.FullName = "google.protobuf.MessageOptions.map_entry"
MessageOptions_DeprecatedLegacyJsonFieldConflicts_field_fullname protoreflect.FullName = "google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts"
+ MessageOptions_Features_field_fullname protoreflect.FullName = "google.protobuf.MessageOptions.features"
MessageOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.MessageOptions.uninterpreted_option"
)
@@ -564,6 +575,7 @@ const (
MessageOptions_Deprecated_field_number protoreflect.FieldNumber = 3
MessageOptions_MapEntry_field_number protoreflect.FieldNumber = 7
MessageOptions_DeprecatedLegacyJsonFieldConflicts_field_number protoreflect.FieldNumber = 11
+ MessageOptions_Features_field_number protoreflect.FieldNumber = 12
MessageOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999
)
@@ -584,8 +596,9 @@ const (
FieldOptions_Weak_field_name protoreflect.Name = "weak"
FieldOptions_DebugRedact_field_name protoreflect.Name = "debug_redact"
FieldOptions_Retention_field_name protoreflect.Name = "retention"
- FieldOptions_Target_field_name protoreflect.Name = "target"
FieldOptions_Targets_field_name protoreflect.Name = "targets"
+ FieldOptions_EditionDefaults_field_name protoreflect.Name = "edition_defaults"
+ FieldOptions_Features_field_name protoreflect.Name = "features"
FieldOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option"
FieldOptions_Ctype_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.ctype"
@@ -597,8 +610,9 @@ const (
FieldOptions_Weak_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.weak"
FieldOptions_DebugRedact_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.debug_redact"
FieldOptions_Retention_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.retention"
- FieldOptions_Target_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.target"
FieldOptions_Targets_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.targets"
+ FieldOptions_EditionDefaults_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.edition_defaults"
+ FieldOptions_Features_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.features"
FieldOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.uninterpreted_option"
)
@@ -613,8 +627,9 @@ const (
FieldOptions_Weak_field_number protoreflect.FieldNumber = 10
FieldOptions_DebugRedact_field_number protoreflect.FieldNumber = 16
FieldOptions_Retention_field_number protoreflect.FieldNumber = 17
- FieldOptions_Target_field_number protoreflect.FieldNumber = 18
FieldOptions_Targets_field_number protoreflect.FieldNumber = 19
+ FieldOptions_EditionDefaults_field_number protoreflect.FieldNumber = 20
+ FieldOptions_Features_field_number protoreflect.FieldNumber = 21
FieldOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999
)
@@ -642,6 +657,27 @@ const (
FieldOptions_OptionTargetType_enum_name = "OptionTargetType"
)
+// Names for google.protobuf.FieldOptions.EditionDefault.
+const (
+ FieldOptions_EditionDefault_message_name protoreflect.Name = "EditionDefault"
+ FieldOptions_EditionDefault_message_fullname protoreflect.FullName = "google.protobuf.FieldOptions.EditionDefault"
+)
+
+// Field names for google.protobuf.FieldOptions.EditionDefault.
+const (
+ FieldOptions_EditionDefault_Edition_field_name protoreflect.Name = "edition"
+ FieldOptions_EditionDefault_Value_field_name protoreflect.Name = "value"
+
+ FieldOptions_EditionDefault_Edition_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.EditionDefault.edition"
+ FieldOptions_EditionDefault_Value_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.EditionDefault.value"
+)
+
+// Field numbers for google.protobuf.FieldOptions.EditionDefault.
+const (
+ FieldOptions_EditionDefault_Edition_field_number protoreflect.FieldNumber = 3
+ FieldOptions_EditionDefault_Value_field_number protoreflect.FieldNumber = 2
+)
+
// Names for google.protobuf.OneofOptions.
const (
OneofOptions_message_name protoreflect.Name = "OneofOptions"
@@ -650,13 +686,16 @@ const (
// Field names for google.protobuf.OneofOptions.
const (
+ OneofOptions_Features_field_name protoreflect.Name = "features"
OneofOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option"
+ OneofOptions_Features_field_fullname protoreflect.FullName = "google.protobuf.OneofOptions.features"
OneofOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.OneofOptions.uninterpreted_option"
)
// Field numbers for google.protobuf.OneofOptions.
const (
+ OneofOptions_Features_field_number protoreflect.FieldNumber = 1
OneofOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999
)
@@ -671,11 +710,13 @@ const (
EnumOptions_AllowAlias_field_name protoreflect.Name = "allow_alias"
EnumOptions_Deprecated_field_name protoreflect.Name = "deprecated"
EnumOptions_DeprecatedLegacyJsonFieldConflicts_field_name protoreflect.Name = "deprecated_legacy_json_field_conflicts"
+ EnumOptions_Features_field_name protoreflect.Name = "features"
EnumOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option"
EnumOptions_AllowAlias_field_fullname protoreflect.FullName = "google.protobuf.EnumOptions.allow_alias"
EnumOptions_Deprecated_field_fullname protoreflect.FullName = "google.protobuf.EnumOptions.deprecated"
EnumOptions_DeprecatedLegacyJsonFieldConflicts_field_fullname protoreflect.FullName = "google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts"
+ EnumOptions_Features_field_fullname protoreflect.FullName = "google.protobuf.EnumOptions.features"
EnumOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.EnumOptions.uninterpreted_option"
)
@@ -684,6 +725,7 @@ const (
EnumOptions_AllowAlias_field_number protoreflect.FieldNumber = 2
EnumOptions_Deprecated_field_number protoreflect.FieldNumber = 3
EnumOptions_DeprecatedLegacyJsonFieldConflicts_field_number protoreflect.FieldNumber = 6
+ EnumOptions_Features_field_number protoreflect.FieldNumber = 7
EnumOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999
)
@@ -696,15 +738,21 @@ const (
// Field names for google.protobuf.EnumValueOptions.
const (
EnumValueOptions_Deprecated_field_name protoreflect.Name = "deprecated"
+ EnumValueOptions_Features_field_name protoreflect.Name = "features"
+ EnumValueOptions_DebugRedact_field_name protoreflect.Name = "debug_redact"
EnumValueOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option"
EnumValueOptions_Deprecated_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.deprecated"
+ EnumValueOptions_Features_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.features"
+ EnumValueOptions_DebugRedact_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.debug_redact"
EnumValueOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.uninterpreted_option"
)
// Field numbers for google.protobuf.EnumValueOptions.
const (
EnumValueOptions_Deprecated_field_number protoreflect.FieldNumber = 1
+ EnumValueOptions_Features_field_number protoreflect.FieldNumber = 2
+ EnumValueOptions_DebugRedact_field_number protoreflect.FieldNumber = 3
EnumValueOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999
)
@@ -716,15 +764,18 @@ const (
// Field names for google.protobuf.ServiceOptions.
const (
+ ServiceOptions_Features_field_name protoreflect.Name = "features"
ServiceOptions_Deprecated_field_name protoreflect.Name = "deprecated"
ServiceOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option"
+ ServiceOptions_Features_field_fullname protoreflect.FullName = "google.protobuf.ServiceOptions.features"
ServiceOptions_Deprecated_field_fullname protoreflect.FullName = "google.protobuf.ServiceOptions.deprecated"
ServiceOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.ServiceOptions.uninterpreted_option"
)
// Field numbers for google.protobuf.ServiceOptions.
const (
+ ServiceOptions_Features_field_number protoreflect.FieldNumber = 34
ServiceOptions_Deprecated_field_number protoreflect.FieldNumber = 33
ServiceOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999
)
@@ -739,10 +790,12 @@ const (
const (
MethodOptions_Deprecated_field_name protoreflect.Name = "deprecated"
MethodOptions_IdempotencyLevel_field_name protoreflect.Name = "idempotency_level"
+ MethodOptions_Features_field_name protoreflect.Name = "features"
MethodOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option"
MethodOptions_Deprecated_field_fullname protoreflect.FullName = "google.protobuf.MethodOptions.deprecated"
MethodOptions_IdempotencyLevel_field_fullname protoreflect.FullName = "google.protobuf.MethodOptions.idempotency_level"
+ MethodOptions_Features_field_fullname protoreflect.FullName = "google.protobuf.MethodOptions.features"
MethodOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.MethodOptions.uninterpreted_option"
)
@@ -750,6 +803,7 @@ const (
const (
MethodOptions_Deprecated_field_number protoreflect.FieldNumber = 33
MethodOptions_IdempotencyLevel_field_number protoreflect.FieldNumber = 34
+ MethodOptions_Features_field_number protoreflect.FieldNumber = 35
MethodOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999
)
@@ -816,6 +870,120 @@ const (
UninterpretedOption_NamePart_IsExtension_field_number protoreflect.FieldNumber = 2
)
+// Names for google.protobuf.FeatureSet.
+const (
+ FeatureSet_message_name protoreflect.Name = "FeatureSet"
+ FeatureSet_message_fullname protoreflect.FullName = "google.protobuf.FeatureSet"
+)
+
+// Field names for google.protobuf.FeatureSet.
+const (
+ FeatureSet_FieldPresence_field_name protoreflect.Name = "field_presence"
+ FeatureSet_EnumType_field_name protoreflect.Name = "enum_type"
+ FeatureSet_RepeatedFieldEncoding_field_name protoreflect.Name = "repeated_field_encoding"
+ FeatureSet_Utf8Validation_field_name protoreflect.Name = "utf8_validation"
+ FeatureSet_MessageEncoding_field_name protoreflect.Name = "message_encoding"
+ FeatureSet_JsonFormat_field_name protoreflect.Name = "json_format"
+
+ FeatureSet_FieldPresence_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.field_presence"
+ FeatureSet_EnumType_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.enum_type"
+ FeatureSet_RepeatedFieldEncoding_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.repeated_field_encoding"
+ FeatureSet_Utf8Validation_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.utf8_validation"
+ FeatureSet_MessageEncoding_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.message_encoding"
+ FeatureSet_JsonFormat_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.json_format"
+)
+
+// Field numbers for google.protobuf.FeatureSet.
+const (
+ FeatureSet_FieldPresence_field_number protoreflect.FieldNumber = 1
+ FeatureSet_EnumType_field_number protoreflect.FieldNumber = 2
+ FeatureSet_RepeatedFieldEncoding_field_number protoreflect.FieldNumber = 3
+ FeatureSet_Utf8Validation_field_number protoreflect.FieldNumber = 4
+ FeatureSet_MessageEncoding_field_number protoreflect.FieldNumber = 5
+ FeatureSet_JsonFormat_field_number protoreflect.FieldNumber = 6
+)
+
+// Full and short names for google.protobuf.FeatureSet.FieldPresence.
+const (
+ FeatureSet_FieldPresence_enum_fullname = "google.protobuf.FeatureSet.FieldPresence"
+ FeatureSet_FieldPresence_enum_name = "FieldPresence"
+)
+
+// Full and short names for google.protobuf.FeatureSet.EnumType.
+const (
+ FeatureSet_EnumType_enum_fullname = "google.protobuf.FeatureSet.EnumType"
+ FeatureSet_EnumType_enum_name = "EnumType"
+)
+
+// Full and short names for google.protobuf.FeatureSet.RepeatedFieldEncoding.
+const (
+ FeatureSet_RepeatedFieldEncoding_enum_fullname = "google.protobuf.FeatureSet.RepeatedFieldEncoding"
+ FeatureSet_RepeatedFieldEncoding_enum_name = "RepeatedFieldEncoding"
+)
+
+// Full and short names for google.protobuf.FeatureSet.Utf8Validation.
+const (
+ FeatureSet_Utf8Validation_enum_fullname = "google.protobuf.FeatureSet.Utf8Validation"
+ FeatureSet_Utf8Validation_enum_name = "Utf8Validation"
+)
+
+// Full and short names for google.protobuf.FeatureSet.MessageEncoding.
+const (
+ FeatureSet_MessageEncoding_enum_fullname = "google.protobuf.FeatureSet.MessageEncoding"
+ FeatureSet_MessageEncoding_enum_name = "MessageEncoding"
+)
+
+// Full and short names for google.protobuf.FeatureSet.JsonFormat.
+const (
+ FeatureSet_JsonFormat_enum_fullname = "google.protobuf.FeatureSet.JsonFormat"
+ FeatureSet_JsonFormat_enum_name = "JsonFormat"
+)
+
+// Names for google.protobuf.FeatureSetDefaults.
+const (
+ FeatureSetDefaults_message_name protoreflect.Name = "FeatureSetDefaults"
+ FeatureSetDefaults_message_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults"
+)
+
+// Field names for google.protobuf.FeatureSetDefaults.
+const (
+ FeatureSetDefaults_Defaults_field_name protoreflect.Name = "defaults"
+ FeatureSetDefaults_MinimumEdition_field_name protoreflect.Name = "minimum_edition"
+ FeatureSetDefaults_MaximumEdition_field_name protoreflect.Name = "maximum_edition"
+
+ FeatureSetDefaults_Defaults_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.defaults"
+ FeatureSetDefaults_MinimumEdition_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.minimum_edition"
+ FeatureSetDefaults_MaximumEdition_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.maximum_edition"
+)
+
+// Field numbers for google.protobuf.FeatureSetDefaults.
+const (
+ FeatureSetDefaults_Defaults_field_number protoreflect.FieldNumber = 1
+ FeatureSetDefaults_MinimumEdition_field_number protoreflect.FieldNumber = 4
+ FeatureSetDefaults_MaximumEdition_field_number protoreflect.FieldNumber = 5
+)
+
+// Names for google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
+const (
+ FeatureSetDefaults_FeatureSetEditionDefault_message_name protoreflect.Name = "FeatureSetEditionDefault"
+ FeatureSetDefaults_FeatureSetEditionDefault_message_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"
+)
+
+// Field names for google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
+const (
+ FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_name protoreflect.Name = "edition"
+ FeatureSetDefaults_FeatureSetEditionDefault_Features_field_name protoreflect.Name = "features"
+
+ FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition"
+ FeatureSetDefaults_FeatureSetEditionDefault_Features_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features"
+)
+
+// Field numbers for google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
+const (
+ FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_number protoreflect.FieldNumber = 3
+ FeatureSetDefaults_FeatureSetEditionDefault_Features_field_number protoreflect.FieldNumber = 2
+)
+
// Names for google.protobuf.SourceCodeInfo.
const (
SourceCodeInfo_message_name protoreflect.Name = "SourceCodeInfo"
diff --git a/vendor/google.golang.org/protobuf/internal/impl/codec_gen.go b/vendor/google.golang.org/protobuf/internal/impl/codec_gen.go
index 1a509b63eb..f55dc01e3a 100644
--- a/vendor/google.golang.org/protobuf/internal/impl/codec_gen.go
+++ b/vendor/google.golang.org/protobuf/internal/impl/codec_gen.go
@@ -162,11 +162,20 @@ func appendBoolSlice(b []byte, p pointer, f *coderFieldInfo, opts marshalOptions
func consumeBoolSlice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
sp := p.BoolSlice()
if wtyp == protowire.BytesType {
- s := *sp
b, n := protowire.ConsumeBytes(b)
if n < 0 {
return out, errDecode
}
+ count := 0
+ for _, v := range b {
+ if v < 0x80 {
+ count++
+ }
+ }
+ if count > 0 {
+ p.growBoolSlice(count)
+ }
+ s := *sp
for len(b) > 0 {
var v uint64
var n int
@@ -732,11 +741,20 @@ func appendInt32Slice(b []byte, p pointer, f *coderFieldInfo, opts marshalOption
func consumeInt32Slice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
sp := p.Int32Slice()
if wtyp == protowire.BytesType {
- s := *sp
b, n := protowire.ConsumeBytes(b)
if n < 0 {
return out, errDecode
}
+ count := 0
+ for _, v := range b {
+ if v < 0x80 {
+ count++
+ }
+ }
+ if count > 0 {
+ p.growInt32Slice(count)
+ }
+ s := *sp
for len(b) > 0 {
var v uint64
var n int
@@ -1138,11 +1156,20 @@ func appendSint32Slice(b []byte, p pointer, f *coderFieldInfo, opts marshalOptio
func consumeSint32Slice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
sp := p.Int32Slice()
if wtyp == protowire.BytesType {
- s := *sp
b, n := protowire.ConsumeBytes(b)
if n < 0 {
return out, errDecode
}
+ count := 0
+ for _, v := range b {
+ if v < 0x80 {
+ count++
+ }
+ }
+ if count > 0 {
+ p.growInt32Slice(count)
+ }
+ s := *sp
for len(b) > 0 {
var v uint64
var n int
@@ -1544,11 +1571,20 @@ func appendUint32Slice(b []byte, p pointer, f *coderFieldInfo, opts marshalOptio
func consumeUint32Slice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
sp := p.Uint32Slice()
if wtyp == protowire.BytesType {
- s := *sp
b, n := protowire.ConsumeBytes(b)
if n < 0 {
return out, errDecode
}
+ count := 0
+ for _, v := range b {
+ if v < 0x80 {
+ count++
+ }
+ }
+ if count > 0 {
+ p.growUint32Slice(count)
+ }
+ s := *sp
for len(b) > 0 {
var v uint64
var n int
@@ -1950,11 +1986,20 @@ func appendInt64Slice(b []byte, p pointer, f *coderFieldInfo, opts marshalOption
func consumeInt64Slice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
sp := p.Int64Slice()
if wtyp == protowire.BytesType {
- s := *sp
b, n := protowire.ConsumeBytes(b)
if n < 0 {
return out, errDecode
}
+ count := 0
+ for _, v := range b {
+ if v < 0x80 {
+ count++
+ }
+ }
+ if count > 0 {
+ p.growInt64Slice(count)
+ }
+ s := *sp
for len(b) > 0 {
var v uint64
var n int
@@ -2356,11 +2401,20 @@ func appendSint64Slice(b []byte, p pointer, f *coderFieldInfo, opts marshalOptio
func consumeSint64Slice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
sp := p.Int64Slice()
if wtyp == protowire.BytesType {
- s := *sp
b, n := protowire.ConsumeBytes(b)
if n < 0 {
return out, errDecode
}
+ count := 0
+ for _, v := range b {
+ if v < 0x80 {
+ count++
+ }
+ }
+ if count > 0 {
+ p.growInt64Slice(count)
+ }
+ s := *sp
for len(b) > 0 {
var v uint64
var n int
@@ -2762,11 +2816,20 @@ func appendUint64Slice(b []byte, p pointer, f *coderFieldInfo, opts marshalOptio
func consumeUint64Slice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
sp := p.Uint64Slice()
if wtyp == protowire.BytesType {
- s := *sp
b, n := protowire.ConsumeBytes(b)
if n < 0 {
return out, errDecode
}
+ count := 0
+ for _, v := range b {
+ if v < 0x80 {
+ count++
+ }
+ }
+ if count > 0 {
+ p.growUint64Slice(count)
+ }
+ s := *sp
for len(b) > 0 {
var v uint64
var n int
@@ -3145,11 +3208,15 @@ func appendSfixed32Slice(b []byte, p pointer, f *coderFieldInfo, opts marshalOpt
func consumeSfixed32Slice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
sp := p.Int32Slice()
if wtyp == protowire.BytesType {
- s := *sp
b, n := protowire.ConsumeBytes(b)
if n < 0 {
return out, errDecode
}
+ count := len(b) / protowire.SizeFixed32()
+ if count > 0 {
+ p.growInt32Slice(count)
+ }
+ s := *sp
for len(b) > 0 {
v, n := protowire.ConsumeFixed32(b)
if n < 0 {
@@ -3461,11 +3528,15 @@ func appendFixed32Slice(b []byte, p pointer, f *coderFieldInfo, opts marshalOpti
func consumeFixed32Slice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
sp := p.Uint32Slice()
if wtyp == protowire.BytesType {
- s := *sp
b, n := protowire.ConsumeBytes(b)
if n < 0 {
return out, errDecode
}
+ count := len(b) / protowire.SizeFixed32()
+ if count > 0 {
+ p.growUint32Slice(count)
+ }
+ s := *sp
for len(b) > 0 {
v, n := protowire.ConsumeFixed32(b)
if n < 0 {
@@ -3777,11 +3848,15 @@ func appendFloatSlice(b []byte, p pointer, f *coderFieldInfo, opts marshalOption
func consumeFloatSlice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
sp := p.Float32Slice()
if wtyp == protowire.BytesType {
- s := *sp
b, n := protowire.ConsumeBytes(b)
if n < 0 {
return out, errDecode
}
+ count := len(b) / protowire.SizeFixed32()
+ if count > 0 {
+ p.growFloat32Slice(count)
+ }
+ s := *sp
for len(b) > 0 {
v, n := protowire.ConsumeFixed32(b)
if n < 0 {
@@ -4093,11 +4168,15 @@ func appendSfixed64Slice(b []byte, p pointer, f *coderFieldInfo, opts marshalOpt
func consumeSfixed64Slice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
sp := p.Int64Slice()
if wtyp == protowire.BytesType {
- s := *sp
b, n := protowire.ConsumeBytes(b)
if n < 0 {
return out, errDecode
}
+ count := len(b) / protowire.SizeFixed64()
+ if count > 0 {
+ p.growInt64Slice(count)
+ }
+ s := *sp
for len(b) > 0 {
v, n := protowire.ConsumeFixed64(b)
if n < 0 {
@@ -4409,11 +4488,15 @@ func appendFixed64Slice(b []byte, p pointer, f *coderFieldInfo, opts marshalOpti
func consumeFixed64Slice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
sp := p.Uint64Slice()
if wtyp == protowire.BytesType {
- s := *sp
b, n := protowire.ConsumeBytes(b)
if n < 0 {
return out, errDecode
}
+ count := len(b) / protowire.SizeFixed64()
+ if count > 0 {
+ p.growUint64Slice(count)
+ }
+ s := *sp
for len(b) > 0 {
v, n := protowire.ConsumeFixed64(b)
if n < 0 {
@@ -4725,11 +4808,15 @@ func appendDoubleSlice(b []byte, p pointer, f *coderFieldInfo, opts marshalOptio
func consumeDoubleSlice(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
sp := p.Float64Slice()
if wtyp == protowire.BytesType {
- s := *sp
b, n := protowire.ConsumeBytes(b)
if n < 0 {
return out, errDecode
}
+ count := len(b) / protowire.SizeFixed64()
+ if count > 0 {
+ p.growFloat64Slice(count)
+ }
+ s := *sp
for len(b) > 0 {
v, n := protowire.ConsumeFixed64(b)
if n < 0 {
diff --git a/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go b/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go
index 61c483fac0..2ab2c62978 100644
--- a/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go
+++ b/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go
@@ -206,13 +206,18 @@ func aberrantLoadMessageDescReentrant(t reflect.Type, name protoreflect.FullName
// Obtain a list of oneof wrapper types.
var oneofWrappers []reflect.Type
- for _, method := range []string{"XXX_OneofFuncs", "XXX_OneofWrappers"} {
- if fn, ok := t.MethodByName(method); ok {
- for _, v := range fn.Func.Call([]reflect.Value{reflect.Zero(fn.Type.In(0))}) {
- if vs, ok := v.Interface().([]interface{}); ok {
- for _, v := range vs {
- oneofWrappers = append(oneofWrappers, reflect.TypeOf(v))
- }
+ methods := make([]reflect.Method, 0, 2)
+ if m, ok := t.MethodByName("XXX_OneofFuncs"); ok {
+ methods = append(methods, m)
+ }
+ if m, ok := t.MethodByName("XXX_OneofWrappers"); ok {
+ methods = append(methods, m)
+ }
+ for _, fn := range methods {
+ for _, v := range fn.Func.Call([]reflect.Value{reflect.Zero(fn.Type.In(0))}) {
+ if vs, ok := v.Interface().([]interface{}); ok {
+ for _, v := range vs {
+ oneofWrappers = append(oneofWrappers, reflect.TypeOf(v))
}
}
}
diff --git a/vendor/google.golang.org/protobuf/internal/impl/message.go b/vendor/google.golang.org/protobuf/internal/impl/message.go
index 4f5fb67a0d..629bacdced 100644
--- a/vendor/google.golang.org/protobuf/internal/impl/message.go
+++ b/vendor/google.golang.org/protobuf/internal/impl/message.go
@@ -192,12 +192,17 @@ fieldLoop:
// Derive a mapping of oneof wrappers to fields.
oneofWrappers := mi.OneofWrappers
- for _, method := range []string{"XXX_OneofFuncs", "XXX_OneofWrappers"} {
- if fn, ok := reflect.PtrTo(t).MethodByName(method); ok {
- for _, v := range fn.Func.Call([]reflect.Value{reflect.Zero(fn.Type.In(0))}) {
- if vs, ok := v.Interface().([]interface{}); ok {
- oneofWrappers = vs
- }
+ methods := make([]reflect.Method, 0, 2)
+ if m, ok := reflect.PtrTo(t).MethodByName("XXX_OneofFuncs"); ok {
+ methods = append(methods, m)
+ }
+ if m, ok := reflect.PtrTo(t).MethodByName("XXX_OneofWrappers"); ok {
+ methods = append(methods, m)
+ }
+ for _, fn := range methods {
+ for _, v := range fn.Func.Call([]reflect.Value{reflect.Zero(fn.Type.In(0))}) {
+ if vs, ok := v.Interface().([]interface{}); ok {
+ oneofWrappers = vs
}
}
}
diff --git a/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go b/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go
index ee0e0573e3..4b020e3116 100644
--- a/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go
+++ b/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go
@@ -138,6 +138,46 @@ func (p pointer) SetPointer(v pointer) {
*(*unsafe.Pointer)(p.p) = (unsafe.Pointer)(v.p)
}
+func (p pointer) growBoolSlice(addCap int) {
+ sp := p.BoolSlice()
+ s := make([]bool, 0, addCap+len(*sp))
+ s = s[:len(*sp)]
+ copy(s, *sp)
+ *sp = s
+}
+
+func (p pointer) growInt32Slice(addCap int) {
+ sp := p.Int32Slice()
+ s := make([]int32, 0, addCap+len(*sp))
+ s = s[:len(*sp)]
+ copy(s, *sp)
+ *sp = s
+}
+
+func (p pointer) growUint32Slice(addCap int) {
+ p.growInt32Slice(addCap)
+}
+
+func (p pointer) growFloat32Slice(addCap int) {
+ p.growInt32Slice(addCap)
+}
+
+func (p pointer) growInt64Slice(addCap int) {
+ sp := p.Int64Slice()
+ s := make([]int64, 0, addCap+len(*sp))
+ s = s[:len(*sp)]
+ copy(s, *sp)
+ *sp = s
+}
+
+func (p pointer) growUint64Slice(addCap int) {
+ p.growInt64Slice(addCap)
+}
+
+func (p pointer) growFloat64Slice(addCap int) {
+ p.growInt64Slice(addCap)
+}
+
// Static check that MessageState does not exceed the size of a pointer.
const _ = uint(unsafe.Sizeof(unsafe.Pointer(nil)) - unsafe.Sizeof(MessageState{}))
diff --git a/vendor/google.golang.org/protobuf/internal/impl/ya.make b/vendor/google.golang.org/protobuf/internal/impl/ya.make
index 56e551b46f..3d5e1a1077 100644
--- a/vendor/google.golang.org/protobuf/internal/impl/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/impl/ya.make
@@ -37,18 +37,6 @@ SRCS(
weak.go
)
-GO_TEST_SRCS(legacy_export_test.go)
-
-GO_XTEST_SRCS(
- enum_test.go
- extension_test.go
- lazy_test.go
- legacy_aberrant_test.go
- legacy_file_test.go
- legacy_test.go
- message_reflect_test.go
-)
-
END()
RECURSE(
diff --git a/vendor/google.golang.org/protobuf/internal/msgfmt/format_test.go b/vendor/google.golang.org/protobuf/internal/msgfmt/format_test.go
deleted file mode 100644
index 6ba076811c..0000000000
--- a/vendor/google.golang.org/protobuf/internal/msgfmt/format_test.go
+++ /dev/null
@@ -1,254 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package msgfmt_test
-
-import (
- "math"
- "sync"
- "testing"
-
- "github.com/google/go-cmp/cmp"
-
- "google.golang.org/protobuf/internal/detrand"
- "google.golang.org/protobuf/internal/msgfmt"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/testing/protocmp"
- "google.golang.org/protobuf/testing/protopack"
-
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- textpb "google.golang.org/protobuf/internal/testprotos/textpb2"
- dynpb "google.golang.org/protobuf/types/dynamicpb"
- anypb "google.golang.org/protobuf/types/known/anypb"
- durpb "google.golang.org/protobuf/types/known/durationpb"
- tspb "google.golang.org/protobuf/types/known/timestamppb"
- wpb "google.golang.org/protobuf/types/known/wrapperspb"
-)
-
-func init() {
- detrand.Disable()
-}
-
-func TestFormat(t *testing.T) {
- optMsg := &testpb.TestAllTypes{
- OptionalBool: proto.Bool(false),
- OptionalInt32: proto.Int32(-32),
- OptionalInt64: proto.Int64(-64),
- OptionalUint32: proto.Uint32(32),
- OptionalUint64: proto.Uint64(64),
- OptionalFloat: proto.Float32(32.32),
- OptionalDouble: proto.Float64(64.64),
- OptionalString: proto.String("string"),
- OptionalBytes: []byte("bytes"),
- OptionalNestedEnum: testpb.TestAllTypes_NEG.Enum(),
- OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{A: proto.Int32(5)},
- }
- repMsg := &testpb.TestAllTypes{
- RepeatedBool: []bool{false, true},
- RepeatedInt32: []int32{32, -32},
- RepeatedInt64: []int64{64, -64},
- RepeatedUint32: []uint32{0, 32},
- RepeatedUint64: []uint64{0, 64},
- RepeatedFloat: []float32{0, 32.32},
- RepeatedDouble: []float64{0, 64.64},
- RepeatedString: []string{"s1", "s2"},
- RepeatedBytes: [][]byte{{1}, {2}},
- RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{
- testpb.TestAllTypes_FOO,
- testpb.TestAllTypes_BAR,
- },
- RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{
- {A: proto.Int32(5)},
- {A: proto.Int32(-5)},
- },
- }
- mapMsg := &testpb.TestAllTypes{
- MapBoolBool: map[bool]bool{true: false},
- MapInt32Int32: map[int32]int32{-32: 32},
- MapInt64Int64: map[int64]int64{-64: 64},
- MapUint32Uint32: map[uint32]uint32{0: 32},
- MapUint64Uint64: map[uint64]uint64{0: 64},
- MapInt32Float: map[int32]float32{32: 32.32},
- MapInt32Double: map[int32]float64{64: 64.64},
- MapStringString: map[string]string{"k": "v"},
- MapStringBytes: map[string][]byte{"k": []byte("v")},
- MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{
- "k": testpb.TestAllTypes_FOO,
- },
- MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{
- "k": {A: proto.Int32(5)},
- },
- }
-
- tests := []struct {
- in proto.Message
- want string
- }{{
- in: optMsg,
- want: `{optional_int32:-32, optional_int64:-64, optional_uint32:32, optional_uint64:64, optional_float:32.32, optional_double:64.64, optional_bool:false, optional_string:"string", optional_bytes:"bytes", optional_nested_message:{a:5}, optional_nested_enum:NEG}`,
- }, {
- in: repMsg,
- want: `{repeated_int32:[32, -32], repeated_int64:[64, -64], repeated_uint32:[0, 32], repeated_uint64:[0, 64], repeated_float:[0, 32.32], repeated_double:[0, 64.64], repeated_bool:[false, true], repeated_string:["s1", "s2"], repeated_bytes:["\x01", "\x02"], repeated_nested_message:[{a:5}, {a:-5}], repeated_nested_enum:[FOO, BAR]}`,
- }, {
- in: mapMsg,
- want: `{map_int32_int32:{-32:32}, map_int64_int64:{-64:64}, map_uint32_uint32:{0:32}, map_uint64_uint64:{0:64}, map_int32_float:{32:32.32}, map_int32_double:{64:64.64}, map_bool_bool:{true:false}, map_string_string:{"k":"v"}, map_string_bytes:{"k":"v"}, map_string_nested_message:{"k":{a:5}}, map_string_nested_enum:{"k":FOO}}`,
- }, {
- in: func() proto.Message {
- m := &testpb.TestAllExtensions{}
- proto.SetExtension(m, testpb.E_OptionalBool, bool(false))
- proto.SetExtension(m, testpb.E_OptionalInt32, int32(-32))
- proto.SetExtension(m, testpb.E_OptionalInt64, int64(-64))
- proto.SetExtension(m, testpb.E_OptionalUint32, uint32(32))
- proto.SetExtension(m, testpb.E_OptionalUint64, uint64(64))
- proto.SetExtension(m, testpb.E_OptionalFloat, float32(32.32))
- proto.SetExtension(m, testpb.E_OptionalDouble, float64(64.64))
- proto.SetExtension(m, testpb.E_OptionalString, string("string"))
- proto.SetExtension(m, testpb.E_OptionalBytes, []byte("bytes"))
- proto.SetExtension(m, testpb.E_OptionalNestedEnum, testpb.TestAllTypes_NEG)
- proto.SetExtension(m, testpb.E_OptionalNestedMessage, &testpb.TestAllExtensions_NestedMessage{A: proto.Int32(5)})
- return m
- }(),
- want: `{[goproto.proto.test.optional_bool]:false, [goproto.proto.test.optional_bytes]:"bytes", [goproto.proto.test.optional_double]:64.64, [goproto.proto.test.optional_float]:32.32, [goproto.proto.test.optional_int32]:-32, [goproto.proto.test.optional_int64]:-64, [goproto.proto.test.optional_nested_enum]:NEG, [goproto.proto.test.optional_nested_message]:{a:5}, [goproto.proto.test.optional_string]:"string", [goproto.proto.test.optional_uint32]:32, [goproto.proto.test.optional_uint64]:64}`,
- }, {
- in: func() proto.Message {
- m := &testpb.TestAllExtensions{}
- proto.SetExtension(m, testpb.E_RepeatedBool, []bool{false, true})
- proto.SetExtension(m, testpb.E_RepeatedInt32, []int32{32, -32})
- proto.SetExtension(m, testpb.E_RepeatedInt64, []int64{64, -64})
- proto.SetExtension(m, testpb.E_RepeatedUint32, []uint32{0, 32})
- proto.SetExtension(m, testpb.E_RepeatedUint64, []uint64{0, 64})
- proto.SetExtension(m, testpb.E_RepeatedFloat, []float32{0, 32.32})
- proto.SetExtension(m, testpb.E_RepeatedDouble, []float64{0, 64.64})
- proto.SetExtension(m, testpb.E_RepeatedString, []string{"s1", "s2"})
- proto.SetExtension(m, testpb.E_RepeatedBytes, [][]byte{{1}, {2}})
- proto.SetExtension(m, testpb.E_RepeatedNestedEnum, []testpb.TestAllTypes_NestedEnum{
- testpb.TestAllTypes_FOO,
- testpb.TestAllTypes_BAR,
- })
- proto.SetExtension(m, testpb.E_RepeatedNestedMessage, []*testpb.TestAllExtensions_NestedMessage{
- {A: proto.Int32(5)},
- {A: proto.Int32(-5)},
- })
- return m
- }(),
- want: `{[goproto.proto.test.repeated_bool]:[false, true], [goproto.proto.test.repeated_bytes]:["\x01", "\x02"], [goproto.proto.test.repeated_double]:[0, 64.64], [goproto.proto.test.repeated_float]:[0, 32.32], [goproto.proto.test.repeated_int32]:[32, -32], [goproto.proto.test.repeated_int64]:[64, -64], [goproto.proto.test.repeated_nested_enum]:[FOO, BAR], [goproto.proto.test.repeated_nested_message]:[{a:5}, {a:-5}], [goproto.proto.test.repeated_string]:["s1", "s2"], [goproto.proto.test.repeated_uint32]:[0, 32], [goproto.proto.test.repeated_uint64]:[0, 64]}`,
- }, {
- in: func() proto.Message {
- m := &testpb.TestAllTypes{}
- m.ProtoReflect().SetUnknown(protopack.Message{
- protopack.Tag{Number: 50000, Type: protopack.VarintType}, protopack.Uvarint(100),
- protopack.Tag{Number: 50001, Type: protopack.Fixed32Type}, protopack.Uint32(200),
- protopack.Tag{Number: 50002, Type: protopack.Fixed64Type}, protopack.Uint64(300),
- protopack.Tag{Number: 50003, Type: protopack.BytesType}, protopack.String("hello"),
- protopack.Message{
- protopack.Tag{Number: 50004, Type: protopack.StartGroupType},
- protopack.Tag{Number: 1, Type: protopack.VarintType}, protopack.Uvarint(100),
- protopack.Tag{Number: 1, Type: protopack.Fixed32Type}, protopack.Uint32(200),
- protopack.Tag{Number: 1, Type: protopack.Fixed64Type}, protopack.Uint64(300),
- protopack.Tag{Number: 1, Type: protopack.BytesType}, protopack.String("hello"),
- protopack.Message{
- protopack.Tag{Number: 1, Type: protopack.StartGroupType},
- protopack.Tag{Number: 1, Type: protopack.VarintType}, protopack.Uvarint(100),
- protopack.Tag{Number: 1, Type: protopack.Fixed32Type}, protopack.Uint32(200),
- protopack.Tag{Number: 1, Type: protopack.Fixed64Type}, protopack.Uint64(300),
- protopack.Tag{Number: 1, Type: protopack.BytesType}, protopack.String("hello"),
- protopack.Tag{Number: 1, Type: protopack.EndGroupType},
- },
- protopack.Tag{Number: 50004, Type: protopack.EndGroupType},
- },
- }.Marshal())
- return m
- }(),
- want: `{50000:100, 50001:0x000000c8, 50002:0x000000000000012c, 50003:"hello", 50004:{1:[100, 0x000000c8, 0x000000000000012c, "hello", {1:[100, 0x000000c8, 0x000000000000012c, "hello"]}]}}`,
- }, {
- in: &textpb.KnownTypes{
- OptAny: &anypb.Any{
- TypeUrl: "google.golang.org/goproto.proto.test.TestAllTypes",
- Value: func() []byte {
- b1, _ := proto.MarshalOptions{Deterministic: true}.Marshal(optMsg)
- b2, _ := proto.MarshalOptions{Deterministic: true}.Marshal(repMsg)
- b3, _ := proto.MarshalOptions{Deterministic: true}.Marshal(mapMsg)
- return append(append(append([]byte(nil), b1...), b2...), b3...)
- }(),
- },
- },
- want: `{opt_any:{[google.golang.org/goproto.proto.test.TestAllTypes]:{optional_int32:-32, optional_int64:-64, optional_uint32:32, optional_uint64:64, optional_float:32.32, optional_double:64.64, optional_bool:false, optional_string:"string", optional_bytes:"bytes", optional_nested_message:{a:5}, optional_nested_enum:NEG, repeated_int32:[32, -32], repeated_int64:[64, -64], repeated_uint32:[0, 32], repeated_uint64:[0, 64], repeated_float:[0, 32.32], repeated_double:[0, 64.64], repeated_bool:[false, true], repeated_string:["s1", "s2"], repeated_bytes:["\x01", "\x02"], repeated_nested_message:[{a:5}, {a:-5}], repeated_nested_enum:[FOO, BAR], map_int32_int32:{-32:32}, map_int64_int64:{-64:64}, map_uint32_uint32:{0:32}, map_uint64_uint64:{0:64}, map_int32_float:{32:32.32}, map_int32_double:{64:64.64}, map_bool_bool:{true:false}, map_string_string:{"k":"v"}, map_string_bytes:{"k":"v"}, map_string_nested_message:{"k":{a:5}}, map_string_nested_enum:{"k":FOO}}}}`,
- }, {
- in: &textpb.KnownTypes{
- OptTimestamp: &tspb.Timestamp{Seconds: math.MinInt64, Nanos: math.MaxInt32},
- },
- want: `{opt_timestamp:{seconds:-9223372036854775808, nanos:2147483647}}`,
- }, {
- in: &textpb.KnownTypes{
- OptTimestamp: &tspb.Timestamp{Seconds: 1257894123, Nanos: 456789},
- },
- want: `{opt_timestamp:2009-11-10T23:02:03.000456789Z}`,
- }, {
- in: &textpb.KnownTypes{
- OptDuration: &durpb.Duration{Seconds: math.MinInt64, Nanos: math.MaxInt32},
- },
- want: `{opt_duration:{seconds:-9223372036854775808, nanos:2147483647}}`,
- }, {
- in: &textpb.KnownTypes{
- OptDuration: &durpb.Duration{Seconds: +1257894123, Nanos: +456789},
- },
- want: `{opt_duration:1257894123.000456789s}`,
- }, {
- in: &textpb.KnownTypes{
- OptDuration: &durpb.Duration{Seconds: -1257894123, Nanos: -456789},
- },
- want: `{opt_duration:-1257894123.000456789s}`,
- }, {
- in: &textpb.KnownTypes{
- OptDuration: &durpb.Duration{Seconds: 0, Nanos: -1},
- },
- want: `{opt_duration:-0.000000001s}`,
- }, {
- in: &textpb.KnownTypes{
- OptBool: &wpb.BoolValue{},
- OptInt32: &wpb.Int32Value{},
- OptInt64: &wpb.Int64Value{},
- OptUint32: &wpb.UInt32Value{},
- OptUint64: &wpb.UInt64Value{},
- OptFloat: &wpb.FloatValue{},
- OptDouble: &wpb.DoubleValue{},
- OptString: &wpb.StringValue{},
- OptBytes: &wpb.BytesValue{},
- },
- want: `{opt_bool:false, opt_int32:0, opt_int64:0, opt_uint32:0, opt_uint64:0, opt_float:0, opt_double:0, opt_string:"", opt_bytes:""}`,
- }}
- for _, tt := range tests {
- t.Run("Generated", func(t *testing.T) {
- got := msgfmt.Format(tt.in)
- if diff := cmp.Diff(tt.want, got); diff != "" {
- t.Errorf("Format() mismatch (-want +got):\n%v", diff)
- }
- })
- t.Run("dynamicpb.Message", func(t *testing.T) {
- m := dynpb.NewMessage(tt.in.ProtoReflect().Descriptor())
- proto.Merge(m, tt.in)
- got := msgfmt.Format(m)
- if diff := cmp.Diff(tt.want, got); diff != "" {
- t.Errorf("Format() mismatch (-want +got):\n%v", diff)
- }
- })
- t.Run("protocmp.Message", func(t *testing.T) {
- // This is a roundabout way to obtain a protocmp.Message since there
- // is no exported API in protocmp to directly transform a message.
- var m proto.Message
- var once sync.Once
- cmp.Equal(tt.in, tt.in, protocmp.Transform(), cmp.FilterPath(func(p cmp.Path) bool {
- if v, _ := p.Index(1).Values(); v.IsValid() {
- once.Do(func() { m = v.Interface().(protocmp.Message) })
- }
- return false
- }, cmp.Ignore()))
-
- got := msgfmt.Format(m)
- if diff := cmp.Diff(tt.want, got); diff != "" {
- t.Errorf("Format() mismatch (-want +got):\n%v", diff)
- }
- })
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/msgfmt/gotest/ya.make b/vendor/google.golang.org/protobuf/internal/msgfmt/gotest/ya.make
deleted file mode 100644
index 9934cc5d24..0000000000
--- a/vendor/google.golang.org/protobuf/internal/msgfmt/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/internal/msgfmt)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/msgfmt/ya.make b/vendor/google.golang.org/protobuf/internal/msgfmt/ya.make
index 780f63018d..5ed4b140dc 100644
--- a/vendor/google.golang.org/protobuf/internal/msgfmt/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/msgfmt/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(format.go)
-
-GO_XTEST_SRCS(format_test.go)
+SRCS(
+ format.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/internal/order/gotest/ya.make b/vendor/google.golang.org/protobuf/internal/order/gotest/ya.make
deleted file mode 100644
index 1e00ab1ef4..0000000000
--- a/vendor/google.golang.org/protobuf/internal/order/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/internal/order)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/order/order_test.go b/vendor/google.golang.org/protobuf/internal/order/order_test.go
deleted file mode 100644
index 94de4212d7..0000000000
--- a/vendor/google.golang.org/protobuf/internal/order/order_test.go
+++ /dev/null
@@ -1,174 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package order
-
-import (
- "math/rand"
- "sort"
- "testing"
-
- "github.com/google/go-cmp/cmp"
- "google.golang.org/protobuf/reflect/protoreflect"
-)
-
-type fieldDesc struct {
- index int
- name protoreflect.FullName
- number protoreflect.FieldNumber
- extension bool
- oneofIndex int // non-zero means within oneof; negative means synthetic
- protoreflect.FieldDescriptor
-}
-
-func (d fieldDesc) Index() int { return d.index }
-func (d fieldDesc) Name() protoreflect.Name { return d.name.Name() }
-func (d fieldDesc) FullName() protoreflect.FullName { return d.name }
-func (d fieldDesc) Number() protoreflect.FieldNumber { return d.number }
-func (d fieldDesc) IsExtension() bool { return d.extension }
-func (d fieldDesc) ContainingOneof() protoreflect.OneofDescriptor {
- switch {
- case d.oneofIndex < 0:
- return oneofDesc{index: -d.oneofIndex, synthetic: true}
- case d.oneofIndex > 0:
- return oneofDesc{index: +d.oneofIndex, synthetic: false}
- default:
- return nil
- }
-}
-
-type oneofDesc struct {
- index int
- synthetic bool
- protoreflect.OneofDescriptor
-}
-
-func (d oneofDesc) Index() int { return d.index }
-func (d oneofDesc) IsSynthetic() bool { return d.synthetic }
-
-func TestFieldOrder(t *testing.T) {
- tests := []struct {
- label string
- order FieldOrder
- fields []fieldDesc
- }{{
- label: "LegacyFieldOrder",
- order: LegacyFieldOrder,
- fields: []fieldDesc{
- // Extension fields sorted first by field number.
- {number: 2, extension: true},
- {number: 4, extension: true},
- {number: 100, extension: true},
- {number: 120, extension: true},
-
- // Non-extension fields that are not within a oneof
- // sorted next by field number.
- {number: 1},
- {number: 5, oneofIndex: -10}, // synthetic oneof
- {number: 10},
- {number: 11, oneofIndex: -9}, // synthetic oneof
- {number: 12},
-
- // Non-synthetic oneofs sorted last by index.
- {number: 13, oneofIndex: 4},
- {number: 3, oneofIndex: 5},
- {number: 9, oneofIndex: 5},
- {number: 7, oneofIndex: 8},
- },
- }, {
- label: "NumberFieldOrder",
- order: NumberFieldOrder,
- fields: []fieldDesc{
- {number: 1, index: 5, name: "c"},
- {number: 2, index: 2, name: "b"},
- {number: 3, index: 3, name: "d"},
- {number: 5, index: 1, name: "a"},
- {number: 7, index: 7, name: "e"},
- },
- }, {
- label: "IndexNameFieldOrder",
- order: IndexNameFieldOrder,
- fields: []fieldDesc{
- // Non-extension fields sorted first by index.
- {index: 0, number: 5, name: "c"},
- {index: 2, number: 2, name: "a"},
- {index: 4, number: 4, name: "b"},
- {index: 7, number: 6, name: "d"},
-
- // Extension fields sorted last by full name.
- {index: 3, number: 1, name: "d.a", extension: true},
- {index: 5, number: 3, name: "e", extension: true},
- {index: 1, number: 7, name: "g", extension: true},
- },
- }}
-
- for _, tt := range tests {
- t.Run(tt.label, func(t *testing.T) {
- want := tt.fields
- got := append([]fieldDesc(nil), want...)
- for i, j := range rand.Perm(len(got)) {
- got[i], got[j] = got[j], got[i]
- }
- sort.Slice(got, func(i, j int) bool {
- return tt.order(got[i], got[j])
- })
- if diff := cmp.Diff(want, got,
- cmp.Comparer(func(x, y fieldDesc) bool { return x == y }),
- ); diff != "" {
- t.Errorf("order mismatch (-want +got):\n%s", diff)
- }
- })
- }
-}
-
-func TestKeyOrder(t *testing.T) {
- tests := []struct {
- label string
- order KeyOrder
- keys []interface{}
- }{{
- label: "GenericKeyOrder",
- order: GenericKeyOrder,
- keys: []interface{}{false, true},
- }, {
- label: "GenericKeyOrder",
- order: GenericKeyOrder,
- keys: []interface{}{int32(-100), int32(-99), int32(-10), int32(-9), int32(-1), int32(0), int32(+1), int32(+9), int32(+10), int32(+99), int32(+100)},
- }, {
- label: "GenericKeyOrder",
- order: GenericKeyOrder,
- keys: []interface{}{int64(-100), int64(-99), int64(-10), int64(-9), int64(-1), int64(0), int64(+1), int64(+9), int64(+10), int64(+99), int64(+100)},
- }, {
- label: "GenericKeyOrder",
- order: GenericKeyOrder,
- keys: []interface{}{uint32(0), uint32(1), uint32(9), uint32(10), uint32(99), uint32(100)},
- }, {
- label: "GenericKeyOrder",
- order: GenericKeyOrder,
- keys: []interface{}{uint64(0), uint64(1), uint64(9), uint64(10), uint64(99), uint64(100)},
- }, {
- label: "GenericKeyOrder",
- order: GenericKeyOrder,
- keys: []interface{}{"", "a", "aa", "ab", "ba", "bb", "\u0080", "\u0080\u0081", "\u0082\u0080"},
- }}
-
- for _, tt := range tests {
- t.Run(tt.label, func(t *testing.T) {
- var got, want []protoreflect.MapKey
- for _, v := range tt.keys {
- want = append(want, protoreflect.ValueOf(v).MapKey())
- }
- got = append(got, want...)
- for i, j := range rand.Perm(len(got)) {
- got[i], got[j] = got[j], got[i]
- }
- sort.Slice(got, func(i, j int) bool {
- return tt.order(got[i], got[j])
- })
- if diff := cmp.Diff(want, got, cmp.Transformer("", protoreflect.MapKey.Interface)); diff != "" {
- t.Errorf("order mismatch (-want +got):\n%s", diff)
- }
- })
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/order/ya.make b/vendor/google.golang.org/protobuf/internal/order/ya.make
index a066aa2d92..fbc58d1f9b 100644
--- a/vendor/google.golang.org/protobuf/internal/order/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/order/ya.make
@@ -7,8 +7,4 @@ SRCS(
range.go
)
-GO_TEST_SRCS(order_test.go)
-
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/internal/pragma/ya.make b/vendor/google.golang.org/protobuf/internal/pragma/ya.make
index e70fc3101a..521f22ace6 100644
--- a/vendor/google.golang.org/protobuf/internal/pragma/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/pragma/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(pragma.go)
+SRCS(
+ pragma.go
+)
END()
diff --git a/vendor/google.golang.org/protobuf/internal/protobuild/build.go b/vendor/google.golang.org/protobuf/internal/protobuild/build.go
deleted file mode 100644
index e432c3b676..0000000000
--- a/vendor/google.golang.org/protobuf/internal/protobuild/build.go
+++ /dev/null
@@ -1,150 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Package protobuild constructs messages.
-//
-// This package is used to construct multiple types of message with a similar shape
-// from a common template.
-package protobuild
-
-import (
- "fmt"
- "math"
- "reflect"
-
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/reflect/protoregistry"
-)
-
-// A Value is a value assignable to a field.
-// A Value may be a value accepted by protoreflect.ValueOf. In addition:
-//
-// • An int may be assigned to any numeric field.
-//
-// • A float64 may be assigned to a double field.
-//
-// • Either a string or []byte may be assigned to a string or bytes field.
-//
-// • A string containing the value name may be assigned to an enum field.
-//
-// • A slice may be assigned to a list, and a map may be assigned to a map.
-type Value interface{}
-
-// A Message is a template to apply to a message. Keys are field names, including
-// extension names.
-type Message map[protoreflect.Name]Value
-
-// Unknown is a key associated with the unknown fields of a message.
-// The value should be a []byte.
-const Unknown = "@unknown"
-
-// Build applies the template to a message.
-func (template Message) Build(m protoreflect.Message) {
- md := m.Descriptor()
- fields := md.Fields()
- exts := make(map[protoreflect.Name]protoreflect.FieldDescriptor)
- protoregistry.GlobalTypes.RangeExtensionsByMessage(md.FullName(), func(xt protoreflect.ExtensionType) bool {
- xd := xt.TypeDescriptor()
- exts[xd.Name()] = xd
- return true
- })
- for k, v := range template {
- if k == Unknown {
- m.SetUnknown(protoreflect.RawFields(v.([]byte)))
- continue
- }
- fd := fields.ByName(k)
- if fd == nil {
- fd = exts[k]
- }
- if fd == nil {
- panic(fmt.Sprintf("%v.%v: not found", md.FullName(), k))
- }
- switch {
- case fd.IsList():
- list := m.Mutable(fd).List()
- s := reflect.ValueOf(v)
- for i := 0; i < s.Len(); i++ {
- if fd.Message() == nil {
- list.Append(fieldValue(fd, s.Index(i).Interface()))
- } else {
- e := list.NewElement()
- s.Index(i).Interface().(Message).Build(e.Message())
- list.Append(e)
- }
- }
- case fd.IsMap():
- mapv := m.Mutable(fd).Map()
- rm := reflect.ValueOf(v)
- for _, k := range rm.MapKeys() {
- mk := fieldValue(fd.MapKey(), k.Interface()).MapKey()
- if fd.MapValue().Message() == nil {
- mv := fieldValue(fd.MapValue(), rm.MapIndex(k).Interface())
- mapv.Set(mk, mv)
- } else if mapv.Has(mk) {
- mv := mapv.Get(mk).Message()
- rm.MapIndex(k).Interface().(Message).Build(mv)
- } else {
- mv := mapv.NewValue()
- rm.MapIndex(k).Interface().(Message).Build(mv.Message())
- mapv.Set(mk, mv)
- }
- }
- default:
- if fd.Message() == nil {
- m.Set(fd, fieldValue(fd, v))
- } else {
- v.(Message).Build(m.Mutable(fd).Message())
- }
- }
- }
-}
-
-func fieldValue(fd protoreflect.FieldDescriptor, v interface{}) protoreflect.Value {
- switch o := v.(type) {
- case int:
- switch fd.Kind() {
- case protoreflect.Int32Kind, protoreflect.Sint32Kind, protoreflect.Sfixed32Kind:
- if o < math.MinInt32 || math.MaxInt32 < o {
- panic(fmt.Sprintf("%v: value %v out of range [%v, %v]", fd.FullName(), o, int32(math.MinInt32), int32(math.MaxInt32)))
- }
- v = int32(o)
- case protoreflect.Uint32Kind, protoreflect.Fixed32Kind:
- if o < 0 || math.MaxUint32 < 0 {
- panic(fmt.Sprintf("%v: value %v out of range [%v, %v]", fd.FullName(), o, uint32(0), uint32(math.MaxUint32)))
- }
- v = uint32(o)
- case protoreflect.Int64Kind, protoreflect.Sint64Kind, protoreflect.Sfixed64Kind:
- v = int64(o)
- case protoreflect.Uint64Kind, protoreflect.Fixed64Kind:
- if o < 0 {
- panic(fmt.Sprintf("%v: value %v out of range [%v, %v]", fd.FullName(), o, uint64(0), uint64(math.MaxUint64)))
- }
- v = uint64(o)
- case protoreflect.FloatKind:
- v = float32(o)
- case protoreflect.DoubleKind:
- v = float64(o)
- case protoreflect.EnumKind:
- v = protoreflect.EnumNumber(o)
- default:
- panic(fmt.Sprintf("%v: invalid value type int", fd.FullName()))
- }
- case float64:
- switch fd.Kind() {
- case protoreflect.FloatKind:
- v = float32(o)
- }
- case string:
- switch fd.Kind() {
- case protoreflect.BytesKind:
- v = []byte(o)
- case protoreflect.EnumKind:
- v = fd.Enum().Values().ByName(protoreflect.Name(o)).Number()
- }
- case []byte:
- return protoreflect.ValueOf(append([]byte{}, o...))
- }
- return protoreflect.ValueOf(v)
-}
diff --git a/vendor/google.golang.org/protobuf/internal/protobuild/ya.make b/vendor/google.golang.org/protobuf/internal/protobuild/ya.make
deleted file mode 100644
index 4506aaa671..0000000000
--- a/vendor/google.golang.org/protobuf/internal/protobuild/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(build.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/protolegacy/proto.go b/vendor/google.golang.org/protobuf/internal/protolegacy/proto.go
deleted file mode 100644
index 96b44d919c..0000000000
--- a/vendor/google.golang.org/protobuf/internal/protolegacy/proto.go
+++ /dev/null
@@ -1,125 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Package protolegacy is a stub version of the v1 proto package
-// to satisfy internal/testprotos/legacy dependencies.
-package protolegacy
-
-import (
- "bytes"
- "compress/gzip"
- "errors"
- "fmt"
- "io/ioutil"
-
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/reflect/protoregistry"
- "google.golang.org/protobuf/runtime/protoiface"
- "google.golang.org/protobuf/runtime/protoimpl"
-)
-
-const (
- ProtoPackageIsVersion1 = true
- ProtoPackageIsVersion2 = true
- ProtoPackageIsVersion3 = true
-)
-
-const (
- WireVarint = 0
- WireFixed32 = 5
- WireFixed64 = 1
- WireBytes = 2
- WireStartGroup = 3
- WireEndGroup = 4
-)
-
-type (
- Message = protoiface.MessageV1
- ExtensionRange = protoiface.ExtensionRangeV1
- ExtensionDesc = protoimpl.ExtensionInfo
- Extension = protoimpl.ExtensionFieldV1
- XXX_InternalExtensions = protoimpl.ExtensionFields
-)
-
-func RegisterFile(s string, d []byte) {
- // Decompress the descriptor.
- zr, err := gzip.NewReader(bytes.NewReader(d))
- if err != nil {
- panic(fmt.Sprintf("proto: invalid compressed file descriptor: %v", err))
- }
- b, err := ioutil.ReadAll(zr)
- if err != nil {
- panic(fmt.Sprintf("proto: invalid compressed file descriptor: %v", err))
- }
-
- // Construct a protoreflect.FileDescriptor from the raw descriptor.
- // Note that DescBuilder.Build automatically registers the constructed
- // file descriptor with the v2 registry.
- protoimpl.DescBuilder{RawDescriptor: b}.Build()
-}
-
-func RegisterType(m Message, s string) {
- mt := protoimpl.X.LegacyMessageTypeOf(m, protoreflect.FullName(s))
- if err := protoregistry.GlobalTypes.RegisterMessage(mt); err != nil {
- panic(err)
- }
-}
-
-func RegisterMapType(interface{}, string) {
- // Do nothing.
-}
-
-func RegisterEnum(string, map[int32]string, map[string]int32) {
- // Do nothing.
-}
-
-func RegisterExtension(d *ExtensionDesc) {
- if err := protoregistry.GlobalTypes.RegisterExtension(d); err != nil {
- panic(err)
- }
-}
-
-var ErrInternalBadWireType = errors.New("not implemented")
-
-func Size(Message) int { panic("not implemented") }
-func Marshal(Message) ([]byte, error) { panic("not implemented") }
-func Unmarshal([]byte, Message) error { panic("not implemented") }
-
-func SizeVarint(uint64) int { panic("not implemented") }
-func EncodeVarint(uint64) []byte { panic("not implemented") }
-func DecodeVarint([]byte) (uint64, int) { panic("not implemented") }
-
-func CompactTextString(Message) string { panic("not implemented") }
-func EnumName(map[int32]string, int32) string { panic("not implemented") }
-func UnmarshalJSONEnum(map[string]int32, []byte, string) (int32, error) { panic("not implemented") }
-
-type Buffer struct{}
-
-func (*Buffer) DecodeFixed32() (uint64, error) { panic("not implemented") }
-func (*Buffer) DecodeFixed64() (uint64, error) { panic("not implemented") }
-func (*Buffer) DecodeGroup(Message) error { panic("not implemented") }
-func (*Buffer) DecodeMessage(Message) error { panic("not implemented") }
-func (*Buffer) DecodeRawBytes(bool) ([]byte, error) { panic("not implemented") }
-func (*Buffer) DecodeStringBytes() (string, error) { panic("not implemented") }
-func (*Buffer) DecodeVarint() (uint64, error) { panic("not implemented") }
-func (*Buffer) DecodeZigzag32() (uint64, error) { panic("not implemented") }
-func (*Buffer) DecodeZigzag64() (uint64, error) { panic("not implemented") }
-func (*Buffer) EncodeFixed32(uint64) error { panic("not implemented") }
-func (*Buffer) EncodeFixed64(uint64) error { panic("not implemented") }
-func (*Buffer) EncodeMessage(Message) error { panic("not implemented") }
-func (*Buffer) EncodeRawBytes([]byte) error { panic("not implemented") }
-func (*Buffer) EncodeStringBytes(string) error { panic("not implemented") }
-func (*Buffer) EncodeVarint(uint64) error { panic("not implemented") }
-func (*Buffer) EncodeZigzag32(uint64) error { panic("not implemented") }
-func (*Buffer) EncodeZigzag64(uint64) error { panic("not implemented") }
-func (*Buffer) Marshal(Message) error { panic("not implemented") }
-func (*Buffer) Unmarshal(Message) error { panic("not implemented") }
-
-type InternalMessageInfo struct{}
-
-func (*InternalMessageInfo) DiscardUnknown(Message) { panic("not implemented") }
-func (*InternalMessageInfo) Marshal([]byte, Message, bool) ([]byte, error) { panic("not implemented") }
-func (*InternalMessageInfo) Merge(Message, Message) { panic("not implemented") }
-func (*InternalMessageInfo) Size(Message) int { panic("not implemented") }
-func (*InternalMessageInfo) Unmarshal(Message, []byte) error { panic("not implemented") }
diff --git a/vendor/google.golang.org/protobuf/internal/protolegacy/ya.make b/vendor/google.golang.org/protobuf/internal/protolegacy/ya.make
deleted file mode 100644
index 913891a3d6..0000000000
--- a/vendor/google.golang.org/protobuf/internal/protolegacy/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(proto.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/set/gotest/ya.make b/vendor/google.golang.org/protobuf/internal/set/gotest/ya.make
deleted file mode 100644
index ed56dcf44b..0000000000
--- a/vendor/google.golang.org/protobuf/internal/set/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/internal/set)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/set/ints_test.go b/vendor/google.golang.org/protobuf/internal/set/ints_test.go
deleted file mode 100644
index 9dac18bd3d..0000000000
--- a/vendor/google.golang.org/protobuf/internal/set/ints_test.go
+++ /dev/null
@@ -1,75 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package set
-
-import (
- "math/rand"
- "testing"
-)
-
-const maxLimit = 1024
-
-var toSet, toClear [maxLimit]bool
-
-func init() {
- r := rand.New(rand.NewSource(0))
- for i := 0; i < maxLimit; i++ {
- toSet[i] = r.Intn(2) == 0
- toClear[i] = r.Intn(2) == 0
- }
-}
-
-func TestInts(t *testing.T) {
- ns := new(Ints)
-
- // Check that set starts empty.
- wantLen := 0
- if ns.Len() != wantLen {
- t.Errorf("init: Len() = %d, want %d", ns.Len(), wantLen)
- }
- for i := 0; i < maxLimit; i++ {
- if ns.Has(uint64(i)) {
- t.Errorf("init: Has(%d) = true, want false", i)
- }
- }
-
- // Set some numbers.
- for i, b := range toSet[:maxLimit] {
- if b {
- ns.Set(uint64(i))
- wantLen++
- }
- }
-
- // Check that integers were set.
- if ns.Len() != wantLen {
- t.Errorf("after Set: Len() = %d, want %d", ns.Len(), wantLen)
- }
- for i := 0; i < maxLimit; i++ {
- if got := ns.Has(uint64(i)); got != toSet[i] {
- t.Errorf("after Set: Has(%d) = %v, want %v", i, got, !got)
- }
- }
-
- // Clear some numbers.
- for i, b := range toClear[:maxLimit] {
- if b {
- ns.Clear(uint64(i))
- if toSet[i] {
- wantLen--
- }
- }
- }
-
- // Check that integers were cleared.
- if ns.Len() != wantLen {
- t.Errorf("after Clear: Len() = %d, want %d", ns.Len(), wantLen)
- }
- for i := 0; i < maxLimit; i++ {
- if got := ns.Has(uint64(i)); got != toSet[i] && !toClear[i] {
- t.Errorf("after Clear: Has(%d) = %v, want %v", i, got, !got)
- }
- }
-}
diff --git a/vendor/google.golang.org/protobuf/internal/set/ya.make b/vendor/google.golang.org/protobuf/internal/set/ya.make
index d41fc72c98..ef768eff13 100644
--- a/vendor/google.golang.org/protobuf/internal/set/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/set/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(ints.go)
-
-GO_TEST_SRCS(ints_test.go)
+SRCS(
+ ints.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/internal/strs/gotest/ya.make b/vendor/google.golang.org/protobuf/internal/strs/gotest/ya.make
deleted file mode 100644
index b3f8440656..0000000000
--- a/vendor/google.golang.org/protobuf/internal/strs/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/internal/strs)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/strs/strings_test.go b/vendor/google.golang.org/protobuf/internal/strs/strings_test.go
deleted file mode 100644
index 0bb894a16f..0000000000
--- a/vendor/google.golang.org/protobuf/internal/strs/strings_test.go
+++ /dev/null
@@ -1,163 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package strs
-
-import (
- "strconv"
- "testing"
-)
-
-func TestGoCamelCase(t *testing.T) {
- tests := []struct {
- in, want string
- }{
- {"", ""},
- {"one", "One"},
- {"one_two", "OneTwo"},
- {"_my_field_name_2", "XMyFieldName_2"},
- {"Something_Capped", "Something_Capped"},
- {"my_Name", "My_Name"},
- {"OneTwo", "OneTwo"},
- {"_", "X"},
- {"_a_", "XA_"},
- {"one.two", "OneTwo"},
- {"one.Two", "One_Two"},
- {"one_two.three_four", "OneTwoThreeFour"},
- {"one_two.Three_four", "OneTwo_ThreeFour"},
- {"_one._two", "XOne_XTwo"},
- {"SCREAMING_SNAKE_CASE", "SCREAMING_SNAKE_CASE"},
- {"double__underscore", "Double_Underscore"},
- {"camelCase", "CamelCase"},
- {"go2proto", "Go2Proto"},
- {"世界", "世界"},
- {"x世界", "X世界"},
- {"foo_bar世界", "FooBar世界"},
- }
- for _, tc := range tests {
- if got := GoCamelCase(tc.in); got != tc.want {
- t.Errorf("GoCamelCase(%q) = %q, want %q", tc.in, got, tc.want)
- }
- }
-}
-
-func TestGoSanitized(t *testing.T) {
- tests := []struct {
- in, want string
- }{
- {"", "_"},
- {"boo", "boo"},
- {"Boo", "Boo"},
- {"ßoo", "ßoo"},
- {"default", "_default"},
- {"hello", "hello"},
- {"hello-world!!", "hello_world__"},
- {"hello-\xde\xad\xbe\xef\x00", "hello_____"},
- {"hello 世界", "hello_世界"},
- {"世界", "世界"},
- }
- for _, tc := range tests {
- if got := GoSanitized(tc.in); got != tc.want {
- t.Errorf("GoSanitized(%q) = %q, want %q", tc.in, got, tc.want)
- }
- }
-}
-
-func TestName(t *testing.T) {
- tests := []struct {
- in string
- inEnumPrefix string
- wantMapEntry string
- wantEnumValue string
- wantTrimValue string
- wantJSONCamelCase string
- wantJSONSnakeCase string
- }{{
- in: "abc",
- inEnumPrefix: "",
- wantMapEntry: "AbcEntry",
- wantEnumValue: "Abc",
- wantTrimValue: "abc",
- wantJSONCamelCase: "abc",
- wantJSONSnakeCase: "abc",
- }, {
- in: "foo_baR_",
- inEnumPrefix: "foo_bar",
- wantMapEntry: "FooBaREntry",
- wantEnumValue: "FooBar",
- wantTrimValue: "foo_baR_",
- wantJSONCamelCase: "fooBaR",
- wantJSONSnakeCase: "foo_ba_r_",
- }, {
- in: "snake_caseCamelCase",
- inEnumPrefix: "snakecasecamel",
- wantMapEntry: "SnakeCaseCamelCaseEntry",
- wantEnumValue: "SnakeCasecamelcase",
- wantTrimValue: "Case",
- wantJSONCamelCase: "snakeCaseCamelCase",
- wantJSONSnakeCase: "snake_case_camel_case",
- }, {
- in: "FiZz_BuZz",
- inEnumPrefix: "fizz",
- wantMapEntry: "FiZzBuZzEntry",
- wantEnumValue: "FizzBuzz",
- wantTrimValue: "BuZz",
- wantJSONCamelCase: "FiZzBuZz",
- wantJSONSnakeCase: "_fi_zz__bu_zz",
- }}
-
- for _, tt := range tests {
- if got := MapEntryName(tt.in); got != tt.wantMapEntry {
- t.Errorf("MapEntryName(%q) = %q, want %q", tt.in, got, tt.wantMapEntry)
- }
- if got := EnumValueName(tt.in); got != tt.wantEnumValue {
- t.Errorf("EnumValueName(%q) = %q, want %q", tt.in, got, tt.wantEnumValue)
- }
- if got := TrimEnumPrefix(tt.in, tt.inEnumPrefix); got != tt.wantTrimValue {
- t.Errorf("ErimEnumPrefix(%q, %q) = %q, want %q", tt.in, tt.inEnumPrefix, got, tt.wantTrimValue)
- }
- if got := JSONCamelCase(tt.in); got != tt.wantJSONCamelCase {
- t.Errorf("JSONCamelCase(%q) = %q, want %q", tt.in, got, tt.wantJSONCamelCase)
- }
- if got := JSONSnakeCase(tt.in); got != tt.wantJSONSnakeCase {
- t.Errorf("JSONSnakeCase(%q) = %q, want %q", tt.in, got, tt.wantJSONSnakeCase)
- }
- }
-}
-
-var (
- srcString = "1234"
- srcBytes = []byte(srcString)
- dst uint64
-)
-
-func BenchmarkCast(b *testing.B) {
- b.Run("Ideal", func(b *testing.B) {
- b.ReportAllocs()
- for i := 0; i < b.N; i++ {
- dst, _ = strconv.ParseUint(srcString, 0, 64)
- }
- if dst != 1234 {
- b.Errorf("got %d, want %s", dst, srcString)
- }
- })
- b.Run("Copy", func(b *testing.B) {
- b.ReportAllocs()
- for i := 0; i < b.N; i++ {
- dst, _ = strconv.ParseUint(string(srcBytes), 0, 64)
- }
- if dst != 1234 {
- b.Errorf("got %d, want %s", dst, srcString)
- }
- })
- b.Run("Cast", func(b *testing.B) {
- b.ReportAllocs()
- for i := 0; i < b.N; i++ {
- dst, _ = strconv.ParseUint(UnsafeString(srcBytes), 0, 64)
- }
- if dst != 1234 {
- b.Errorf("got %d, want %s", dst, srcString)
- }
- })
-}
diff --git a/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go b/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe_go121.go
index 61a84d3418..60166f2ba3 100644
--- a/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go
+++ b/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe_go121.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build !purego && !appengine
-// +build !purego,!appengine
+//go:build !purego && !appengine && go1.21
+// +build !purego,!appengine,go1.21
package strs
@@ -13,42 +13,21 @@ import (
"google.golang.org/protobuf/reflect/protoreflect"
)
-type (
- stringHeader struct {
- Data unsafe.Pointer
- Len int
- }
- sliceHeader struct {
- Data unsafe.Pointer
- Len int
- Cap int
- }
-)
-
// UnsafeString returns an unsafe string reference of b.
// The caller must treat the input slice as immutable.
//
// WARNING: Use carefully. The returned result must not leak to the end user
// unless the input slice is provably immutable.
-func UnsafeString(b []byte) (s string) {
- src := (*sliceHeader)(unsafe.Pointer(&b))
- dst := (*stringHeader)(unsafe.Pointer(&s))
- dst.Data = src.Data
- dst.Len = src.Len
- return s
+func UnsafeString(b []byte) string {
+ return unsafe.String(unsafe.SliceData(b), len(b))
}
// UnsafeBytes returns an unsafe bytes slice reference of s.
// The caller must treat returned slice as immutable.
//
// WARNING: Use carefully. The returned result must not leak to the end user.
-func UnsafeBytes(s string) (b []byte) {
- src := (*stringHeader)(unsafe.Pointer(&s))
- dst := (*sliceHeader)(unsafe.Pointer(&b))
- dst.Data = src.Data
- dst.Len = src.Len
- dst.Cap = src.Len
- return b
+func UnsafeBytes(s string) []byte {
+ return unsafe.Slice(unsafe.StringData(s), len(s))
}
// Builder builds a set of strings with shared lifetime.
diff --git a/vendor/google.golang.org/protobuf/internal/strs/ya.make b/vendor/google.golang.org/protobuf/internal/strs/ya.make
index ab9bbcbbff..3e580e1999 100644
--- a/vendor/google.golang.org/protobuf/internal/strs/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/strs/ya.make
@@ -4,11 +4,7 @@ LICENSE(BSD-3-Clause)
SRCS(
strings.go
- strings_unsafe.go
+ strings_unsafe_go121.go
)
-GO_TEST_SRCS(strings_test.go)
-
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/enums/enums.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/enums/enums.pb.go
deleted file mode 100644
index 061d112188..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/enums/enums.pb.go
+++ /dev/null
@@ -1,159 +0,0 @@
-// Copyright 2021 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/enums/enums.proto
-
-package enums
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type Enum int32
-
-const (
- Enum_DEFAULT Enum = 1337
- Enum_ZERO Enum = 0
- Enum_ONE Enum = 1
- Enum_ELEVENT Enum = 11
- Enum_SEVENTEEN Enum = 17
- Enum_THIRTYSEVEN Enum = 37
- Enum_SIXTYSEVEN Enum = 67
- Enum_NEGATIVE Enum = -1
-)
-
-// Enum value maps for Enum.
-var (
- Enum_name = map[int32]string{
- 1337: "DEFAULT",
- 0: "ZERO",
- 1: "ONE",
- 11: "ELEVENT",
- 17: "SEVENTEEN",
- 37: "THIRTYSEVEN",
- 67: "SIXTYSEVEN",
- -1: "NEGATIVE",
- }
- Enum_value = map[string]int32{
- "DEFAULT": 1337,
- "ZERO": 0,
- "ONE": 1,
- "ELEVENT": 11,
- "SEVENTEEN": 17,
- "THIRTYSEVEN": 37,
- "SIXTYSEVEN": 67,
- "NEGATIVE": -1,
- }
-)
-
-func (x Enum) Enum() *Enum {
- p := new(Enum)
- *p = x
- return p
-}
-
-func (x Enum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Enum) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_enums_enums_proto_enumTypes[0].Descriptor()
-}
-
-func (Enum) Type() protoreflect.EnumType {
- return &file_internal_testprotos_enums_enums_proto_enumTypes[0]
-}
-
-func (x Enum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *Enum) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = Enum(num)
- return nil
-}
-
-// Deprecated: Use Enum.Descriptor instead.
-func (Enum) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_enums_enums_proto_rawDescGZIP(), []int{0}
-}
-
-var File_internal_testprotos_enums_enums_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_enums_enums_proto_rawDesc = []byte{
- 0x0a, 0x25, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2f, 0x65, 0x6e, 0x75, 0x6d,
- 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2a, 0x7b, 0x0a, 0x04,
- 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0c, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10,
- 0xb9, 0x0a, 0x12, 0x08, 0x0a, 0x04, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03,
- 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4c, 0x45, 0x56, 0x45, 0x4e, 0x54,
- 0x10, 0x0b, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x45, 0x45, 0x4e, 0x10,
- 0x11, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x48, 0x49, 0x52, 0x54, 0x59, 0x53, 0x45, 0x56, 0x45, 0x4e,
- 0x10, 0x25, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x49, 0x58, 0x54, 0x59, 0x53, 0x45, 0x56, 0x45, 0x4e,
- 0x10, 0x43, 0x12, 0x15, 0x0a, 0x08, 0x4e, 0x45, 0x47, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
- 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x65, 0x6e, 0x75, 0x6d,
- 0x73,
-}
-
-var (
- file_internal_testprotos_enums_enums_proto_rawDescOnce sync.Once
- file_internal_testprotos_enums_enums_proto_rawDescData = file_internal_testprotos_enums_enums_proto_rawDesc
-)
-
-func file_internal_testprotos_enums_enums_proto_rawDescGZIP() []byte {
- file_internal_testprotos_enums_enums_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_enums_enums_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_enums_enums_proto_rawDescData)
- })
- return file_internal_testprotos_enums_enums_proto_rawDescData
-}
-
-var file_internal_testprotos_enums_enums_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_internal_testprotos_enums_enums_proto_goTypes = []interface{}{
- (Enum)(0), // 0: goproto.proto.enums.Enum
-}
-var file_internal_testprotos_enums_enums_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_enums_enums_proto_init() }
-func file_internal_testprotos_enums_enums_proto_init() {
- if File_internal_testprotos_enums_enums_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_enums_enums_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 0,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_enums_enums_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_enums_enums_proto_depIdxs,
- EnumInfos: file_internal_testprotos_enums_enums_proto_enumTypes,
- }.Build()
- File_internal_testprotos_enums_enums_proto = out.File
- file_internal_testprotos_enums_enums_proto_rawDesc = nil
- file_internal_testprotos_enums_enums_proto_goTypes = nil
- file_internal_testprotos_enums_enums_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/enums/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/enums/ya.make
deleted file mode 100644
index 25232b9c05..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/enums/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(enums.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/legacy.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/legacy.pb.go
deleted file mode 100644
index d486d3b7c6..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/legacy.pb.go
+++ /dev/null
@@ -1,356 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/legacy/legacy.proto
-
-package legacy
-
-import (
- proto2_20160225_2fc053c5 "google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160225_2fc053c5"
- proto2_20160519_a4ab9ec5 "google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160519_a4ab9ec5"
- proto2_20180125_92554152 "google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180125_92554152"
- proto2_20180430_b4deda09 "google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180430_b4deda09"
- proto2_20180814_aa810b61 "google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180814_aa810b61"
- proto2_20190205_c823c79e "google.golang.org/protobuf/internal/testprotos/legacy/proto2_20190205_c823c79e"
- proto3_20160225_2fc053c5 "google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160225_2fc053c5"
- proto3_20160519_a4ab9ec5 "google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160519_a4ab9ec5"
- proto3_20180125_92554152 "google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180125_92554152"
- proto3_20180430_b4deda09 "google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180430_b4deda09"
- proto3_20180814_aa810b61 "google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180814_aa810b61"
- proto3_20190205_c823c79e "google.golang.org/protobuf/internal/testprotos/legacy/proto3_20190205_c823c79e"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type Legacy struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- F1 *proto2_20160225_2fc053c5.Message `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
- F2 *proto3_20160225_2fc053c5.Message `protobuf:"bytes,2,opt,name=f2,proto3" json:"f2,omitempty"`
- F3 *proto2_20160519_a4ab9ec5.Message `protobuf:"bytes,3,opt,name=f3,proto3" json:"f3,omitempty"`
- F4 *proto3_20160519_a4ab9ec5.Message `protobuf:"bytes,4,opt,name=f4,proto3" json:"f4,omitempty"`
- F5 *proto2_20180125_92554152.Message `protobuf:"bytes,5,opt,name=f5,proto3" json:"f5,omitempty"`
- F6 *proto3_20180125_92554152.Message `protobuf:"bytes,6,opt,name=f6,proto3" json:"f6,omitempty"`
- F7 *proto2_20180430_b4deda09.Message `protobuf:"bytes,7,opt,name=f7,proto3" json:"f7,omitempty"`
- F8 *proto3_20180430_b4deda09.Message `protobuf:"bytes,8,opt,name=f8,proto3" json:"f8,omitempty"`
- F9 *proto2_20180814_aa810b61.Message `protobuf:"bytes,9,opt,name=f9,proto3" json:"f9,omitempty"`
- F10 *proto3_20180814_aa810b61.Message `protobuf:"bytes,10,opt,name=f10,proto3" json:"f10,omitempty"`
- F11 *proto2_20190205_c823c79e.Message `protobuf:"bytes,11,opt,name=f11,proto3" json:"f11,omitempty"`
- F12 *proto3_20190205_c823c79e.Message `protobuf:"bytes,12,opt,name=f12,proto3" json:"f12,omitempty"`
-}
-
-func (x *Legacy) Reset() {
- *x = Legacy{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_legacy_legacy_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Legacy) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Legacy) ProtoMessage() {}
-
-func (x *Legacy) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_legacy_legacy_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Legacy.ProtoReflect.Descriptor instead.
-func (*Legacy) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_legacy_legacy_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Legacy) GetF1() *proto2_20160225_2fc053c5.Message {
- if x != nil {
- return x.F1
- }
- return nil
-}
-
-func (x *Legacy) GetF2() *proto3_20160225_2fc053c5.Message {
- if x != nil {
- return x.F2
- }
- return nil
-}
-
-func (x *Legacy) GetF3() *proto2_20160519_a4ab9ec5.Message {
- if x != nil {
- return x.F3
- }
- return nil
-}
-
-func (x *Legacy) GetF4() *proto3_20160519_a4ab9ec5.Message {
- if x != nil {
- return x.F4
- }
- return nil
-}
-
-func (x *Legacy) GetF5() *proto2_20180125_92554152.Message {
- if x != nil {
- return x.F5
- }
- return nil
-}
-
-func (x *Legacy) GetF6() *proto3_20180125_92554152.Message {
- if x != nil {
- return x.F6
- }
- return nil
-}
-
-func (x *Legacy) GetF7() *proto2_20180430_b4deda09.Message {
- if x != nil {
- return x.F7
- }
- return nil
-}
-
-func (x *Legacy) GetF8() *proto3_20180430_b4deda09.Message {
- if x != nil {
- return x.F8
- }
- return nil
-}
-
-func (x *Legacy) GetF9() *proto2_20180814_aa810b61.Message {
- if x != nil {
- return x.F9
- }
- return nil
-}
-
-func (x *Legacy) GetF10() *proto3_20180814_aa810b61.Message {
- if x != nil {
- return x.F10
- }
- return nil
-}
-
-func (x *Legacy) GetF11() *proto2_20190205_c823c79e.Message {
- if x != nil {
- return x.F11
- }
- return nil
-}
-
-func (x *Legacy) GetF12() *proto3_20190205_c823c79e.Message {
- if x != nil {
- return x.F12
- }
- return nil
-}
-
-var File_internal_testprotos_legacy_legacy_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_legacy_legacy_proto_rawDesc = []byte{
- 0x0a, 0x27, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x6c, 0x65, 0x67,
- 0x61, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x1a, 0x3e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x5f,
- 0x32, 0x30, 0x31, 0x36, 0x30, 0x32, 0x32, 0x35, 0x5f, 0x32, 0x66, 0x63, 0x30, 0x35, 0x33, 0x63,
- 0x35, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f,
- 0x32, 0x30, 0x31, 0x36, 0x30, 0x32, 0x32, 0x35, 0x5f, 0x32, 0x66, 0x63, 0x30, 0x35, 0x33, 0x63,
- 0x35, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x5f,
- 0x32, 0x30, 0x31, 0x36, 0x30, 0x35, 0x31, 0x39, 0x5f, 0x61, 0x34, 0x61, 0x62, 0x39, 0x65, 0x63,
- 0x35, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f,
- 0x32, 0x30, 0x31, 0x36, 0x30, 0x35, 0x31, 0x39, 0x5f, 0x61, 0x34, 0x61, 0x62, 0x39, 0x65, 0x63,
- 0x35, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x5f,
- 0x32, 0x30, 0x31, 0x38, 0x30, 0x31, 0x32, 0x35, 0x5f, 0x39, 0x32, 0x35, 0x35, 0x34, 0x31, 0x35,
- 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f,
- 0x32, 0x30, 0x31, 0x38, 0x30, 0x31, 0x32, 0x35, 0x5f, 0x39, 0x32, 0x35, 0x35, 0x34, 0x31, 0x35,
- 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x5f,
- 0x32, 0x30, 0x31, 0x38, 0x30, 0x34, 0x33, 0x30, 0x5f, 0x62, 0x34, 0x64, 0x65, 0x64, 0x61, 0x30,
- 0x39, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f,
- 0x32, 0x30, 0x31, 0x38, 0x30, 0x34, 0x33, 0x30, 0x5f, 0x62, 0x34, 0x64, 0x65, 0x64, 0x61, 0x30,
- 0x39, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x5f,
- 0x32, 0x30, 0x31, 0x38, 0x30, 0x38, 0x31, 0x34, 0x5f, 0x61, 0x61, 0x38, 0x31, 0x30, 0x62, 0x36,
- 0x31, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f,
- 0x32, 0x30, 0x31, 0x38, 0x30, 0x38, 0x31, 0x34, 0x5f, 0x61, 0x61, 0x38, 0x31, 0x30, 0x62, 0x36,
- 0x31, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x5f,
- 0x32, 0x30, 0x31, 0x39, 0x30, 0x32, 0x30, 0x35, 0x5f, 0x63, 0x38, 0x32, 0x33, 0x63, 0x37, 0x39,
- 0x65, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f,
- 0x32, 0x30, 0x31, 0x39, 0x30, 0x32, 0x30, 0x35, 0x5f, 0x63, 0x38, 0x32, 0x33, 0x63, 0x37, 0x39,
- 0x65, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x05, 0x0a,
- 0x06, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x12, 0x3a, 0x0a, 0x02, 0x66, 0x31, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
- 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x5f, 0x32,
- 0x30, 0x31, 0x36, 0x30, 0x32, 0x32, 0x35, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
- 0x02, 0x66, 0x31, 0x12, 0x3a, 0x0a, 0x02, 0x66, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
- 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f, 0x32, 0x30, 0x31, 0x36, 0x30,
- 0x32, 0x32, 0x35, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x02, 0x66, 0x32, 0x12,
- 0x3a, 0x0a, 0x02, 0x66, 0x33, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x5f, 0x32, 0x30, 0x31, 0x36, 0x30, 0x35, 0x31, 0x39, 0x2e,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x02, 0x66, 0x33, 0x12, 0x3a, 0x0a, 0x02, 0x66,
- 0x34, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33, 0x5f, 0x32, 0x30, 0x31, 0x36, 0x30, 0x35, 0x31, 0x39, 0x2e, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x52, 0x02, 0x66, 0x34, 0x12, 0x3a, 0x0a, 0x02, 0x66, 0x35, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
- 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x5f, 0x32,
- 0x30, 0x31, 0x38, 0x30, 0x31, 0x32, 0x35, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
- 0x02, 0x66, 0x35, 0x12, 0x3a, 0x0a, 0x02, 0x66, 0x36, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
- 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f, 0x32, 0x30, 0x31, 0x38, 0x30,
- 0x31, 0x32, 0x35, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x02, 0x66, 0x36, 0x12,
- 0x3a, 0x0a, 0x02, 0x66, 0x37, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x5f, 0x32, 0x30, 0x31, 0x38, 0x30, 0x34, 0x33, 0x30, 0x2e,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x02, 0x66, 0x37, 0x12, 0x3a, 0x0a, 0x02, 0x66,
- 0x38, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33, 0x5f, 0x32, 0x30, 0x31, 0x38, 0x30, 0x34, 0x33, 0x30, 0x2e, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x52, 0x02, 0x66, 0x38, 0x12, 0x3a, 0x0a, 0x02, 0x66, 0x39, 0x18, 0x09, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
- 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x5f, 0x32,
- 0x30, 0x31, 0x38, 0x30, 0x38, 0x31, 0x34, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
- 0x02, 0x66, 0x39, 0x12, 0x3c, 0x0a, 0x03, 0x66, 0x31, 0x30, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
- 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f, 0x32, 0x30, 0x31, 0x38,
- 0x30, 0x38, 0x31, 0x34, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x66, 0x31,
- 0x30, 0x12, 0x3c, 0x0a, 0x03, 0x66, 0x31, 0x31, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
- 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x5f, 0x32, 0x30, 0x31, 0x39, 0x30, 0x32,
- 0x30, 0x35, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x66, 0x31, 0x31, 0x12,
- 0x3c, 0x0a, 0x03, 0x66, 0x31, 0x32, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f, 0x32, 0x30, 0x31, 0x39, 0x30, 0x32, 0x30, 0x35,
- 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x66, 0x31, 0x32, 0x42, 0x37, 0x5a,
- 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
- 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65,
- 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f,
- 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_internal_testprotos_legacy_legacy_proto_rawDescOnce sync.Once
- file_internal_testprotos_legacy_legacy_proto_rawDescData = file_internal_testprotos_legacy_legacy_proto_rawDesc
-)
-
-func file_internal_testprotos_legacy_legacy_proto_rawDescGZIP() []byte {
- file_internal_testprotos_legacy_legacy_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_legacy_legacy_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_legacy_legacy_proto_rawDescData)
- })
- return file_internal_testprotos_legacy_legacy_proto_rawDescData
-}
-
-var file_internal_testprotos_legacy_legacy_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_internal_testprotos_legacy_legacy_proto_goTypes = []interface{}{
- (*Legacy)(nil), // 0: google.golang.org.Legacy
- (*proto2_20160225_2fc053c5.Message)(nil), // 1: google.golang.org.proto2_20160225.Message
- (*proto3_20160225_2fc053c5.Message)(nil), // 2: google.golang.org.proto3_20160225.Message
- (*proto2_20160519_a4ab9ec5.Message)(nil), // 3: google.golang.org.proto2_20160519.Message
- (*proto3_20160519_a4ab9ec5.Message)(nil), // 4: google.golang.org.proto3_20160519.Message
- (*proto2_20180125_92554152.Message)(nil), // 5: google.golang.org.proto2_20180125.Message
- (*proto3_20180125_92554152.Message)(nil), // 6: google.golang.org.proto3_20180125.Message
- (*proto2_20180430_b4deda09.Message)(nil), // 7: google.golang.org.proto2_20180430.Message
- (*proto3_20180430_b4deda09.Message)(nil), // 8: google.golang.org.proto3_20180430.Message
- (*proto2_20180814_aa810b61.Message)(nil), // 9: google.golang.org.proto2_20180814.Message
- (*proto3_20180814_aa810b61.Message)(nil), // 10: google.golang.org.proto3_20180814.Message
- (*proto2_20190205_c823c79e.Message)(nil), // 11: google.golang.org.proto2_20190205.Message
- (*proto3_20190205_c823c79e.Message)(nil), // 12: google.golang.org.proto3_20190205.Message
-}
-var file_internal_testprotos_legacy_legacy_proto_depIdxs = []int32{
- 1, // 0: google.golang.org.Legacy.f1:type_name -> google.golang.org.proto2_20160225.Message
- 2, // 1: google.golang.org.Legacy.f2:type_name -> google.golang.org.proto3_20160225.Message
- 3, // 2: google.golang.org.Legacy.f3:type_name -> google.golang.org.proto2_20160519.Message
- 4, // 3: google.golang.org.Legacy.f4:type_name -> google.golang.org.proto3_20160519.Message
- 5, // 4: google.golang.org.Legacy.f5:type_name -> google.golang.org.proto2_20180125.Message
- 6, // 5: google.golang.org.Legacy.f6:type_name -> google.golang.org.proto3_20180125.Message
- 7, // 6: google.golang.org.Legacy.f7:type_name -> google.golang.org.proto2_20180430.Message
- 8, // 7: google.golang.org.Legacy.f8:type_name -> google.golang.org.proto3_20180430.Message
- 9, // 8: google.golang.org.Legacy.f9:type_name -> google.golang.org.proto2_20180814.Message
- 10, // 9: google.golang.org.Legacy.f10:type_name -> google.golang.org.proto3_20180814.Message
- 11, // 10: google.golang.org.Legacy.f11:type_name -> google.golang.org.proto2_20190205.Message
- 12, // 11: google.golang.org.Legacy.f12:type_name -> google.golang.org.proto3_20190205.Message
- 12, // [12:12] is the sub-list for method output_type
- 12, // [12:12] is the sub-list for method input_type
- 12, // [12:12] is the sub-list for extension type_name
- 12, // [12:12] is the sub-list for extension extendee
- 0, // [0:12] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_legacy_legacy_proto_init() }
-func file_internal_testprotos_legacy_legacy_proto_init() {
- if File_internal_testprotos_legacy_legacy_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_legacy_legacy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Legacy); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_legacy_legacy_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_legacy_legacy_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_legacy_legacy_proto_depIdxs,
- MessageInfos: file_internal_testprotos_legacy_legacy_proto_msgTypes,
- }.Build()
- File_internal_testprotos_legacy_legacy_proto = out.File
- file_internal_testprotos_legacy_legacy_proto_rawDesc = nil
- file_internal_testprotos_legacy_legacy_proto_goTypes = nil
- file_internal_testprotos_legacy_legacy_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160225_2fc053c5/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160225_2fc053c5/test.pb.go
deleted file mode 100644
index 2f9cad12b4..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160225_2fc053c5/test.pb.go
+++ /dev/null
@@ -1,3534 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go.
-// source: proto2_20160225_2fc053c5/test.proto
-// DO NOT EDIT!
-
-/*
-Package proto2_20160225_2fc053c5 is a generated protocol buffer package.
-
-It is generated from these files:
-
- proto2_20160225_2fc053c5/test.proto
-
-It has these top-level messages:
-
- SiblingMessage
- Message
-*/
-package proto2_20160225_2fc053c5
-
-import proto "google.golang.org/protobuf/internal/protolegacy"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-const _ = proto.ProtoPackageIsVersion1
-
-type SiblingEnum int32
-
-const (
- SiblingEnum_ALPHA SiblingEnum = 0
- SiblingEnum_BRAVO SiblingEnum = 10
- SiblingEnum_CHARLIE SiblingEnum = 200
-)
-
-var SiblingEnum_name = map[int32]string{
- 0: "ALPHA",
- 10: "BRAVO",
- 200: "CHARLIE",
-}
-var SiblingEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 10,
- "CHARLIE": 200,
-}
-
-func (x SiblingEnum) Enum() *SiblingEnum {
- p := new(SiblingEnum)
- *p = x
- return p
-}
-func (x SiblingEnum) String() string {
- return proto.EnumName(SiblingEnum_name, int32(x))
-}
-func (x *SiblingEnum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum")
- if err != nil {
- return err
- }
- *x = SiblingEnum(value)
- return nil
-}
-func (SiblingEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-
-type Message_ChildEnum int32
-
-const (
- Message_ALPHA Message_ChildEnum = 0
- Message_BRAVO Message_ChildEnum = 1
- Message_CHARLIE Message_ChildEnum = 2
-)
-
-var Message_ChildEnum_name = map[int32]string{
- 0: "ALPHA",
- 1: "BRAVO",
- 2: "CHARLIE",
-}
-var Message_ChildEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 1,
- "CHARLIE": 2,
-}
-
-func (x Message_ChildEnum) Enum() *Message_ChildEnum {
- p := new(Message_ChildEnum)
- *p = x
- return p
-}
-func (x Message_ChildEnum) String() string {
- return proto.EnumName(Message_ChildEnum_name, int32(x))
-}
-func (x *Message_ChildEnum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum")
- if err != nil {
- return err
- }
- *x = Message_ChildEnum(value)
- return nil
-}
-func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
-
-type SiblingMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
-func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
-func (*SiblingMessage) ProtoMessage() {}
-func (*SiblingMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-
-func (m *SiblingMessage) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *SiblingMessage) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message struct {
- Namedgroup *Message_NamedGroup `protobuf:"group,1,opt,name=NamedGroup,json=namedgroup" json:"namedgroup,omitempty"`
- // Optional fields.
- OptionalBool *bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
- OptionalInt32 *int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
- OptionalSint32 *int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
- OptionalUint32 *uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
- OptionalInt64 *int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
- OptionalSint64 *int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
- OptionalUint64 *uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
- OptionalFixed32 *uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 *int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
- OptionalFloat *float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
- OptionalFixed64 *uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 *int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
- OptionalDouble *float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
- OptionalString *string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
- OptionalChildEnum *Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
- OptionalNamedGroup *Message_NamedGroup `protobuf:"bytes,117,opt,name=optional_named_group,json=optionalNamedGroup" json:"optional_named_group,omitempty"`
- OptionalSiblingEnum *SiblingEnum `protobuf:"varint,118,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,119,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
- Optionalgroup *Message_OptionalGroup `protobuf:"group,120,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
- // Optional default fields.
- DefaultedBool *bool `protobuf:"varint,200,opt,name=defaulted_bool,json=defaultedBool,def=1" json:"defaulted_bool,omitempty"`
- DefaultedInt32 *int32 `protobuf:"varint,201,opt,name=defaulted_int32,json=defaultedInt32,def=-12345" json:"defaulted_int32,omitempty"`
- DefaultedSint32 *int32 `protobuf:"zigzag32,202,opt,name=defaulted_sint32,json=defaultedSint32,def=-3200" json:"defaulted_sint32,omitempty"`
- DefaultedUint32 *uint32 `protobuf:"varint,203,opt,name=defaulted_uint32,json=defaultedUint32,def=3200" json:"defaulted_uint32,omitempty"`
- DefaultedInt64 *int64 `protobuf:"varint,204,opt,name=defaulted_int64,json=defaultedInt64,def=-123456789" json:"defaulted_int64,omitempty"`
- DefaultedSint64 *int64 `protobuf:"zigzag64,205,opt,name=defaulted_sint64,json=defaultedSint64,def=-6400" json:"defaulted_sint64,omitempty"`
- DefaultedUint64 *uint64 `protobuf:"varint,206,opt,name=defaulted_uint64,json=defaultedUint64,def=6400" json:"defaulted_uint64,omitempty"`
- DefaultedFixed32 *uint32 `protobuf:"fixed32,207,opt,name=defaulted_fixed32,json=defaultedFixed32,def=320000" json:"defaulted_fixed32,omitempty"`
- DefaultedSfixed32 *int32 `protobuf:"fixed32,208,opt,name=defaulted_sfixed32,json=defaultedSfixed32,def=-320000" json:"defaulted_sfixed32,omitempty"`
- DefaultedFloat *float32 `protobuf:"fixed32,209,opt,name=defaulted_float,json=defaultedFloat,def=3.14159" json:"defaulted_float,omitempty"`
- DefaultedFixed64 *uint64 `protobuf:"fixed64,210,opt,name=defaulted_fixed64,json=defaultedFixed64,def=640000" json:"defaulted_fixed64,omitempty"`
- DefaultedSfixed64 *int64 `protobuf:"fixed64,211,opt,name=defaulted_sfixed64,json=defaultedSfixed64,def=-640000" json:"defaulted_sfixed64,omitempty"`
- DefaultedDouble *float64 `protobuf:"fixed64,212,opt,name=defaulted_double,json=defaultedDouble,def=3.14159265359" json:"defaulted_double,omitempty"`
- DefaultedString *string `protobuf:"bytes,213,opt,name=defaulted_string,json=defaultedString,def=hello, \"world!\"\n" json:"defaulted_string,omitempty"`
- DefaultedBytes []byte `protobuf:"bytes,214,opt,name=defaulted_bytes,json=defaultedBytes,def=dead\\336\\255\\276\\357beef" json:"defaulted_bytes,omitempty"`
- DefaultedChildEnum *Message_ChildEnum `protobuf:"varint,215,opt,name=defaulted_child_enum,json=defaultedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum,def=0" json:"defaulted_child_enum,omitempty"`
- DefaultedSiblingEnum *SiblingEnum `protobuf:"varint,216,opt,name=defaulted_sibling_enum,json=defaultedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum,def=0" json:"defaulted_sibling_enum,omitempty"`
- // Required fields.
- RequiredBool *bool `protobuf:"varint,300,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"`
- RequiredInt32 *int32 `protobuf:"varint,301,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"`
- RequiredSint32 *int32 `protobuf:"zigzag32,302,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"`
- RequiredUint32 *uint32 `protobuf:"varint,303,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"`
- RequiredInt64 *int64 `protobuf:"varint,304,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"`
- RequiredSint64 *int64 `protobuf:"zigzag64,305,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"`
- RequiredUint64 *uint64 `protobuf:"varint,306,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"`
- RequiredFixed32 *uint32 `protobuf:"fixed32,307,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"`
- RequiredSfixed32 *int32 `protobuf:"fixed32,308,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"`
- RequiredFloat *float32 `protobuf:"fixed32,309,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"`
- RequiredFixed64 *uint64 `protobuf:"fixed64,310,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"`
- RequiredSfixed64 *int64 `protobuf:"fixed64,311,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"`
- RequiredDouble *float64 `protobuf:"fixed64,312,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"`
- RequiredString *string `protobuf:"bytes,313,req,name=required_string,json=requiredString" json:"required_string,omitempty"`
- RequiredBytes []byte `protobuf:"bytes,314,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"`
- RequiredChildEnum *Message_ChildEnum `protobuf:"varint,315,req,name=required_child_enum,json=requiredChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum" json:"required_child_enum,omitempty"`
- RequiredChildMessage *Message_ChildMessage `protobuf:"bytes,316,req,name=required_child_message,json=requiredChildMessage" json:"required_child_message,omitempty"`
- RequiredNamedGroup *Message_NamedGroup `protobuf:"bytes,317,req,name=required_named_group,json=requiredNamedGroup" json:"required_named_group,omitempty"`
- RequiredSiblingEnum *SiblingEnum `protobuf:"varint,318,req,name=required_sibling_enum,json=requiredSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum" json:"required_sibling_enum,omitempty"`
- RequiredSiblingMessage *SiblingMessage `protobuf:"bytes,319,req,name=required_sibling_message,json=requiredSiblingMessage" json:"required_sibling_message,omitempty"`
- Requiredgroup *Message_RequiredGroup `protobuf:"group,320,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
- // Required default fields.
- RequiredDefaultedBool *bool `protobuf:"varint,400,req,name=required_defaulted_bool,json=requiredDefaultedBool,def=1" json:"required_defaulted_bool,omitempty"`
- RequiredDefaultedInt32 *int32 `protobuf:"varint,401,req,name=required_defaulted_int32,json=requiredDefaultedInt32,def=-12345" json:"required_defaulted_int32,omitempty"`
- RequiredDefaultedSint32 *int32 `protobuf:"zigzag32,402,req,name=required_defaulted_sint32,json=requiredDefaultedSint32,def=-3200" json:"required_defaulted_sint32,omitempty"`
- RequiredDefaultedUint32 *uint32 `protobuf:"varint,403,req,name=required_defaulted_uint32,json=requiredDefaultedUint32,def=3200" json:"required_defaulted_uint32,omitempty"`
- RequiredDefaultedInt64 *int64 `protobuf:"varint,404,req,name=required_defaulted_int64,json=requiredDefaultedInt64,def=-123456789" json:"required_defaulted_int64,omitempty"`
- RequiredDefaultedSint64 *int64 `protobuf:"zigzag64,405,req,name=required_defaulted_sint64,json=requiredDefaultedSint64,def=-6400" json:"required_defaulted_sint64,omitempty"`
- RequiredDefaultedUint64 *uint64 `protobuf:"varint,406,req,name=required_defaulted_uint64,json=requiredDefaultedUint64,def=6400" json:"required_defaulted_uint64,omitempty"`
- RequiredDefaultedFixed32 *uint32 `protobuf:"fixed32,407,req,name=required_defaulted_fixed32,json=requiredDefaultedFixed32,def=320000" json:"required_defaulted_fixed32,omitempty"`
- RequiredDefaultedSfixed32 *int32 `protobuf:"fixed32,408,req,name=required_defaulted_sfixed32,json=requiredDefaultedSfixed32,def=-320000" json:"required_defaulted_sfixed32,omitempty"`
- RequiredDefaultedFloat *float32 `protobuf:"fixed32,409,req,name=required_defaulted_float,json=requiredDefaultedFloat,def=3.14159" json:"required_defaulted_float,omitempty"`
- RequiredDefaultedFixed64 *uint64 `protobuf:"fixed64,410,req,name=required_defaulted_fixed64,json=requiredDefaultedFixed64,def=640000" json:"required_defaulted_fixed64,omitempty"`
- RequiredDefaultedSfixed64 *int64 `protobuf:"fixed64,411,req,name=required_defaulted_sfixed64,json=requiredDefaultedSfixed64,def=-640000" json:"required_defaulted_sfixed64,omitempty"`
- RequiredDefaultedDouble *float64 `protobuf:"fixed64,412,req,name=required_defaulted_double,json=requiredDefaultedDouble,def=3.14159265359" json:"required_defaulted_double,omitempty"`
- RequiredDefaultedString *string `protobuf:"bytes,413,req,name=required_defaulted_string,json=requiredDefaultedString,def=hello, \"world!\"\n" json:"required_defaulted_string,omitempty"`
- RequiredDefaultedBytes []byte `protobuf:"bytes,414,req,name=required_defaulted_bytes,json=requiredDefaultedBytes,def=dead\\336\\255\\276\\357beef" json:"required_defaulted_bytes,omitempty"`
- RequiredDefaultedChildEnum *Message_ChildEnum `protobuf:"varint,415,req,name=required_defaulted_child_enum,json=requiredDefaultedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum,def=0" json:"required_defaulted_child_enum,omitempty"`
- RequiredDefaultedSiblingEnum *SiblingEnum `protobuf:"varint,416,req,name=required_defaulted_sibling_enum,json=requiredDefaultedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum,def=0" json:"required_defaulted_sibling_enum,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,500,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,501,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,502,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,503,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,504,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,505,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,506,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,507,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,508,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,509,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,510,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,511,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,512,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,513,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,514,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,515,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,516,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
- RepeatedNamedGroup []*Message_NamedGroup `protobuf:"bytes,517,rep,name=repeated_named_group,json=repeatedNamedGroup" json:"repeated_named_group,omitempty"`
- RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,518,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,519,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
- Repeatedgroup []*Message_RepeatedGroup `protobuf:"group,520,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,600,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,601,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,602,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,603,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,604,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,605,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,606,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,607,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,608,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,609,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,610,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,611,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,612,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolString map[bool]string `protobuf:"bytes,613,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,614,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,615,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20160225.Message_ChildEnum"`
- MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,616,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolNamedGroup map[bool]*Message_NamedGroup `protobuf:"bytes,617,rep,name=map_bool_named_group,json=mapBoolNamedGroup" json:"map_bool_named_group,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,618,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20160225.SiblingEnum"`
- MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,619,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,620,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,621,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,622,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,623,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,624,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,625,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,626,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapStringBool map[string]bool `protobuf:"bytes,627,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- // Oneof fields.
- //
- // Types that are valid to be assigned to OneofUnion:
- // *Message_OneofBool
- // *Message_OneofInt32
- // *Message_OneofSint32
- // *Message_OneofUint32
- // *Message_OneofInt64
- // *Message_OneofSint64
- // *Message_OneofUint64
- // *Message_OneofFixed32
- // *Message_OneofSfixed32
- // *Message_OneofFloat
- // *Message_OneofFixed64
- // *Message_OneofSfixed64
- // *Message_OneofDouble
- // *Message_OneofString
- // *Message_OneofBytes
- // *Message_OneofChildEnum
- // *Message_OneofChildMessage
- // *Message_OneofNamedGroup
- // *Message_OneofSiblingEnum
- // *Message_OneofSiblingMessage
- // *Message_Oneofgroup
- // *Message_OneofString1
- // *Message_OneofString2
- // *Message_OneofString3
- OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
- // Oneof default fields.
- //
- // Types that are valid to be assigned to OneofDefaultedUnion:
- // *Message_OneofDefaultedBool
- // *Message_OneofDefaultedInt32
- // *Message_OneofDefaultedSint32
- // *Message_OneofDefaultedUint32
- // *Message_OneofDefaultedInt64
- // *Message_OneofDefaultedSint64
- // *Message_OneofDefaultedUint64
- // *Message_OneofDefaultedFixed32
- // *Message_OneofDefaultedSfixed32
- // *Message_OneofDefaultedFloat
- // *Message_OneofDefaultedFixed64
- // *Message_OneofDefaultedSfixed64
- // *Message_OneofDefaultedDouble
- // *Message_OneofDefaultedString
- // *Message_OneofDefaultedBytes
- // *Message_OneofDefaultedChildEnum
- // *Message_OneofDefaultedSiblingEnum
- OneofDefaultedUnion isMessage_OneofDefaultedUnion `protobuf_oneof:"oneof_defaulted_union"`
- XXX_extensions map[int32]proto.Extension `json:"-"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message) Reset() { *m = Message{} }
-func (m *Message) String() string { return proto.CompactTextString(m) }
-func (*Message) ProtoMessage() {}
-func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
-
-var extRange_Message = []proto.ExtensionRange{
- {10000, 536870911},
-}
-
-func (*Message) ExtensionRangeArray() []proto.ExtensionRange {
- return extRange_Message
-}
-func (m *Message) ExtensionMap() map[int32]proto.Extension {
- if m.XXX_extensions == nil {
- m.XXX_extensions = make(map[int32]proto.Extension)
- }
- return m.XXX_extensions
-}
-
-const Default_Message_DefaultedBool bool = true
-const Default_Message_DefaultedInt32 int32 = -12345
-const Default_Message_DefaultedSint32 int32 = -3200
-const Default_Message_DefaultedUint32 uint32 = 3200
-const Default_Message_DefaultedInt64 int64 = -123456789
-const Default_Message_DefaultedSint64 int64 = -6400
-const Default_Message_DefaultedUint64 uint64 = 6400
-const Default_Message_DefaultedFixed32 uint32 = 320000
-const Default_Message_DefaultedSfixed32 int32 = -320000
-const Default_Message_DefaultedFloat float32 = 3.14159
-const Default_Message_DefaultedFixed64 uint64 = 640000
-const Default_Message_DefaultedSfixed64 int64 = -640000
-const Default_Message_DefaultedDouble float64 = 3.14159265359
-const Default_Message_DefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_DefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
-
-const Default_Message_DefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_DefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-const Default_Message_RequiredDefaultedBool bool = true
-const Default_Message_RequiredDefaultedInt32 int32 = -12345
-const Default_Message_RequiredDefaultedSint32 int32 = -3200
-const Default_Message_RequiredDefaultedUint32 uint32 = 3200
-const Default_Message_RequiredDefaultedInt64 int64 = -123456789
-const Default_Message_RequiredDefaultedSint64 int64 = -6400
-const Default_Message_RequiredDefaultedUint64 uint64 = 6400
-const Default_Message_RequiredDefaultedFixed32 uint32 = 320000
-const Default_Message_RequiredDefaultedSfixed32 int32 = -320000
-const Default_Message_RequiredDefaultedFloat float32 = 3.14159
-const Default_Message_RequiredDefaultedFixed64 uint64 = 640000
-const Default_Message_RequiredDefaultedSfixed64 int64 = -640000
-const Default_Message_RequiredDefaultedDouble float64 = 3.14159265359
-const Default_Message_RequiredDefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_RequiredDefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
-
-const Default_Message_RequiredDefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_RequiredDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-const Default_Message_OneofDefaultedBool bool = true
-const Default_Message_OneofDefaultedInt32 int32 = -12345
-const Default_Message_OneofDefaultedSint32 int32 = -3200
-const Default_Message_OneofDefaultedUint32 uint32 = 3200
-const Default_Message_OneofDefaultedInt64 int64 = -123456789
-const Default_Message_OneofDefaultedSint64 int64 = -6400
-const Default_Message_OneofDefaultedUint64 uint64 = 6400
-const Default_Message_OneofDefaultedFixed32 uint32 = 320000
-const Default_Message_OneofDefaultedSfixed32 int32 = -320000
-const Default_Message_OneofDefaultedFloat float32 = 3.14159
-const Default_Message_OneofDefaultedFixed64 uint64 = 640000
-const Default_Message_OneofDefaultedSfixed64 int64 = -640000
-const Default_Message_OneofDefaultedDouble float64 = 3.14159265359
-const Default_Message_OneofDefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_OneofDefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
-
-const Default_Message_OneofDefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_OneofDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-
-type isMessage_OneofUnion interface{ isMessage_OneofUnion() }
-type isMessage_OneofDefaultedUnion interface{ isMessage_OneofDefaultedUnion() }
-
-type Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,700,opt,name=oneof_bool,json=oneofBool,oneof"`
-}
-type Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,701,opt,name=oneof_int32,json=oneofInt32,oneof"`
-}
-type Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,702,opt,name=oneof_sint32,json=oneofSint32,oneof"`
-}
-type Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,703,opt,name=oneof_uint32,json=oneofUint32,oneof"`
-}
-type Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,704,opt,name=oneof_int64,json=oneofInt64,oneof"`
-}
-type Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,705,opt,name=oneof_sint64,json=oneofSint64,oneof"`
-}
-type Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,706,opt,name=oneof_uint64,json=oneofUint64,oneof"`
-}
-type Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,707,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
-}
-type Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,708,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
-}
-type Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,709,opt,name=oneof_float,json=oneofFloat,oneof"`
-}
-type Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,710,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
-}
-type Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,711,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
-}
-type Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,712,opt,name=oneof_double,json=oneofDouble,oneof"`
-}
-type Message_OneofString struct {
- OneofString string `protobuf:"bytes,713,opt,name=oneof_string,json=oneofString,oneof"`
-}
-type Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,714,opt,name=oneof_bytes,json=oneofBytes,oneof"`
-}
-type Message_OneofChildEnum struct {
- OneofChildEnum Message_ChildEnum `protobuf:"varint,715,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum,oneof"`
-}
-type Message_OneofChildMessage struct {
- OneofChildMessage *Message_ChildMessage `protobuf:"bytes,716,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
-}
-type Message_OneofNamedGroup struct {
- OneofNamedGroup *Message_NamedGroup `protobuf:"bytes,717,opt,name=oneof_named_group,json=oneofNamedGroup,oneof"`
-}
-type Message_OneofSiblingEnum struct {
- OneofSiblingEnum SiblingEnum `protobuf:"varint,718,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum,oneof"`
-}
-type Message_OneofSiblingMessage struct {
- OneofSiblingMessage *SiblingMessage `protobuf:"bytes,719,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
-}
-type Message_Oneofgroup struct {
- Oneofgroup *Message_OneofGroup `protobuf:"group,720,opt,name=OneofGroup,json=oneofgroup,oneof"`
-}
-type Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,721,opt,name=oneof_string1,json=oneofString1,oneof"`
-}
-type Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,722,opt,name=oneof_string2,json=oneofString2,oneof"`
-}
-type Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,723,opt,name=oneof_string3,json=oneofString3,oneof"`
-}
-type Message_OneofDefaultedBool struct {
- OneofDefaultedBool bool `protobuf:"varint,800,opt,name=oneof_defaulted_bool,json=oneofDefaultedBool,oneof,def=1"`
-}
-type Message_OneofDefaultedInt32 struct {
- OneofDefaultedInt32 int32 `protobuf:"varint,801,opt,name=oneof_defaulted_int32,json=oneofDefaultedInt32,oneof,def=-12345"`
-}
-type Message_OneofDefaultedSint32 struct {
- OneofDefaultedSint32 int32 `protobuf:"zigzag32,802,opt,name=oneof_defaulted_sint32,json=oneofDefaultedSint32,oneof,def=-3200"`
-}
-type Message_OneofDefaultedUint32 struct {
- OneofDefaultedUint32 uint32 `protobuf:"varint,803,opt,name=oneof_defaulted_uint32,json=oneofDefaultedUint32,oneof,def=3200"`
-}
-type Message_OneofDefaultedInt64 struct {
- OneofDefaultedInt64 int64 `protobuf:"varint,804,opt,name=oneof_defaulted_int64,json=oneofDefaultedInt64,oneof,def=-123456789"`
-}
-type Message_OneofDefaultedSint64 struct {
- OneofDefaultedSint64 int64 `protobuf:"zigzag64,805,opt,name=oneof_defaulted_sint64,json=oneofDefaultedSint64,oneof,def=-6400"`
-}
-type Message_OneofDefaultedUint64 struct {
- OneofDefaultedUint64 uint64 `protobuf:"varint,806,opt,name=oneof_defaulted_uint64,json=oneofDefaultedUint64,oneof,def=6400"`
-}
-type Message_OneofDefaultedFixed32 struct {
- OneofDefaultedFixed32 uint32 `protobuf:"fixed32,807,opt,name=oneof_defaulted_fixed32,json=oneofDefaultedFixed32,oneof,def=320000"`
-}
-type Message_OneofDefaultedSfixed32 struct {
- OneofDefaultedSfixed32 int32 `protobuf:"fixed32,808,opt,name=oneof_defaulted_sfixed32,json=oneofDefaultedSfixed32,oneof,def=-320000"`
-}
-type Message_OneofDefaultedFloat struct {
- OneofDefaultedFloat float32 `protobuf:"fixed32,809,opt,name=oneof_defaulted_float,json=oneofDefaultedFloat,oneof,def=3.14159"`
-}
-type Message_OneofDefaultedFixed64 struct {
- OneofDefaultedFixed64 uint64 `protobuf:"fixed64,810,opt,name=oneof_defaulted_fixed64,json=oneofDefaultedFixed64,oneof,def=640000"`
-}
-type Message_OneofDefaultedSfixed64 struct {
- OneofDefaultedSfixed64 int64 `protobuf:"fixed64,811,opt,name=oneof_defaulted_sfixed64,json=oneofDefaultedSfixed64,oneof,def=-640000"`
-}
-type Message_OneofDefaultedDouble struct {
- OneofDefaultedDouble float64 `protobuf:"fixed64,812,opt,name=oneof_defaulted_double,json=oneofDefaultedDouble,oneof,def=3.14159265359"`
-}
-type Message_OneofDefaultedString struct {
- OneofDefaultedString string `protobuf:"bytes,813,opt,name=oneof_defaulted_string,json=oneofDefaultedString,oneof,def=hello, \"world!\"\n"`
-}
-type Message_OneofDefaultedBytes struct {
- OneofDefaultedBytes []byte `protobuf:"bytes,814,opt,name=oneof_defaulted_bytes,json=oneofDefaultedBytes,oneof,def=dead\\336\\255\\276\\357beef"`
-}
-type Message_OneofDefaultedChildEnum struct {
- OneofDefaultedChildEnum Message_ChildEnum `protobuf:"varint,815,opt,name=oneof_defaulted_child_enum,json=oneofDefaultedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum,oneof,def=0"`
-}
-type Message_OneofDefaultedSiblingEnum struct {
- OneofDefaultedSiblingEnum SiblingEnum `protobuf:"varint,816,opt,name=oneof_defaulted_sibling_enum,json=oneofDefaultedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum,oneof,def=0"`
-}
-
-func (*Message_OneofBool) isMessage_OneofUnion() {}
-func (*Message_OneofInt32) isMessage_OneofUnion() {}
-func (*Message_OneofSint32) isMessage_OneofUnion() {}
-func (*Message_OneofUint32) isMessage_OneofUnion() {}
-func (*Message_OneofInt64) isMessage_OneofUnion() {}
-func (*Message_OneofSint64) isMessage_OneofUnion() {}
-func (*Message_OneofUint64) isMessage_OneofUnion() {}
-func (*Message_OneofFixed32) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
-func (*Message_OneofFloat) isMessage_OneofUnion() {}
-func (*Message_OneofFixed64) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
-func (*Message_OneofDouble) isMessage_OneofUnion() {}
-func (*Message_OneofString) isMessage_OneofUnion() {}
-func (*Message_OneofBytes) isMessage_OneofUnion() {}
-func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
-func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
-func (*Message_OneofNamedGroup) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
-func (*Message_Oneofgroup) isMessage_OneofUnion() {}
-func (*Message_OneofString1) isMessage_OneofUnion() {}
-func (*Message_OneofString2) isMessage_OneofUnion() {}
-func (*Message_OneofString3) isMessage_OneofUnion() {}
-func (*Message_OneofDefaultedBool) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedInt32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSint32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedUint32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedInt64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSint64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedUint64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedFixed32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSfixed32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedFloat) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedFixed64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSfixed64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedDouble) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedString) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedBytes) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedChildEnum) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSiblingEnum) isMessage_OneofDefaultedUnion() {}
-
-func (m *Message) GetOneofUnion() isMessage_OneofUnion {
- if m != nil {
- return m.OneofUnion
- }
- return nil
-}
-func (m *Message) GetOneofDefaultedUnion() isMessage_OneofDefaultedUnion {
- if m != nil {
- return m.OneofDefaultedUnion
- }
- return nil
-}
-
-func (m *Message) GetNamedgroup() *Message_NamedGroup {
- if m != nil {
- return m.Namedgroup
- }
- return nil
-}
-
-func (m *Message) GetOptionalBool() bool {
- if m != nil && m.OptionalBool != nil {
- return *m.OptionalBool
- }
- return false
-}
-
-func (m *Message) GetOptionalInt32() int32 {
- if m != nil && m.OptionalInt32 != nil {
- return *m.OptionalInt32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint32() int32 {
- if m != nil && m.OptionalSint32 != nil {
- return *m.OptionalSint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint32() uint32 {
- if m != nil && m.OptionalUint32 != nil {
- return *m.OptionalUint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalInt64() int64 {
- if m != nil && m.OptionalInt64 != nil {
- return *m.OptionalInt64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint64() int64 {
- if m != nil && m.OptionalSint64 != nil {
- return *m.OptionalSint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint64() uint64 {
- if m != nil && m.OptionalUint64 != nil {
- return *m.OptionalUint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed32() uint32 {
- if m != nil && m.OptionalFixed32 != nil {
- return *m.OptionalFixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed32() int32 {
- if m != nil && m.OptionalSfixed32 != nil {
- return *m.OptionalSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalFloat() float32 {
- if m != nil && m.OptionalFloat != nil {
- return *m.OptionalFloat
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed64() uint64 {
- if m != nil && m.OptionalFixed64 != nil {
- return *m.OptionalFixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed64() int64 {
- if m != nil && m.OptionalSfixed64 != nil {
- return *m.OptionalSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalDouble() float64 {
- if m != nil && m.OptionalDouble != nil {
- return *m.OptionalDouble
- }
- return 0
-}
-
-func (m *Message) GetOptionalString() string {
- if m != nil && m.OptionalString != nil {
- return *m.OptionalString
- }
- return ""
-}
-
-func (m *Message) GetOptionalBytes() []byte {
- if m != nil {
- return m.OptionalBytes
- }
- return nil
-}
-
-func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
- if m != nil && m.OptionalChildEnum != nil {
- return *m.OptionalChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.OptionalChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalNamedGroup() *Message_NamedGroup {
- if m != nil {
- return m.OptionalNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
- if m != nil && m.OptionalSiblingEnum != nil {
- return *m.OptionalSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.OptionalSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalgroup() *Message_OptionalGroup {
- if m != nil {
- return m.Optionalgroup
- }
- return nil
-}
-
-func (m *Message) GetDefaultedBool() bool {
- if m != nil && m.DefaultedBool != nil {
- return *m.DefaultedBool
- }
- return Default_Message_DefaultedBool
-}
-
-func (m *Message) GetDefaultedInt32() int32 {
- if m != nil && m.DefaultedInt32 != nil {
- return *m.DefaultedInt32
- }
- return Default_Message_DefaultedInt32
-}
-
-func (m *Message) GetDefaultedSint32() int32 {
- if m != nil && m.DefaultedSint32 != nil {
- return *m.DefaultedSint32
- }
- return Default_Message_DefaultedSint32
-}
-
-func (m *Message) GetDefaultedUint32() uint32 {
- if m != nil && m.DefaultedUint32 != nil {
- return *m.DefaultedUint32
- }
- return Default_Message_DefaultedUint32
-}
-
-func (m *Message) GetDefaultedInt64() int64 {
- if m != nil && m.DefaultedInt64 != nil {
- return *m.DefaultedInt64
- }
- return Default_Message_DefaultedInt64
-}
-
-func (m *Message) GetDefaultedSint64() int64 {
- if m != nil && m.DefaultedSint64 != nil {
- return *m.DefaultedSint64
- }
- return Default_Message_DefaultedSint64
-}
-
-func (m *Message) GetDefaultedUint64() uint64 {
- if m != nil && m.DefaultedUint64 != nil {
- return *m.DefaultedUint64
- }
- return Default_Message_DefaultedUint64
-}
-
-func (m *Message) GetDefaultedFixed32() uint32 {
- if m != nil && m.DefaultedFixed32 != nil {
- return *m.DefaultedFixed32
- }
- return Default_Message_DefaultedFixed32
-}
-
-func (m *Message) GetDefaultedSfixed32() int32 {
- if m != nil && m.DefaultedSfixed32 != nil {
- return *m.DefaultedSfixed32
- }
- return Default_Message_DefaultedSfixed32
-}
-
-func (m *Message) GetDefaultedFloat() float32 {
- if m != nil && m.DefaultedFloat != nil {
- return *m.DefaultedFloat
- }
- return Default_Message_DefaultedFloat
-}
-
-func (m *Message) GetDefaultedFixed64() uint64 {
- if m != nil && m.DefaultedFixed64 != nil {
- return *m.DefaultedFixed64
- }
- return Default_Message_DefaultedFixed64
-}
-
-func (m *Message) GetDefaultedSfixed64() int64 {
- if m != nil && m.DefaultedSfixed64 != nil {
- return *m.DefaultedSfixed64
- }
- return Default_Message_DefaultedSfixed64
-}
-
-func (m *Message) GetDefaultedDouble() float64 {
- if m != nil && m.DefaultedDouble != nil {
- return *m.DefaultedDouble
- }
- return Default_Message_DefaultedDouble
-}
-
-func (m *Message) GetDefaultedString() string {
- if m != nil && m.DefaultedString != nil {
- return *m.DefaultedString
- }
- return Default_Message_DefaultedString
-}
-
-func (m *Message) GetDefaultedBytes() []byte {
- if m != nil && m.DefaultedBytes != nil {
- return m.DefaultedBytes
- }
- return append([]byte(nil), Default_Message_DefaultedBytes...)
-}
-
-func (m *Message) GetDefaultedChildEnum() Message_ChildEnum {
- if m != nil && m.DefaultedChildEnum != nil {
- return *m.DefaultedChildEnum
- }
- return Default_Message_DefaultedChildEnum
-}
-
-func (m *Message) GetDefaultedSiblingEnum() SiblingEnum {
- if m != nil && m.DefaultedSiblingEnum != nil {
- return *m.DefaultedSiblingEnum
- }
- return Default_Message_DefaultedSiblingEnum
-}
-
-func (m *Message) GetRequiredBool() bool {
- if m != nil && m.RequiredBool != nil {
- return *m.RequiredBool
- }
- return false
-}
-
-func (m *Message) GetRequiredInt32() int32 {
- if m != nil && m.RequiredInt32 != nil {
- return *m.RequiredInt32
- }
- return 0
-}
-
-func (m *Message) GetRequiredSint32() int32 {
- if m != nil && m.RequiredSint32 != nil {
- return *m.RequiredSint32
- }
- return 0
-}
-
-func (m *Message) GetRequiredUint32() uint32 {
- if m != nil && m.RequiredUint32 != nil {
- return *m.RequiredUint32
- }
- return 0
-}
-
-func (m *Message) GetRequiredInt64() int64 {
- if m != nil && m.RequiredInt64 != nil {
- return *m.RequiredInt64
- }
- return 0
-}
-
-func (m *Message) GetRequiredSint64() int64 {
- if m != nil && m.RequiredSint64 != nil {
- return *m.RequiredSint64
- }
- return 0
-}
-
-func (m *Message) GetRequiredUint64() uint64 {
- if m != nil && m.RequiredUint64 != nil {
- return *m.RequiredUint64
- }
- return 0
-}
-
-func (m *Message) GetRequiredFixed32() uint32 {
- if m != nil && m.RequiredFixed32 != nil {
- return *m.RequiredFixed32
- }
- return 0
-}
-
-func (m *Message) GetRequiredSfixed32() int32 {
- if m != nil && m.RequiredSfixed32 != nil {
- return *m.RequiredSfixed32
- }
- return 0
-}
-
-func (m *Message) GetRequiredFloat() float32 {
- if m != nil && m.RequiredFloat != nil {
- return *m.RequiredFloat
- }
- return 0
-}
-
-func (m *Message) GetRequiredFixed64() uint64 {
- if m != nil && m.RequiredFixed64 != nil {
- return *m.RequiredFixed64
- }
- return 0
-}
-
-func (m *Message) GetRequiredSfixed64() int64 {
- if m != nil && m.RequiredSfixed64 != nil {
- return *m.RequiredSfixed64
- }
- return 0
-}
-
-func (m *Message) GetRequiredDouble() float64 {
- if m != nil && m.RequiredDouble != nil {
- return *m.RequiredDouble
- }
- return 0
-}
-
-func (m *Message) GetRequiredString() string {
- if m != nil && m.RequiredString != nil {
- return *m.RequiredString
- }
- return ""
-}
-
-func (m *Message) GetRequiredBytes() []byte {
- if m != nil {
- return m.RequiredBytes
- }
- return nil
-}
-
-func (m *Message) GetRequiredChildEnum() Message_ChildEnum {
- if m != nil && m.RequiredChildEnum != nil {
- return *m.RequiredChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetRequiredChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.RequiredChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRequiredNamedGroup() *Message_NamedGroup {
- if m != nil {
- return m.RequiredNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetRequiredSiblingEnum() SiblingEnum {
- if m != nil && m.RequiredSiblingEnum != nil {
- return *m.RequiredSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetRequiredSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.RequiredSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRequiredgroup() *Message_RequiredGroup {
- if m != nil {
- return m.Requiredgroup
- }
- return nil
-}
-
-func (m *Message) GetRequiredDefaultedBool() bool {
- if m != nil && m.RequiredDefaultedBool != nil {
- return *m.RequiredDefaultedBool
- }
- return Default_Message_RequiredDefaultedBool
-}
-
-func (m *Message) GetRequiredDefaultedInt32() int32 {
- if m != nil && m.RequiredDefaultedInt32 != nil {
- return *m.RequiredDefaultedInt32
- }
- return Default_Message_RequiredDefaultedInt32
-}
-
-func (m *Message) GetRequiredDefaultedSint32() int32 {
- if m != nil && m.RequiredDefaultedSint32 != nil {
- return *m.RequiredDefaultedSint32
- }
- return Default_Message_RequiredDefaultedSint32
-}
-
-func (m *Message) GetRequiredDefaultedUint32() uint32 {
- if m != nil && m.RequiredDefaultedUint32 != nil {
- return *m.RequiredDefaultedUint32
- }
- return Default_Message_RequiredDefaultedUint32
-}
-
-func (m *Message) GetRequiredDefaultedInt64() int64 {
- if m != nil && m.RequiredDefaultedInt64 != nil {
- return *m.RequiredDefaultedInt64
- }
- return Default_Message_RequiredDefaultedInt64
-}
-
-func (m *Message) GetRequiredDefaultedSint64() int64 {
- if m != nil && m.RequiredDefaultedSint64 != nil {
- return *m.RequiredDefaultedSint64
- }
- return Default_Message_RequiredDefaultedSint64
-}
-
-func (m *Message) GetRequiredDefaultedUint64() uint64 {
- if m != nil && m.RequiredDefaultedUint64 != nil {
- return *m.RequiredDefaultedUint64
- }
- return Default_Message_RequiredDefaultedUint64
-}
-
-func (m *Message) GetRequiredDefaultedFixed32() uint32 {
- if m != nil && m.RequiredDefaultedFixed32 != nil {
- return *m.RequiredDefaultedFixed32
- }
- return Default_Message_RequiredDefaultedFixed32
-}
-
-func (m *Message) GetRequiredDefaultedSfixed32() int32 {
- if m != nil && m.RequiredDefaultedSfixed32 != nil {
- return *m.RequiredDefaultedSfixed32
- }
- return Default_Message_RequiredDefaultedSfixed32
-}
-
-func (m *Message) GetRequiredDefaultedFloat() float32 {
- if m != nil && m.RequiredDefaultedFloat != nil {
- return *m.RequiredDefaultedFloat
- }
- return Default_Message_RequiredDefaultedFloat
-}
-
-func (m *Message) GetRequiredDefaultedFixed64() uint64 {
- if m != nil && m.RequiredDefaultedFixed64 != nil {
- return *m.RequiredDefaultedFixed64
- }
- return Default_Message_RequiredDefaultedFixed64
-}
-
-func (m *Message) GetRequiredDefaultedSfixed64() int64 {
- if m != nil && m.RequiredDefaultedSfixed64 != nil {
- return *m.RequiredDefaultedSfixed64
- }
- return Default_Message_RequiredDefaultedSfixed64
-}
-
-func (m *Message) GetRequiredDefaultedDouble() float64 {
- if m != nil && m.RequiredDefaultedDouble != nil {
- return *m.RequiredDefaultedDouble
- }
- return Default_Message_RequiredDefaultedDouble
-}
-
-func (m *Message) GetRequiredDefaultedString() string {
- if m != nil && m.RequiredDefaultedString != nil {
- return *m.RequiredDefaultedString
- }
- return Default_Message_RequiredDefaultedString
-}
-
-func (m *Message) GetRequiredDefaultedBytes() []byte {
- if m != nil && m.RequiredDefaultedBytes != nil {
- return m.RequiredDefaultedBytes
- }
- return append([]byte(nil), Default_Message_RequiredDefaultedBytes...)
-}
-
-func (m *Message) GetRequiredDefaultedChildEnum() Message_ChildEnum {
- if m != nil && m.RequiredDefaultedChildEnum != nil {
- return *m.RequiredDefaultedChildEnum
- }
- return Default_Message_RequiredDefaultedChildEnum
-}
-
-func (m *Message) GetRequiredDefaultedSiblingEnum() SiblingEnum {
- if m != nil && m.RequiredDefaultedSiblingEnum != nil {
- return *m.RequiredDefaultedSiblingEnum
- }
- return Default_Message_RequiredDefaultedSiblingEnum
-}
-
-func (m *Message) GetRepeatedBool() []bool {
- if m != nil {
- return m.RepeatedBool
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt32() []int32 {
- if m != nil {
- return m.RepeatedInt32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint32() []int32 {
- if m != nil {
- return m.RepeatedSint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint32() []uint32 {
- if m != nil {
- return m.RepeatedUint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt64() []int64 {
- if m != nil {
- return m.RepeatedInt64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint64() []int64 {
- if m != nil {
- return m.RepeatedSint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint64() []uint64 {
- if m != nil {
- return m.RepeatedUint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed32() []uint32 {
- if m != nil {
- return m.RepeatedFixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed32() []int32 {
- if m != nil {
- return m.RepeatedSfixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFloat() []float32 {
- if m != nil {
- return m.RepeatedFloat
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed64() []uint64 {
- if m != nil {
- return m.RepeatedFixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed64() []int64 {
- if m != nil {
- return m.RepeatedSfixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedDouble() []float64 {
- if m != nil {
- return m.RepeatedDouble
- }
- return nil
-}
-
-func (m *Message) GetRepeatedString() []string {
- if m != nil {
- return m.RepeatedString
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBytes() [][]byte {
- if m != nil {
- return m.RepeatedBytes
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
- if m != nil {
- return m.RepeatedChildEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
- if m != nil {
- return m.RepeatedChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedNamedGroup() []*Message_NamedGroup {
- if m != nil {
- return m.RepeatedNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
- if m != nil {
- return m.RepeatedSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
- if m != nil {
- return m.RepeatedSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedgroup() []*Message_RepeatedGroup {
- if m != nil {
- return m.Repeatedgroup
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBool() map[bool]bool {
- if m != nil {
- return m.MapBoolBool
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt32() map[bool]int32 {
- if m != nil {
- return m.MapBoolInt32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolUint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt64() map[bool]int64 {
- if m != nil {
- return m.MapBoolInt64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolUint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolFixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSfixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFloat() map[bool]float32 {
- if m != nil {
- return m.MapBoolFloat
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolFixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSfixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolDouble() map[bool]float64 {
- if m != nil {
- return m.MapBoolDouble
- }
- return nil
-}
-
-func (m *Message) GetMapBoolString() map[bool]string {
- if m != nil {
- return m.MapBoolString
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBytes() map[bool][]byte {
- if m != nil {
- return m.MapBoolBytes
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
- if m != nil {
- return m.MapBoolChildEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
- if m != nil {
- return m.MapBoolChildMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolNamedGroup() map[bool]*Message_NamedGroup {
- if m != nil {
- return m.MapBoolNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
- if m != nil {
- return m.MapBoolSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
- if m != nil {
- return m.MapBoolSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapInt32Bool() map[int32]bool {
- if m != nil {
- return m.MapInt32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint32Bool() map[int32]bool {
- if m != nil {
- return m.MapSint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint32Bool() map[uint32]bool {
- if m != nil {
- return m.MapUint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapInt64Bool() map[int64]bool {
- if m != nil {
- return m.MapInt64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint64Bool() map[int64]bool {
- if m != nil {
- return m.MapSint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint64Bool() map[uint64]bool {
- if m != nil {
- return m.MapUint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapFixed32Bool() map[uint32]bool {
- if m != nil {
- return m.MapFixed32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapStringBool() map[string]bool {
- if m != nil {
- return m.MapStringBool
- }
- return nil
-}
-
-func (m *Message) GetOneofBool() bool {
- if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (m *Message) GetOneofInt32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
- return x.OneofInt32
- }
- return 0
-}
-
-func (m *Message) GetOneofSint32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
- return x.OneofSint32
- }
- return 0
-}
-
-func (m *Message) GetOneofUint32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (m *Message) GetOneofInt64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
- return x.OneofInt64
- }
- return 0
-}
-
-func (m *Message) GetOneofSint64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
- return x.OneofSint64
- }
- return 0
-}
-
-func (m *Message) GetOneofUint64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
- return x.OneofFixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
- return x.OneofSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofFloat() float32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
- return x.OneofFixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
- return x.OneofSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofDouble() float64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (m *Message) GetOneofString() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (m *Message) GetOneofBytes() []byte {
- if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (m *Message) GetOneofChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
- return x.OneofChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
- return x.OneofChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofNamedGroup() *Message_NamedGroup {
- if x, ok := m.GetOneofUnion().(*Message_OneofNamedGroup); ok {
- return x.OneofNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetOneofSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
- return x.OneofSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
- return x.OneofSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofgroup() *Message_OneofGroup {
- if x, ok := m.GetOneofUnion().(*Message_Oneofgroup); ok {
- return x.Oneofgroup
- }
- return nil
-}
-
-func (m *Message) GetOneofString1() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
- return x.OneofString1
- }
- return ""
-}
-
-func (m *Message) GetOneofString2() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
- return x.OneofString2
- }
- return ""
-}
-
-func (m *Message) GetOneofString3() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
- return x.OneofString3
- }
- return ""
-}
-
-func (m *Message) GetOneofDefaultedBool() bool {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBool); ok {
- return x.OneofDefaultedBool
- }
- return Default_Message_OneofDefaultedBool
-}
-
-func (m *Message) GetOneofDefaultedInt32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt32); ok {
- return x.OneofDefaultedInt32
- }
- return Default_Message_OneofDefaultedInt32
-}
-
-func (m *Message) GetOneofDefaultedSint32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint32); ok {
- return x.OneofDefaultedSint32
- }
- return Default_Message_OneofDefaultedSint32
-}
-
-func (m *Message) GetOneofDefaultedUint32() uint32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint32); ok {
- return x.OneofDefaultedUint32
- }
- return Default_Message_OneofDefaultedUint32
-}
-
-func (m *Message) GetOneofDefaultedInt64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt64); ok {
- return x.OneofDefaultedInt64
- }
- return Default_Message_OneofDefaultedInt64
-}
-
-func (m *Message) GetOneofDefaultedSint64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint64); ok {
- return x.OneofDefaultedSint64
- }
- return Default_Message_OneofDefaultedSint64
-}
-
-func (m *Message) GetOneofDefaultedUint64() uint64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint64); ok {
- return x.OneofDefaultedUint64
- }
- return Default_Message_OneofDefaultedUint64
-}
-
-func (m *Message) GetOneofDefaultedFixed32() uint32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed32); ok {
- return x.OneofDefaultedFixed32
- }
- return Default_Message_OneofDefaultedFixed32
-}
-
-func (m *Message) GetOneofDefaultedSfixed32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed32); ok {
- return x.OneofDefaultedSfixed32
- }
- return Default_Message_OneofDefaultedSfixed32
-}
-
-func (m *Message) GetOneofDefaultedFloat() float32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFloat); ok {
- return x.OneofDefaultedFloat
- }
- return Default_Message_OneofDefaultedFloat
-}
-
-func (m *Message) GetOneofDefaultedFixed64() uint64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed64); ok {
- return x.OneofDefaultedFixed64
- }
- return Default_Message_OneofDefaultedFixed64
-}
-
-func (m *Message) GetOneofDefaultedSfixed64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed64); ok {
- return x.OneofDefaultedSfixed64
- }
- return Default_Message_OneofDefaultedSfixed64
-}
-
-func (m *Message) GetOneofDefaultedDouble() float64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedDouble); ok {
- return x.OneofDefaultedDouble
- }
- return Default_Message_OneofDefaultedDouble
-}
-
-func (m *Message) GetOneofDefaultedString() string {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedString); ok {
- return x.OneofDefaultedString
- }
- return Default_Message_OneofDefaultedString
-}
-
-func (m *Message) GetOneofDefaultedBytes() []byte {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBytes); ok {
- return x.OneofDefaultedBytes
- }
- return append([]byte(nil), Default_Message_OneofDefaultedBytes...)
-}
-
-func (m *Message) GetOneofDefaultedChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedChildEnum); ok {
- return x.OneofDefaultedChildEnum
- }
- return Default_Message_OneofDefaultedChildEnum
-}
-
-func (m *Message) GetOneofDefaultedSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSiblingEnum); ok {
- return x.OneofDefaultedSiblingEnum
- }
- return Default_Message_OneofDefaultedSiblingEnum
-}
-
-// XXX_OneofFuncs is for the internal use of the proto package.
-func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
- return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
- (*Message_OneofBool)(nil),
- (*Message_OneofInt32)(nil),
- (*Message_OneofSint32)(nil),
- (*Message_OneofUint32)(nil),
- (*Message_OneofInt64)(nil),
- (*Message_OneofSint64)(nil),
- (*Message_OneofUint64)(nil),
- (*Message_OneofFixed32)(nil),
- (*Message_OneofSfixed32)(nil),
- (*Message_OneofFloat)(nil),
- (*Message_OneofFixed64)(nil),
- (*Message_OneofSfixed64)(nil),
- (*Message_OneofDouble)(nil),
- (*Message_OneofString)(nil),
- (*Message_OneofBytes)(nil),
- (*Message_OneofChildEnum)(nil),
- (*Message_OneofChildMessage)(nil),
- (*Message_OneofNamedGroup)(nil),
- (*Message_OneofSiblingEnum)(nil),
- (*Message_OneofSiblingMessage)(nil),
- (*Message_Oneofgroup)(nil),
- (*Message_OneofString1)(nil),
- (*Message_OneofString2)(nil),
- (*Message_OneofString3)(nil),
- (*Message_OneofDefaultedBool)(nil),
- (*Message_OneofDefaultedInt32)(nil),
- (*Message_OneofDefaultedSint32)(nil),
- (*Message_OneofDefaultedUint32)(nil),
- (*Message_OneofDefaultedInt64)(nil),
- (*Message_OneofDefaultedSint64)(nil),
- (*Message_OneofDefaultedUint64)(nil),
- (*Message_OneofDefaultedFixed32)(nil),
- (*Message_OneofDefaultedSfixed32)(nil),
- (*Message_OneofDefaultedFloat)(nil),
- (*Message_OneofDefaultedFixed64)(nil),
- (*Message_OneofDefaultedSfixed64)(nil),
- (*Message_OneofDefaultedDouble)(nil),
- (*Message_OneofDefaultedString)(nil),
- (*Message_OneofDefaultedBytes)(nil),
- (*Message_OneofDefaultedChildEnum)(nil),
- (*Message_OneofDefaultedSiblingEnum)(nil),
- }
-}
-
-func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- t := uint64(0)
- if x.OneofBool {
- t = 1
- }
- b.EncodeVarint(700<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofInt32:
- b.EncodeVarint(701<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- b.EncodeVarint(702<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofSint32))
- case *Message_OneofUint32:
- b.EncodeVarint(703<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- b.EncodeVarint(704<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- b.EncodeVarint(705<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofSint64))
- case *Message_OneofUint64:
- b.EncodeVarint(706<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- b.EncodeVarint(707<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofFixed32))
- case *Message_OneofSfixed32:
- b.EncodeVarint(708<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofSfixed32))
- case *Message_OneofFloat:
- b.EncodeVarint(709<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
- case *Message_OneofFixed64:
- b.EncodeVarint(710<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofFixed64))
- case *Message_OneofSfixed64:
- b.EncodeVarint(711<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofSfixed64))
- case *Message_OneofDouble:
- b.EncodeVarint(712<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDouble))
- case *Message_OneofString:
- b.EncodeVarint(713<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString)
- case *Message_OneofBytes:
- b.EncodeVarint(714<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofBytes)
- case *Message_OneofChildEnum:
- b.EncodeVarint(715<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- b.EncodeVarint(716<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
- return err
- }
- case *Message_OneofNamedGroup:
- b.EncodeVarint(717<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofNamedGroup); err != nil {
- return err
- }
- case *Message_OneofSiblingEnum:
- b.EncodeVarint(718<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- b.EncodeVarint(719<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
- return err
- }
- case *Message_Oneofgroup:
- b.EncodeVarint(720<<3 | proto.WireStartGroup)
- if err := b.Marshal(x.Oneofgroup); err != nil {
- return err
- }
- b.EncodeVarint(720<<3 | proto.WireEndGroup)
- case *Message_OneofString1:
- b.EncodeVarint(721<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString1)
- case *Message_OneofString2:
- b.EncodeVarint(722<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString2)
- case *Message_OneofString3:
- b.EncodeVarint(723<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString3)
- case nil:
- default:
- return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
- }
- // oneof_defaulted_union
- switch x := m.OneofDefaultedUnion.(type) {
- case *Message_OneofDefaultedBool:
- t := uint64(0)
- if x.OneofDefaultedBool {
- t = 1
- }
- b.EncodeVarint(800<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofDefaultedInt32:
- b.EncodeVarint(801<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedInt32))
- case *Message_OneofDefaultedSint32:
- b.EncodeVarint(802<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofDefaultedSint32))
- case *Message_OneofDefaultedUint32:
- b.EncodeVarint(803<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedUint32))
- case *Message_OneofDefaultedInt64:
- b.EncodeVarint(804<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedInt64))
- case *Message_OneofDefaultedSint64:
- b.EncodeVarint(805<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofDefaultedSint64))
- case *Message_OneofDefaultedUint64:
- b.EncodeVarint(806<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedUint64))
- case *Message_OneofDefaultedFixed32:
- b.EncodeVarint(807<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofDefaultedFixed32))
- case *Message_OneofDefaultedSfixed32:
- b.EncodeVarint(808<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofDefaultedSfixed32))
- case *Message_OneofDefaultedFloat:
- b.EncodeVarint(809<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofDefaultedFloat)))
- case *Message_OneofDefaultedFixed64:
- b.EncodeVarint(810<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofDefaultedFixed64))
- case *Message_OneofDefaultedSfixed64:
- b.EncodeVarint(811<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofDefaultedSfixed64))
- case *Message_OneofDefaultedDouble:
- b.EncodeVarint(812<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDefaultedDouble))
- case *Message_OneofDefaultedString:
- b.EncodeVarint(813<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofDefaultedString)
- case *Message_OneofDefaultedBytes:
- b.EncodeVarint(814<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofDefaultedBytes)
- case *Message_OneofDefaultedChildEnum:
- b.EncodeVarint(815<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedChildEnum))
- case *Message_OneofDefaultedSiblingEnum:
- b.EncodeVarint(816<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedSiblingEnum))
- case nil:
- default:
- return fmt.Errorf("Message.OneofDefaultedUnion has unexpected type %T", x)
- }
- return nil
-}
-
-func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*Message)
- switch tag {
- case 700: // oneof_union.oneof_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofBool{x != 0}
- return true, err
- case 701: // oneof_union.oneof_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt32{int32(x)}
- return true, err
- case 702: // oneof_union.oneof_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofUnion = &Message_OneofSint32{int32(x)}
- return true, err
- case 703: // oneof_union.oneof_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint32{uint32(x)}
- return true, err
- case 704: // oneof_union.oneof_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt64{int64(x)}
- return true, err
- case 705: // oneof_union.oneof_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofUnion = &Message_OneofSint64{int64(x)}
- return true, err
- case 706: // oneof_union.oneof_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint64{x}
- return true, err
- case 707: // oneof_union.oneof_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFixed32{uint32(x)}
- return true, err
- case 708: // oneof_union.oneof_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofSfixed32{int32(x)}
- return true, err
- case 709: // oneof_union.oneof_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 710: // oneof_union.oneof_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofFixed64{x}
- return true, err
- case 711: // oneof_union.oneof_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofSfixed64{int64(x)}
- return true, err
- case 712: // oneof_union.oneof_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
- return true, err
- case 713: // oneof_union.oneof_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString{x}
- return true, err
- case 714: // oneof_union.oneof_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofUnion = &Message_OneofBytes{x}
- return true, err
- case 715: // oneof_union.oneof_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
- return true, err
- case 716: // oneof_union.oneof_child_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_ChildMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofChildMessage{msg}
- return true, err
- case 717: // oneof_union.oneof_named_group
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_NamedGroup)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofNamedGroup{msg}
- return true, err
- case 718: // oneof_union.oneof_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
- return true, err
- case 719: // oneof_union.oneof_sibling_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(SiblingMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofSiblingMessage{msg}
- return true, err
- case 720: // oneof_union.oneofgroup
- if wire != proto.WireStartGroup {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_OneofGroup)
- err := b.DecodeGroup(msg)
- m.OneofUnion = &Message_Oneofgroup{msg}
- return true, err
- case 721: // oneof_union.oneof_string1
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString1{x}
- return true, err
- case 722: // oneof_union.oneof_string2
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString2{x}
- return true, err
- case 723: // oneof_union.oneof_string3
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString3{x}
- return true, err
- case 800: // oneof_defaulted_union.oneof_defaulted_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedBool{x != 0}
- return true, err
- case 801: // oneof_defaulted_union.oneof_defaulted_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedInt32{int32(x)}
- return true, err
- case 802: // oneof_defaulted_union.oneof_defaulted_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSint32{int32(x)}
- return true, err
- case 803: // oneof_defaulted_union.oneof_defaulted_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedUint32{uint32(x)}
- return true, err
- case 804: // oneof_defaulted_union.oneof_defaulted_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedInt64{int64(x)}
- return true, err
- case 805: // oneof_defaulted_union.oneof_defaulted_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSint64{int64(x)}
- return true, err
- case 806: // oneof_defaulted_union.oneof_defaulted_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedUint64{x}
- return true, err
- case 807: // oneof_defaulted_union.oneof_defaulted_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFixed32{uint32(x)}
- return true, err
- case 808: // oneof_defaulted_union.oneof_defaulted_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed32{int32(x)}
- return true, err
- case 809: // oneof_defaulted_union.oneof_defaulted_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 810: // oneof_defaulted_union.oneof_defaulted_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFixed64{x}
- return true, err
- case 811: // oneof_defaulted_union.oneof_defaulted_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed64{int64(x)}
- return true, err
- case 812: // oneof_defaulted_union.oneof_defaulted_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedDouble{math.Float64frombits(x)}
- return true, err
- case 813: // oneof_defaulted_union.oneof_defaulted_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofDefaultedUnion = &Message_OneofDefaultedString{x}
- return true, err
- case 814: // oneof_defaulted_union.oneof_defaulted_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofDefaultedUnion = &Message_OneofDefaultedBytes{x}
- return true, err
- case 815: // oneof_defaulted_union.oneof_defaulted_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedChildEnum{Message_ChildEnum(x)}
- return true, err
- case 816: // oneof_defaulted_union.oneof_defaulted_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSiblingEnum{SiblingEnum(x)}
- return true, err
- default:
- return false, nil
- }
-}
-
-func _Message_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- n += proto.SizeVarint(700<<3 | proto.WireVarint)
- n += 1
- case *Message_OneofInt32:
- n += proto.SizeVarint(701<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- n += proto.SizeVarint(702<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
- case *Message_OneofUint32:
- n += proto.SizeVarint(703<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- n += proto.SizeVarint(704<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- n += proto.SizeVarint(705<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
- case *Message_OneofUint64:
- n += proto.SizeVarint(706<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- n += proto.SizeVarint(707<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofSfixed32:
- n += proto.SizeVarint(708<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofFloat:
- n += proto.SizeVarint(709<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofFixed64:
- n += proto.SizeVarint(710<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofSfixed64:
- n += proto.SizeVarint(711<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDouble:
- n += proto.SizeVarint(712<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofString:
- n += proto.SizeVarint(713<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString)))
- n += len(x.OneofString)
- case *Message_OneofBytes:
- n += proto.SizeVarint(714<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofBytes)))
- n += len(x.OneofBytes)
- case *Message_OneofChildEnum:
- n += proto.SizeVarint(715<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- s := proto.Size(x.OneofChildMessage)
- n += proto.SizeVarint(716<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofNamedGroup:
- s := proto.Size(x.OneofNamedGroup)
- n += proto.SizeVarint(717<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofSiblingEnum:
- n += proto.SizeVarint(718<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- s := proto.Size(x.OneofSiblingMessage)
- n += proto.SizeVarint(719<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_Oneofgroup:
- n += proto.SizeVarint(720<<3 | proto.WireStartGroup)
- n += proto.Size(x.Oneofgroup)
- n += proto.SizeVarint(720<<3 | proto.WireEndGroup)
- case *Message_OneofString1:
- n += proto.SizeVarint(721<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString1)))
- n += len(x.OneofString1)
- case *Message_OneofString2:
- n += proto.SizeVarint(722<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString2)))
- n += len(x.OneofString2)
- case *Message_OneofString3:
- n += proto.SizeVarint(723<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString3)))
- n += len(x.OneofString3)
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- // oneof_defaulted_union
- switch x := m.OneofDefaultedUnion.(type) {
- case *Message_OneofDefaultedBool:
- n += proto.SizeVarint(800<<3 | proto.WireVarint)
- n += 1
- case *Message_OneofDefaultedInt32:
- n += proto.SizeVarint(801<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedInt32))
- case *Message_OneofDefaultedSint32:
- n += proto.SizeVarint(802<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64((uint32(x.OneofDefaultedSint32) << 1) ^ uint32((int32(x.OneofDefaultedSint32) >> 31))))
- case *Message_OneofDefaultedUint32:
- n += proto.SizeVarint(803<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedUint32))
- case *Message_OneofDefaultedInt64:
- n += proto.SizeVarint(804<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedInt64))
- case *Message_OneofDefaultedSint64:
- n += proto.SizeVarint(805<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(uint64(x.OneofDefaultedSint64<<1) ^ uint64((int64(x.OneofDefaultedSint64) >> 63))))
- case *Message_OneofDefaultedUint64:
- n += proto.SizeVarint(806<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedUint64))
- case *Message_OneofDefaultedFixed32:
- n += proto.SizeVarint(807<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofDefaultedSfixed32:
- n += proto.SizeVarint(808<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofDefaultedFloat:
- n += proto.SizeVarint(809<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofDefaultedFixed64:
- n += proto.SizeVarint(810<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDefaultedSfixed64:
- n += proto.SizeVarint(811<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDefaultedDouble:
- n += proto.SizeVarint(812<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDefaultedString:
- n += proto.SizeVarint(813<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofDefaultedString)))
- n += len(x.OneofDefaultedString)
- case *Message_OneofDefaultedBytes:
- n += proto.SizeVarint(814<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofDefaultedBytes)))
- n += len(x.OneofDefaultedBytes)
- case *Message_OneofDefaultedChildEnum:
- n += proto.SizeVarint(815<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedChildEnum))
- case *Message_OneofDefaultedSiblingEnum:
- n += proto.SizeVarint(816<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedSiblingEnum))
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
-}
-
-var E_Message_ExtensionOptionalBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*bool)(nil),
- Field: 10000,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_bool",
- Tag: "varint,10000,opt,name=extension_optional_bool,json=extensionOptionalBool",
-}
-
-var E_Message_ExtensionOptionalInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10001,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_int32",
- Tag: "varint,10001,opt,name=extension_optional_int32,json=extensionOptionalInt32",
-}
-
-var E_Message_ExtensionOptionalSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10002,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_sint32",
- Tag: "zigzag32,10002,opt,name=extension_optional_sint32,json=extensionOptionalSint32",
-}
-
-var E_Message_ExtensionOptionalUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 10003,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_uint32",
- Tag: "varint,10003,opt,name=extension_optional_uint32,json=extensionOptionalUint32",
-}
-
-var E_Message_ExtensionOptionalInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10004,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_int64",
- Tag: "varint,10004,opt,name=extension_optional_int64,json=extensionOptionalInt64",
-}
-
-var E_Message_ExtensionOptionalSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10005,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_sint64",
- Tag: "zigzag64,10005,opt,name=extension_optional_sint64,json=extensionOptionalSint64",
-}
-
-var E_Message_ExtensionOptionalUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 10006,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_uint64",
- Tag: "varint,10006,opt,name=extension_optional_uint64,json=extensionOptionalUint64",
-}
-
-var E_Message_ExtensionOptionalFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 10007,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_fixed32",
- Tag: "fixed32,10007,opt,name=extension_optional_fixed32,json=extensionOptionalFixed32",
-}
-
-var E_Message_ExtensionOptionalSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10008,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_sfixed32",
- Tag: "fixed32,10008,opt,name=extension_optional_sfixed32,json=extensionOptionalSfixed32",
-}
-
-var E_Message_ExtensionOptionalFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float32)(nil),
- Field: 10009,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_float",
- Tag: "fixed32,10009,opt,name=extension_optional_float,json=extensionOptionalFloat",
-}
-
-var E_Message_ExtensionOptionalFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 10010,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_fixed64",
- Tag: "fixed64,10010,opt,name=extension_optional_fixed64,json=extensionOptionalFixed64",
-}
-
-var E_Message_ExtensionOptionalSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10011,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_sfixed64",
- Tag: "fixed64,10011,opt,name=extension_optional_sfixed64,json=extensionOptionalSfixed64",
-}
-
-var E_Message_ExtensionOptionalDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float64)(nil),
- Field: 10012,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_double",
- Tag: "fixed64,10012,opt,name=extension_optional_double,json=extensionOptionalDouble",
-}
-
-var E_Message_ExtensionOptionalString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 10013,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_string",
- Tag: "bytes,10013,opt,name=extension_optional_string,json=extensionOptionalString",
-}
-
-var E_Message_ExtensionOptionalBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 10014,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_bytes",
- Tag: "bytes,10014,opt,name=extension_optional_bytes,json=extensionOptionalBytes",
-}
-
-var E_Message_ExtensionOptionalChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildEnum)(nil),
- Field: 10015,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_child_enum",
- Tag: "varint,10015,opt,name=extension_optional_child_enum,json=extensionOptionalChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum",
-}
-
-var E_Message_ExtensionOptionalChildMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildMessage)(nil),
- Field: 10016,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_child_message",
- Tag: "bytes,10016,opt,name=extension_optional_child_message,json=extensionOptionalChildMessage",
-}
-
-var E_Message_ExtensionOptionalNamedGroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_NamedGroup)(nil),
- Field: 10017,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_named_group",
- Tag: "bytes,10017,opt,name=extension_optional_named_group,json=extensionOptionalNamedGroup",
-}
-
-var E_Message_ExtensionOptionalSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingEnum)(nil),
- Field: 10018,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_sibling_enum",
- Tag: "varint,10018,opt,name=extension_optional_sibling_enum,json=extensionOptionalSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum",
-}
-
-var E_Message_ExtensionOptionalSiblingMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingMessage)(nil),
- Field: 10019,
- Name: "google.golang.org.proto2_20160225.Message.extension_optional_sibling_message",
- Tag: "bytes,10019,opt,name=extension_optional_sibling_message,json=extensionOptionalSiblingMessage",
-}
-
-var E_Message_Extensionoptionalgroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ExtensionOptionalGroup)(nil),
- Field: 10020,
- Name: "google.golang.org.proto2_20160225.Message.extensionoptionalgroup",
- Tag: "group,10020,opt,name=ExtensionOptionalGroup,json=extensionoptionalgroup",
-}
-
-var E_Message_ExtensionDefaultedBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*bool)(nil),
- Field: 20000,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_bool",
- Tag: "varint,20000,opt,name=extension_defaulted_bool,json=extensionDefaultedBool,def=1",
-}
-
-var E_Message_ExtensionDefaultedInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20001,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_int32",
- Tag: "varint,20001,opt,name=extension_defaulted_int32,json=extensionDefaultedInt32,def=-12345",
-}
-
-var E_Message_ExtensionDefaultedSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20002,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sint32",
- Tag: "zigzag32,20002,opt,name=extension_defaulted_sint32,json=extensionDefaultedSint32,def=-3200",
-}
-
-var E_Message_ExtensionDefaultedUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 20003,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_uint32",
- Tag: "varint,20003,opt,name=extension_defaulted_uint32,json=extensionDefaultedUint32,def=3200",
-}
-
-var E_Message_ExtensionDefaultedInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20004,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_int64",
- Tag: "varint,20004,opt,name=extension_defaulted_int64,json=extensionDefaultedInt64,def=-123456789",
-}
-
-var E_Message_ExtensionDefaultedSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20005,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sint64",
- Tag: "zigzag64,20005,opt,name=extension_defaulted_sint64,json=extensionDefaultedSint64,def=-6400",
-}
-
-var E_Message_ExtensionDefaultedUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 20006,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_uint64",
- Tag: "varint,20006,opt,name=extension_defaulted_uint64,json=extensionDefaultedUint64,def=6400",
-}
-
-var E_Message_ExtensionDefaultedFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 20007,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_fixed32",
- Tag: "fixed32,20007,opt,name=extension_defaulted_fixed32,json=extensionDefaultedFixed32,def=320000",
-}
-
-var E_Message_ExtensionDefaultedSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20008,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sfixed32",
- Tag: "fixed32,20008,opt,name=extension_defaulted_sfixed32,json=extensionDefaultedSfixed32,def=-320000",
-}
-
-var E_Message_ExtensionDefaultedFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float32)(nil),
- Field: 20009,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_float",
- Tag: "fixed32,20009,opt,name=extension_defaulted_float,json=extensionDefaultedFloat,def=3.14159",
-}
-
-var E_Message_ExtensionDefaultedFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 20010,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_fixed64",
- Tag: "fixed64,20010,opt,name=extension_defaulted_fixed64,json=extensionDefaultedFixed64,def=640000",
-}
-
-var E_Message_ExtensionDefaultedSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20011,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sfixed64",
- Tag: "fixed64,20011,opt,name=extension_defaulted_sfixed64,json=extensionDefaultedSfixed64,def=-640000",
-}
-
-var E_Message_ExtensionDefaultedDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float64)(nil),
- Field: 20012,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_double",
- Tag: "fixed64,20012,opt,name=extension_defaulted_double,json=extensionDefaultedDouble,def=3.14159265359",
-}
-
-var E_Message_ExtensionDefaultedString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 20013,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_string",
- Tag: "bytes,20013,opt,name=extension_defaulted_string,json=extensionDefaultedString,def=hello, \"world!\"\n",
-}
-
-var E_Message_ExtensionDefaultedBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 20014,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_bytes",
- Tag: "bytes,20014,opt,name=extension_defaulted_bytes,json=extensionDefaultedBytes,def=dead\\336\\255\\276\\357beef",
-}
-
-var E_Message_ExtensionDefaultedChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildEnum)(nil),
- Field: 20015,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_child_enum",
- Tag: "varint,20015,opt,name=extension_defaulted_child_enum,json=extensionDefaultedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum,def=0",
-}
-
-var E_Message_ExtensionDefaultedSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingEnum)(nil),
- Field: 20016,
- Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sibling_enum",
- Tag: "varint,20016,opt,name=extension_defaulted_sibling_enum,json=extensionDefaultedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum,def=0",
-}
-
-var E_Message_ExtensionRepeatedBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]bool)(nil),
- Field: 30000,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_bool",
- Tag: "varint,30000,rep,name=extension_repeated_bool,json=extensionRepeatedBool",
-}
-
-var E_Message_ExtensionRepeatedInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30001,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_int32",
- Tag: "varint,30001,rep,name=extension_repeated_int32,json=extensionRepeatedInt32",
-}
-
-var E_Message_ExtensionRepeatedSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30002,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sint32",
- Tag: "zigzag32,30002,rep,name=extension_repeated_sint32,json=extensionRepeatedSint32",
-}
-
-var E_Message_ExtensionRepeatedUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 30003,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_uint32",
- Tag: "varint,30003,rep,name=extension_repeated_uint32,json=extensionRepeatedUint32",
-}
-
-var E_Message_ExtensionRepeatedInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30004,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_int64",
- Tag: "varint,30004,rep,name=extension_repeated_int64,json=extensionRepeatedInt64",
-}
-
-var E_Message_ExtensionRepeatedSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30005,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sint64",
- Tag: "zigzag64,30005,rep,name=extension_repeated_sint64,json=extensionRepeatedSint64",
-}
-
-var E_Message_ExtensionRepeatedUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 30006,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_uint64",
- Tag: "varint,30006,rep,name=extension_repeated_uint64,json=extensionRepeatedUint64",
-}
-
-var E_Message_ExtensionRepeatedFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 30007,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_fixed32",
- Tag: "fixed32,30007,rep,name=extension_repeated_fixed32,json=extensionRepeatedFixed32",
-}
-
-var E_Message_ExtensionRepeatedSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30008,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sfixed32",
- Tag: "fixed32,30008,rep,name=extension_repeated_sfixed32,json=extensionRepeatedSfixed32",
-}
-
-var E_Message_ExtensionRepeatedFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]float32)(nil),
- Field: 30009,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_float",
- Tag: "fixed32,30009,rep,name=extension_repeated_float,json=extensionRepeatedFloat",
-}
-
-var E_Message_ExtensionRepeatedFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 30010,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_fixed64",
- Tag: "fixed64,30010,rep,name=extension_repeated_fixed64,json=extensionRepeatedFixed64",
-}
-
-var E_Message_ExtensionRepeatedSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30011,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sfixed64",
- Tag: "fixed64,30011,rep,name=extension_repeated_sfixed64,json=extensionRepeatedSfixed64",
-}
-
-var E_Message_ExtensionRepeatedDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]float64)(nil),
- Field: 30012,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_double",
- Tag: "fixed64,30012,rep,name=extension_repeated_double,json=extensionRepeatedDouble",
-}
-
-var E_Message_ExtensionRepeatedString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]string)(nil),
- Field: 30013,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_string",
- Tag: "bytes,30013,rep,name=extension_repeated_string,json=extensionRepeatedString",
-}
-
-var E_Message_ExtensionRepeatedBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([][]byte)(nil),
- Field: 30014,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_bytes",
- Tag: "bytes,30014,rep,name=extension_repeated_bytes,json=extensionRepeatedBytes",
-}
-
-var E_Message_ExtensionRepeatedChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]Message_ChildEnum)(nil),
- Field: 30015,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_child_enum",
- Tag: "varint,30015,rep,name=extension_repeated_child_enum,json=extensionRepeatedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum",
-}
-
-var E_Message_ExtensionRepeatedChildMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_ChildMessage)(nil),
- Field: 30016,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_child_message",
- Tag: "bytes,30016,rep,name=extension_repeated_child_message,json=extensionRepeatedChildMessage",
-}
-
-var E_Message_ExtensionRepeatedNamedGroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_NamedGroup)(nil),
- Field: 30017,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_named_group",
- Tag: "bytes,30017,rep,name=extension_repeated_named_group,json=extensionRepeatedNamedGroup",
-}
-
-var E_Message_ExtensionRepeatedSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]SiblingEnum)(nil),
- Field: 30018,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sibling_enum",
- Tag: "varint,30018,rep,name=extension_repeated_sibling_enum,json=extensionRepeatedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum",
-}
-
-var E_Message_ExtensionRepeatedSiblingMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*SiblingMessage)(nil),
- Field: 30019,
- Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sibling_message",
- Tag: "bytes,30019,rep,name=extension_repeated_sibling_message,json=extensionRepeatedSiblingMessage",
-}
-
-var E_Message_Extensionrepeatedgroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_ExtensionRepeatedGroup)(nil),
- Field: 30020,
- Name: "google.golang.org.proto2_20160225.Message.extensionrepeatedgroup",
- Tag: "group,30020,rep,name=ExtensionRepeatedGroup,json=extensionrepeatedgroup",
-}
-
-type Message_ChildMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
-func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
-func (*Message_ChildMessage) ProtoMessage() {}
-func (*Message_ChildMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
-
-func (m *Message_ChildMessage) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *Message_ChildMessage) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message_NamedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_NamedGroup) Reset() { *m = Message_NamedGroup{} }
-func (m *Message_NamedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_NamedGroup) ProtoMessage() {}
-func (*Message_NamedGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 1} }
-
-func (m *Message_NamedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_NamedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_NamedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *Message_NamedGroup) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message_OptionalGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_OptionalGroup) Reset() { *m = Message_OptionalGroup{} }
-func (m *Message_OptionalGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_OptionalGroup) ProtoMessage() {}
-func (*Message_OptionalGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 2} }
-
-func (m *Message_OptionalGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_OptionalGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_OptionalGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_RequiredGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_RequiredGroup) Reset() { *m = Message_RequiredGroup{} }
-func (m *Message_RequiredGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_RequiredGroup) ProtoMessage() {}
-func (*Message_RequiredGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 3} }
-
-func (m *Message_RequiredGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_RequiredGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_RequiredGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_RepeatedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_RepeatedGroup) Reset() { *m = Message_RepeatedGroup{} }
-func (m *Message_RepeatedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_RepeatedGroup) ProtoMessage() {}
-func (*Message_RepeatedGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 4} }
-
-func (m *Message_RepeatedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_RepeatedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_RepeatedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_OneofGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_OneofGroup) Reset() { *m = Message_OneofGroup{} }
-func (m *Message_OneofGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_OneofGroup) ProtoMessage() {}
-func (*Message_OneofGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 33} }
-
-func (m *Message_OneofGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_OneofGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_OneofGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_ExtensionOptionalGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_ExtensionOptionalGroup) Reset() { *m = Message_ExtensionOptionalGroup{} }
-func (m *Message_ExtensionOptionalGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_ExtensionOptionalGroup) ProtoMessage() {}
-func (*Message_ExtensionOptionalGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor0, []int{1, 34}
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_ExtensionRepeatedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_ExtensionRepeatedGroup) Reset() { *m = Message_ExtensionRepeatedGroup{} }
-func (m *Message_ExtensionRepeatedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_ExtensionRepeatedGroup) ProtoMessage() {}
-func (*Message_ExtensionRepeatedGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor0, []int{1, 35}
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto2_20160225.SiblingMessage")
- proto.RegisterType((*Message)(nil), "google.golang.org.proto2_20160225.Message")
- proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto2_20160225.Message.ChildMessage")
- proto.RegisterType((*Message_NamedGroup)(nil), "google.golang.org.proto2_20160225.Message.NamedGroup")
- proto.RegisterType((*Message_OptionalGroup)(nil), "google.golang.org.proto2_20160225.Message.OptionalGroup")
- proto.RegisterType((*Message_RequiredGroup)(nil), "google.golang.org.proto2_20160225.Message.RequiredGroup")
- proto.RegisterType((*Message_RepeatedGroup)(nil), "google.golang.org.proto2_20160225.Message.RepeatedGroup")
- proto.RegisterType((*Message_OneofGroup)(nil), "google.golang.org.proto2_20160225.Message.OneofGroup")
- proto.RegisterType((*Message_ExtensionOptionalGroup)(nil), "google.golang.org.proto2_20160225.Message.ExtensionOptionalGroup")
- proto.RegisterType((*Message_ExtensionRepeatedGroup)(nil), "google.golang.org.proto2_20160225.Message.ExtensionRepeatedGroup")
- proto.RegisterEnum("google.golang.org.proto2_20160225.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
- proto.RegisterEnum("google.golang.org.proto2_20160225.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
- proto.RegisterExtension(E_Message_ExtensionOptionalBool)
- proto.RegisterExtension(E_Message_ExtensionOptionalInt32)
- proto.RegisterExtension(E_Message_ExtensionOptionalSint32)
- proto.RegisterExtension(E_Message_ExtensionOptionalUint32)
- proto.RegisterExtension(E_Message_ExtensionOptionalInt64)
- proto.RegisterExtension(E_Message_ExtensionOptionalSint64)
- proto.RegisterExtension(E_Message_ExtensionOptionalUint64)
- proto.RegisterExtension(E_Message_ExtensionOptionalFixed32)
- proto.RegisterExtension(E_Message_ExtensionOptionalSfixed32)
- proto.RegisterExtension(E_Message_ExtensionOptionalFloat)
- proto.RegisterExtension(E_Message_ExtensionOptionalFixed64)
- proto.RegisterExtension(E_Message_ExtensionOptionalSfixed64)
- proto.RegisterExtension(E_Message_ExtensionOptionalDouble)
- proto.RegisterExtension(E_Message_ExtensionOptionalString)
- proto.RegisterExtension(E_Message_ExtensionOptionalBytes)
- proto.RegisterExtension(E_Message_ExtensionOptionalChildEnum)
- proto.RegisterExtension(E_Message_ExtensionOptionalChildMessage)
- proto.RegisterExtension(E_Message_ExtensionOptionalNamedGroup)
- proto.RegisterExtension(E_Message_ExtensionOptionalSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionOptionalSiblingMessage)
- proto.RegisterExtension(E_Message_Extensionoptionalgroup)
- proto.RegisterExtension(E_Message_ExtensionDefaultedBool)
- proto.RegisterExtension(E_Message_ExtensionDefaultedInt32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSint32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedUint32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedInt64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSint64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedUint64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFixed32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFloat)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFixed64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedDouble)
- proto.RegisterExtension(E_Message_ExtensionDefaultedString)
- proto.RegisterExtension(E_Message_ExtensionDefaultedBytes)
- proto.RegisterExtension(E_Message_ExtensionDefaultedChildEnum)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedBool)
- proto.RegisterExtension(E_Message_ExtensionRepeatedInt32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSint32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedUint32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedInt64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSint64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedUint64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFixed32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFloat)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFixed64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedDouble)
- proto.RegisterExtension(E_Message_ExtensionRepeatedString)
- proto.RegisterExtension(E_Message_ExtensionRepeatedBytes)
- proto.RegisterExtension(E_Message_ExtensionRepeatedChildEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedChildMessage)
- proto.RegisterExtension(E_Message_ExtensionRepeatedNamedGroup)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingMessage)
- proto.RegisterExtension(E_Message_Extensionrepeatedgroup)
-}
-
-var fileDescriptor0 = []byte{
- // 4469 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5c, 0x69, 0x70, 0x23, 0xc7,
- 0x75, 0xe6, 0x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x56, 0x99, 0x66, 0x0f, 0x7c, 0x8e,
- 0x93, 0x3a, 0xd4, 0x31, 0x54, 0x60, 0xbc, 0x27, 0xed, 0x3f, 0xa2, 0x1e, 0x43, 0xe9, 0x37, 0x9c,
- 0x6d, 0x96, 0xf8, 0x79, 0xb6, 0xc4, 0x94, 0xe7, 0x50, 0xfa, 0x3d, 0xeb, 0x84, 0xe5, 0xac, 0x14,
- 0xc4, 0xab, 0xfa, 0xbd, 0xf6, 0x66, 0xa7, 0xbd, 0x32, 0x1b, 0x7f, 0x47, 0x92, 0x7d, 0x70, 0xd9,
- 0x22, 0xda, 0xaf, 0xbe, 0x27, 0x6e, 0x7a, 0x20, 0x8a, 0xdc, 0x09, 0xf9, 0x40, 0xf4, 0x05, 0x67,
- 0xe5, 0x35, 0x3f, 0x5e, 0x8b, 0x2d, 0xfb, 0x18, 0x5b, 0xf6, 0xe9, 0x5e, 0xe3, 0xd8, 0x66, 0xbb,
- 0x5b, 0xdf, 0x6e, 0xaf, 0x35, 0xd9, 0xef, 0xdc, 0xb2, 0xd1, 0x9d, 0x63, 0xcd, 0xfa, 0xc6, 0xda,
- 0x99, 0x73, 0xc7, 0x92, 0x7e, 0x12, 0xf7, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x96, 0xc9,
- 0xde, 0x2d, 0x57, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160225_2fc053c5/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160225_2fc053c5/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160225_2fc053c5/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/test.pb.go
deleted file mode 100644
index 5511441021..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/test.pb.go
+++ /dev/null
@@ -1,3534 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go.
-// source: proto2_20160519_a4ab9ec5/test.proto
-// DO NOT EDIT!
-
-/*
-Package proto2_20160519_a4ab9ec5 is a generated protocol buffer package.
-
-It is generated from these files:
-
- proto2_20160519_a4ab9ec5/test.proto
-
-It has these top-level messages:
-
- SiblingMessage
- Message
-*/
-package proto2_20160519_a4ab9ec5
-
-import proto "google.golang.org/protobuf/internal/protolegacy"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-const _ = proto.ProtoPackageIsVersion1
-
-type SiblingEnum int32
-
-const (
- SiblingEnum_ALPHA SiblingEnum = 0
- SiblingEnum_BRAVO SiblingEnum = 10
- SiblingEnum_CHARLIE SiblingEnum = 200
-)
-
-var SiblingEnum_name = map[int32]string{
- 0: "ALPHA",
- 10: "BRAVO",
- 200: "CHARLIE",
-}
-var SiblingEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 10,
- "CHARLIE": 200,
-}
-
-func (x SiblingEnum) Enum() *SiblingEnum {
- p := new(SiblingEnum)
- *p = x
- return p
-}
-func (x SiblingEnum) String() string {
- return proto.EnumName(SiblingEnum_name, int32(x))
-}
-func (x *SiblingEnum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum")
- if err != nil {
- return err
- }
- *x = SiblingEnum(value)
- return nil
-}
-func (SiblingEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-
-type Message_ChildEnum int32
-
-const (
- Message_ALPHA Message_ChildEnum = 0
- Message_BRAVO Message_ChildEnum = 1
- Message_CHARLIE Message_ChildEnum = 2
-)
-
-var Message_ChildEnum_name = map[int32]string{
- 0: "ALPHA",
- 1: "BRAVO",
- 2: "CHARLIE",
-}
-var Message_ChildEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 1,
- "CHARLIE": 2,
-}
-
-func (x Message_ChildEnum) Enum() *Message_ChildEnum {
- p := new(Message_ChildEnum)
- *p = x
- return p
-}
-func (x Message_ChildEnum) String() string {
- return proto.EnumName(Message_ChildEnum_name, int32(x))
-}
-func (x *Message_ChildEnum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum")
- if err != nil {
- return err
- }
- *x = Message_ChildEnum(value)
- return nil
-}
-func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
-
-type SiblingMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
-func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
-func (*SiblingMessage) ProtoMessage() {}
-func (*SiblingMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-
-func (m *SiblingMessage) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *SiblingMessage) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message struct {
- Namedgroup *Message_NamedGroup `protobuf:"group,1,opt,name=NamedGroup,json=namedgroup" json:"namedgroup,omitempty"`
- // Optional fields.
- OptionalBool *bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
- OptionalInt32 *int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
- OptionalSint32 *int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
- OptionalUint32 *uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
- OptionalInt64 *int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
- OptionalSint64 *int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
- OptionalUint64 *uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
- OptionalFixed32 *uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 *int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
- OptionalFloat *float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
- OptionalFixed64 *uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 *int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
- OptionalDouble *float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
- OptionalString *string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
- OptionalChildEnum *Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
- OptionalNamedGroup *Message_NamedGroup `protobuf:"bytes,117,opt,name=optional_named_group,json=optionalNamedGroup" json:"optional_named_group,omitempty"`
- OptionalSiblingEnum *SiblingEnum `protobuf:"varint,118,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,119,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
- Optionalgroup *Message_OptionalGroup `protobuf:"group,120,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
- // Optional default fields.
- DefaultedBool *bool `protobuf:"varint,200,opt,name=defaulted_bool,json=defaultedBool,def=1" json:"defaulted_bool,omitempty"`
- DefaultedInt32 *int32 `protobuf:"varint,201,opt,name=defaulted_int32,json=defaultedInt32,def=-12345" json:"defaulted_int32,omitempty"`
- DefaultedSint32 *int32 `protobuf:"zigzag32,202,opt,name=defaulted_sint32,json=defaultedSint32,def=-3200" json:"defaulted_sint32,omitempty"`
- DefaultedUint32 *uint32 `protobuf:"varint,203,opt,name=defaulted_uint32,json=defaultedUint32,def=3200" json:"defaulted_uint32,omitempty"`
- DefaultedInt64 *int64 `protobuf:"varint,204,opt,name=defaulted_int64,json=defaultedInt64,def=-123456789" json:"defaulted_int64,omitempty"`
- DefaultedSint64 *int64 `protobuf:"zigzag64,205,opt,name=defaulted_sint64,json=defaultedSint64,def=-6400" json:"defaulted_sint64,omitempty"`
- DefaultedUint64 *uint64 `protobuf:"varint,206,opt,name=defaulted_uint64,json=defaultedUint64,def=6400" json:"defaulted_uint64,omitempty"`
- DefaultedFixed32 *uint32 `protobuf:"fixed32,207,opt,name=defaulted_fixed32,json=defaultedFixed32,def=320000" json:"defaulted_fixed32,omitempty"`
- DefaultedSfixed32 *int32 `protobuf:"fixed32,208,opt,name=defaulted_sfixed32,json=defaultedSfixed32,def=-320000" json:"defaulted_sfixed32,omitempty"`
- DefaultedFloat *float32 `protobuf:"fixed32,209,opt,name=defaulted_float,json=defaultedFloat,def=3.14159" json:"defaulted_float,omitempty"`
- DefaultedFixed64 *uint64 `protobuf:"fixed64,210,opt,name=defaulted_fixed64,json=defaultedFixed64,def=640000" json:"defaulted_fixed64,omitempty"`
- DefaultedSfixed64 *int64 `protobuf:"fixed64,211,opt,name=defaulted_sfixed64,json=defaultedSfixed64,def=-640000" json:"defaulted_sfixed64,omitempty"`
- DefaultedDouble *float64 `protobuf:"fixed64,212,opt,name=defaulted_double,json=defaultedDouble,def=3.14159265359" json:"defaulted_double,omitempty"`
- DefaultedString *string `protobuf:"bytes,213,opt,name=defaulted_string,json=defaultedString,def=hello, \"world!\"\n" json:"defaulted_string,omitempty"`
- DefaultedBytes []byte `protobuf:"bytes,214,opt,name=defaulted_bytes,json=defaultedBytes,def=dead\\336\\255\\276\\357beef" json:"defaulted_bytes,omitempty"`
- DefaultedChildEnum *Message_ChildEnum `protobuf:"varint,215,opt,name=defaulted_child_enum,json=defaultedChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum,def=0" json:"defaulted_child_enum,omitempty"`
- DefaultedSiblingEnum *SiblingEnum `protobuf:"varint,216,opt,name=defaulted_sibling_enum,json=defaultedSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum,def=0" json:"defaulted_sibling_enum,omitempty"`
- // Required fields.
- RequiredBool *bool `protobuf:"varint,300,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"`
- RequiredInt32 *int32 `protobuf:"varint,301,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"`
- RequiredSint32 *int32 `protobuf:"zigzag32,302,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"`
- RequiredUint32 *uint32 `protobuf:"varint,303,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"`
- RequiredInt64 *int64 `protobuf:"varint,304,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"`
- RequiredSint64 *int64 `protobuf:"zigzag64,305,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"`
- RequiredUint64 *uint64 `protobuf:"varint,306,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"`
- RequiredFixed32 *uint32 `protobuf:"fixed32,307,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"`
- RequiredSfixed32 *int32 `protobuf:"fixed32,308,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"`
- RequiredFloat *float32 `protobuf:"fixed32,309,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"`
- RequiredFixed64 *uint64 `protobuf:"fixed64,310,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"`
- RequiredSfixed64 *int64 `protobuf:"fixed64,311,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"`
- RequiredDouble *float64 `protobuf:"fixed64,312,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"`
- RequiredString *string `protobuf:"bytes,313,req,name=required_string,json=requiredString" json:"required_string,omitempty"`
- RequiredBytes []byte `protobuf:"bytes,314,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"`
- RequiredChildEnum *Message_ChildEnum `protobuf:"varint,315,req,name=required_child_enum,json=requiredChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum" json:"required_child_enum,omitempty"`
- RequiredChildMessage *Message_ChildMessage `protobuf:"bytes,316,req,name=required_child_message,json=requiredChildMessage" json:"required_child_message,omitempty"`
- RequiredNamedGroup *Message_NamedGroup `protobuf:"bytes,317,req,name=required_named_group,json=requiredNamedGroup" json:"required_named_group,omitempty"`
- RequiredSiblingEnum *SiblingEnum `protobuf:"varint,318,req,name=required_sibling_enum,json=requiredSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum" json:"required_sibling_enum,omitempty"`
- RequiredSiblingMessage *SiblingMessage `protobuf:"bytes,319,req,name=required_sibling_message,json=requiredSiblingMessage" json:"required_sibling_message,omitempty"`
- Requiredgroup *Message_RequiredGroup `protobuf:"group,320,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
- // Required default fields.
- RequiredDefaultedBool *bool `protobuf:"varint,400,req,name=required_defaulted_bool,json=requiredDefaultedBool,def=1" json:"required_defaulted_bool,omitempty"`
- RequiredDefaultedInt32 *int32 `protobuf:"varint,401,req,name=required_defaulted_int32,json=requiredDefaultedInt32,def=-12345" json:"required_defaulted_int32,omitempty"`
- RequiredDefaultedSint32 *int32 `protobuf:"zigzag32,402,req,name=required_defaulted_sint32,json=requiredDefaultedSint32,def=-3200" json:"required_defaulted_sint32,omitempty"`
- RequiredDefaultedUint32 *uint32 `protobuf:"varint,403,req,name=required_defaulted_uint32,json=requiredDefaultedUint32,def=3200" json:"required_defaulted_uint32,omitempty"`
- RequiredDefaultedInt64 *int64 `protobuf:"varint,404,req,name=required_defaulted_int64,json=requiredDefaultedInt64,def=-123456789" json:"required_defaulted_int64,omitempty"`
- RequiredDefaultedSint64 *int64 `protobuf:"zigzag64,405,req,name=required_defaulted_sint64,json=requiredDefaultedSint64,def=-6400" json:"required_defaulted_sint64,omitempty"`
- RequiredDefaultedUint64 *uint64 `protobuf:"varint,406,req,name=required_defaulted_uint64,json=requiredDefaultedUint64,def=6400" json:"required_defaulted_uint64,omitempty"`
- RequiredDefaultedFixed32 *uint32 `protobuf:"fixed32,407,req,name=required_defaulted_fixed32,json=requiredDefaultedFixed32,def=320000" json:"required_defaulted_fixed32,omitempty"`
- RequiredDefaultedSfixed32 *int32 `protobuf:"fixed32,408,req,name=required_defaulted_sfixed32,json=requiredDefaultedSfixed32,def=-320000" json:"required_defaulted_sfixed32,omitempty"`
- RequiredDefaultedFloat *float32 `protobuf:"fixed32,409,req,name=required_defaulted_float,json=requiredDefaultedFloat,def=3.14159" json:"required_defaulted_float,omitempty"`
- RequiredDefaultedFixed64 *uint64 `protobuf:"fixed64,410,req,name=required_defaulted_fixed64,json=requiredDefaultedFixed64,def=640000" json:"required_defaulted_fixed64,omitempty"`
- RequiredDefaultedSfixed64 *int64 `protobuf:"fixed64,411,req,name=required_defaulted_sfixed64,json=requiredDefaultedSfixed64,def=-640000" json:"required_defaulted_sfixed64,omitempty"`
- RequiredDefaultedDouble *float64 `protobuf:"fixed64,412,req,name=required_defaulted_double,json=requiredDefaultedDouble,def=3.14159265359" json:"required_defaulted_double,omitempty"`
- RequiredDefaultedString *string `protobuf:"bytes,413,req,name=required_defaulted_string,json=requiredDefaultedString,def=hello, \"world!\"\n" json:"required_defaulted_string,omitempty"`
- RequiredDefaultedBytes []byte `protobuf:"bytes,414,req,name=required_defaulted_bytes,json=requiredDefaultedBytes,def=dead\\336\\255\\276\\357beef" json:"required_defaulted_bytes,omitempty"`
- RequiredDefaultedChildEnum *Message_ChildEnum `protobuf:"varint,415,req,name=required_defaulted_child_enum,json=requiredDefaultedChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum,def=0" json:"required_defaulted_child_enum,omitempty"`
- RequiredDefaultedSiblingEnum *SiblingEnum `protobuf:"varint,416,req,name=required_defaulted_sibling_enum,json=requiredDefaultedSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum,def=0" json:"required_defaulted_sibling_enum,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,500,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,501,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,502,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,503,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,504,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,505,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,506,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,507,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,508,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,509,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,510,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,511,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,512,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,513,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,514,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,515,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,516,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
- RepeatedNamedGroup []*Message_NamedGroup `protobuf:"bytes,517,rep,name=repeated_named_group,json=repeatedNamedGroup" json:"repeated_named_group,omitempty"`
- RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,518,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,519,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
- Repeatedgroup []*Message_RepeatedGroup `protobuf:"group,520,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,600,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,601,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,602,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,603,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,604,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,605,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,606,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,607,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,608,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,609,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,610,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,611,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,612,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolString map[bool]string `protobuf:"bytes,613,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,614,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,615,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20160519.Message_ChildEnum"`
- MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,616,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolNamedGroup map[bool]*Message_NamedGroup `protobuf:"bytes,617,rep,name=map_bool_named_group,json=mapBoolNamedGroup" json:"map_bool_named_group,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,618,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20160519.SiblingEnum"`
- MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,619,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,620,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,621,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,622,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,623,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,624,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,625,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,626,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapStringBool map[string]bool `protobuf:"bytes,627,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- // Oneof fields.
- //
- // Types that are valid to be assigned to OneofUnion:
- // *Message_OneofBool
- // *Message_OneofInt32
- // *Message_OneofSint32
- // *Message_OneofUint32
- // *Message_OneofInt64
- // *Message_OneofSint64
- // *Message_OneofUint64
- // *Message_OneofFixed32
- // *Message_OneofSfixed32
- // *Message_OneofFloat
- // *Message_OneofFixed64
- // *Message_OneofSfixed64
- // *Message_OneofDouble
- // *Message_OneofString
- // *Message_OneofBytes
- // *Message_OneofChildEnum
- // *Message_OneofChildMessage
- // *Message_OneofNamedGroup
- // *Message_OneofSiblingEnum
- // *Message_OneofSiblingMessage
- // *Message_Oneofgroup
- // *Message_OneofString1
- // *Message_OneofString2
- // *Message_OneofString3
- OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
- // Oneof default fields.
- //
- // Types that are valid to be assigned to OneofDefaultedUnion:
- // *Message_OneofDefaultedBool
- // *Message_OneofDefaultedInt32
- // *Message_OneofDefaultedSint32
- // *Message_OneofDefaultedUint32
- // *Message_OneofDefaultedInt64
- // *Message_OneofDefaultedSint64
- // *Message_OneofDefaultedUint64
- // *Message_OneofDefaultedFixed32
- // *Message_OneofDefaultedSfixed32
- // *Message_OneofDefaultedFloat
- // *Message_OneofDefaultedFixed64
- // *Message_OneofDefaultedSfixed64
- // *Message_OneofDefaultedDouble
- // *Message_OneofDefaultedString
- // *Message_OneofDefaultedBytes
- // *Message_OneofDefaultedChildEnum
- // *Message_OneofDefaultedSiblingEnum
- OneofDefaultedUnion isMessage_OneofDefaultedUnion `protobuf_oneof:"oneof_defaulted_union"`
- XXX_extensions map[int32]proto.Extension `json:"-"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message) Reset() { *m = Message{} }
-func (m *Message) String() string { return proto.CompactTextString(m) }
-func (*Message) ProtoMessage() {}
-func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
-
-var extRange_Message = []proto.ExtensionRange{
- {10000, 536870911},
-}
-
-func (*Message) ExtensionRangeArray() []proto.ExtensionRange {
- return extRange_Message
-}
-func (m *Message) ExtensionMap() map[int32]proto.Extension {
- if m.XXX_extensions == nil {
- m.XXX_extensions = make(map[int32]proto.Extension)
- }
- return m.XXX_extensions
-}
-
-const Default_Message_DefaultedBool bool = true
-const Default_Message_DefaultedInt32 int32 = -12345
-const Default_Message_DefaultedSint32 int32 = -3200
-const Default_Message_DefaultedUint32 uint32 = 3200
-const Default_Message_DefaultedInt64 int64 = -123456789
-const Default_Message_DefaultedSint64 int64 = -6400
-const Default_Message_DefaultedUint64 uint64 = 6400
-const Default_Message_DefaultedFixed32 uint32 = 320000
-const Default_Message_DefaultedSfixed32 int32 = -320000
-const Default_Message_DefaultedFloat float32 = 3.14159
-const Default_Message_DefaultedFixed64 uint64 = 640000
-const Default_Message_DefaultedSfixed64 int64 = -640000
-const Default_Message_DefaultedDouble float64 = 3.14159265359
-const Default_Message_DefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_DefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
-
-const Default_Message_DefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_DefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-const Default_Message_RequiredDefaultedBool bool = true
-const Default_Message_RequiredDefaultedInt32 int32 = -12345
-const Default_Message_RequiredDefaultedSint32 int32 = -3200
-const Default_Message_RequiredDefaultedUint32 uint32 = 3200
-const Default_Message_RequiredDefaultedInt64 int64 = -123456789
-const Default_Message_RequiredDefaultedSint64 int64 = -6400
-const Default_Message_RequiredDefaultedUint64 uint64 = 6400
-const Default_Message_RequiredDefaultedFixed32 uint32 = 320000
-const Default_Message_RequiredDefaultedSfixed32 int32 = -320000
-const Default_Message_RequiredDefaultedFloat float32 = 3.14159
-const Default_Message_RequiredDefaultedFixed64 uint64 = 640000
-const Default_Message_RequiredDefaultedSfixed64 int64 = -640000
-const Default_Message_RequiredDefaultedDouble float64 = 3.14159265359
-const Default_Message_RequiredDefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_RequiredDefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
-
-const Default_Message_RequiredDefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_RequiredDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-const Default_Message_OneofDefaultedBool bool = true
-const Default_Message_OneofDefaultedInt32 int32 = -12345
-const Default_Message_OneofDefaultedSint32 int32 = -3200
-const Default_Message_OneofDefaultedUint32 uint32 = 3200
-const Default_Message_OneofDefaultedInt64 int64 = -123456789
-const Default_Message_OneofDefaultedSint64 int64 = -6400
-const Default_Message_OneofDefaultedUint64 uint64 = 6400
-const Default_Message_OneofDefaultedFixed32 uint32 = 320000
-const Default_Message_OneofDefaultedSfixed32 int32 = -320000
-const Default_Message_OneofDefaultedFloat float32 = 3.14159
-const Default_Message_OneofDefaultedFixed64 uint64 = 640000
-const Default_Message_OneofDefaultedSfixed64 int64 = -640000
-const Default_Message_OneofDefaultedDouble float64 = 3.14159265359
-const Default_Message_OneofDefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_OneofDefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
-
-const Default_Message_OneofDefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_OneofDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-
-type isMessage_OneofUnion interface{ isMessage_OneofUnion() }
-type isMessage_OneofDefaultedUnion interface{ isMessage_OneofDefaultedUnion() }
-
-type Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,700,opt,name=oneof_bool,json=oneofBool,oneof"`
-}
-type Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,701,opt,name=oneof_int32,json=oneofInt32,oneof"`
-}
-type Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,702,opt,name=oneof_sint32,json=oneofSint32,oneof"`
-}
-type Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,703,opt,name=oneof_uint32,json=oneofUint32,oneof"`
-}
-type Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,704,opt,name=oneof_int64,json=oneofInt64,oneof"`
-}
-type Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,705,opt,name=oneof_sint64,json=oneofSint64,oneof"`
-}
-type Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,706,opt,name=oneof_uint64,json=oneofUint64,oneof"`
-}
-type Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,707,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
-}
-type Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,708,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
-}
-type Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,709,opt,name=oneof_float,json=oneofFloat,oneof"`
-}
-type Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,710,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
-}
-type Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,711,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
-}
-type Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,712,opt,name=oneof_double,json=oneofDouble,oneof"`
-}
-type Message_OneofString struct {
- OneofString string `protobuf:"bytes,713,opt,name=oneof_string,json=oneofString,oneof"`
-}
-type Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,714,opt,name=oneof_bytes,json=oneofBytes,oneof"`
-}
-type Message_OneofChildEnum struct {
- OneofChildEnum Message_ChildEnum `protobuf:"varint,715,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum,oneof"`
-}
-type Message_OneofChildMessage struct {
- OneofChildMessage *Message_ChildMessage `protobuf:"bytes,716,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
-}
-type Message_OneofNamedGroup struct {
- OneofNamedGroup *Message_NamedGroup `protobuf:"bytes,717,opt,name=oneof_named_group,json=oneofNamedGroup,oneof"`
-}
-type Message_OneofSiblingEnum struct {
- OneofSiblingEnum SiblingEnum `protobuf:"varint,718,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum,oneof"`
-}
-type Message_OneofSiblingMessage struct {
- OneofSiblingMessage *SiblingMessage `protobuf:"bytes,719,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
-}
-type Message_Oneofgroup struct {
- Oneofgroup *Message_OneofGroup `protobuf:"group,720,opt,name=OneofGroup,json=oneofgroup,oneof"`
-}
-type Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,721,opt,name=oneof_string1,json=oneofString1,oneof"`
-}
-type Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,722,opt,name=oneof_string2,json=oneofString2,oneof"`
-}
-type Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,723,opt,name=oneof_string3,json=oneofString3,oneof"`
-}
-type Message_OneofDefaultedBool struct {
- OneofDefaultedBool bool `protobuf:"varint,800,opt,name=oneof_defaulted_bool,json=oneofDefaultedBool,oneof,def=1"`
-}
-type Message_OneofDefaultedInt32 struct {
- OneofDefaultedInt32 int32 `protobuf:"varint,801,opt,name=oneof_defaulted_int32,json=oneofDefaultedInt32,oneof,def=-12345"`
-}
-type Message_OneofDefaultedSint32 struct {
- OneofDefaultedSint32 int32 `protobuf:"zigzag32,802,opt,name=oneof_defaulted_sint32,json=oneofDefaultedSint32,oneof,def=-3200"`
-}
-type Message_OneofDefaultedUint32 struct {
- OneofDefaultedUint32 uint32 `protobuf:"varint,803,opt,name=oneof_defaulted_uint32,json=oneofDefaultedUint32,oneof,def=3200"`
-}
-type Message_OneofDefaultedInt64 struct {
- OneofDefaultedInt64 int64 `protobuf:"varint,804,opt,name=oneof_defaulted_int64,json=oneofDefaultedInt64,oneof,def=-123456789"`
-}
-type Message_OneofDefaultedSint64 struct {
- OneofDefaultedSint64 int64 `protobuf:"zigzag64,805,opt,name=oneof_defaulted_sint64,json=oneofDefaultedSint64,oneof,def=-6400"`
-}
-type Message_OneofDefaultedUint64 struct {
- OneofDefaultedUint64 uint64 `protobuf:"varint,806,opt,name=oneof_defaulted_uint64,json=oneofDefaultedUint64,oneof,def=6400"`
-}
-type Message_OneofDefaultedFixed32 struct {
- OneofDefaultedFixed32 uint32 `protobuf:"fixed32,807,opt,name=oneof_defaulted_fixed32,json=oneofDefaultedFixed32,oneof,def=320000"`
-}
-type Message_OneofDefaultedSfixed32 struct {
- OneofDefaultedSfixed32 int32 `protobuf:"fixed32,808,opt,name=oneof_defaulted_sfixed32,json=oneofDefaultedSfixed32,oneof,def=-320000"`
-}
-type Message_OneofDefaultedFloat struct {
- OneofDefaultedFloat float32 `protobuf:"fixed32,809,opt,name=oneof_defaulted_float,json=oneofDefaultedFloat,oneof,def=3.14159"`
-}
-type Message_OneofDefaultedFixed64 struct {
- OneofDefaultedFixed64 uint64 `protobuf:"fixed64,810,opt,name=oneof_defaulted_fixed64,json=oneofDefaultedFixed64,oneof,def=640000"`
-}
-type Message_OneofDefaultedSfixed64 struct {
- OneofDefaultedSfixed64 int64 `protobuf:"fixed64,811,opt,name=oneof_defaulted_sfixed64,json=oneofDefaultedSfixed64,oneof,def=-640000"`
-}
-type Message_OneofDefaultedDouble struct {
- OneofDefaultedDouble float64 `protobuf:"fixed64,812,opt,name=oneof_defaulted_double,json=oneofDefaultedDouble,oneof,def=3.14159265359"`
-}
-type Message_OneofDefaultedString struct {
- OneofDefaultedString string `protobuf:"bytes,813,opt,name=oneof_defaulted_string,json=oneofDefaultedString,oneof,def=hello, \"world!\"\n"`
-}
-type Message_OneofDefaultedBytes struct {
- OneofDefaultedBytes []byte `protobuf:"bytes,814,opt,name=oneof_defaulted_bytes,json=oneofDefaultedBytes,oneof,def=dead\\336\\255\\276\\357beef"`
-}
-type Message_OneofDefaultedChildEnum struct {
- OneofDefaultedChildEnum Message_ChildEnum `protobuf:"varint,815,opt,name=oneof_defaulted_child_enum,json=oneofDefaultedChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum,oneof,def=0"`
-}
-type Message_OneofDefaultedSiblingEnum struct {
- OneofDefaultedSiblingEnum SiblingEnum `protobuf:"varint,816,opt,name=oneof_defaulted_sibling_enum,json=oneofDefaultedSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum,oneof,def=0"`
-}
-
-func (*Message_OneofBool) isMessage_OneofUnion() {}
-func (*Message_OneofInt32) isMessage_OneofUnion() {}
-func (*Message_OneofSint32) isMessage_OneofUnion() {}
-func (*Message_OneofUint32) isMessage_OneofUnion() {}
-func (*Message_OneofInt64) isMessage_OneofUnion() {}
-func (*Message_OneofSint64) isMessage_OneofUnion() {}
-func (*Message_OneofUint64) isMessage_OneofUnion() {}
-func (*Message_OneofFixed32) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
-func (*Message_OneofFloat) isMessage_OneofUnion() {}
-func (*Message_OneofFixed64) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
-func (*Message_OneofDouble) isMessage_OneofUnion() {}
-func (*Message_OneofString) isMessage_OneofUnion() {}
-func (*Message_OneofBytes) isMessage_OneofUnion() {}
-func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
-func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
-func (*Message_OneofNamedGroup) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
-func (*Message_Oneofgroup) isMessage_OneofUnion() {}
-func (*Message_OneofString1) isMessage_OneofUnion() {}
-func (*Message_OneofString2) isMessage_OneofUnion() {}
-func (*Message_OneofString3) isMessage_OneofUnion() {}
-func (*Message_OneofDefaultedBool) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedInt32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSint32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedUint32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedInt64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSint64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedUint64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedFixed32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSfixed32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedFloat) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedFixed64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSfixed64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedDouble) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedString) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedBytes) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedChildEnum) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSiblingEnum) isMessage_OneofDefaultedUnion() {}
-
-func (m *Message) GetOneofUnion() isMessage_OneofUnion {
- if m != nil {
- return m.OneofUnion
- }
- return nil
-}
-func (m *Message) GetOneofDefaultedUnion() isMessage_OneofDefaultedUnion {
- if m != nil {
- return m.OneofDefaultedUnion
- }
- return nil
-}
-
-func (m *Message) GetNamedgroup() *Message_NamedGroup {
- if m != nil {
- return m.Namedgroup
- }
- return nil
-}
-
-func (m *Message) GetOptionalBool() bool {
- if m != nil && m.OptionalBool != nil {
- return *m.OptionalBool
- }
- return false
-}
-
-func (m *Message) GetOptionalInt32() int32 {
- if m != nil && m.OptionalInt32 != nil {
- return *m.OptionalInt32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint32() int32 {
- if m != nil && m.OptionalSint32 != nil {
- return *m.OptionalSint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint32() uint32 {
- if m != nil && m.OptionalUint32 != nil {
- return *m.OptionalUint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalInt64() int64 {
- if m != nil && m.OptionalInt64 != nil {
- return *m.OptionalInt64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint64() int64 {
- if m != nil && m.OptionalSint64 != nil {
- return *m.OptionalSint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint64() uint64 {
- if m != nil && m.OptionalUint64 != nil {
- return *m.OptionalUint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed32() uint32 {
- if m != nil && m.OptionalFixed32 != nil {
- return *m.OptionalFixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed32() int32 {
- if m != nil && m.OptionalSfixed32 != nil {
- return *m.OptionalSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalFloat() float32 {
- if m != nil && m.OptionalFloat != nil {
- return *m.OptionalFloat
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed64() uint64 {
- if m != nil && m.OptionalFixed64 != nil {
- return *m.OptionalFixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed64() int64 {
- if m != nil && m.OptionalSfixed64 != nil {
- return *m.OptionalSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalDouble() float64 {
- if m != nil && m.OptionalDouble != nil {
- return *m.OptionalDouble
- }
- return 0
-}
-
-func (m *Message) GetOptionalString() string {
- if m != nil && m.OptionalString != nil {
- return *m.OptionalString
- }
- return ""
-}
-
-func (m *Message) GetOptionalBytes() []byte {
- if m != nil {
- return m.OptionalBytes
- }
- return nil
-}
-
-func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
- if m != nil && m.OptionalChildEnum != nil {
- return *m.OptionalChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.OptionalChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalNamedGroup() *Message_NamedGroup {
- if m != nil {
- return m.OptionalNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
- if m != nil && m.OptionalSiblingEnum != nil {
- return *m.OptionalSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.OptionalSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalgroup() *Message_OptionalGroup {
- if m != nil {
- return m.Optionalgroup
- }
- return nil
-}
-
-func (m *Message) GetDefaultedBool() bool {
- if m != nil && m.DefaultedBool != nil {
- return *m.DefaultedBool
- }
- return Default_Message_DefaultedBool
-}
-
-func (m *Message) GetDefaultedInt32() int32 {
- if m != nil && m.DefaultedInt32 != nil {
- return *m.DefaultedInt32
- }
- return Default_Message_DefaultedInt32
-}
-
-func (m *Message) GetDefaultedSint32() int32 {
- if m != nil && m.DefaultedSint32 != nil {
- return *m.DefaultedSint32
- }
- return Default_Message_DefaultedSint32
-}
-
-func (m *Message) GetDefaultedUint32() uint32 {
- if m != nil && m.DefaultedUint32 != nil {
- return *m.DefaultedUint32
- }
- return Default_Message_DefaultedUint32
-}
-
-func (m *Message) GetDefaultedInt64() int64 {
- if m != nil && m.DefaultedInt64 != nil {
- return *m.DefaultedInt64
- }
- return Default_Message_DefaultedInt64
-}
-
-func (m *Message) GetDefaultedSint64() int64 {
- if m != nil && m.DefaultedSint64 != nil {
- return *m.DefaultedSint64
- }
- return Default_Message_DefaultedSint64
-}
-
-func (m *Message) GetDefaultedUint64() uint64 {
- if m != nil && m.DefaultedUint64 != nil {
- return *m.DefaultedUint64
- }
- return Default_Message_DefaultedUint64
-}
-
-func (m *Message) GetDefaultedFixed32() uint32 {
- if m != nil && m.DefaultedFixed32 != nil {
- return *m.DefaultedFixed32
- }
- return Default_Message_DefaultedFixed32
-}
-
-func (m *Message) GetDefaultedSfixed32() int32 {
- if m != nil && m.DefaultedSfixed32 != nil {
- return *m.DefaultedSfixed32
- }
- return Default_Message_DefaultedSfixed32
-}
-
-func (m *Message) GetDefaultedFloat() float32 {
- if m != nil && m.DefaultedFloat != nil {
- return *m.DefaultedFloat
- }
- return Default_Message_DefaultedFloat
-}
-
-func (m *Message) GetDefaultedFixed64() uint64 {
- if m != nil && m.DefaultedFixed64 != nil {
- return *m.DefaultedFixed64
- }
- return Default_Message_DefaultedFixed64
-}
-
-func (m *Message) GetDefaultedSfixed64() int64 {
- if m != nil && m.DefaultedSfixed64 != nil {
- return *m.DefaultedSfixed64
- }
- return Default_Message_DefaultedSfixed64
-}
-
-func (m *Message) GetDefaultedDouble() float64 {
- if m != nil && m.DefaultedDouble != nil {
- return *m.DefaultedDouble
- }
- return Default_Message_DefaultedDouble
-}
-
-func (m *Message) GetDefaultedString() string {
- if m != nil && m.DefaultedString != nil {
- return *m.DefaultedString
- }
- return Default_Message_DefaultedString
-}
-
-func (m *Message) GetDefaultedBytes() []byte {
- if m != nil && m.DefaultedBytes != nil {
- return m.DefaultedBytes
- }
- return append([]byte(nil), Default_Message_DefaultedBytes...)
-}
-
-func (m *Message) GetDefaultedChildEnum() Message_ChildEnum {
- if m != nil && m.DefaultedChildEnum != nil {
- return *m.DefaultedChildEnum
- }
- return Default_Message_DefaultedChildEnum
-}
-
-func (m *Message) GetDefaultedSiblingEnum() SiblingEnum {
- if m != nil && m.DefaultedSiblingEnum != nil {
- return *m.DefaultedSiblingEnum
- }
- return Default_Message_DefaultedSiblingEnum
-}
-
-func (m *Message) GetRequiredBool() bool {
- if m != nil && m.RequiredBool != nil {
- return *m.RequiredBool
- }
- return false
-}
-
-func (m *Message) GetRequiredInt32() int32 {
- if m != nil && m.RequiredInt32 != nil {
- return *m.RequiredInt32
- }
- return 0
-}
-
-func (m *Message) GetRequiredSint32() int32 {
- if m != nil && m.RequiredSint32 != nil {
- return *m.RequiredSint32
- }
- return 0
-}
-
-func (m *Message) GetRequiredUint32() uint32 {
- if m != nil && m.RequiredUint32 != nil {
- return *m.RequiredUint32
- }
- return 0
-}
-
-func (m *Message) GetRequiredInt64() int64 {
- if m != nil && m.RequiredInt64 != nil {
- return *m.RequiredInt64
- }
- return 0
-}
-
-func (m *Message) GetRequiredSint64() int64 {
- if m != nil && m.RequiredSint64 != nil {
- return *m.RequiredSint64
- }
- return 0
-}
-
-func (m *Message) GetRequiredUint64() uint64 {
- if m != nil && m.RequiredUint64 != nil {
- return *m.RequiredUint64
- }
- return 0
-}
-
-func (m *Message) GetRequiredFixed32() uint32 {
- if m != nil && m.RequiredFixed32 != nil {
- return *m.RequiredFixed32
- }
- return 0
-}
-
-func (m *Message) GetRequiredSfixed32() int32 {
- if m != nil && m.RequiredSfixed32 != nil {
- return *m.RequiredSfixed32
- }
- return 0
-}
-
-func (m *Message) GetRequiredFloat() float32 {
- if m != nil && m.RequiredFloat != nil {
- return *m.RequiredFloat
- }
- return 0
-}
-
-func (m *Message) GetRequiredFixed64() uint64 {
- if m != nil && m.RequiredFixed64 != nil {
- return *m.RequiredFixed64
- }
- return 0
-}
-
-func (m *Message) GetRequiredSfixed64() int64 {
- if m != nil && m.RequiredSfixed64 != nil {
- return *m.RequiredSfixed64
- }
- return 0
-}
-
-func (m *Message) GetRequiredDouble() float64 {
- if m != nil && m.RequiredDouble != nil {
- return *m.RequiredDouble
- }
- return 0
-}
-
-func (m *Message) GetRequiredString() string {
- if m != nil && m.RequiredString != nil {
- return *m.RequiredString
- }
- return ""
-}
-
-func (m *Message) GetRequiredBytes() []byte {
- if m != nil {
- return m.RequiredBytes
- }
- return nil
-}
-
-func (m *Message) GetRequiredChildEnum() Message_ChildEnum {
- if m != nil && m.RequiredChildEnum != nil {
- return *m.RequiredChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetRequiredChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.RequiredChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRequiredNamedGroup() *Message_NamedGroup {
- if m != nil {
- return m.RequiredNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetRequiredSiblingEnum() SiblingEnum {
- if m != nil && m.RequiredSiblingEnum != nil {
- return *m.RequiredSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetRequiredSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.RequiredSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRequiredgroup() *Message_RequiredGroup {
- if m != nil {
- return m.Requiredgroup
- }
- return nil
-}
-
-func (m *Message) GetRequiredDefaultedBool() bool {
- if m != nil && m.RequiredDefaultedBool != nil {
- return *m.RequiredDefaultedBool
- }
- return Default_Message_RequiredDefaultedBool
-}
-
-func (m *Message) GetRequiredDefaultedInt32() int32 {
- if m != nil && m.RequiredDefaultedInt32 != nil {
- return *m.RequiredDefaultedInt32
- }
- return Default_Message_RequiredDefaultedInt32
-}
-
-func (m *Message) GetRequiredDefaultedSint32() int32 {
- if m != nil && m.RequiredDefaultedSint32 != nil {
- return *m.RequiredDefaultedSint32
- }
- return Default_Message_RequiredDefaultedSint32
-}
-
-func (m *Message) GetRequiredDefaultedUint32() uint32 {
- if m != nil && m.RequiredDefaultedUint32 != nil {
- return *m.RequiredDefaultedUint32
- }
- return Default_Message_RequiredDefaultedUint32
-}
-
-func (m *Message) GetRequiredDefaultedInt64() int64 {
- if m != nil && m.RequiredDefaultedInt64 != nil {
- return *m.RequiredDefaultedInt64
- }
- return Default_Message_RequiredDefaultedInt64
-}
-
-func (m *Message) GetRequiredDefaultedSint64() int64 {
- if m != nil && m.RequiredDefaultedSint64 != nil {
- return *m.RequiredDefaultedSint64
- }
- return Default_Message_RequiredDefaultedSint64
-}
-
-func (m *Message) GetRequiredDefaultedUint64() uint64 {
- if m != nil && m.RequiredDefaultedUint64 != nil {
- return *m.RequiredDefaultedUint64
- }
- return Default_Message_RequiredDefaultedUint64
-}
-
-func (m *Message) GetRequiredDefaultedFixed32() uint32 {
- if m != nil && m.RequiredDefaultedFixed32 != nil {
- return *m.RequiredDefaultedFixed32
- }
- return Default_Message_RequiredDefaultedFixed32
-}
-
-func (m *Message) GetRequiredDefaultedSfixed32() int32 {
- if m != nil && m.RequiredDefaultedSfixed32 != nil {
- return *m.RequiredDefaultedSfixed32
- }
- return Default_Message_RequiredDefaultedSfixed32
-}
-
-func (m *Message) GetRequiredDefaultedFloat() float32 {
- if m != nil && m.RequiredDefaultedFloat != nil {
- return *m.RequiredDefaultedFloat
- }
- return Default_Message_RequiredDefaultedFloat
-}
-
-func (m *Message) GetRequiredDefaultedFixed64() uint64 {
- if m != nil && m.RequiredDefaultedFixed64 != nil {
- return *m.RequiredDefaultedFixed64
- }
- return Default_Message_RequiredDefaultedFixed64
-}
-
-func (m *Message) GetRequiredDefaultedSfixed64() int64 {
- if m != nil && m.RequiredDefaultedSfixed64 != nil {
- return *m.RequiredDefaultedSfixed64
- }
- return Default_Message_RequiredDefaultedSfixed64
-}
-
-func (m *Message) GetRequiredDefaultedDouble() float64 {
- if m != nil && m.RequiredDefaultedDouble != nil {
- return *m.RequiredDefaultedDouble
- }
- return Default_Message_RequiredDefaultedDouble
-}
-
-func (m *Message) GetRequiredDefaultedString() string {
- if m != nil && m.RequiredDefaultedString != nil {
- return *m.RequiredDefaultedString
- }
- return Default_Message_RequiredDefaultedString
-}
-
-func (m *Message) GetRequiredDefaultedBytes() []byte {
- if m != nil && m.RequiredDefaultedBytes != nil {
- return m.RequiredDefaultedBytes
- }
- return append([]byte(nil), Default_Message_RequiredDefaultedBytes...)
-}
-
-func (m *Message) GetRequiredDefaultedChildEnum() Message_ChildEnum {
- if m != nil && m.RequiredDefaultedChildEnum != nil {
- return *m.RequiredDefaultedChildEnum
- }
- return Default_Message_RequiredDefaultedChildEnum
-}
-
-func (m *Message) GetRequiredDefaultedSiblingEnum() SiblingEnum {
- if m != nil && m.RequiredDefaultedSiblingEnum != nil {
- return *m.RequiredDefaultedSiblingEnum
- }
- return Default_Message_RequiredDefaultedSiblingEnum
-}
-
-func (m *Message) GetRepeatedBool() []bool {
- if m != nil {
- return m.RepeatedBool
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt32() []int32 {
- if m != nil {
- return m.RepeatedInt32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint32() []int32 {
- if m != nil {
- return m.RepeatedSint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint32() []uint32 {
- if m != nil {
- return m.RepeatedUint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt64() []int64 {
- if m != nil {
- return m.RepeatedInt64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint64() []int64 {
- if m != nil {
- return m.RepeatedSint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint64() []uint64 {
- if m != nil {
- return m.RepeatedUint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed32() []uint32 {
- if m != nil {
- return m.RepeatedFixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed32() []int32 {
- if m != nil {
- return m.RepeatedSfixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFloat() []float32 {
- if m != nil {
- return m.RepeatedFloat
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed64() []uint64 {
- if m != nil {
- return m.RepeatedFixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed64() []int64 {
- if m != nil {
- return m.RepeatedSfixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedDouble() []float64 {
- if m != nil {
- return m.RepeatedDouble
- }
- return nil
-}
-
-func (m *Message) GetRepeatedString() []string {
- if m != nil {
- return m.RepeatedString
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBytes() [][]byte {
- if m != nil {
- return m.RepeatedBytes
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
- if m != nil {
- return m.RepeatedChildEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
- if m != nil {
- return m.RepeatedChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedNamedGroup() []*Message_NamedGroup {
- if m != nil {
- return m.RepeatedNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
- if m != nil {
- return m.RepeatedSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
- if m != nil {
- return m.RepeatedSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedgroup() []*Message_RepeatedGroup {
- if m != nil {
- return m.Repeatedgroup
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBool() map[bool]bool {
- if m != nil {
- return m.MapBoolBool
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt32() map[bool]int32 {
- if m != nil {
- return m.MapBoolInt32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolUint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt64() map[bool]int64 {
- if m != nil {
- return m.MapBoolInt64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolUint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolFixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSfixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFloat() map[bool]float32 {
- if m != nil {
- return m.MapBoolFloat
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolFixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSfixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolDouble() map[bool]float64 {
- if m != nil {
- return m.MapBoolDouble
- }
- return nil
-}
-
-func (m *Message) GetMapBoolString() map[bool]string {
- if m != nil {
- return m.MapBoolString
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBytes() map[bool][]byte {
- if m != nil {
- return m.MapBoolBytes
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
- if m != nil {
- return m.MapBoolChildEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
- if m != nil {
- return m.MapBoolChildMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolNamedGroup() map[bool]*Message_NamedGroup {
- if m != nil {
- return m.MapBoolNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
- if m != nil {
- return m.MapBoolSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
- if m != nil {
- return m.MapBoolSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapInt32Bool() map[int32]bool {
- if m != nil {
- return m.MapInt32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint32Bool() map[int32]bool {
- if m != nil {
- return m.MapSint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint32Bool() map[uint32]bool {
- if m != nil {
- return m.MapUint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapInt64Bool() map[int64]bool {
- if m != nil {
- return m.MapInt64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint64Bool() map[int64]bool {
- if m != nil {
- return m.MapSint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint64Bool() map[uint64]bool {
- if m != nil {
- return m.MapUint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapFixed32Bool() map[uint32]bool {
- if m != nil {
- return m.MapFixed32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapStringBool() map[string]bool {
- if m != nil {
- return m.MapStringBool
- }
- return nil
-}
-
-func (m *Message) GetOneofBool() bool {
- if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (m *Message) GetOneofInt32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
- return x.OneofInt32
- }
- return 0
-}
-
-func (m *Message) GetOneofSint32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
- return x.OneofSint32
- }
- return 0
-}
-
-func (m *Message) GetOneofUint32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (m *Message) GetOneofInt64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
- return x.OneofInt64
- }
- return 0
-}
-
-func (m *Message) GetOneofSint64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
- return x.OneofSint64
- }
- return 0
-}
-
-func (m *Message) GetOneofUint64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
- return x.OneofFixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
- return x.OneofSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofFloat() float32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
- return x.OneofFixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
- return x.OneofSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofDouble() float64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (m *Message) GetOneofString() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (m *Message) GetOneofBytes() []byte {
- if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (m *Message) GetOneofChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
- return x.OneofChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
- return x.OneofChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofNamedGroup() *Message_NamedGroup {
- if x, ok := m.GetOneofUnion().(*Message_OneofNamedGroup); ok {
- return x.OneofNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetOneofSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
- return x.OneofSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
- return x.OneofSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofgroup() *Message_OneofGroup {
- if x, ok := m.GetOneofUnion().(*Message_Oneofgroup); ok {
- return x.Oneofgroup
- }
- return nil
-}
-
-func (m *Message) GetOneofString1() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
- return x.OneofString1
- }
- return ""
-}
-
-func (m *Message) GetOneofString2() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
- return x.OneofString2
- }
- return ""
-}
-
-func (m *Message) GetOneofString3() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
- return x.OneofString3
- }
- return ""
-}
-
-func (m *Message) GetOneofDefaultedBool() bool {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBool); ok {
- return x.OneofDefaultedBool
- }
- return Default_Message_OneofDefaultedBool
-}
-
-func (m *Message) GetOneofDefaultedInt32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt32); ok {
- return x.OneofDefaultedInt32
- }
- return Default_Message_OneofDefaultedInt32
-}
-
-func (m *Message) GetOneofDefaultedSint32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint32); ok {
- return x.OneofDefaultedSint32
- }
- return Default_Message_OneofDefaultedSint32
-}
-
-func (m *Message) GetOneofDefaultedUint32() uint32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint32); ok {
- return x.OneofDefaultedUint32
- }
- return Default_Message_OneofDefaultedUint32
-}
-
-func (m *Message) GetOneofDefaultedInt64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt64); ok {
- return x.OneofDefaultedInt64
- }
- return Default_Message_OneofDefaultedInt64
-}
-
-func (m *Message) GetOneofDefaultedSint64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint64); ok {
- return x.OneofDefaultedSint64
- }
- return Default_Message_OneofDefaultedSint64
-}
-
-func (m *Message) GetOneofDefaultedUint64() uint64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint64); ok {
- return x.OneofDefaultedUint64
- }
- return Default_Message_OneofDefaultedUint64
-}
-
-func (m *Message) GetOneofDefaultedFixed32() uint32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed32); ok {
- return x.OneofDefaultedFixed32
- }
- return Default_Message_OneofDefaultedFixed32
-}
-
-func (m *Message) GetOneofDefaultedSfixed32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed32); ok {
- return x.OneofDefaultedSfixed32
- }
- return Default_Message_OneofDefaultedSfixed32
-}
-
-func (m *Message) GetOneofDefaultedFloat() float32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFloat); ok {
- return x.OneofDefaultedFloat
- }
- return Default_Message_OneofDefaultedFloat
-}
-
-func (m *Message) GetOneofDefaultedFixed64() uint64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed64); ok {
- return x.OneofDefaultedFixed64
- }
- return Default_Message_OneofDefaultedFixed64
-}
-
-func (m *Message) GetOneofDefaultedSfixed64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed64); ok {
- return x.OneofDefaultedSfixed64
- }
- return Default_Message_OneofDefaultedSfixed64
-}
-
-func (m *Message) GetOneofDefaultedDouble() float64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedDouble); ok {
- return x.OneofDefaultedDouble
- }
- return Default_Message_OneofDefaultedDouble
-}
-
-func (m *Message) GetOneofDefaultedString() string {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedString); ok {
- return x.OneofDefaultedString
- }
- return Default_Message_OneofDefaultedString
-}
-
-func (m *Message) GetOneofDefaultedBytes() []byte {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBytes); ok {
- return x.OneofDefaultedBytes
- }
- return append([]byte(nil), Default_Message_OneofDefaultedBytes...)
-}
-
-func (m *Message) GetOneofDefaultedChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedChildEnum); ok {
- return x.OneofDefaultedChildEnum
- }
- return Default_Message_OneofDefaultedChildEnum
-}
-
-func (m *Message) GetOneofDefaultedSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSiblingEnum); ok {
- return x.OneofDefaultedSiblingEnum
- }
- return Default_Message_OneofDefaultedSiblingEnum
-}
-
-// XXX_OneofFuncs is for the internal use of the proto package.
-func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
- return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
- (*Message_OneofBool)(nil),
- (*Message_OneofInt32)(nil),
- (*Message_OneofSint32)(nil),
- (*Message_OneofUint32)(nil),
- (*Message_OneofInt64)(nil),
- (*Message_OneofSint64)(nil),
- (*Message_OneofUint64)(nil),
- (*Message_OneofFixed32)(nil),
- (*Message_OneofSfixed32)(nil),
- (*Message_OneofFloat)(nil),
- (*Message_OneofFixed64)(nil),
- (*Message_OneofSfixed64)(nil),
- (*Message_OneofDouble)(nil),
- (*Message_OneofString)(nil),
- (*Message_OneofBytes)(nil),
- (*Message_OneofChildEnum)(nil),
- (*Message_OneofChildMessage)(nil),
- (*Message_OneofNamedGroup)(nil),
- (*Message_OneofSiblingEnum)(nil),
- (*Message_OneofSiblingMessage)(nil),
- (*Message_Oneofgroup)(nil),
- (*Message_OneofString1)(nil),
- (*Message_OneofString2)(nil),
- (*Message_OneofString3)(nil),
- (*Message_OneofDefaultedBool)(nil),
- (*Message_OneofDefaultedInt32)(nil),
- (*Message_OneofDefaultedSint32)(nil),
- (*Message_OneofDefaultedUint32)(nil),
- (*Message_OneofDefaultedInt64)(nil),
- (*Message_OneofDefaultedSint64)(nil),
- (*Message_OneofDefaultedUint64)(nil),
- (*Message_OneofDefaultedFixed32)(nil),
- (*Message_OneofDefaultedSfixed32)(nil),
- (*Message_OneofDefaultedFloat)(nil),
- (*Message_OneofDefaultedFixed64)(nil),
- (*Message_OneofDefaultedSfixed64)(nil),
- (*Message_OneofDefaultedDouble)(nil),
- (*Message_OneofDefaultedString)(nil),
- (*Message_OneofDefaultedBytes)(nil),
- (*Message_OneofDefaultedChildEnum)(nil),
- (*Message_OneofDefaultedSiblingEnum)(nil),
- }
-}
-
-func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- t := uint64(0)
- if x.OneofBool {
- t = 1
- }
- b.EncodeVarint(700<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofInt32:
- b.EncodeVarint(701<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- b.EncodeVarint(702<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofSint32))
- case *Message_OneofUint32:
- b.EncodeVarint(703<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- b.EncodeVarint(704<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- b.EncodeVarint(705<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofSint64))
- case *Message_OneofUint64:
- b.EncodeVarint(706<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- b.EncodeVarint(707<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofFixed32))
- case *Message_OneofSfixed32:
- b.EncodeVarint(708<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofSfixed32))
- case *Message_OneofFloat:
- b.EncodeVarint(709<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
- case *Message_OneofFixed64:
- b.EncodeVarint(710<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofFixed64))
- case *Message_OneofSfixed64:
- b.EncodeVarint(711<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofSfixed64))
- case *Message_OneofDouble:
- b.EncodeVarint(712<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDouble))
- case *Message_OneofString:
- b.EncodeVarint(713<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString)
- case *Message_OneofBytes:
- b.EncodeVarint(714<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofBytes)
- case *Message_OneofChildEnum:
- b.EncodeVarint(715<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- b.EncodeVarint(716<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
- return err
- }
- case *Message_OneofNamedGroup:
- b.EncodeVarint(717<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofNamedGroup); err != nil {
- return err
- }
- case *Message_OneofSiblingEnum:
- b.EncodeVarint(718<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- b.EncodeVarint(719<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
- return err
- }
- case *Message_Oneofgroup:
- b.EncodeVarint(720<<3 | proto.WireStartGroup)
- if err := b.Marshal(x.Oneofgroup); err != nil {
- return err
- }
- b.EncodeVarint(720<<3 | proto.WireEndGroup)
- case *Message_OneofString1:
- b.EncodeVarint(721<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString1)
- case *Message_OneofString2:
- b.EncodeVarint(722<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString2)
- case *Message_OneofString3:
- b.EncodeVarint(723<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString3)
- case nil:
- default:
- return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
- }
- // oneof_defaulted_union
- switch x := m.OneofDefaultedUnion.(type) {
- case *Message_OneofDefaultedBool:
- t := uint64(0)
- if x.OneofDefaultedBool {
- t = 1
- }
- b.EncodeVarint(800<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofDefaultedInt32:
- b.EncodeVarint(801<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedInt32))
- case *Message_OneofDefaultedSint32:
- b.EncodeVarint(802<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofDefaultedSint32))
- case *Message_OneofDefaultedUint32:
- b.EncodeVarint(803<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedUint32))
- case *Message_OneofDefaultedInt64:
- b.EncodeVarint(804<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedInt64))
- case *Message_OneofDefaultedSint64:
- b.EncodeVarint(805<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofDefaultedSint64))
- case *Message_OneofDefaultedUint64:
- b.EncodeVarint(806<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedUint64))
- case *Message_OneofDefaultedFixed32:
- b.EncodeVarint(807<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofDefaultedFixed32))
- case *Message_OneofDefaultedSfixed32:
- b.EncodeVarint(808<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofDefaultedSfixed32))
- case *Message_OneofDefaultedFloat:
- b.EncodeVarint(809<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofDefaultedFloat)))
- case *Message_OneofDefaultedFixed64:
- b.EncodeVarint(810<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofDefaultedFixed64))
- case *Message_OneofDefaultedSfixed64:
- b.EncodeVarint(811<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofDefaultedSfixed64))
- case *Message_OneofDefaultedDouble:
- b.EncodeVarint(812<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDefaultedDouble))
- case *Message_OneofDefaultedString:
- b.EncodeVarint(813<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofDefaultedString)
- case *Message_OneofDefaultedBytes:
- b.EncodeVarint(814<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofDefaultedBytes)
- case *Message_OneofDefaultedChildEnum:
- b.EncodeVarint(815<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedChildEnum))
- case *Message_OneofDefaultedSiblingEnum:
- b.EncodeVarint(816<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedSiblingEnum))
- case nil:
- default:
- return fmt.Errorf("Message.OneofDefaultedUnion has unexpected type %T", x)
- }
- return nil
-}
-
-func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*Message)
- switch tag {
- case 700: // oneof_union.oneof_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofBool{x != 0}
- return true, err
- case 701: // oneof_union.oneof_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt32{int32(x)}
- return true, err
- case 702: // oneof_union.oneof_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofUnion = &Message_OneofSint32{int32(x)}
- return true, err
- case 703: // oneof_union.oneof_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint32{uint32(x)}
- return true, err
- case 704: // oneof_union.oneof_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt64{int64(x)}
- return true, err
- case 705: // oneof_union.oneof_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofUnion = &Message_OneofSint64{int64(x)}
- return true, err
- case 706: // oneof_union.oneof_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint64{x}
- return true, err
- case 707: // oneof_union.oneof_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFixed32{uint32(x)}
- return true, err
- case 708: // oneof_union.oneof_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofSfixed32{int32(x)}
- return true, err
- case 709: // oneof_union.oneof_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 710: // oneof_union.oneof_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofFixed64{x}
- return true, err
- case 711: // oneof_union.oneof_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofSfixed64{int64(x)}
- return true, err
- case 712: // oneof_union.oneof_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
- return true, err
- case 713: // oneof_union.oneof_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString{x}
- return true, err
- case 714: // oneof_union.oneof_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofUnion = &Message_OneofBytes{x}
- return true, err
- case 715: // oneof_union.oneof_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
- return true, err
- case 716: // oneof_union.oneof_child_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_ChildMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofChildMessage{msg}
- return true, err
- case 717: // oneof_union.oneof_named_group
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_NamedGroup)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofNamedGroup{msg}
- return true, err
- case 718: // oneof_union.oneof_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
- return true, err
- case 719: // oneof_union.oneof_sibling_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(SiblingMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofSiblingMessage{msg}
- return true, err
- case 720: // oneof_union.oneofgroup
- if wire != proto.WireStartGroup {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_OneofGroup)
- err := b.DecodeGroup(msg)
- m.OneofUnion = &Message_Oneofgroup{msg}
- return true, err
- case 721: // oneof_union.oneof_string1
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString1{x}
- return true, err
- case 722: // oneof_union.oneof_string2
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString2{x}
- return true, err
- case 723: // oneof_union.oneof_string3
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString3{x}
- return true, err
- case 800: // oneof_defaulted_union.oneof_defaulted_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedBool{x != 0}
- return true, err
- case 801: // oneof_defaulted_union.oneof_defaulted_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedInt32{int32(x)}
- return true, err
- case 802: // oneof_defaulted_union.oneof_defaulted_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSint32{int32(x)}
- return true, err
- case 803: // oneof_defaulted_union.oneof_defaulted_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedUint32{uint32(x)}
- return true, err
- case 804: // oneof_defaulted_union.oneof_defaulted_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedInt64{int64(x)}
- return true, err
- case 805: // oneof_defaulted_union.oneof_defaulted_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSint64{int64(x)}
- return true, err
- case 806: // oneof_defaulted_union.oneof_defaulted_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedUint64{x}
- return true, err
- case 807: // oneof_defaulted_union.oneof_defaulted_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFixed32{uint32(x)}
- return true, err
- case 808: // oneof_defaulted_union.oneof_defaulted_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed32{int32(x)}
- return true, err
- case 809: // oneof_defaulted_union.oneof_defaulted_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 810: // oneof_defaulted_union.oneof_defaulted_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFixed64{x}
- return true, err
- case 811: // oneof_defaulted_union.oneof_defaulted_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed64{int64(x)}
- return true, err
- case 812: // oneof_defaulted_union.oneof_defaulted_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedDouble{math.Float64frombits(x)}
- return true, err
- case 813: // oneof_defaulted_union.oneof_defaulted_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofDefaultedUnion = &Message_OneofDefaultedString{x}
- return true, err
- case 814: // oneof_defaulted_union.oneof_defaulted_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofDefaultedUnion = &Message_OneofDefaultedBytes{x}
- return true, err
- case 815: // oneof_defaulted_union.oneof_defaulted_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedChildEnum{Message_ChildEnum(x)}
- return true, err
- case 816: // oneof_defaulted_union.oneof_defaulted_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSiblingEnum{SiblingEnum(x)}
- return true, err
- default:
- return false, nil
- }
-}
-
-func _Message_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- n += proto.SizeVarint(700<<3 | proto.WireVarint)
- n += 1
- case *Message_OneofInt32:
- n += proto.SizeVarint(701<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- n += proto.SizeVarint(702<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
- case *Message_OneofUint32:
- n += proto.SizeVarint(703<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- n += proto.SizeVarint(704<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- n += proto.SizeVarint(705<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
- case *Message_OneofUint64:
- n += proto.SizeVarint(706<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- n += proto.SizeVarint(707<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofSfixed32:
- n += proto.SizeVarint(708<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofFloat:
- n += proto.SizeVarint(709<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofFixed64:
- n += proto.SizeVarint(710<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofSfixed64:
- n += proto.SizeVarint(711<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDouble:
- n += proto.SizeVarint(712<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofString:
- n += proto.SizeVarint(713<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString)))
- n += len(x.OneofString)
- case *Message_OneofBytes:
- n += proto.SizeVarint(714<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofBytes)))
- n += len(x.OneofBytes)
- case *Message_OneofChildEnum:
- n += proto.SizeVarint(715<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- s := proto.Size(x.OneofChildMessage)
- n += proto.SizeVarint(716<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofNamedGroup:
- s := proto.Size(x.OneofNamedGroup)
- n += proto.SizeVarint(717<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofSiblingEnum:
- n += proto.SizeVarint(718<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- s := proto.Size(x.OneofSiblingMessage)
- n += proto.SizeVarint(719<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_Oneofgroup:
- n += proto.SizeVarint(720<<3 | proto.WireStartGroup)
- n += proto.Size(x.Oneofgroup)
- n += proto.SizeVarint(720<<3 | proto.WireEndGroup)
- case *Message_OneofString1:
- n += proto.SizeVarint(721<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString1)))
- n += len(x.OneofString1)
- case *Message_OneofString2:
- n += proto.SizeVarint(722<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString2)))
- n += len(x.OneofString2)
- case *Message_OneofString3:
- n += proto.SizeVarint(723<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString3)))
- n += len(x.OneofString3)
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- // oneof_defaulted_union
- switch x := m.OneofDefaultedUnion.(type) {
- case *Message_OneofDefaultedBool:
- n += proto.SizeVarint(800<<3 | proto.WireVarint)
- n += 1
- case *Message_OneofDefaultedInt32:
- n += proto.SizeVarint(801<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedInt32))
- case *Message_OneofDefaultedSint32:
- n += proto.SizeVarint(802<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64((uint32(x.OneofDefaultedSint32) << 1) ^ uint32((int32(x.OneofDefaultedSint32) >> 31))))
- case *Message_OneofDefaultedUint32:
- n += proto.SizeVarint(803<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedUint32))
- case *Message_OneofDefaultedInt64:
- n += proto.SizeVarint(804<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedInt64))
- case *Message_OneofDefaultedSint64:
- n += proto.SizeVarint(805<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(uint64(x.OneofDefaultedSint64<<1) ^ uint64((int64(x.OneofDefaultedSint64) >> 63))))
- case *Message_OneofDefaultedUint64:
- n += proto.SizeVarint(806<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedUint64))
- case *Message_OneofDefaultedFixed32:
- n += proto.SizeVarint(807<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofDefaultedSfixed32:
- n += proto.SizeVarint(808<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofDefaultedFloat:
- n += proto.SizeVarint(809<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofDefaultedFixed64:
- n += proto.SizeVarint(810<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDefaultedSfixed64:
- n += proto.SizeVarint(811<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDefaultedDouble:
- n += proto.SizeVarint(812<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDefaultedString:
- n += proto.SizeVarint(813<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofDefaultedString)))
- n += len(x.OneofDefaultedString)
- case *Message_OneofDefaultedBytes:
- n += proto.SizeVarint(814<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofDefaultedBytes)))
- n += len(x.OneofDefaultedBytes)
- case *Message_OneofDefaultedChildEnum:
- n += proto.SizeVarint(815<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedChildEnum))
- case *Message_OneofDefaultedSiblingEnum:
- n += proto.SizeVarint(816<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedSiblingEnum))
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
-}
-
-var E_Message_ExtensionOptionalBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*bool)(nil),
- Field: 10000,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_bool",
- Tag: "varint,10000,opt,name=extension_optional_bool,json=extensionOptionalBool",
-}
-
-var E_Message_ExtensionOptionalInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10001,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_int32",
- Tag: "varint,10001,opt,name=extension_optional_int32,json=extensionOptionalInt32",
-}
-
-var E_Message_ExtensionOptionalSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10002,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_sint32",
- Tag: "zigzag32,10002,opt,name=extension_optional_sint32,json=extensionOptionalSint32",
-}
-
-var E_Message_ExtensionOptionalUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 10003,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_uint32",
- Tag: "varint,10003,opt,name=extension_optional_uint32,json=extensionOptionalUint32",
-}
-
-var E_Message_ExtensionOptionalInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10004,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_int64",
- Tag: "varint,10004,opt,name=extension_optional_int64,json=extensionOptionalInt64",
-}
-
-var E_Message_ExtensionOptionalSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10005,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_sint64",
- Tag: "zigzag64,10005,opt,name=extension_optional_sint64,json=extensionOptionalSint64",
-}
-
-var E_Message_ExtensionOptionalUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 10006,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_uint64",
- Tag: "varint,10006,opt,name=extension_optional_uint64,json=extensionOptionalUint64",
-}
-
-var E_Message_ExtensionOptionalFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 10007,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_fixed32",
- Tag: "fixed32,10007,opt,name=extension_optional_fixed32,json=extensionOptionalFixed32",
-}
-
-var E_Message_ExtensionOptionalSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10008,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_sfixed32",
- Tag: "fixed32,10008,opt,name=extension_optional_sfixed32,json=extensionOptionalSfixed32",
-}
-
-var E_Message_ExtensionOptionalFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float32)(nil),
- Field: 10009,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_float",
- Tag: "fixed32,10009,opt,name=extension_optional_float,json=extensionOptionalFloat",
-}
-
-var E_Message_ExtensionOptionalFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 10010,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_fixed64",
- Tag: "fixed64,10010,opt,name=extension_optional_fixed64,json=extensionOptionalFixed64",
-}
-
-var E_Message_ExtensionOptionalSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10011,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_sfixed64",
- Tag: "fixed64,10011,opt,name=extension_optional_sfixed64,json=extensionOptionalSfixed64",
-}
-
-var E_Message_ExtensionOptionalDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float64)(nil),
- Field: 10012,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_double",
- Tag: "fixed64,10012,opt,name=extension_optional_double,json=extensionOptionalDouble",
-}
-
-var E_Message_ExtensionOptionalString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 10013,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_string",
- Tag: "bytes,10013,opt,name=extension_optional_string,json=extensionOptionalString",
-}
-
-var E_Message_ExtensionOptionalBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 10014,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_bytes",
- Tag: "bytes,10014,opt,name=extension_optional_bytes,json=extensionOptionalBytes",
-}
-
-var E_Message_ExtensionOptionalChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildEnum)(nil),
- Field: 10015,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_child_enum",
- Tag: "varint,10015,opt,name=extension_optional_child_enum,json=extensionOptionalChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum",
-}
-
-var E_Message_ExtensionOptionalChildMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildMessage)(nil),
- Field: 10016,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_child_message",
- Tag: "bytes,10016,opt,name=extension_optional_child_message,json=extensionOptionalChildMessage",
-}
-
-var E_Message_ExtensionOptionalNamedGroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_NamedGroup)(nil),
- Field: 10017,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_named_group",
- Tag: "bytes,10017,opt,name=extension_optional_named_group,json=extensionOptionalNamedGroup",
-}
-
-var E_Message_ExtensionOptionalSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingEnum)(nil),
- Field: 10018,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_sibling_enum",
- Tag: "varint,10018,opt,name=extension_optional_sibling_enum,json=extensionOptionalSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum",
-}
-
-var E_Message_ExtensionOptionalSiblingMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingMessage)(nil),
- Field: 10019,
- Name: "google.golang.org.proto2_20160519.Message.extension_optional_sibling_message",
- Tag: "bytes,10019,opt,name=extension_optional_sibling_message,json=extensionOptionalSiblingMessage",
-}
-
-var E_Message_Extensionoptionalgroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ExtensionOptionalGroup)(nil),
- Field: 10020,
- Name: "google.golang.org.proto2_20160519.Message.extensionoptionalgroup",
- Tag: "group,10020,opt,name=ExtensionOptionalGroup,json=extensionoptionalgroup",
-}
-
-var E_Message_ExtensionDefaultedBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*bool)(nil),
- Field: 20000,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_bool",
- Tag: "varint,20000,opt,name=extension_defaulted_bool,json=extensionDefaultedBool,def=1",
-}
-
-var E_Message_ExtensionDefaultedInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20001,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_int32",
- Tag: "varint,20001,opt,name=extension_defaulted_int32,json=extensionDefaultedInt32,def=-12345",
-}
-
-var E_Message_ExtensionDefaultedSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20002,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_sint32",
- Tag: "zigzag32,20002,opt,name=extension_defaulted_sint32,json=extensionDefaultedSint32,def=-3200",
-}
-
-var E_Message_ExtensionDefaultedUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 20003,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_uint32",
- Tag: "varint,20003,opt,name=extension_defaulted_uint32,json=extensionDefaultedUint32,def=3200",
-}
-
-var E_Message_ExtensionDefaultedInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20004,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_int64",
- Tag: "varint,20004,opt,name=extension_defaulted_int64,json=extensionDefaultedInt64,def=-123456789",
-}
-
-var E_Message_ExtensionDefaultedSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20005,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_sint64",
- Tag: "zigzag64,20005,opt,name=extension_defaulted_sint64,json=extensionDefaultedSint64,def=-6400",
-}
-
-var E_Message_ExtensionDefaultedUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 20006,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_uint64",
- Tag: "varint,20006,opt,name=extension_defaulted_uint64,json=extensionDefaultedUint64,def=6400",
-}
-
-var E_Message_ExtensionDefaultedFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 20007,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_fixed32",
- Tag: "fixed32,20007,opt,name=extension_defaulted_fixed32,json=extensionDefaultedFixed32,def=320000",
-}
-
-var E_Message_ExtensionDefaultedSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20008,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_sfixed32",
- Tag: "fixed32,20008,opt,name=extension_defaulted_sfixed32,json=extensionDefaultedSfixed32,def=-320000",
-}
-
-var E_Message_ExtensionDefaultedFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float32)(nil),
- Field: 20009,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_float",
- Tag: "fixed32,20009,opt,name=extension_defaulted_float,json=extensionDefaultedFloat,def=3.14159",
-}
-
-var E_Message_ExtensionDefaultedFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 20010,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_fixed64",
- Tag: "fixed64,20010,opt,name=extension_defaulted_fixed64,json=extensionDefaultedFixed64,def=640000",
-}
-
-var E_Message_ExtensionDefaultedSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20011,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_sfixed64",
- Tag: "fixed64,20011,opt,name=extension_defaulted_sfixed64,json=extensionDefaultedSfixed64,def=-640000",
-}
-
-var E_Message_ExtensionDefaultedDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float64)(nil),
- Field: 20012,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_double",
- Tag: "fixed64,20012,opt,name=extension_defaulted_double,json=extensionDefaultedDouble,def=3.14159265359",
-}
-
-var E_Message_ExtensionDefaultedString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 20013,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_string",
- Tag: "bytes,20013,opt,name=extension_defaulted_string,json=extensionDefaultedString,def=hello, \"world!\"\n",
-}
-
-var E_Message_ExtensionDefaultedBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 20014,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_bytes",
- Tag: "bytes,20014,opt,name=extension_defaulted_bytes,json=extensionDefaultedBytes,def=dead\\336\\255\\276\\357beef",
-}
-
-var E_Message_ExtensionDefaultedChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildEnum)(nil),
- Field: 20015,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_child_enum",
- Tag: "varint,20015,opt,name=extension_defaulted_child_enum,json=extensionDefaultedChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum,def=0",
-}
-
-var E_Message_ExtensionDefaultedSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingEnum)(nil),
- Field: 20016,
- Name: "google.golang.org.proto2_20160519.Message.extension_defaulted_sibling_enum",
- Tag: "varint,20016,opt,name=extension_defaulted_sibling_enum,json=extensionDefaultedSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum,def=0",
-}
-
-var E_Message_ExtensionRepeatedBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]bool)(nil),
- Field: 30000,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_bool",
- Tag: "varint,30000,rep,name=extension_repeated_bool,json=extensionRepeatedBool",
-}
-
-var E_Message_ExtensionRepeatedInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30001,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_int32",
- Tag: "varint,30001,rep,name=extension_repeated_int32,json=extensionRepeatedInt32",
-}
-
-var E_Message_ExtensionRepeatedSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30002,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_sint32",
- Tag: "zigzag32,30002,rep,name=extension_repeated_sint32,json=extensionRepeatedSint32",
-}
-
-var E_Message_ExtensionRepeatedUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 30003,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_uint32",
- Tag: "varint,30003,rep,name=extension_repeated_uint32,json=extensionRepeatedUint32",
-}
-
-var E_Message_ExtensionRepeatedInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30004,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_int64",
- Tag: "varint,30004,rep,name=extension_repeated_int64,json=extensionRepeatedInt64",
-}
-
-var E_Message_ExtensionRepeatedSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30005,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_sint64",
- Tag: "zigzag64,30005,rep,name=extension_repeated_sint64,json=extensionRepeatedSint64",
-}
-
-var E_Message_ExtensionRepeatedUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 30006,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_uint64",
- Tag: "varint,30006,rep,name=extension_repeated_uint64,json=extensionRepeatedUint64",
-}
-
-var E_Message_ExtensionRepeatedFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 30007,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_fixed32",
- Tag: "fixed32,30007,rep,name=extension_repeated_fixed32,json=extensionRepeatedFixed32",
-}
-
-var E_Message_ExtensionRepeatedSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30008,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_sfixed32",
- Tag: "fixed32,30008,rep,name=extension_repeated_sfixed32,json=extensionRepeatedSfixed32",
-}
-
-var E_Message_ExtensionRepeatedFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]float32)(nil),
- Field: 30009,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_float",
- Tag: "fixed32,30009,rep,name=extension_repeated_float,json=extensionRepeatedFloat",
-}
-
-var E_Message_ExtensionRepeatedFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 30010,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_fixed64",
- Tag: "fixed64,30010,rep,name=extension_repeated_fixed64,json=extensionRepeatedFixed64",
-}
-
-var E_Message_ExtensionRepeatedSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30011,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_sfixed64",
- Tag: "fixed64,30011,rep,name=extension_repeated_sfixed64,json=extensionRepeatedSfixed64",
-}
-
-var E_Message_ExtensionRepeatedDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]float64)(nil),
- Field: 30012,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_double",
- Tag: "fixed64,30012,rep,name=extension_repeated_double,json=extensionRepeatedDouble",
-}
-
-var E_Message_ExtensionRepeatedString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]string)(nil),
- Field: 30013,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_string",
- Tag: "bytes,30013,rep,name=extension_repeated_string,json=extensionRepeatedString",
-}
-
-var E_Message_ExtensionRepeatedBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([][]byte)(nil),
- Field: 30014,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_bytes",
- Tag: "bytes,30014,rep,name=extension_repeated_bytes,json=extensionRepeatedBytes",
-}
-
-var E_Message_ExtensionRepeatedChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]Message_ChildEnum)(nil),
- Field: 30015,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_child_enum",
- Tag: "varint,30015,rep,name=extension_repeated_child_enum,json=extensionRepeatedChildEnum,enum=google.golang.org.proto2_20160519.Message_ChildEnum",
-}
-
-var E_Message_ExtensionRepeatedChildMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_ChildMessage)(nil),
- Field: 30016,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_child_message",
- Tag: "bytes,30016,rep,name=extension_repeated_child_message,json=extensionRepeatedChildMessage",
-}
-
-var E_Message_ExtensionRepeatedNamedGroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_NamedGroup)(nil),
- Field: 30017,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_named_group",
- Tag: "bytes,30017,rep,name=extension_repeated_named_group,json=extensionRepeatedNamedGroup",
-}
-
-var E_Message_ExtensionRepeatedSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]SiblingEnum)(nil),
- Field: 30018,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_sibling_enum",
- Tag: "varint,30018,rep,name=extension_repeated_sibling_enum,json=extensionRepeatedSiblingEnum,enum=google.golang.org.proto2_20160519.SiblingEnum",
-}
-
-var E_Message_ExtensionRepeatedSiblingMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*SiblingMessage)(nil),
- Field: 30019,
- Name: "google.golang.org.proto2_20160519.Message.extension_repeated_sibling_message",
- Tag: "bytes,30019,rep,name=extension_repeated_sibling_message,json=extensionRepeatedSiblingMessage",
-}
-
-var E_Message_Extensionrepeatedgroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_ExtensionRepeatedGroup)(nil),
- Field: 30020,
- Name: "google.golang.org.proto2_20160519.Message.extensionrepeatedgroup",
- Tag: "group,30020,rep,name=ExtensionRepeatedGroup,json=extensionrepeatedgroup",
-}
-
-type Message_ChildMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
-func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
-func (*Message_ChildMessage) ProtoMessage() {}
-func (*Message_ChildMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
-
-func (m *Message_ChildMessage) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *Message_ChildMessage) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message_NamedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_NamedGroup) Reset() { *m = Message_NamedGroup{} }
-func (m *Message_NamedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_NamedGroup) ProtoMessage() {}
-func (*Message_NamedGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 1} }
-
-func (m *Message_NamedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_NamedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_NamedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *Message_NamedGroup) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message_OptionalGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_OptionalGroup) Reset() { *m = Message_OptionalGroup{} }
-func (m *Message_OptionalGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_OptionalGroup) ProtoMessage() {}
-func (*Message_OptionalGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 2} }
-
-func (m *Message_OptionalGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_OptionalGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_OptionalGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_RequiredGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_RequiredGroup) Reset() { *m = Message_RequiredGroup{} }
-func (m *Message_RequiredGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_RequiredGroup) ProtoMessage() {}
-func (*Message_RequiredGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 3} }
-
-func (m *Message_RequiredGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_RequiredGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_RequiredGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_RepeatedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_RepeatedGroup) Reset() { *m = Message_RepeatedGroup{} }
-func (m *Message_RepeatedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_RepeatedGroup) ProtoMessage() {}
-func (*Message_RepeatedGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 4} }
-
-func (m *Message_RepeatedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_RepeatedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_RepeatedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_OneofGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_OneofGroup) Reset() { *m = Message_OneofGroup{} }
-func (m *Message_OneofGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_OneofGroup) ProtoMessage() {}
-func (*Message_OneofGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 33} }
-
-func (m *Message_OneofGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_OneofGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_OneofGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_ExtensionOptionalGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_ExtensionOptionalGroup) Reset() { *m = Message_ExtensionOptionalGroup{} }
-func (m *Message_ExtensionOptionalGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_ExtensionOptionalGroup) ProtoMessage() {}
-func (*Message_ExtensionOptionalGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor0, []int{1, 34}
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_ExtensionRepeatedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_ExtensionRepeatedGroup) Reset() { *m = Message_ExtensionRepeatedGroup{} }
-func (m *Message_ExtensionRepeatedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_ExtensionRepeatedGroup) ProtoMessage() {}
-func (*Message_ExtensionRepeatedGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor0, []int{1, 35}
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto2_20160519.SiblingMessage")
- proto.RegisterType((*Message)(nil), "google.golang.org.proto2_20160519.Message")
- proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto2_20160519.Message.ChildMessage")
- proto.RegisterType((*Message_NamedGroup)(nil), "google.golang.org.proto2_20160519.Message.NamedGroup")
- proto.RegisterType((*Message_OptionalGroup)(nil), "google.golang.org.proto2_20160519.Message.OptionalGroup")
- proto.RegisterType((*Message_RequiredGroup)(nil), "google.golang.org.proto2_20160519.Message.RequiredGroup")
- proto.RegisterType((*Message_RepeatedGroup)(nil), "google.golang.org.proto2_20160519.Message.RepeatedGroup")
- proto.RegisterType((*Message_OneofGroup)(nil), "google.golang.org.proto2_20160519.Message.OneofGroup")
- proto.RegisterType((*Message_ExtensionOptionalGroup)(nil), "google.golang.org.proto2_20160519.Message.ExtensionOptionalGroup")
- proto.RegisterType((*Message_ExtensionRepeatedGroup)(nil), "google.golang.org.proto2_20160519.Message.ExtensionRepeatedGroup")
- proto.RegisterEnum("google.golang.org.proto2_20160519.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
- proto.RegisterEnum("google.golang.org.proto2_20160519.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
- proto.RegisterExtension(E_Message_ExtensionOptionalBool)
- proto.RegisterExtension(E_Message_ExtensionOptionalInt32)
- proto.RegisterExtension(E_Message_ExtensionOptionalSint32)
- proto.RegisterExtension(E_Message_ExtensionOptionalUint32)
- proto.RegisterExtension(E_Message_ExtensionOptionalInt64)
- proto.RegisterExtension(E_Message_ExtensionOptionalSint64)
- proto.RegisterExtension(E_Message_ExtensionOptionalUint64)
- proto.RegisterExtension(E_Message_ExtensionOptionalFixed32)
- proto.RegisterExtension(E_Message_ExtensionOptionalSfixed32)
- proto.RegisterExtension(E_Message_ExtensionOptionalFloat)
- proto.RegisterExtension(E_Message_ExtensionOptionalFixed64)
- proto.RegisterExtension(E_Message_ExtensionOptionalSfixed64)
- proto.RegisterExtension(E_Message_ExtensionOptionalDouble)
- proto.RegisterExtension(E_Message_ExtensionOptionalString)
- proto.RegisterExtension(E_Message_ExtensionOptionalBytes)
- proto.RegisterExtension(E_Message_ExtensionOptionalChildEnum)
- proto.RegisterExtension(E_Message_ExtensionOptionalChildMessage)
- proto.RegisterExtension(E_Message_ExtensionOptionalNamedGroup)
- proto.RegisterExtension(E_Message_ExtensionOptionalSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionOptionalSiblingMessage)
- proto.RegisterExtension(E_Message_Extensionoptionalgroup)
- proto.RegisterExtension(E_Message_ExtensionDefaultedBool)
- proto.RegisterExtension(E_Message_ExtensionDefaultedInt32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSint32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedUint32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedInt64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSint64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedUint64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFixed32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFloat)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFixed64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedDouble)
- proto.RegisterExtension(E_Message_ExtensionDefaultedString)
- proto.RegisterExtension(E_Message_ExtensionDefaultedBytes)
- proto.RegisterExtension(E_Message_ExtensionDefaultedChildEnum)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedBool)
- proto.RegisterExtension(E_Message_ExtensionRepeatedInt32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSint32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedUint32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedInt64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSint64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedUint64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFixed32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFloat)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFixed64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedDouble)
- proto.RegisterExtension(E_Message_ExtensionRepeatedString)
- proto.RegisterExtension(E_Message_ExtensionRepeatedBytes)
- proto.RegisterExtension(E_Message_ExtensionRepeatedChildEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedChildMessage)
- proto.RegisterExtension(E_Message_ExtensionRepeatedNamedGroup)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingMessage)
- proto.RegisterExtension(E_Message_Extensionrepeatedgroup)
-}
-
-var fileDescriptor0 = []byte{
- // 4468 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5c, 0x69, 0x70, 0x23, 0xc7,
- 0x75, 0xe6, 0x00, 0x04, 0xb8, 0xec, 0x25, 0x48, 0x70, 0x76, 0x97, 0x9c, 0xa5, 0xa4, 0x08, 0x5e,
- 0x3b, 0x0e, 0xa2, 0x68, 0xb9, 0xcb, 0x61, 0xb3, 0x57, 0x8b, 0xe8, 0xf0, 0x52, 0x5a, 0x19, 0x72,
- 0x2c, 0xc8, 0x35, 0xaa, 0x4d, 0xa5, 0x52, 0xaa, 0x30, 0xe0, 0x12, 0xe4, 0x52, 0xc2, 0x41, 0x91,
- 0x80, 0xa4, 0x8d, 0x9d, 0xd2, 0xc6, 0x39, 0x7f, 0xca, 0xf7, 0x05, 0xdb, 0xb2, 0x6e, 0x5b, 0xa7,
- 0xef, 0x4b, 0x97, 0x8f, 0x24, 0xf2, 0x7d, 0xe5, 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 0xb1, 0x65, 0x1f, 0x63, 0xcb, 0x5e, 0xed, 0xad, 0x1f, 0xdb, 0x6c, 0x77,
- 0x1b, 0xdb, 0xed, 0x7a, 0x93, 0xfd, 0xce, 0x2d, 0x1b, 0xdd, 0x39, 0xd6, 0x6c, 0x6c, 0xd4, 0xcf,
- 0x9e, 0x3f, 0x96, 0xf4, 0x93, 0xb8, 0xff, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x83, 0x33, 0xd4, 0x34,
- 0x2d, 0x57, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180125_92554152/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180125_92554152/test.pb.go
deleted file mode 100644
index ec1eafe10b..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180125_92554152/test.pb.go
+++ /dev/null
@@ -1,3590 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: proto2_20180125_92554152/test.proto
-
-/*
-Package proto2_20180125_92554152 is a generated protocol buffer package.
-
-It is generated from these files:
-
- proto2_20180125_92554152/test.proto
-
-It has these top-level messages:
-
- SiblingMessage
- Message
-*/
-package proto2_20180125_92554152
-
-import proto "google.golang.org/protobuf/internal/protolegacy"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-type SiblingEnum int32
-
-const (
- SiblingEnum_ALPHA SiblingEnum = 0
- SiblingEnum_BRAVO SiblingEnum = 10
- SiblingEnum_CHARLIE SiblingEnum = 200
-)
-
-var SiblingEnum_name = map[int32]string{
- 0: "ALPHA",
- 10: "BRAVO",
- 200: "CHARLIE",
-}
-var SiblingEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 10,
- "CHARLIE": 200,
-}
-
-func (x SiblingEnum) Enum() *SiblingEnum {
- p := new(SiblingEnum)
- *p = x
- return p
-}
-func (x SiblingEnum) String() string {
- return proto.EnumName(SiblingEnum_name, int32(x))
-}
-func (x *SiblingEnum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum")
- if err != nil {
- return err
- }
- *x = SiblingEnum(value)
- return nil
-}
-func (SiblingEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-
-type Message_ChildEnum int32
-
-const (
- Message_ALPHA Message_ChildEnum = 0
- Message_BRAVO Message_ChildEnum = 1
- Message_CHARLIE Message_ChildEnum = 2
-)
-
-var Message_ChildEnum_name = map[int32]string{
- 0: "ALPHA",
- 1: "BRAVO",
- 2: "CHARLIE",
-}
-var Message_ChildEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 1,
- "CHARLIE": 2,
-}
-
-func (x Message_ChildEnum) Enum() *Message_ChildEnum {
- p := new(Message_ChildEnum)
- *p = x
- return p
-}
-func (x Message_ChildEnum) String() string {
- return proto.EnumName(Message_ChildEnum_name, int32(x))
-}
-func (x *Message_ChildEnum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum")
- if err != nil {
- return err
- }
- *x = Message_ChildEnum(value)
- return nil
-}
-func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
-
-type SiblingMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
-func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
-func (*SiblingMessage) ProtoMessage() {}
-func (*SiblingMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-
-func (m *SiblingMessage) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *SiblingMessage) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message struct {
- Namedgroup *Message_NamedGroup `protobuf:"group,1,opt,name=NamedGroup,json=namedgroup" json:"namedgroup,omitempty"`
- // Optional fields.
- OptionalBool *bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
- OptionalInt32 *int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
- OptionalSint32 *int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
- OptionalUint32 *uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
- OptionalInt64 *int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
- OptionalSint64 *int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
- OptionalUint64 *uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
- OptionalFixed32 *uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 *int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
- OptionalFloat *float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
- OptionalFixed64 *uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 *int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
- OptionalDouble *float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
- OptionalString *string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
- OptionalChildEnum *Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
- OptionalNamedGroup *Message_NamedGroup `protobuf:"bytes,117,opt,name=optional_named_group,json=optionalNamedGroup" json:"optional_named_group,omitempty"`
- OptionalSiblingEnum *SiblingEnum `protobuf:"varint,118,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,119,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
- Optionalgroup *Message_OptionalGroup `protobuf:"group,120,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
- // Optional default fields.
- DefaultedBool *bool `protobuf:"varint,200,opt,name=defaulted_bool,json=defaultedBool,def=1" json:"defaulted_bool,omitempty"`
- DefaultedInt32 *int32 `protobuf:"varint,201,opt,name=defaulted_int32,json=defaultedInt32,def=-12345" json:"defaulted_int32,omitempty"`
- DefaultedSint32 *int32 `protobuf:"zigzag32,202,opt,name=defaulted_sint32,json=defaultedSint32,def=-3200" json:"defaulted_sint32,omitempty"`
- DefaultedUint32 *uint32 `protobuf:"varint,203,opt,name=defaulted_uint32,json=defaultedUint32,def=3200" json:"defaulted_uint32,omitempty"`
- DefaultedInt64 *int64 `protobuf:"varint,204,opt,name=defaulted_int64,json=defaultedInt64,def=-123456789" json:"defaulted_int64,omitempty"`
- DefaultedSint64 *int64 `protobuf:"zigzag64,205,opt,name=defaulted_sint64,json=defaultedSint64,def=-6400" json:"defaulted_sint64,omitempty"`
- DefaultedUint64 *uint64 `protobuf:"varint,206,opt,name=defaulted_uint64,json=defaultedUint64,def=6400" json:"defaulted_uint64,omitempty"`
- DefaultedFixed32 *uint32 `protobuf:"fixed32,207,opt,name=defaulted_fixed32,json=defaultedFixed32,def=320000" json:"defaulted_fixed32,omitempty"`
- DefaultedSfixed32 *int32 `protobuf:"fixed32,208,opt,name=defaulted_sfixed32,json=defaultedSfixed32,def=-320000" json:"defaulted_sfixed32,omitempty"`
- DefaultedFloat *float32 `protobuf:"fixed32,209,opt,name=defaulted_float,json=defaultedFloat,def=3.14159" json:"defaulted_float,omitempty"`
- DefaultedFixed64 *uint64 `protobuf:"fixed64,210,opt,name=defaulted_fixed64,json=defaultedFixed64,def=640000" json:"defaulted_fixed64,omitempty"`
- DefaultedSfixed64 *int64 `protobuf:"fixed64,211,opt,name=defaulted_sfixed64,json=defaultedSfixed64,def=-640000" json:"defaulted_sfixed64,omitempty"`
- DefaultedDouble *float64 `protobuf:"fixed64,212,opt,name=defaulted_double,json=defaultedDouble,def=3.14159265359" json:"defaulted_double,omitempty"`
- DefaultedString *string `protobuf:"bytes,213,opt,name=defaulted_string,json=defaultedString,def=hello, \"world!\"\n" json:"defaulted_string,omitempty"`
- DefaultedBytes []byte `protobuf:"bytes,214,opt,name=defaulted_bytes,json=defaultedBytes,def=dead\\336\\255\\276\\357beef" json:"defaulted_bytes,omitempty"`
- DefaultedChildEnum *Message_ChildEnum `protobuf:"varint,215,opt,name=defaulted_child_enum,json=defaultedChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum,def=0" json:"defaulted_child_enum,omitempty"`
- DefaultedSiblingEnum *SiblingEnum `protobuf:"varint,216,opt,name=defaulted_sibling_enum,json=defaultedSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum,def=0" json:"defaulted_sibling_enum,omitempty"`
- // Required fields.
- RequiredBool *bool `protobuf:"varint,300,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"`
- RequiredInt32 *int32 `protobuf:"varint,301,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"`
- RequiredSint32 *int32 `protobuf:"zigzag32,302,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"`
- RequiredUint32 *uint32 `protobuf:"varint,303,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"`
- RequiredInt64 *int64 `protobuf:"varint,304,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"`
- RequiredSint64 *int64 `protobuf:"zigzag64,305,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"`
- RequiredUint64 *uint64 `protobuf:"varint,306,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"`
- RequiredFixed32 *uint32 `protobuf:"fixed32,307,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"`
- RequiredSfixed32 *int32 `protobuf:"fixed32,308,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"`
- RequiredFloat *float32 `protobuf:"fixed32,309,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"`
- RequiredFixed64 *uint64 `protobuf:"fixed64,310,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"`
- RequiredSfixed64 *int64 `protobuf:"fixed64,311,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"`
- RequiredDouble *float64 `protobuf:"fixed64,312,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"`
- RequiredString *string `protobuf:"bytes,313,req,name=required_string,json=requiredString" json:"required_string,omitempty"`
- RequiredBytes []byte `protobuf:"bytes,314,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"`
- RequiredChildEnum *Message_ChildEnum `protobuf:"varint,315,req,name=required_child_enum,json=requiredChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum" json:"required_child_enum,omitempty"`
- RequiredChildMessage *Message_ChildMessage `protobuf:"bytes,316,req,name=required_child_message,json=requiredChildMessage" json:"required_child_message,omitempty"`
- RequiredNamedGroup *Message_NamedGroup `protobuf:"bytes,317,req,name=required_named_group,json=requiredNamedGroup" json:"required_named_group,omitempty"`
- RequiredSiblingEnum *SiblingEnum `protobuf:"varint,318,req,name=required_sibling_enum,json=requiredSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum" json:"required_sibling_enum,omitempty"`
- RequiredSiblingMessage *SiblingMessage `protobuf:"bytes,319,req,name=required_sibling_message,json=requiredSiblingMessage" json:"required_sibling_message,omitempty"`
- Requiredgroup *Message_RequiredGroup `protobuf:"group,320,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
- // Required default fields.
- RequiredDefaultedBool *bool `protobuf:"varint,400,req,name=required_defaulted_bool,json=requiredDefaultedBool,def=1" json:"required_defaulted_bool,omitempty"`
- RequiredDefaultedInt32 *int32 `protobuf:"varint,401,req,name=required_defaulted_int32,json=requiredDefaultedInt32,def=-12345" json:"required_defaulted_int32,omitempty"`
- RequiredDefaultedSint32 *int32 `protobuf:"zigzag32,402,req,name=required_defaulted_sint32,json=requiredDefaultedSint32,def=-3200" json:"required_defaulted_sint32,omitempty"`
- RequiredDefaultedUint32 *uint32 `protobuf:"varint,403,req,name=required_defaulted_uint32,json=requiredDefaultedUint32,def=3200" json:"required_defaulted_uint32,omitempty"`
- RequiredDefaultedInt64 *int64 `protobuf:"varint,404,req,name=required_defaulted_int64,json=requiredDefaultedInt64,def=-123456789" json:"required_defaulted_int64,omitempty"`
- RequiredDefaultedSint64 *int64 `protobuf:"zigzag64,405,req,name=required_defaulted_sint64,json=requiredDefaultedSint64,def=-6400" json:"required_defaulted_sint64,omitempty"`
- RequiredDefaultedUint64 *uint64 `protobuf:"varint,406,req,name=required_defaulted_uint64,json=requiredDefaultedUint64,def=6400" json:"required_defaulted_uint64,omitempty"`
- RequiredDefaultedFixed32 *uint32 `protobuf:"fixed32,407,req,name=required_defaulted_fixed32,json=requiredDefaultedFixed32,def=320000" json:"required_defaulted_fixed32,omitempty"`
- RequiredDefaultedSfixed32 *int32 `protobuf:"fixed32,408,req,name=required_defaulted_sfixed32,json=requiredDefaultedSfixed32,def=-320000" json:"required_defaulted_sfixed32,omitempty"`
- RequiredDefaultedFloat *float32 `protobuf:"fixed32,409,req,name=required_defaulted_float,json=requiredDefaultedFloat,def=3.14159" json:"required_defaulted_float,omitempty"`
- RequiredDefaultedFixed64 *uint64 `protobuf:"fixed64,410,req,name=required_defaulted_fixed64,json=requiredDefaultedFixed64,def=640000" json:"required_defaulted_fixed64,omitempty"`
- RequiredDefaultedSfixed64 *int64 `protobuf:"fixed64,411,req,name=required_defaulted_sfixed64,json=requiredDefaultedSfixed64,def=-640000" json:"required_defaulted_sfixed64,omitempty"`
- RequiredDefaultedDouble *float64 `protobuf:"fixed64,412,req,name=required_defaulted_double,json=requiredDefaultedDouble,def=3.14159265359" json:"required_defaulted_double,omitempty"`
- RequiredDefaultedString *string `protobuf:"bytes,413,req,name=required_defaulted_string,json=requiredDefaultedString,def=hello, \"world!\"\n" json:"required_defaulted_string,omitempty"`
- RequiredDefaultedBytes []byte `protobuf:"bytes,414,req,name=required_defaulted_bytes,json=requiredDefaultedBytes,def=dead\\336\\255\\276\\357beef" json:"required_defaulted_bytes,omitempty"`
- RequiredDefaultedChildEnum *Message_ChildEnum `protobuf:"varint,415,req,name=required_defaulted_child_enum,json=requiredDefaultedChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum,def=0" json:"required_defaulted_child_enum,omitempty"`
- RequiredDefaultedSiblingEnum *SiblingEnum `protobuf:"varint,416,req,name=required_defaulted_sibling_enum,json=requiredDefaultedSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum,def=0" json:"required_defaulted_sibling_enum,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,500,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,501,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,502,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,503,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,504,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,505,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,506,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,507,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,508,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,509,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,510,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,511,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,512,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,513,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,514,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,515,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,516,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
- RepeatedNamedGroup []*Message_NamedGroup `protobuf:"bytes,517,rep,name=repeated_named_group,json=repeatedNamedGroup" json:"repeated_named_group,omitempty"`
- RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,518,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,519,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
- Repeatedgroup []*Message_RepeatedGroup `protobuf:"group,520,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,600,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,601,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,602,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,603,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,604,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,605,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,606,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,607,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,608,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,609,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,610,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,611,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,612,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolString map[bool]string `protobuf:"bytes,613,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,614,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,615,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20180125.Message_ChildEnum"`
- MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,616,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolNamedGroup map[bool]*Message_NamedGroup `protobuf:"bytes,617,rep,name=map_bool_named_group,json=mapBoolNamedGroup" json:"map_bool_named_group,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,618,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20180125.SiblingEnum"`
- MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,619,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,620,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,621,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,622,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,623,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,624,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,625,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,626,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapStringBool map[string]bool `protobuf:"bytes,627,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- // Oneof fields.
- //
- // Types that are valid to be assigned to OneofUnion:
- // *Message_OneofBool
- // *Message_OneofInt32
- // *Message_OneofSint32
- // *Message_OneofUint32
- // *Message_OneofInt64
- // *Message_OneofSint64
- // *Message_OneofUint64
- // *Message_OneofFixed32
- // *Message_OneofSfixed32
- // *Message_OneofFloat
- // *Message_OneofFixed64
- // *Message_OneofSfixed64
- // *Message_OneofDouble
- // *Message_OneofString
- // *Message_OneofBytes
- // *Message_OneofChildEnum
- // *Message_OneofChildMessage
- // *Message_OneofNamedGroup
- // *Message_OneofSiblingEnum
- // *Message_OneofSiblingMessage
- // *Message_Oneofgroup
- // *Message_OneofString1
- // *Message_OneofString2
- // *Message_OneofString3
- OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
- // Oneof default fields.
- //
- // Types that are valid to be assigned to OneofDefaultedUnion:
- // *Message_OneofDefaultedBool
- // *Message_OneofDefaultedInt32
- // *Message_OneofDefaultedSint32
- // *Message_OneofDefaultedUint32
- // *Message_OneofDefaultedInt64
- // *Message_OneofDefaultedSint64
- // *Message_OneofDefaultedUint64
- // *Message_OneofDefaultedFixed32
- // *Message_OneofDefaultedSfixed32
- // *Message_OneofDefaultedFloat
- // *Message_OneofDefaultedFixed64
- // *Message_OneofDefaultedSfixed64
- // *Message_OneofDefaultedDouble
- // *Message_OneofDefaultedString
- // *Message_OneofDefaultedBytes
- // *Message_OneofDefaultedChildEnum
- // *Message_OneofDefaultedSiblingEnum
- OneofDefaultedUnion isMessage_OneofDefaultedUnion `protobuf_oneof:"oneof_defaulted_union"`
- proto.XXX_InternalExtensions `json:"-"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message) Reset() { *m = Message{} }
-func (m *Message) String() string { return proto.CompactTextString(m) }
-func (*Message) ProtoMessage() {}
-func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
-
-var extRange_Message = []proto.ExtensionRange{
- {10000, 536870911},
-}
-
-func (*Message) ExtensionRangeArray() []proto.ExtensionRange {
- return extRange_Message
-}
-
-const Default_Message_DefaultedBool bool = true
-const Default_Message_DefaultedInt32 int32 = -12345
-const Default_Message_DefaultedSint32 int32 = -3200
-const Default_Message_DefaultedUint32 uint32 = 3200
-const Default_Message_DefaultedInt64 int64 = -123456789
-const Default_Message_DefaultedSint64 int64 = -6400
-const Default_Message_DefaultedUint64 uint64 = 6400
-const Default_Message_DefaultedFixed32 uint32 = 320000
-const Default_Message_DefaultedSfixed32 int32 = -320000
-const Default_Message_DefaultedFloat float32 = 3.14159
-const Default_Message_DefaultedFixed64 uint64 = 640000
-const Default_Message_DefaultedSfixed64 int64 = -640000
-const Default_Message_DefaultedDouble float64 = 3.14159265359
-const Default_Message_DefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_DefaultedBytes []byte = []byte("deadÞ­\xbe\xefbeef")
-
-const Default_Message_DefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_DefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-const Default_Message_RequiredDefaultedBool bool = true
-const Default_Message_RequiredDefaultedInt32 int32 = -12345
-const Default_Message_RequiredDefaultedSint32 int32 = -3200
-const Default_Message_RequiredDefaultedUint32 uint32 = 3200
-const Default_Message_RequiredDefaultedInt64 int64 = -123456789
-const Default_Message_RequiredDefaultedSint64 int64 = -6400
-const Default_Message_RequiredDefaultedUint64 uint64 = 6400
-const Default_Message_RequiredDefaultedFixed32 uint32 = 320000
-const Default_Message_RequiredDefaultedSfixed32 int32 = -320000
-const Default_Message_RequiredDefaultedFloat float32 = 3.14159
-const Default_Message_RequiredDefaultedFixed64 uint64 = 640000
-const Default_Message_RequiredDefaultedSfixed64 int64 = -640000
-const Default_Message_RequiredDefaultedDouble float64 = 3.14159265359
-const Default_Message_RequiredDefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_RequiredDefaultedBytes []byte = []byte("deadÞ­\xbe\xefbeef")
-
-const Default_Message_RequiredDefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_RequiredDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-const Default_Message_OneofDefaultedBool bool = true
-const Default_Message_OneofDefaultedInt32 int32 = -12345
-const Default_Message_OneofDefaultedSint32 int32 = -3200
-const Default_Message_OneofDefaultedUint32 uint32 = 3200
-const Default_Message_OneofDefaultedInt64 int64 = -123456789
-const Default_Message_OneofDefaultedSint64 int64 = -6400
-const Default_Message_OneofDefaultedUint64 uint64 = 6400
-const Default_Message_OneofDefaultedFixed32 uint32 = 320000
-const Default_Message_OneofDefaultedSfixed32 int32 = -320000
-const Default_Message_OneofDefaultedFloat float32 = 3.14159
-const Default_Message_OneofDefaultedFixed64 uint64 = 640000
-const Default_Message_OneofDefaultedSfixed64 int64 = -640000
-const Default_Message_OneofDefaultedDouble float64 = 3.14159265359
-const Default_Message_OneofDefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_OneofDefaultedBytes []byte = []byte("deadÞ­\xbe\xefbeef")
-
-const Default_Message_OneofDefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_OneofDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-
-type isMessage_OneofUnion interface{ isMessage_OneofUnion() }
-type isMessage_OneofDefaultedUnion interface{ isMessage_OneofDefaultedUnion() }
-
-type Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,700,opt,name=oneof_bool,json=oneofBool,oneof"`
-}
-type Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,701,opt,name=oneof_int32,json=oneofInt32,oneof"`
-}
-type Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,702,opt,name=oneof_sint32,json=oneofSint32,oneof"`
-}
-type Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,703,opt,name=oneof_uint32,json=oneofUint32,oneof"`
-}
-type Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,704,opt,name=oneof_int64,json=oneofInt64,oneof"`
-}
-type Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,705,opt,name=oneof_sint64,json=oneofSint64,oneof"`
-}
-type Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,706,opt,name=oneof_uint64,json=oneofUint64,oneof"`
-}
-type Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,707,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
-}
-type Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,708,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
-}
-type Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,709,opt,name=oneof_float,json=oneofFloat,oneof"`
-}
-type Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,710,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
-}
-type Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,711,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
-}
-type Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,712,opt,name=oneof_double,json=oneofDouble,oneof"`
-}
-type Message_OneofString struct {
- OneofString string `protobuf:"bytes,713,opt,name=oneof_string,json=oneofString,oneof"`
-}
-type Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,714,opt,name=oneof_bytes,json=oneofBytes,oneof"`
-}
-type Message_OneofChildEnum struct {
- OneofChildEnum Message_ChildEnum `protobuf:"varint,715,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum,oneof"`
-}
-type Message_OneofChildMessage struct {
- OneofChildMessage *Message_ChildMessage `protobuf:"bytes,716,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
-}
-type Message_OneofNamedGroup struct {
- OneofNamedGroup *Message_NamedGroup `protobuf:"bytes,717,opt,name=oneof_named_group,json=oneofNamedGroup,oneof"`
-}
-type Message_OneofSiblingEnum struct {
- OneofSiblingEnum SiblingEnum `protobuf:"varint,718,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum,oneof"`
-}
-type Message_OneofSiblingMessage struct {
- OneofSiblingMessage *SiblingMessage `protobuf:"bytes,719,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
-}
-type Message_Oneofgroup struct {
- Oneofgroup *Message_OneofGroup `protobuf:"group,720,opt,name=OneofGroup,json=oneofgroup,oneof"`
-}
-type Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,721,opt,name=oneof_string1,json=oneofString1,oneof"`
-}
-type Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,722,opt,name=oneof_string2,json=oneofString2,oneof"`
-}
-type Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,723,opt,name=oneof_string3,json=oneofString3,oneof"`
-}
-type Message_OneofDefaultedBool struct {
- OneofDefaultedBool bool `protobuf:"varint,800,opt,name=oneof_defaulted_bool,json=oneofDefaultedBool,oneof,def=1"`
-}
-type Message_OneofDefaultedInt32 struct {
- OneofDefaultedInt32 int32 `protobuf:"varint,801,opt,name=oneof_defaulted_int32,json=oneofDefaultedInt32,oneof,def=-12345"`
-}
-type Message_OneofDefaultedSint32 struct {
- OneofDefaultedSint32 int32 `protobuf:"zigzag32,802,opt,name=oneof_defaulted_sint32,json=oneofDefaultedSint32,oneof,def=-3200"`
-}
-type Message_OneofDefaultedUint32 struct {
- OneofDefaultedUint32 uint32 `protobuf:"varint,803,opt,name=oneof_defaulted_uint32,json=oneofDefaultedUint32,oneof,def=3200"`
-}
-type Message_OneofDefaultedInt64 struct {
- OneofDefaultedInt64 int64 `protobuf:"varint,804,opt,name=oneof_defaulted_int64,json=oneofDefaultedInt64,oneof,def=-123456789"`
-}
-type Message_OneofDefaultedSint64 struct {
- OneofDefaultedSint64 int64 `protobuf:"zigzag64,805,opt,name=oneof_defaulted_sint64,json=oneofDefaultedSint64,oneof,def=-6400"`
-}
-type Message_OneofDefaultedUint64 struct {
- OneofDefaultedUint64 uint64 `protobuf:"varint,806,opt,name=oneof_defaulted_uint64,json=oneofDefaultedUint64,oneof,def=6400"`
-}
-type Message_OneofDefaultedFixed32 struct {
- OneofDefaultedFixed32 uint32 `protobuf:"fixed32,807,opt,name=oneof_defaulted_fixed32,json=oneofDefaultedFixed32,oneof,def=320000"`
-}
-type Message_OneofDefaultedSfixed32 struct {
- OneofDefaultedSfixed32 int32 `protobuf:"fixed32,808,opt,name=oneof_defaulted_sfixed32,json=oneofDefaultedSfixed32,oneof,def=-320000"`
-}
-type Message_OneofDefaultedFloat struct {
- OneofDefaultedFloat float32 `protobuf:"fixed32,809,opt,name=oneof_defaulted_float,json=oneofDefaultedFloat,oneof,def=3.14159"`
-}
-type Message_OneofDefaultedFixed64 struct {
- OneofDefaultedFixed64 uint64 `protobuf:"fixed64,810,opt,name=oneof_defaulted_fixed64,json=oneofDefaultedFixed64,oneof,def=640000"`
-}
-type Message_OneofDefaultedSfixed64 struct {
- OneofDefaultedSfixed64 int64 `protobuf:"fixed64,811,opt,name=oneof_defaulted_sfixed64,json=oneofDefaultedSfixed64,oneof,def=-640000"`
-}
-type Message_OneofDefaultedDouble struct {
- OneofDefaultedDouble float64 `protobuf:"fixed64,812,opt,name=oneof_defaulted_double,json=oneofDefaultedDouble,oneof,def=3.14159265359"`
-}
-type Message_OneofDefaultedString struct {
- OneofDefaultedString string `protobuf:"bytes,813,opt,name=oneof_defaulted_string,json=oneofDefaultedString,oneof,def=hello, \"world!\"\n"`
-}
-type Message_OneofDefaultedBytes struct {
- OneofDefaultedBytes []byte `protobuf:"bytes,814,opt,name=oneof_defaulted_bytes,json=oneofDefaultedBytes,oneof,def=dead\\336\\255\\276\\357beef"`
-}
-type Message_OneofDefaultedChildEnum struct {
- OneofDefaultedChildEnum Message_ChildEnum `protobuf:"varint,815,opt,name=oneof_defaulted_child_enum,json=oneofDefaultedChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum,oneof,def=0"`
-}
-type Message_OneofDefaultedSiblingEnum struct {
- OneofDefaultedSiblingEnum SiblingEnum `protobuf:"varint,816,opt,name=oneof_defaulted_sibling_enum,json=oneofDefaultedSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum,oneof,def=0"`
-}
-
-func (*Message_OneofBool) isMessage_OneofUnion() {}
-func (*Message_OneofInt32) isMessage_OneofUnion() {}
-func (*Message_OneofSint32) isMessage_OneofUnion() {}
-func (*Message_OneofUint32) isMessage_OneofUnion() {}
-func (*Message_OneofInt64) isMessage_OneofUnion() {}
-func (*Message_OneofSint64) isMessage_OneofUnion() {}
-func (*Message_OneofUint64) isMessage_OneofUnion() {}
-func (*Message_OneofFixed32) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
-func (*Message_OneofFloat) isMessage_OneofUnion() {}
-func (*Message_OneofFixed64) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
-func (*Message_OneofDouble) isMessage_OneofUnion() {}
-func (*Message_OneofString) isMessage_OneofUnion() {}
-func (*Message_OneofBytes) isMessage_OneofUnion() {}
-func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
-func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
-func (*Message_OneofNamedGroup) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
-func (*Message_Oneofgroup) isMessage_OneofUnion() {}
-func (*Message_OneofString1) isMessage_OneofUnion() {}
-func (*Message_OneofString2) isMessage_OneofUnion() {}
-func (*Message_OneofString3) isMessage_OneofUnion() {}
-func (*Message_OneofDefaultedBool) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedInt32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSint32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedUint32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedInt64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSint64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedUint64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedFixed32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSfixed32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedFloat) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedFixed64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSfixed64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedDouble) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedString) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedBytes) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedChildEnum) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSiblingEnum) isMessage_OneofDefaultedUnion() {}
-
-func (m *Message) GetOneofUnion() isMessage_OneofUnion {
- if m != nil {
- return m.OneofUnion
- }
- return nil
-}
-func (m *Message) GetOneofDefaultedUnion() isMessage_OneofDefaultedUnion {
- if m != nil {
- return m.OneofDefaultedUnion
- }
- return nil
-}
-
-func (m *Message) GetNamedgroup() *Message_NamedGroup {
- if m != nil {
- return m.Namedgroup
- }
- return nil
-}
-
-func (m *Message) GetOptionalBool() bool {
- if m != nil && m.OptionalBool != nil {
- return *m.OptionalBool
- }
- return false
-}
-
-func (m *Message) GetOptionalInt32() int32 {
- if m != nil && m.OptionalInt32 != nil {
- return *m.OptionalInt32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint32() int32 {
- if m != nil && m.OptionalSint32 != nil {
- return *m.OptionalSint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint32() uint32 {
- if m != nil && m.OptionalUint32 != nil {
- return *m.OptionalUint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalInt64() int64 {
- if m != nil && m.OptionalInt64 != nil {
- return *m.OptionalInt64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint64() int64 {
- if m != nil && m.OptionalSint64 != nil {
- return *m.OptionalSint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint64() uint64 {
- if m != nil && m.OptionalUint64 != nil {
- return *m.OptionalUint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed32() uint32 {
- if m != nil && m.OptionalFixed32 != nil {
- return *m.OptionalFixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed32() int32 {
- if m != nil && m.OptionalSfixed32 != nil {
- return *m.OptionalSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalFloat() float32 {
- if m != nil && m.OptionalFloat != nil {
- return *m.OptionalFloat
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed64() uint64 {
- if m != nil && m.OptionalFixed64 != nil {
- return *m.OptionalFixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed64() int64 {
- if m != nil && m.OptionalSfixed64 != nil {
- return *m.OptionalSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalDouble() float64 {
- if m != nil && m.OptionalDouble != nil {
- return *m.OptionalDouble
- }
- return 0
-}
-
-func (m *Message) GetOptionalString() string {
- if m != nil && m.OptionalString != nil {
- return *m.OptionalString
- }
- return ""
-}
-
-func (m *Message) GetOptionalBytes() []byte {
- if m != nil {
- return m.OptionalBytes
- }
- return nil
-}
-
-func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
- if m != nil && m.OptionalChildEnum != nil {
- return *m.OptionalChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.OptionalChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalNamedGroup() *Message_NamedGroup {
- if m != nil {
- return m.OptionalNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
- if m != nil && m.OptionalSiblingEnum != nil {
- return *m.OptionalSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.OptionalSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalgroup() *Message_OptionalGroup {
- if m != nil {
- return m.Optionalgroup
- }
- return nil
-}
-
-func (m *Message) GetDefaultedBool() bool {
- if m != nil && m.DefaultedBool != nil {
- return *m.DefaultedBool
- }
- return Default_Message_DefaultedBool
-}
-
-func (m *Message) GetDefaultedInt32() int32 {
- if m != nil && m.DefaultedInt32 != nil {
- return *m.DefaultedInt32
- }
- return Default_Message_DefaultedInt32
-}
-
-func (m *Message) GetDefaultedSint32() int32 {
- if m != nil && m.DefaultedSint32 != nil {
- return *m.DefaultedSint32
- }
- return Default_Message_DefaultedSint32
-}
-
-func (m *Message) GetDefaultedUint32() uint32 {
- if m != nil && m.DefaultedUint32 != nil {
- return *m.DefaultedUint32
- }
- return Default_Message_DefaultedUint32
-}
-
-func (m *Message) GetDefaultedInt64() int64 {
- if m != nil && m.DefaultedInt64 != nil {
- return *m.DefaultedInt64
- }
- return Default_Message_DefaultedInt64
-}
-
-func (m *Message) GetDefaultedSint64() int64 {
- if m != nil && m.DefaultedSint64 != nil {
- return *m.DefaultedSint64
- }
- return Default_Message_DefaultedSint64
-}
-
-func (m *Message) GetDefaultedUint64() uint64 {
- if m != nil && m.DefaultedUint64 != nil {
- return *m.DefaultedUint64
- }
- return Default_Message_DefaultedUint64
-}
-
-func (m *Message) GetDefaultedFixed32() uint32 {
- if m != nil && m.DefaultedFixed32 != nil {
- return *m.DefaultedFixed32
- }
- return Default_Message_DefaultedFixed32
-}
-
-func (m *Message) GetDefaultedSfixed32() int32 {
- if m != nil && m.DefaultedSfixed32 != nil {
- return *m.DefaultedSfixed32
- }
- return Default_Message_DefaultedSfixed32
-}
-
-func (m *Message) GetDefaultedFloat() float32 {
- if m != nil && m.DefaultedFloat != nil {
- return *m.DefaultedFloat
- }
- return Default_Message_DefaultedFloat
-}
-
-func (m *Message) GetDefaultedFixed64() uint64 {
- if m != nil && m.DefaultedFixed64 != nil {
- return *m.DefaultedFixed64
- }
- return Default_Message_DefaultedFixed64
-}
-
-func (m *Message) GetDefaultedSfixed64() int64 {
- if m != nil && m.DefaultedSfixed64 != nil {
- return *m.DefaultedSfixed64
- }
- return Default_Message_DefaultedSfixed64
-}
-
-func (m *Message) GetDefaultedDouble() float64 {
- if m != nil && m.DefaultedDouble != nil {
- return *m.DefaultedDouble
- }
- return Default_Message_DefaultedDouble
-}
-
-func (m *Message) GetDefaultedString() string {
- if m != nil && m.DefaultedString != nil {
- return *m.DefaultedString
- }
- return Default_Message_DefaultedString
-}
-
-func (m *Message) GetDefaultedBytes() []byte {
- if m != nil && m.DefaultedBytes != nil {
- return m.DefaultedBytes
- }
- return append([]byte(nil), Default_Message_DefaultedBytes...)
-}
-
-func (m *Message) GetDefaultedChildEnum() Message_ChildEnum {
- if m != nil && m.DefaultedChildEnum != nil {
- return *m.DefaultedChildEnum
- }
- return Default_Message_DefaultedChildEnum
-}
-
-func (m *Message) GetDefaultedSiblingEnum() SiblingEnum {
- if m != nil && m.DefaultedSiblingEnum != nil {
- return *m.DefaultedSiblingEnum
- }
- return Default_Message_DefaultedSiblingEnum
-}
-
-func (m *Message) GetRequiredBool() bool {
- if m != nil && m.RequiredBool != nil {
- return *m.RequiredBool
- }
- return false
-}
-
-func (m *Message) GetRequiredInt32() int32 {
- if m != nil && m.RequiredInt32 != nil {
- return *m.RequiredInt32
- }
- return 0
-}
-
-func (m *Message) GetRequiredSint32() int32 {
- if m != nil && m.RequiredSint32 != nil {
- return *m.RequiredSint32
- }
- return 0
-}
-
-func (m *Message) GetRequiredUint32() uint32 {
- if m != nil && m.RequiredUint32 != nil {
- return *m.RequiredUint32
- }
- return 0
-}
-
-func (m *Message) GetRequiredInt64() int64 {
- if m != nil && m.RequiredInt64 != nil {
- return *m.RequiredInt64
- }
- return 0
-}
-
-func (m *Message) GetRequiredSint64() int64 {
- if m != nil && m.RequiredSint64 != nil {
- return *m.RequiredSint64
- }
- return 0
-}
-
-func (m *Message) GetRequiredUint64() uint64 {
- if m != nil && m.RequiredUint64 != nil {
- return *m.RequiredUint64
- }
- return 0
-}
-
-func (m *Message) GetRequiredFixed32() uint32 {
- if m != nil && m.RequiredFixed32 != nil {
- return *m.RequiredFixed32
- }
- return 0
-}
-
-func (m *Message) GetRequiredSfixed32() int32 {
- if m != nil && m.RequiredSfixed32 != nil {
- return *m.RequiredSfixed32
- }
- return 0
-}
-
-func (m *Message) GetRequiredFloat() float32 {
- if m != nil && m.RequiredFloat != nil {
- return *m.RequiredFloat
- }
- return 0
-}
-
-func (m *Message) GetRequiredFixed64() uint64 {
- if m != nil && m.RequiredFixed64 != nil {
- return *m.RequiredFixed64
- }
- return 0
-}
-
-func (m *Message) GetRequiredSfixed64() int64 {
- if m != nil && m.RequiredSfixed64 != nil {
- return *m.RequiredSfixed64
- }
- return 0
-}
-
-func (m *Message) GetRequiredDouble() float64 {
- if m != nil && m.RequiredDouble != nil {
- return *m.RequiredDouble
- }
- return 0
-}
-
-func (m *Message) GetRequiredString() string {
- if m != nil && m.RequiredString != nil {
- return *m.RequiredString
- }
- return ""
-}
-
-func (m *Message) GetRequiredBytes() []byte {
- if m != nil {
- return m.RequiredBytes
- }
- return nil
-}
-
-func (m *Message) GetRequiredChildEnum() Message_ChildEnum {
- if m != nil && m.RequiredChildEnum != nil {
- return *m.RequiredChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetRequiredChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.RequiredChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRequiredNamedGroup() *Message_NamedGroup {
- if m != nil {
- return m.RequiredNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetRequiredSiblingEnum() SiblingEnum {
- if m != nil && m.RequiredSiblingEnum != nil {
- return *m.RequiredSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetRequiredSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.RequiredSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRequiredgroup() *Message_RequiredGroup {
- if m != nil {
- return m.Requiredgroup
- }
- return nil
-}
-
-func (m *Message) GetRequiredDefaultedBool() bool {
- if m != nil && m.RequiredDefaultedBool != nil {
- return *m.RequiredDefaultedBool
- }
- return Default_Message_RequiredDefaultedBool
-}
-
-func (m *Message) GetRequiredDefaultedInt32() int32 {
- if m != nil && m.RequiredDefaultedInt32 != nil {
- return *m.RequiredDefaultedInt32
- }
- return Default_Message_RequiredDefaultedInt32
-}
-
-func (m *Message) GetRequiredDefaultedSint32() int32 {
- if m != nil && m.RequiredDefaultedSint32 != nil {
- return *m.RequiredDefaultedSint32
- }
- return Default_Message_RequiredDefaultedSint32
-}
-
-func (m *Message) GetRequiredDefaultedUint32() uint32 {
- if m != nil && m.RequiredDefaultedUint32 != nil {
- return *m.RequiredDefaultedUint32
- }
- return Default_Message_RequiredDefaultedUint32
-}
-
-func (m *Message) GetRequiredDefaultedInt64() int64 {
- if m != nil && m.RequiredDefaultedInt64 != nil {
- return *m.RequiredDefaultedInt64
- }
- return Default_Message_RequiredDefaultedInt64
-}
-
-func (m *Message) GetRequiredDefaultedSint64() int64 {
- if m != nil && m.RequiredDefaultedSint64 != nil {
- return *m.RequiredDefaultedSint64
- }
- return Default_Message_RequiredDefaultedSint64
-}
-
-func (m *Message) GetRequiredDefaultedUint64() uint64 {
- if m != nil && m.RequiredDefaultedUint64 != nil {
- return *m.RequiredDefaultedUint64
- }
- return Default_Message_RequiredDefaultedUint64
-}
-
-func (m *Message) GetRequiredDefaultedFixed32() uint32 {
- if m != nil && m.RequiredDefaultedFixed32 != nil {
- return *m.RequiredDefaultedFixed32
- }
- return Default_Message_RequiredDefaultedFixed32
-}
-
-func (m *Message) GetRequiredDefaultedSfixed32() int32 {
- if m != nil && m.RequiredDefaultedSfixed32 != nil {
- return *m.RequiredDefaultedSfixed32
- }
- return Default_Message_RequiredDefaultedSfixed32
-}
-
-func (m *Message) GetRequiredDefaultedFloat() float32 {
- if m != nil && m.RequiredDefaultedFloat != nil {
- return *m.RequiredDefaultedFloat
- }
- return Default_Message_RequiredDefaultedFloat
-}
-
-func (m *Message) GetRequiredDefaultedFixed64() uint64 {
- if m != nil && m.RequiredDefaultedFixed64 != nil {
- return *m.RequiredDefaultedFixed64
- }
- return Default_Message_RequiredDefaultedFixed64
-}
-
-func (m *Message) GetRequiredDefaultedSfixed64() int64 {
- if m != nil && m.RequiredDefaultedSfixed64 != nil {
- return *m.RequiredDefaultedSfixed64
- }
- return Default_Message_RequiredDefaultedSfixed64
-}
-
-func (m *Message) GetRequiredDefaultedDouble() float64 {
- if m != nil && m.RequiredDefaultedDouble != nil {
- return *m.RequiredDefaultedDouble
- }
- return Default_Message_RequiredDefaultedDouble
-}
-
-func (m *Message) GetRequiredDefaultedString() string {
- if m != nil && m.RequiredDefaultedString != nil {
- return *m.RequiredDefaultedString
- }
- return Default_Message_RequiredDefaultedString
-}
-
-func (m *Message) GetRequiredDefaultedBytes() []byte {
- if m != nil && m.RequiredDefaultedBytes != nil {
- return m.RequiredDefaultedBytes
- }
- return append([]byte(nil), Default_Message_RequiredDefaultedBytes...)
-}
-
-func (m *Message) GetRequiredDefaultedChildEnum() Message_ChildEnum {
- if m != nil && m.RequiredDefaultedChildEnum != nil {
- return *m.RequiredDefaultedChildEnum
- }
- return Default_Message_RequiredDefaultedChildEnum
-}
-
-func (m *Message) GetRequiredDefaultedSiblingEnum() SiblingEnum {
- if m != nil && m.RequiredDefaultedSiblingEnum != nil {
- return *m.RequiredDefaultedSiblingEnum
- }
- return Default_Message_RequiredDefaultedSiblingEnum
-}
-
-func (m *Message) GetRepeatedBool() []bool {
- if m != nil {
- return m.RepeatedBool
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt32() []int32 {
- if m != nil {
- return m.RepeatedInt32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint32() []int32 {
- if m != nil {
- return m.RepeatedSint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint32() []uint32 {
- if m != nil {
- return m.RepeatedUint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt64() []int64 {
- if m != nil {
- return m.RepeatedInt64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint64() []int64 {
- if m != nil {
- return m.RepeatedSint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint64() []uint64 {
- if m != nil {
- return m.RepeatedUint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed32() []uint32 {
- if m != nil {
- return m.RepeatedFixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed32() []int32 {
- if m != nil {
- return m.RepeatedSfixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFloat() []float32 {
- if m != nil {
- return m.RepeatedFloat
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed64() []uint64 {
- if m != nil {
- return m.RepeatedFixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed64() []int64 {
- if m != nil {
- return m.RepeatedSfixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedDouble() []float64 {
- if m != nil {
- return m.RepeatedDouble
- }
- return nil
-}
-
-func (m *Message) GetRepeatedString() []string {
- if m != nil {
- return m.RepeatedString
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBytes() [][]byte {
- if m != nil {
- return m.RepeatedBytes
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
- if m != nil {
- return m.RepeatedChildEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
- if m != nil {
- return m.RepeatedChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedNamedGroup() []*Message_NamedGroup {
- if m != nil {
- return m.RepeatedNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
- if m != nil {
- return m.RepeatedSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
- if m != nil {
- return m.RepeatedSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedgroup() []*Message_RepeatedGroup {
- if m != nil {
- return m.Repeatedgroup
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBool() map[bool]bool {
- if m != nil {
- return m.MapBoolBool
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt32() map[bool]int32 {
- if m != nil {
- return m.MapBoolInt32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolUint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt64() map[bool]int64 {
- if m != nil {
- return m.MapBoolInt64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolUint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolFixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSfixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFloat() map[bool]float32 {
- if m != nil {
- return m.MapBoolFloat
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolFixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSfixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolDouble() map[bool]float64 {
- if m != nil {
- return m.MapBoolDouble
- }
- return nil
-}
-
-func (m *Message) GetMapBoolString() map[bool]string {
- if m != nil {
- return m.MapBoolString
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBytes() map[bool][]byte {
- if m != nil {
- return m.MapBoolBytes
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
- if m != nil {
- return m.MapBoolChildEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
- if m != nil {
- return m.MapBoolChildMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolNamedGroup() map[bool]*Message_NamedGroup {
- if m != nil {
- return m.MapBoolNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
- if m != nil {
- return m.MapBoolSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
- if m != nil {
- return m.MapBoolSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapInt32Bool() map[int32]bool {
- if m != nil {
- return m.MapInt32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint32Bool() map[int32]bool {
- if m != nil {
- return m.MapSint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint32Bool() map[uint32]bool {
- if m != nil {
- return m.MapUint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapInt64Bool() map[int64]bool {
- if m != nil {
- return m.MapInt64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint64Bool() map[int64]bool {
- if m != nil {
- return m.MapSint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint64Bool() map[uint64]bool {
- if m != nil {
- return m.MapUint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapFixed32Bool() map[uint32]bool {
- if m != nil {
- return m.MapFixed32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapStringBool() map[string]bool {
- if m != nil {
- return m.MapStringBool
- }
- return nil
-}
-
-func (m *Message) GetOneofBool() bool {
- if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (m *Message) GetOneofInt32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
- return x.OneofInt32
- }
- return 0
-}
-
-func (m *Message) GetOneofSint32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
- return x.OneofSint32
- }
- return 0
-}
-
-func (m *Message) GetOneofUint32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (m *Message) GetOneofInt64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
- return x.OneofInt64
- }
- return 0
-}
-
-func (m *Message) GetOneofSint64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
- return x.OneofSint64
- }
- return 0
-}
-
-func (m *Message) GetOneofUint64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
- return x.OneofFixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
- return x.OneofSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofFloat() float32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
- return x.OneofFixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
- return x.OneofSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofDouble() float64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (m *Message) GetOneofString() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (m *Message) GetOneofBytes() []byte {
- if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (m *Message) GetOneofChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
- return x.OneofChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
- return x.OneofChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofNamedGroup() *Message_NamedGroup {
- if x, ok := m.GetOneofUnion().(*Message_OneofNamedGroup); ok {
- return x.OneofNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetOneofSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
- return x.OneofSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
- return x.OneofSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofgroup() *Message_OneofGroup {
- if x, ok := m.GetOneofUnion().(*Message_Oneofgroup); ok {
- return x.Oneofgroup
- }
- return nil
-}
-
-func (m *Message) GetOneofString1() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
- return x.OneofString1
- }
- return ""
-}
-
-func (m *Message) GetOneofString2() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
- return x.OneofString2
- }
- return ""
-}
-
-func (m *Message) GetOneofString3() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
- return x.OneofString3
- }
- return ""
-}
-
-func (m *Message) GetOneofDefaultedBool() bool {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBool); ok {
- return x.OneofDefaultedBool
- }
- return Default_Message_OneofDefaultedBool
-}
-
-func (m *Message) GetOneofDefaultedInt32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt32); ok {
- return x.OneofDefaultedInt32
- }
- return Default_Message_OneofDefaultedInt32
-}
-
-func (m *Message) GetOneofDefaultedSint32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint32); ok {
- return x.OneofDefaultedSint32
- }
- return Default_Message_OneofDefaultedSint32
-}
-
-func (m *Message) GetOneofDefaultedUint32() uint32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint32); ok {
- return x.OneofDefaultedUint32
- }
- return Default_Message_OneofDefaultedUint32
-}
-
-func (m *Message) GetOneofDefaultedInt64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt64); ok {
- return x.OneofDefaultedInt64
- }
- return Default_Message_OneofDefaultedInt64
-}
-
-func (m *Message) GetOneofDefaultedSint64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint64); ok {
- return x.OneofDefaultedSint64
- }
- return Default_Message_OneofDefaultedSint64
-}
-
-func (m *Message) GetOneofDefaultedUint64() uint64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint64); ok {
- return x.OneofDefaultedUint64
- }
- return Default_Message_OneofDefaultedUint64
-}
-
-func (m *Message) GetOneofDefaultedFixed32() uint32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed32); ok {
- return x.OneofDefaultedFixed32
- }
- return Default_Message_OneofDefaultedFixed32
-}
-
-func (m *Message) GetOneofDefaultedSfixed32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed32); ok {
- return x.OneofDefaultedSfixed32
- }
- return Default_Message_OneofDefaultedSfixed32
-}
-
-func (m *Message) GetOneofDefaultedFloat() float32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFloat); ok {
- return x.OneofDefaultedFloat
- }
- return Default_Message_OneofDefaultedFloat
-}
-
-func (m *Message) GetOneofDefaultedFixed64() uint64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed64); ok {
- return x.OneofDefaultedFixed64
- }
- return Default_Message_OneofDefaultedFixed64
-}
-
-func (m *Message) GetOneofDefaultedSfixed64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed64); ok {
- return x.OneofDefaultedSfixed64
- }
- return Default_Message_OneofDefaultedSfixed64
-}
-
-func (m *Message) GetOneofDefaultedDouble() float64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedDouble); ok {
- return x.OneofDefaultedDouble
- }
- return Default_Message_OneofDefaultedDouble
-}
-
-func (m *Message) GetOneofDefaultedString() string {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedString); ok {
- return x.OneofDefaultedString
- }
- return Default_Message_OneofDefaultedString
-}
-
-func (m *Message) GetOneofDefaultedBytes() []byte {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBytes); ok {
- return x.OneofDefaultedBytes
- }
- return append([]byte(nil), Default_Message_OneofDefaultedBytes...)
-}
-
-func (m *Message) GetOneofDefaultedChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedChildEnum); ok {
- return x.OneofDefaultedChildEnum
- }
- return Default_Message_OneofDefaultedChildEnum
-}
-
-func (m *Message) GetOneofDefaultedSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSiblingEnum); ok {
- return x.OneofDefaultedSiblingEnum
- }
- return Default_Message_OneofDefaultedSiblingEnum
-}
-
-// XXX_OneofFuncs is for the internal use of the proto package.
-func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
- return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
- (*Message_OneofBool)(nil),
- (*Message_OneofInt32)(nil),
- (*Message_OneofSint32)(nil),
- (*Message_OneofUint32)(nil),
- (*Message_OneofInt64)(nil),
- (*Message_OneofSint64)(nil),
- (*Message_OneofUint64)(nil),
- (*Message_OneofFixed32)(nil),
- (*Message_OneofSfixed32)(nil),
- (*Message_OneofFloat)(nil),
- (*Message_OneofFixed64)(nil),
- (*Message_OneofSfixed64)(nil),
- (*Message_OneofDouble)(nil),
- (*Message_OneofString)(nil),
- (*Message_OneofBytes)(nil),
- (*Message_OneofChildEnum)(nil),
- (*Message_OneofChildMessage)(nil),
- (*Message_OneofNamedGroup)(nil),
- (*Message_OneofSiblingEnum)(nil),
- (*Message_OneofSiblingMessage)(nil),
- (*Message_Oneofgroup)(nil),
- (*Message_OneofString1)(nil),
- (*Message_OneofString2)(nil),
- (*Message_OneofString3)(nil),
- (*Message_OneofDefaultedBool)(nil),
- (*Message_OneofDefaultedInt32)(nil),
- (*Message_OneofDefaultedSint32)(nil),
- (*Message_OneofDefaultedUint32)(nil),
- (*Message_OneofDefaultedInt64)(nil),
- (*Message_OneofDefaultedSint64)(nil),
- (*Message_OneofDefaultedUint64)(nil),
- (*Message_OneofDefaultedFixed32)(nil),
- (*Message_OneofDefaultedSfixed32)(nil),
- (*Message_OneofDefaultedFloat)(nil),
- (*Message_OneofDefaultedFixed64)(nil),
- (*Message_OneofDefaultedSfixed64)(nil),
- (*Message_OneofDefaultedDouble)(nil),
- (*Message_OneofDefaultedString)(nil),
- (*Message_OneofDefaultedBytes)(nil),
- (*Message_OneofDefaultedChildEnum)(nil),
- (*Message_OneofDefaultedSiblingEnum)(nil),
- }
-}
-
-func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- t := uint64(0)
- if x.OneofBool {
- t = 1
- }
- b.EncodeVarint(700<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofInt32:
- b.EncodeVarint(701<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- b.EncodeVarint(702<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofSint32))
- case *Message_OneofUint32:
- b.EncodeVarint(703<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- b.EncodeVarint(704<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- b.EncodeVarint(705<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofSint64))
- case *Message_OneofUint64:
- b.EncodeVarint(706<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- b.EncodeVarint(707<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofFixed32))
- case *Message_OneofSfixed32:
- b.EncodeVarint(708<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofSfixed32))
- case *Message_OneofFloat:
- b.EncodeVarint(709<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
- case *Message_OneofFixed64:
- b.EncodeVarint(710<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofFixed64))
- case *Message_OneofSfixed64:
- b.EncodeVarint(711<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofSfixed64))
- case *Message_OneofDouble:
- b.EncodeVarint(712<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDouble))
- case *Message_OneofString:
- b.EncodeVarint(713<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString)
- case *Message_OneofBytes:
- b.EncodeVarint(714<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofBytes)
- case *Message_OneofChildEnum:
- b.EncodeVarint(715<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- b.EncodeVarint(716<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
- return err
- }
- case *Message_OneofNamedGroup:
- b.EncodeVarint(717<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofNamedGroup); err != nil {
- return err
- }
- case *Message_OneofSiblingEnum:
- b.EncodeVarint(718<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- b.EncodeVarint(719<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
- return err
- }
- case *Message_Oneofgroup:
- b.EncodeVarint(720<<3 | proto.WireStartGroup)
- if err := b.Marshal(x.Oneofgroup); err != nil {
- return err
- }
- b.EncodeVarint(720<<3 | proto.WireEndGroup)
- case *Message_OneofString1:
- b.EncodeVarint(721<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString1)
- case *Message_OneofString2:
- b.EncodeVarint(722<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString2)
- case *Message_OneofString3:
- b.EncodeVarint(723<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString3)
- case nil:
- default:
- return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
- }
- // oneof_defaulted_union
- switch x := m.OneofDefaultedUnion.(type) {
- case *Message_OneofDefaultedBool:
- t := uint64(0)
- if x.OneofDefaultedBool {
- t = 1
- }
- b.EncodeVarint(800<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofDefaultedInt32:
- b.EncodeVarint(801<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedInt32))
- case *Message_OneofDefaultedSint32:
- b.EncodeVarint(802<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofDefaultedSint32))
- case *Message_OneofDefaultedUint32:
- b.EncodeVarint(803<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedUint32))
- case *Message_OneofDefaultedInt64:
- b.EncodeVarint(804<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedInt64))
- case *Message_OneofDefaultedSint64:
- b.EncodeVarint(805<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofDefaultedSint64))
- case *Message_OneofDefaultedUint64:
- b.EncodeVarint(806<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedUint64))
- case *Message_OneofDefaultedFixed32:
- b.EncodeVarint(807<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofDefaultedFixed32))
- case *Message_OneofDefaultedSfixed32:
- b.EncodeVarint(808<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofDefaultedSfixed32))
- case *Message_OneofDefaultedFloat:
- b.EncodeVarint(809<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofDefaultedFloat)))
- case *Message_OneofDefaultedFixed64:
- b.EncodeVarint(810<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofDefaultedFixed64))
- case *Message_OneofDefaultedSfixed64:
- b.EncodeVarint(811<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofDefaultedSfixed64))
- case *Message_OneofDefaultedDouble:
- b.EncodeVarint(812<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDefaultedDouble))
- case *Message_OneofDefaultedString:
- b.EncodeVarint(813<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofDefaultedString)
- case *Message_OneofDefaultedBytes:
- b.EncodeVarint(814<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofDefaultedBytes)
- case *Message_OneofDefaultedChildEnum:
- b.EncodeVarint(815<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedChildEnum))
- case *Message_OneofDefaultedSiblingEnum:
- b.EncodeVarint(816<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedSiblingEnum))
- case nil:
- default:
- return fmt.Errorf("Message.OneofDefaultedUnion has unexpected type %T", x)
- }
- return nil
-}
-
-func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*Message)
- switch tag {
- case 700: // oneof_union.oneof_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofBool{x != 0}
- return true, err
- case 701: // oneof_union.oneof_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt32{int32(x)}
- return true, err
- case 702: // oneof_union.oneof_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofUnion = &Message_OneofSint32{int32(x)}
- return true, err
- case 703: // oneof_union.oneof_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint32{uint32(x)}
- return true, err
- case 704: // oneof_union.oneof_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt64{int64(x)}
- return true, err
- case 705: // oneof_union.oneof_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofUnion = &Message_OneofSint64{int64(x)}
- return true, err
- case 706: // oneof_union.oneof_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint64{x}
- return true, err
- case 707: // oneof_union.oneof_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFixed32{uint32(x)}
- return true, err
- case 708: // oneof_union.oneof_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofSfixed32{int32(x)}
- return true, err
- case 709: // oneof_union.oneof_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 710: // oneof_union.oneof_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofFixed64{x}
- return true, err
- case 711: // oneof_union.oneof_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofSfixed64{int64(x)}
- return true, err
- case 712: // oneof_union.oneof_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
- return true, err
- case 713: // oneof_union.oneof_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString{x}
- return true, err
- case 714: // oneof_union.oneof_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofUnion = &Message_OneofBytes{x}
- return true, err
- case 715: // oneof_union.oneof_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
- return true, err
- case 716: // oneof_union.oneof_child_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_ChildMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofChildMessage{msg}
- return true, err
- case 717: // oneof_union.oneof_named_group
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_NamedGroup)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofNamedGroup{msg}
- return true, err
- case 718: // oneof_union.oneof_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
- return true, err
- case 719: // oneof_union.oneof_sibling_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(SiblingMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofSiblingMessage{msg}
- return true, err
- case 720: // oneof_union.oneofgroup
- if wire != proto.WireStartGroup {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_OneofGroup)
- err := b.DecodeGroup(msg)
- m.OneofUnion = &Message_Oneofgroup{msg}
- return true, err
- case 721: // oneof_union.oneof_string1
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString1{x}
- return true, err
- case 722: // oneof_union.oneof_string2
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString2{x}
- return true, err
- case 723: // oneof_union.oneof_string3
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString3{x}
- return true, err
- case 800: // oneof_defaulted_union.oneof_defaulted_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedBool{x != 0}
- return true, err
- case 801: // oneof_defaulted_union.oneof_defaulted_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedInt32{int32(x)}
- return true, err
- case 802: // oneof_defaulted_union.oneof_defaulted_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSint32{int32(x)}
- return true, err
- case 803: // oneof_defaulted_union.oneof_defaulted_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedUint32{uint32(x)}
- return true, err
- case 804: // oneof_defaulted_union.oneof_defaulted_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedInt64{int64(x)}
- return true, err
- case 805: // oneof_defaulted_union.oneof_defaulted_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSint64{int64(x)}
- return true, err
- case 806: // oneof_defaulted_union.oneof_defaulted_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedUint64{x}
- return true, err
- case 807: // oneof_defaulted_union.oneof_defaulted_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFixed32{uint32(x)}
- return true, err
- case 808: // oneof_defaulted_union.oneof_defaulted_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed32{int32(x)}
- return true, err
- case 809: // oneof_defaulted_union.oneof_defaulted_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 810: // oneof_defaulted_union.oneof_defaulted_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFixed64{x}
- return true, err
- case 811: // oneof_defaulted_union.oneof_defaulted_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed64{int64(x)}
- return true, err
- case 812: // oneof_defaulted_union.oneof_defaulted_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedDouble{math.Float64frombits(x)}
- return true, err
- case 813: // oneof_defaulted_union.oneof_defaulted_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofDefaultedUnion = &Message_OneofDefaultedString{x}
- return true, err
- case 814: // oneof_defaulted_union.oneof_defaulted_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofDefaultedUnion = &Message_OneofDefaultedBytes{x}
- return true, err
- case 815: // oneof_defaulted_union.oneof_defaulted_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedChildEnum{Message_ChildEnum(x)}
- return true, err
- case 816: // oneof_defaulted_union.oneof_defaulted_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSiblingEnum{SiblingEnum(x)}
- return true, err
- default:
- return false, nil
- }
-}
-
-func _Message_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- n += proto.SizeVarint(700<<3 | proto.WireVarint)
- n += 1
- case *Message_OneofInt32:
- n += proto.SizeVarint(701<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- n += proto.SizeVarint(702<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
- case *Message_OneofUint32:
- n += proto.SizeVarint(703<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- n += proto.SizeVarint(704<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- n += proto.SizeVarint(705<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
- case *Message_OneofUint64:
- n += proto.SizeVarint(706<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- n += proto.SizeVarint(707<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofSfixed32:
- n += proto.SizeVarint(708<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofFloat:
- n += proto.SizeVarint(709<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofFixed64:
- n += proto.SizeVarint(710<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofSfixed64:
- n += proto.SizeVarint(711<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDouble:
- n += proto.SizeVarint(712<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofString:
- n += proto.SizeVarint(713<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString)))
- n += len(x.OneofString)
- case *Message_OneofBytes:
- n += proto.SizeVarint(714<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofBytes)))
- n += len(x.OneofBytes)
- case *Message_OneofChildEnum:
- n += proto.SizeVarint(715<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- s := proto.Size(x.OneofChildMessage)
- n += proto.SizeVarint(716<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofNamedGroup:
- s := proto.Size(x.OneofNamedGroup)
- n += proto.SizeVarint(717<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofSiblingEnum:
- n += proto.SizeVarint(718<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- s := proto.Size(x.OneofSiblingMessage)
- n += proto.SizeVarint(719<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_Oneofgroup:
- n += proto.SizeVarint(720<<3 | proto.WireStartGroup)
- n += proto.Size(x.Oneofgroup)
- n += proto.SizeVarint(720<<3 | proto.WireEndGroup)
- case *Message_OneofString1:
- n += proto.SizeVarint(721<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString1)))
- n += len(x.OneofString1)
- case *Message_OneofString2:
- n += proto.SizeVarint(722<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString2)))
- n += len(x.OneofString2)
- case *Message_OneofString3:
- n += proto.SizeVarint(723<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString3)))
- n += len(x.OneofString3)
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- // oneof_defaulted_union
- switch x := m.OneofDefaultedUnion.(type) {
- case *Message_OneofDefaultedBool:
- n += proto.SizeVarint(800<<3 | proto.WireVarint)
- n += 1
- case *Message_OneofDefaultedInt32:
- n += proto.SizeVarint(801<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedInt32))
- case *Message_OneofDefaultedSint32:
- n += proto.SizeVarint(802<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64((uint32(x.OneofDefaultedSint32) << 1) ^ uint32((int32(x.OneofDefaultedSint32) >> 31))))
- case *Message_OneofDefaultedUint32:
- n += proto.SizeVarint(803<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedUint32))
- case *Message_OneofDefaultedInt64:
- n += proto.SizeVarint(804<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedInt64))
- case *Message_OneofDefaultedSint64:
- n += proto.SizeVarint(805<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(uint64(x.OneofDefaultedSint64<<1) ^ uint64((int64(x.OneofDefaultedSint64) >> 63))))
- case *Message_OneofDefaultedUint64:
- n += proto.SizeVarint(806<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedUint64))
- case *Message_OneofDefaultedFixed32:
- n += proto.SizeVarint(807<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofDefaultedSfixed32:
- n += proto.SizeVarint(808<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofDefaultedFloat:
- n += proto.SizeVarint(809<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofDefaultedFixed64:
- n += proto.SizeVarint(810<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDefaultedSfixed64:
- n += proto.SizeVarint(811<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDefaultedDouble:
- n += proto.SizeVarint(812<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDefaultedString:
- n += proto.SizeVarint(813<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofDefaultedString)))
- n += len(x.OneofDefaultedString)
- case *Message_OneofDefaultedBytes:
- n += proto.SizeVarint(814<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofDefaultedBytes)))
- n += len(x.OneofDefaultedBytes)
- case *Message_OneofDefaultedChildEnum:
- n += proto.SizeVarint(815<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedChildEnum))
- case *Message_OneofDefaultedSiblingEnum:
- n += proto.SizeVarint(816<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofDefaultedSiblingEnum))
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
-}
-
-var E_Message_ExtensionOptionalBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*bool)(nil),
- Field: 10000,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_bool",
- Tag: "varint,10000,opt,name=extension_optional_bool,json=extensionOptionalBool",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10001,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_int32",
- Tag: "varint,10001,opt,name=extension_optional_int32,json=extensionOptionalInt32",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10002,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_sint32",
- Tag: "zigzag32,10002,opt,name=extension_optional_sint32,json=extensionOptionalSint32",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 10003,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_uint32",
- Tag: "varint,10003,opt,name=extension_optional_uint32,json=extensionOptionalUint32",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10004,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_int64",
- Tag: "varint,10004,opt,name=extension_optional_int64,json=extensionOptionalInt64",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10005,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_sint64",
- Tag: "zigzag64,10005,opt,name=extension_optional_sint64,json=extensionOptionalSint64",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 10006,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_uint64",
- Tag: "varint,10006,opt,name=extension_optional_uint64,json=extensionOptionalUint64",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 10007,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_fixed32",
- Tag: "fixed32,10007,opt,name=extension_optional_fixed32,json=extensionOptionalFixed32",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10008,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_sfixed32",
- Tag: "fixed32,10008,opt,name=extension_optional_sfixed32,json=extensionOptionalSfixed32",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float32)(nil),
- Field: 10009,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_float",
- Tag: "fixed32,10009,opt,name=extension_optional_float,json=extensionOptionalFloat",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 10010,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_fixed64",
- Tag: "fixed64,10010,opt,name=extension_optional_fixed64,json=extensionOptionalFixed64",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10011,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_sfixed64",
- Tag: "fixed64,10011,opt,name=extension_optional_sfixed64,json=extensionOptionalSfixed64",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float64)(nil),
- Field: 10012,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_double",
- Tag: "fixed64,10012,opt,name=extension_optional_double,json=extensionOptionalDouble",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 10013,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_string",
- Tag: "bytes,10013,opt,name=extension_optional_string,json=extensionOptionalString",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 10014,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_bytes",
- Tag: "bytes,10014,opt,name=extension_optional_bytes,json=extensionOptionalBytes",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildEnum)(nil),
- Field: 10015,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_child_enum",
- Tag: "varint,10015,opt,name=extension_optional_child_enum,json=extensionOptionalChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalChildMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildMessage)(nil),
- Field: 10016,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_child_message",
- Tag: "bytes,10016,opt,name=extension_optional_child_message,json=extensionOptionalChildMessage",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalNamedGroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_NamedGroup)(nil),
- Field: 10017,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_named_group",
- Tag: "bytes,10017,opt,name=extension_optional_named_group,json=extensionOptionalNamedGroup",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingEnum)(nil),
- Field: 10018,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_sibling_enum",
- Tag: "varint,10018,opt,name=extension_optional_sibling_enum,json=extensionOptionalSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionOptionalSiblingMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingMessage)(nil),
- Field: 10019,
- Name: "google.golang.org.proto2_20180125.Message.extension_optional_sibling_message",
- Tag: "bytes,10019,opt,name=extension_optional_sibling_message,json=extensionOptionalSiblingMessage",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_Extensionoptionalgroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ExtensionOptionalGroup)(nil),
- Field: 10020,
- Name: "google.golang.org.proto2_20180125.Message.extensionoptionalgroup",
- Tag: "group,10020,opt,name=ExtensionOptionalGroup,json=extensionoptionalgroup",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*bool)(nil),
- Field: 20000,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_bool",
- Tag: "varint,20000,opt,name=extension_defaulted_bool,json=extensionDefaultedBool,def=1",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20001,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_int32",
- Tag: "varint,20001,opt,name=extension_defaulted_int32,json=extensionDefaultedInt32,def=-12345",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20002,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_sint32",
- Tag: "zigzag32,20002,opt,name=extension_defaulted_sint32,json=extensionDefaultedSint32,def=-3200",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 20003,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_uint32",
- Tag: "varint,20003,opt,name=extension_defaulted_uint32,json=extensionDefaultedUint32,def=3200",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20004,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_int64",
- Tag: "varint,20004,opt,name=extension_defaulted_int64,json=extensionDefaultedInt64,def=-123456789",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20005,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_sint64",
- Tag: "zigzag64,20005,opt,name=extension_defaulted_sint64,json=extensionDefaultedSint64,def=-6400",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 20006,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_uint64",
- Tag: "varint,20006,opt,name=extension_defaulted_uint64,json=extensionDefaultedUint64,def=6400",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 20007,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_fixed32",
- Tag: "fixed32,20007,opt,name=extension_defaulted_fixed32,json=extensionDefaultedFixed32,def=320000",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20008,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_sfixed32",
- Tag: "fixed32,20008,opt,name=extension_defaulted_sfixed32,json=extensionDefaultedSfixed32,def=-320000",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float32)(nil),
- Field: 20009,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_float",
- Tag: "fixed32,20009,opt,name=extension_defaulted_float,json=extensionDefaultedFloat,def=3.14159",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 20010,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_fixed64",
- Tag: "fixed64,20010,opt,name=extension_defaulted_fixed64,json=extensionDefaultedFixed64,def=640000",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20011,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_sfixed64",
- Tag: "fixed64,20011,opt,name=extension_defaulted_sfixed64,json=extensionDefaultedSfixed64,def=-640000",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float64)(nil),
- Field: 20012,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_double",
- Tag: "fixed64,20012,opt,name=extension_defaulted_double,json=extensionDefaultedDouble,def=3.14159265359",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 20013,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_string",
- Tag: "bytes,20013,opt,name=extension_defaulted_string,json=extensionDefaultedString,def=hello, \"world!\"\n",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 20014,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_bytes",
- Tag: "bytes,20014,opt,name=extension_defaulted_bytes,json=extensionDefaultedBytes,def=dead\\336\\255\\276\\357beef",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildEnum)(nil),
- Field: 20015,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_child_enum",
- Tag: "varint,20015,opt,name=extension_defaulted_child_enum,json=extensionDefaultedChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum,def=0",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingEnum)(nil),
- Field: 20016,
- Name: "google.golang.org.proto2_20180125.Message.extension_defaulted_sibling_enum",
- Tag: "varint,20016,opt,name=extension_defaulted_sibling_enum,json=extensionDefaultedSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum,def=0",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]bool)(nil),
- Field: 30000,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_bool",
- Tag: "varint,30000,rep,name=extension_repeated_bool,json=extensionRepeatedBool",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30001,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_int32",
- Tag: "varint,30001,rep,name=extension_repeated_int32,json=extensionRepeatedInt32",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30002,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_sint32",
- Tag: "zigzag32,30002,rep,name=extension_repeated_sint32,json=extensionRepeatedSint32",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 30003,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_uint32",
- Tag: "varint,30003,rep,name=extension_repeated_uint32,json=extensionRepeatedUint32",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30004,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_int64",
- Tag: "varint,30004,rep,name=extension_repeated_int64,json=extensionRepeatedInt64",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30005,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_sint64",
- Tag: "zigzag64,30005,rep,name=extension_repeated_sint64,json=extensionRepeatedSint64",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 30006,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_uint64",
- Tag: "varint,30006,rep,name=extension_repeated_uint64,json=extensionRepeatedUint64",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 30007,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_fixed32",
- Tag: "fixed32,30007,rep,name=extension_repeated_fixed32,json=extensionRepeatedFixed32",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30008,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_sfixed32",
- Tag: "fixed32,30008,rep,name=extension_repeated_sfixed32,json=extensionRepeatedSfixed32",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]float32)(nil),
- Field: 30009,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_float",
- Tag: "fixed32,30009,rep,name=extension_repeated_float,json=extensionRepeatedFloat",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 30010,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_fixed64",
- Tag: "fixed64,30010,rep,name=extension_repeated_fixed64,json=extensionRepeatedFixed64",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30011,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_sfixed64",
- Tag: "fixed64,30011,rep,name=extension_repeated_sfixed64,json=extensionRepeatedSfixed64",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]float64)(nil),
- Field: 30012,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_double",
- Tag: "fixed64,30012,rep,name=extension_repeated_double,json=extensionRepeatedDouble",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]string)(nil),
- Field: 30013,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_string",
- Tag: "bytes,30013,rep,name=extension_repeated_string,json=extensionRepeatedString",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([][]byte)(nil),
- Field: 30014,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_bytes",
- Tag: "bytes,30014,rep,name=extension_repeated_bytes,json=extensionRepeatedBytes",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]Message_ChildEnum)(nil),
- Field: 30015,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_child_enum",
- Tag: "varint,30015,rep,name=extension_repeated_child_enum,json=extensionRepeatedChildEnum,enum=google.golang.org.proto2_20180125.Message_ChildEnum",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedChildMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_ChildMessage)(nil),
- Field: 30016,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_child_message",
- Tag: "bytes,30016,rep,name=extension_repeated_child_message,json=extensionRepeatedChildMessage",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedNamedGroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_NamedGroup)(nil),
- Field: 30017,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_named_group",
- Tag: "bytes,30017,rep,name=extension_repeated_named_group,json=extensionRepeatedNamedGroup",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]SiblingEnum)(nil),
- Field: 30018,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_sibling_enum",
- Tag: "varint,30018,rep,name=extension_repeated_sibling_enum,json=extensionRepeatedSiblingEnum,enum=google.golang.org.proto2_20180125.SiblingEnum",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSiblingMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*SiblingMessage)(nil),
- Field: 30019,
- Name: "google.golang.org.proto2_20180125.Message.extension_repeated_sibling_message",
- Tag: "bytes,30019,rep,name=extension_repeated_sibling_message,json=extensionRepeatedSiblingMessage",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-var E_Message_Extensionrepeatedgroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_ExtensionRepeatedGroup)(nil),
- Field: 30020,
- Name: "google.golang.org.proto2_20180125.Message.extensionrepeatedgroup",
- Tag: "group,30020,rep,name=ExtensionRepeatedGroup,json=extensionrepeatedgroup",
- Filename: "proto2_20180125_92554152/test.proto",
-}
-
-type Message_ChildMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
-func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
-func (*Message_ChildMessage) ProtoMessage() {}
-func (*Message_ChildMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
-
-func (m *Message_ChildMessage) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *Message_ChildMessage) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message_NamedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_NamedGroup) Reset() { *m = Message_NamedGroup{} }
-func (m *Message_NamedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_NamedGroup) ProtoMessage() {}
-func (*Message_NamedGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 1} }
-
-func (m *Message_NamedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_NamedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_NamedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *Message_NamedGroup) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message_OptionalGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_OptionalGroup) Reset() { *m = Message_OptionalGroup{} }
-func (m *Message_OptionalGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_OptionalGroup) ProtoMessage() {}
-func (*Message_OptionalGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 2} }
-
-func (m *Message_OptionalGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_OptionalGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_OptionalGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_RequiredGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_RequiredGroup) Reset() { *m = Message_RequiredGroup{} }
-func (m *Message_RequiredGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_RequiredGroup) ProtoMessage() {}
-func (*Message_RequiredGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 3} }
-
-func (m *Message_RequiredGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_RequiredGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_RequiredGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_RepeatedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_RepeatedGroup) Reset() { *m = Message_RepeatedGroup{} }
-func (m *Message_RepeatedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_RepeatedGroup) ProtoMessage() {}
-func (*Message_RepeatedGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 4} }
-
-func (m *Message_RepeatedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_RepeatedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_RepeatedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_OneofGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_OneofGroup) Reset() { *m = Message_OneofGroup{} }
-func (m *Message_OneofGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_OneofGroup) ProtoMessage() {}
-func (*Message_OneofGroup) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 33} }
-
-func (m *Message_OneofGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_OneofGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_OneofGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_ExtensionOptionalGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_ExtensionOptionalGroup) Reset() { *m = Message_ExtensionOptionalGroup{} }
-func (m *Message_ExtensionOptionalGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_ExtensionOptionalGroup) ProtoMessage() {}
-func (*Message_ExtensionOptionalGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor0, []int{1, 34}
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_ExtensionRepeatedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_unrecognized []byte `json:"-"`
-}
-
-func (m *Message_ExtensionRepeatedGroup) Reset() { *m = Message_ExtensionRepeatedGroup{} }
-func (m *Message_ExtensionRepeatedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_ExtensionRepeatedGroup) ProtoMessage() {}
-func (*Message_ExtensionRepeatedGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor0, []int{1, 35}
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto2_20180125.SiblingMessage")
- proto.RegisterType((*Message)(nil), "google.golang.org.proto2_20180125.Message")
- proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto2_20180125.Message.ChildMessage")
- proto.RegisterType((*Message_NamedGroup)(nil), "google.golang.org.proto2_20180125.Message.NamedGroup")
- proto.RegisterType((*Message_OptionalGroup)(nil), "google.golang.org.proto2_20180125.Message.OptionalGroup")
- proto.RegisterType((*Message_RequiredGroup)(nil), "google.golang.org.proto2_20180125.Message.RequiredGroup")
- proto.RegisterType((*Message_RepeatedGroup)(nil), "google.golang.org.proto2_20180125.Message.RepeatedGroup")
- proto.RegisterType((*Message_OneofGroup)(nil), "google.golang.org.proto2_20180125.Message.OneofGroup")
- proto.RegisterType((*Message_ExtensionOptionalGroup)(nil), "google.golang.org.proto2_20180125.Message.ExtensionOptionalGroup")
- proto.RegisterType((*Message_ExtensionRepeatedGroup)(nil), "google.golang.org.proto2_20180125.Message.ExtensionRepeatedGroup")
- proto.RegisterEnum("google.golang.org.proto2_20180125.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
- proto.RegisterEnum("google.golang.org.proto2_20180125.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
- proto.RegisterExtension(E_Message_ExtensionOptionalBool)
- proto.RegisterExtension(E_Message_ExtensionOptionalInt32)
- proto.RegisterExtension(E_Message_ExtensionOptionalSint32)
- proto.RegisterExtension(E_Message_ExtensionOptionalUint32)
- proto.RegisterExtension(E_Message_ExtensionOptionalInt64)
- proto.RegisterExtension(E_Message_ExtensionOptionalSint64)
- proto.RegisterExtension(E_Message_ExtensionOptionalUint64)
- proto.RegisterExtension(E_Message_ExtensionOptionalFixed32)
- proto.RegisterExtension(E_Message_ExtensionOptionalSfixed32)
- proto.RegisterExtension(E_Message_ExtensionOptionalFloat)
- proto.RegisterExtension(E_Message_ExtensionOptionalFixed64)
- proto.RegisterExtension(E_Message_ExtensionOptionalSfixed64)
- proto.RegisterExtension(E_Message_ExtensionOptionalDouble)
- proto.RegisterExtension(E_Message_ExtensionOptionalString)
- proto.RegisterExtension(E_Message_ExtensionOptionalBytes)
- proto.RegisterExtension(E_Message_ExtensionOptionalChildEnum)
- proto.RegisterExtension(E_Message_ExtensionOptionalChildMessage)
- proto.RegisterExtension(E_Message_ExtensionOptionalNamedGroup)
- proto.RegisterExtension(E_Message_ExtensionOptionalSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionOptionalSiblingMessage)
- proto.RegisterExtension(E_Message_Extensionoptionalgroup)
- proto.RegisterExtension(E_Message_ExtensionDefaultedBool)
- proto.RegisterExtension(E_Message_ExtensionDefaultedInt32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSint32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedUint32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedInt64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSint64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedUint64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFixed32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFloat)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFixed64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedDouble)
- proto.RegisterExtension(E_Message_ExtensionDefaultedString)
- proto.RegisterExtension(E_Message_ExtensionDefaultedBytes)
- proto.RegisterExtension(E_Message_ExtensionDefaultedChildEnum)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedBool)
- proto.RegisterExtension(E_Message_ExtensionRepeatedInt32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSint32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedUint32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedInt64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSint64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedUint64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFixed32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFloat)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFixed64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedDouble)
- proto.RegisterExtension(E_Message_ExtensionRepeatedString)
- proto.RegisterExtension(E_Message_ExtensionRepeatedBytes)
- proto.RegisterExtension(E_Message_ExtensionRepeatedChildEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedChildMessage)
- proto.RegisterExtension(E_Message_ExtensionRepeatedNamedGroup)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingMessage)
- proto.RegisterExtension(E_Message_Extensionrepeatedgroup)
-}
-
-func init() { proto.RegisterFile("proto2_20180125_92554152/test.proto", fileDescriptor0) }
-
-var fileDescriptor0 = []byte{
- // 4468 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5c, 0x67, 0x70, 0x24, 0xc7,
- 0x75, 0xc6, 0xec, 0x62, 0x17, 0x87, 0x3e, 0x2c, 0xb0, 0x98, 0xbb, 0x03, 0xe6, 0x40, 0xd2, 0x5c,
- 0x41, 0xb2, 0xbc, 0xa6, 0x79, 0x38, 0x60, 0xd0, 0xe8, 0xe3, 0xad, 0x19, 0x04, 0x90, 0x47, 0x2d,
- 0x65, 0x71, 0xa9, 0x1a, 0xd6, 0xb9, 0x5c, 0x2e, 0x96, 0x61, 0xdc, 0x61, 0x81, 0x03, 0xb9, 0x01,
- 0x04, 0x76, 0x49, 0x9e, 0x25, 0x17, 0xcf, 0x72, 0xfc, 0x49, 0xe5, 0xb4, 0x92, 0x28, 0x66, 0x89,
- 0x51, 0x39, 0x31, 0x29, 0xd8, 0xa6, 0x72, 0x72, 0x90, 0x93, 0x9c, 0x93, 0x9c, 0x73, 0x0e, 0xd5,
- 0xfd, 0xba, 0xa7, 0xbb, 0x67, 0x7a, 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 0x77, 0x5a, 0x6b, 0x0d, 0xf6, 0x3b, 0xb7, 0x6c, 0x74, 0xf7, 0x78, 0xa3, 0xbe, 0xb9, 0x76, 0xf6,
- 0xfc, 0xf1, 0xa4, 0x9f, 0xc4, 0xfd, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x85, 0x2d, 0x80,
- 0x2d, 0x57, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180125_92554152/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180125_92554152/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180125_92554152/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180430_b4deda09/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180430_b4deda09/test.pb.go
deleted file mode 100644
index b6e4899d16..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180430_b4deda09/test.pb.go
+++ /dev/null
@@ -1,3822 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: proto2_20180430_b4deda09/test.proto
-
-package proto2_20180430_b4deda09 // import "google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180430_b4deda09"
-
-import proto "google.golang.org/protobuf/internal/protolegacy"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-type SiblingEnum int32
-
-const (
- SiblingEnum_ALPHA SiblingEnum = 0
- SiblingEnum_BRAVO SiblingEnum = 10
- SiblingEnum_CHARLIE SiblingEnum = 200
-)
-
-var SiblingEnum_name = map[int32]string{
- 0: "ALPHA",
- 10: "BRAVO",
- 200: "CHARLIE",
-}
-var SiblingEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 10,
- "CHARLIE": 200,
-}
-
-func (x SiblingEnum) Enum() *SiblingEnum {
- p := new(SiblingEnum)
- *p = x
- return p
-}
-func (x SiblingEnum) String() string {
- return proto.EnumName(SiblingEnum_name, int32(x))
-}
-func (x *SiblingEnum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum")
- if err != nil {
- return err
- }
- *x = SiblingEnum(value)
- return nil
-}
-func (SiblingEnum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_test_a365478be18be824, []int{0}
-}
-
-type Message_ChildEnum int32
-
-const (
- Message_ALPHA Message_ChildEnum = 0
- Message_BRAVO Message_ChildEnum = 1
- Message_CHARLIE Message_ChildEnum = 2
-)
-
-var Message_ChildEnum_name = map[int32]string{
- 0: "ALPHA",
- 1: "BRAVO",
- 2: "CHARLIE",
-}
-var Message_ChildEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 1,
- "CHARLIE": 2,
-}
-
-func (x Message_ChildEnum) Enum() *Message_ChildEnum {
- p := new(Message_ChildEnum)
- *p = x
- return p
-}
-func (x Message_ChildEnum) String() string {
- return proto.EnumName(Message_ChildEnum_name, int32(x))
-}
-func (x *Message_ChildEnum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum")
- if err != nil {
- return err
- }
- *x = Message_ChildEnum(value)
- return nil
-}
-func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_test_a365478be18be824, []int{1, 0}
-}
-
-type SiblingMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
-func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
-func (*SiblingMessage) ProtoMessage() {}
-func (*SiblingMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_a365478be18be824, []int{0}
-}
-func (m *SiblingMessage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SiblingMessage.Unmarshal(m, b)
-}
-func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SiblingMessage.Marshal(b, m, deterministic)
-}
-func (dst *SiblingMessage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SiblingMessage.Merge(dst, src)
-}
-func (m *SiblingMessage) XXX_Size() int {
- return xxx_messageInfo_SiblingMessage.Size(m)
-}
-func (m *SiblingMessage) XXX_DiscardUnknown() {
- xxx_messageInfo_SiblingMessage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SiblingMessage proto.InternalMessageInfo
-
-func (m *SiblingMessage) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *SiblingMessage) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message struct {
- Namedgroup *Message_NamedGroup `protobuf:"group,1,opt,name=NamedGroup,json=namedgroup" json:"namedgroup,omitempty"`
- // Optional fields.
- OptionalBool *bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
- OptionalInt32 *int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
- OptionalSint32 *int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
- OptionalUint32 *uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
- OptionalInt64 *int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
- OptionalSint64 *int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
- OptionalUint64 *uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
- OptionalFixed32 *uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 *int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
- OptionalFloat *float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
- OptionalFixed64 *uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 *int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
- OptionalDouble *float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
- OptionalString *string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
- OptionalChildEnum *Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
- OptionalNamedGroup *Message_NamedGroup `protobuf:"bytes,117,opt,name=optional_named_group,json=optionalNamedGroup" json:"optional_named_group,omitempty"`
- OptionalSiblingEnum *SiblingEnum `protobuf:"varint,118,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,119,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
- Optionalgroup *Message_OptionalGroup `protobuf:"group,120,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
- // Optional default fields.
- DefaultedBool *bool `protobuf:"varint,200,opt,name=defaulted_bool,json=defaultedBool,def=1" json:"defaulted_bool,omitempty"`
- DefaultedInt32 *int32 `protobuf:"varint,201,opt,name=defaulted_int32,json=defaultedInt32,def=-12345" json:"defaulted_int32,omitempty"`
- DefaultedSint32 *int32 `protobuf:"zigzag32,202,opt,name=defaulted_sint32,json=defaultedSint32,def=-3200" json:"defaulted_sint32,omitempty"`
- DefaultedUint32 *uint32 `protobuf:"varint,203,opt,name=defaulted_uint32,json=defaultedUint32,def=3200" json:"defaulted_uint32,omitempty"`
- DefaultedInt64 *int64 `protobuf:"varint,204,opt,name=defaulted_int64,json=defaultedInt64,def=-123456789" json:"defaulted_int64,omitempty"`
- DefaultedSint64 *int64 `protobuf:"zigzag64,205,opt,name=defaulted_sint64,json=defaultedSint64,def=-6400" json:"defaulted_sint64,omitempty"`
- DefaultedUint64 *uint64 `protobuf:"varint,206,opt,name=defaulted_uint64,json=defaultedUint64,def=6400" json:"defaulted_uint64,omitempty"`
- DefaultedFixed32 *uint32 `protobuf:"fixed32,207,opt,name=defaulted_fixed32,json=defaultedFixed32,def=320000" json:"defaulted_fixed32,omitempty"`
- DefaultedSfixed32 *int32 `protobuf:"fixed32,208,opt,name=defaulted_sfixed32,json=defaultedSfixed32,def=-320000" json:"defaulted_sfixed32,omitempty"`
- DefaultedFloat *float32 `protobuf:"fixed32,209,opt,name=defaulted_float,json=defaultedFloat,def=3.14159" json:"defaulted_float,omitempty"`
- DefaultedFixed64 *uint64 `protobuf:"fixed64,210,opt,name=defaulted_fixed64,json=defaultedFixed64,def=640000" json:"defaulted_fixed64,omitempty"`
- DefaultedSfixed64 *int64 `protobuf:"fixed64,211,opt,name=defaulted_sfixed64,json=defaultedSfixed64,def=-640000" json:"defaulted_sfixed64,omitempty"`
- DefaultedDouble *float64 `protobuf:"fixed64,212,opt,name=defaulted_double,json=defaultedDouble,def=3.14159265359" json:"defaulted_double,omitempty"`
- DefaultedString *string `protobuf:"bytes,213,opt,name=defaulted_string,json=defaultedString,def=hello, \"world!\"\n" json:"defaulted_string,omitempty"`
- DefaultedBytes []byte `protobuf:"bytes,214,opt,name=defaulted_bytes,json=defaultedBytes,def=dead\\336\\255\\276\\357beef" json:"defaulted_bytes,omitempty"`
- DefaultedChildEnum *Message_ChildEnum `protobuf:"varint,215,opt,name=defaulted_child_enum,json=defaultedChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum,def=0" json:"defaulted_child_enum,omitempty"`
- DefaultedSiblingEnum *SiblingEnum `protobuf:"varint,216,opt,name=defaulted_sibling_enum,json=defaultedSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum,def=0" json:"defaulted_sibling_enum,omitempty"`
- // Required fields.
- RequiredBool *bool `protobuf:"varint,300,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"`
- RequiredInt32 *int32 `protobuf:"varint,301,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"`
- RequiredSint32 *int32 `protobuf:"zigzag32,302,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"`
- RequiredUint32 *uint32 `protobuf:"varint,303,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"`
- RequiredInt64 *int64 `protobuf:"varint,304,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"`
- RequiredSint64 *int64 `protobuf:"zigzag64,305,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"`
- RequiredUint64 *uint64 `protobuf:"varint,306,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"`
- RequiredFixed32 *uint32 `protobuf:"fixed32,307,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"`
- RequiredSfixed32 *int32 `protobuf:"fixed32,308,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"`
- RequiredFloat *float32 `protobuf:"fixed32,309,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"`
- RequiredFixed64 *uint64 `protobuf:"fixed64,310,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"`
- RequiredSfixed64 *int64 `protobuf:"fixed64,311,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"`
- RequiredDouble *float64 `protobuf:"fixed64,312,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"`
- RequiredString *string `protobuf:"bytes,313,req,name=required_string,json=requiredString" json:"required_string,omitempty"`
- RequiredBytes []byte `protobuf:"bytes,314,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"`
- RequiredChildEnum *Message_ChildEnum `protobuf:"varint,315,req,name=required_child_enum,json=requiredChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum" json:"required_child_enum,omitempty"`
- RequiredChildMessage *Message_ChildMessage `protobuf:"bytes,316,req,name=required_child_message,json=requiredChildMessage" json:"required_child_message,omitempty"`
- RequiredNamedGroup *Message_NamedGroup `protobuf:"bytes,317,req,name=required_named_group,json=requiredNamedGroup" json:"required_named_group,omitempty"`
- RequiredSiblingEnum *SiblingEnum `protobuf:"varint,318,req,name=required_sibling_enum,json=requiredSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum" json:"required_sibling_enum,omitempty"`
- RequiredSiblingMessage *SiblingMessage `protobuf:"bytes,319,req,name=required_sibling_message,json=requiredSiblingMessage" json:"required_sibling_message,omitempty"`
- Requiredgroup *Message_RequiredGroup `protobuf:"group,320,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
- // Required default fields.
- RequiredDefaultedBool *bool `protobuf:"varint,400,req,name=required_defaulted_bool,json=requiredDefaultedBool,def=1" json:"required_defaulted_bool,omitempty"`
- RequiredDefaultedInt32 *int32 `protobuf:"varint,401,req,name=required_defaulted_int32,json=requiredDefaultedInt32,def=-12345" json:"required_defaulted_int32,omitempty"`
- RequiredDefaultedSint32 *int32 `protobuf:"zigzag32,402,req,name=required_defaulted_sint32,json=requiredDefaultedSint32,def=-3200" json:"required_defaulted_sint32,omitempty"`
- RequiredDefaultedUint32 *uint32 `protobuf:"varint,403,req,name=required_defaulted_uint32,json=requiredDefaultedUint32,def=3200" json:"required_defaulted_uint32,omitempty"`
- RequiredDefaultedInt64 *int64 `protobuf:"varint,404,req,name=required_defaulted_int64,json=requiredDefaultedInt64,def=-123456789" json:"required_defaulted_int64,omitempty"`
- RequiredDefaultedSint64 *int64 `protobuf:"zigzag64,405,req,name=required_defaulted_sint64,json=requiredDefaultedSint64,def=-6400" json:"required_defaulted_sint64,omitempty"`
- RequiredDefaultedUint64 *uint64 `protobuf:"varint,406,req,name=required_defaulted_uint64,json=requiredDefaultedUint64,def=6400" json:"required_defaulted_uint64,omitempty"`
- RequiredDefaultedFixed32 *uint32 `protobuf:"fixed32,407,req,name=required_defaulted_fixed32,json=requiredDefaultedFixed32,def=320000" json:"required_defaulted_fixed32,omitempty"`
- RequiredDefaultedSfixed32 *int32 `protobuf:"fixed32,408,req,name=required_defaulted_sfixed32,json=requiredDefaultedSfixed32,def=-320000" json:"required_defaulted_sfixed32,omitempty"`
- RequiredDefaultedFloat *float32 `protobuf:"fixed32,409,req,name=required_defaulted_float,json=requiredDefaultedFloat,def=3.14159" json:"required_defaulted_float,omitempty"`
- RequiredDefaultedFixed64 *uint64 `protobuf:"fixed64,410,req,name=required_defaulted_fixed64,json=requiredDefaultedFixed64,def=640000" json:"required_defaulted_fixed64,omitempty"`
- RequiredDefaultedSfixed64 *int64 `protobuf:"fixed64,411,req,name=required_defaulted_sfixed64,json=requiredDefaultedSfixed64,def=-640000" json:"required_defaulted_sfixed64,omitempty"`
- RequiredDefaultedDouble *float64 `protobuf:"fixed64,412,req,name=required_defaulted_double,json=requiredDefaultedDouble,def=3.14159265359" json:"required_defaulted_double,omitempty"`
- RequiredDefaultedString *string `protobuf:"bytes,413,req,name=required_defaulted_string,json=requiredDefaultedString,def=hello, \"world!\"\n" json:"required_defaulted_string,omitempty"`
- RequiredDefaultedBytes []byte `protobuf:"bytes,414,req,name=required_defaulted_bytes,json=requiredDefaultedBytes,def=dead\\336\\255\\276\\357beef" json:"required_defaulted_bytes,omitempty"`
- RequiredDefaultedChildEnum *Message_ChildEnum `protobuf:"varint,415,req,name=required_defaulted_child_enum,json=requiredDefaultedChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum,def=0" json:"required_defaulted_child_enum,omitempty"`
- RequiredDefaultedSiblingEnum *SiblingEnum `protobuf:"varint,416,req,name=required_defaulted_sibling_enum,json=requiredDefaultedSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum,def=0" json:"required_defaulted_sibling_enum,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,500,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,501,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,502,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,503,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,504,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,505,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,506,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,507,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,508,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,509,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,510,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,511,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,512,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,513,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,514,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,515,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,516,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
- RepeatedNamedGroup []*Message_NamedGroup `protobuf:"bytes,517,rep,name=repeated_named_group,json=repeatedNamedGroup" json:"repeated_named_group,omitempty"`
- RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,518,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,519,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
- Repeatedgroup []*Message_RepeatedGroup `protobuf:"group,520,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,600,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,601,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,602,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,603,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,604,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,605,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,606,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,607,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,608,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,609,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,610,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,611,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,612,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolString map[bool]string `protobuf:"bytes,613,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,614,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,615,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20180430.Message_ChildEnum"`
- MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,616,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolNamedGroup map[bool]*Message_NamedGroup `protobuf:"bytes,617,rep,name=map_bool_named_group,json=mapBoolNamedGroup" json:"map_bool_named_group,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,618,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20180430.SiblingEnum"`
- MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,619,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,620,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,621,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,622,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,623,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,624,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,625,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,626,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapStringBool map[string]bool `protobuf:"bytes,627,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- // Oneof fields.
- //
- // Types that are valid to be assigned to OneofUnion:
- // *Message_OneofBool
- // *Message_OneofInt32
- // *Message_OneofSint32
- // *Message_OneofUint32
- // *Message_OneofInt64
- // *Message_OneofSint64
- // *Message_OneofUint64
- // *Message_OneofFixed32
- // *Message_OneofSfixed32
- // *Message_OneofFloat
- // *Message_OneofFixed64
- // *Message_OneofSfixed64
- // *Message_OneofDouble
- // *Message_OneofString
- // *Message_OneofBytes
- // *Message_OneofChildEnum
- // *Message_OneofChildMessage
- // *Message_OneofNamedGroup
- // *Message_OneofSiblingEnum
- // *Message_OneofSiblingMessage
- // *Message_Oneofgroup
- // *Message_OneofString1
- // *Message_OneofString2
- // *Message_OneofString3
- OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
- // Oneof default fields.
- //
- // Types that are valid to be assigned to OneofDefaultedUnion:
- // *Message_OneofDefaultedBool
- // *Message_OneofDefaultedInt32
- // *Message_OneofDefaultedSint32
- // *Message_OneofDefaultedUint32
- // *Message_OneofDefaultedInt64
- // *Message_OneofDefaultedSint64
- // *Message_OneofDefaultedUint64
- // *Message_OneofDefaultedFixed32
- // *Message_OneofDefaultedSfixed32
- // *Message_OneofDefaultedFloat
- // *Message_OneofDefaultedFixed64
- // *Message_OneofDefaultedSfixed64
- // *Message_OneofDefaultedDouble
- // *Message_OneofDefaultedString
- // *Message_OneofDefaultedBytes
- // *Message_OneofDefaultedChildEnum
- // *Message_OneofDefaultedSiblingEnum
- OneofDefaultedUnion isMessage_OneofDefaultedUnion `protobuf_oneof:"oneof_defaulted_union"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- proto.XXX_InternalExtensions `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message) Reset() { *m = Message{} }
-func (m *Message) String() string { return proto.CompactTextString(m) }
-func (*Message) ProtoMessage() {}
-func (*Message) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_a365478be18be824, []int{1}
-}
-
-var extRange_Message = []proto.ExtensionRange{
- {Start: 10000, End: 536870911},
-}
-
-func (*Message) ExtensionRangeArray() []proto.ExtensionRange {
- return extRange_Message
-}
-func (m *Message) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message.Unmarshal(m, b)
-}
-func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message.Marshal(b, m, deterministic)
-}
-func (dst *Message) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message.Merge(dst, src)
-}
-func (m *Message) XXX_Size() int {
- return xxx_messageInfo_Message.Size(m)
-}
-func (m *Message) XXX_DiscardUnknown() {
- xxx_messageInfo_Message.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message proto.InternalMessageInfo
-
-const Default_Message_DefaultedBool bool = true
-const Default_Message_DefaultedInt32 int32 = -12345
-const Default_Message_DefaultedSint32 int32 = -3200
-const Default_Message_DefaultedUint32 uint32 = 3200
-const Default_Message_DefaultedInt64 int64 = -123456789
-const Default_Message_DefaultedSint64 int64 = -6400
-const Default_Message_DefaultedUint64 uint64 = 6400
-const Default_Message_DefaultedFixed32 uint32 = 320000
-const Default_Message_DefaultedSfixed32 int32 = -320000
-const Default_Message_DefaultedFloat float32 = 3.14159
-const Default_Message_DefaultedFixed64 uint64 = 640000
-const Default_Message_DefaultedSfixed64 int64 = -640000
-const Default_Message_DefaultedDouble float64 = 3.14159265359
-const Default_Message_DefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_DefaultedBytes []byte = []byte("deadÞ­\xbe\xefbeef")
-
-const Default_Message_DefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_DefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-const Default_Message_RequiredDefaultedBool bool = true
-const Default_Message_RequiredDefaultedInt32 int32 = -12345
-const Default_Message_RequiredDefaultedSint32 int32 = -3200
-const Default_Message_RequiredDefaultedUint32 uint32 = 3200
-const Default_Message_RequiredDefaultedInt64 int64 = -123456789
-const Default_Message_RequiredDefaultedSint64 int64 = -6400
-const Default_Message_RequiredDefaultedUint64 uint64 = 6400
-const Default_Message_RequiredDefaultedFixed32 uint32 = 320000
-const Default_Message_RequiredDefaultedSfixed32 int32 = -320000
-const Default_Message_RequiredDefaultedFloat float32 = 3.14159
-const Default_Message_RequiredDefaultedFixed64 uint64 = 640000
-const Default_Message_RequiredDefaultedSfixed64 int64 = -640000
-const Default_Message_RequiredDefaultedDouble float64 = 3.14159265359
-const Default_Message_RequiredDefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_RequiredDefaultedBytes []byte = []byte("deadÞ­\xbe\xefbeef")
-
-const Default_Message_RequiredDefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_RequiredDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-const Default_Message_OneofDefaultedBool bool = true
-const Default_Message_OneofDefaultedInt32 int32 = -12345
-const Default_Message_OneofDefaultedSint32 int32 = -3200
-const Default_Message_OneofDefaultedUint32 uint32 = 3200
-const Default_Message_OneofDefaultedInt64 int64 = -123456789
-const Default_Message_OneofDefaultedSint64 int64 = -6400
-const Default_Message_OneofDefaultedUint64 uint64 = 6400
-const Default_Message_OneofDefaultedFixed32 uint32 = 320000
-const Default_Message_OneofDefaultedSfixed32 int32 = -320000
-const Default_Message_OneofDefaultedFloat float32 = 3.14159
-const Default_Message_OneofDefaultedFixed64 uint64 = 640000
-const Default_Message_OneofDefaultedSfixed64 int64 = -640000
-const Default_Message_OneofDefaultedDouble float64 = 3.14159265359
-const Default_Message_OneofDefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_OneofDefaultedBytes []byte = []byte("deadÞ­\xbe\xefbeef")
-
-const Default_Message_OneofDefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_OneofDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-
-type isMessage_OneofUnion interface {
- isMessage_OneofUnion()
-}
-type isMessage_OneofDefaultedUnion interface {
- isMessage_OneofDefaultedUnion()
-}
-
-type Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,700,opt,name=oneof_bool,json=oneofBool,oneof"`
-}
-type Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,701,opt,name=oneof_int32,json=oneofInt32,oneof"`
-}
-type Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,702,opt,name=oneof_sint32,json=oneofSint32,oneof"`
-}
-type Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,703,opt,name=oneof_uint32,json=oneofUint32,oneof"`
-}
-type Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,704,opt,name=oneof_int64,json=oneofInt64,oneof"`
-}
-type Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,705,opt,name=oneof_sint64,json=oneofSint64,oneof"`
-}
-type Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,706,opt,name=oneof_uint64,json=oneofUint64,oneof"`
-}
-type Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,707,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
-}
-type Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,708,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
-}
-type Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,709,opt,name=oneof_float,json=oneofFloat,oneof"`
-}
-type Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,710,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
-}
-type Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,711,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
-}
-type Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,712,opt,name=oneof_double,json=oneofDouble,oneof"`
-}
-type Message_OneofString struct {
- OneofString string `protobuf:"bytes,713,opt,name=oneof_string,json=oneofString,oneof"`
-}
-type Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,714,opt,name=oneof_bytes,json=oneofBytes,oneof"`
-}
-type Message_OneofChildEnum struct {
- OneofChildEnum Message_ChildEnum `protobuf:"varint,715,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum,oneof"`
-}
-type Message_OneofChildMessage struct {
- OneofChildMessage *Message_ChildMessage `protobuf:"bytes,716,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
-}
-type Message_OneofNamedGroup struct {
- OneofNamedGroup *Message_NamedGroup `protobuf:"bytes,717,opt,name=oneof_named_group,json=oneofNamedGroup,oneof"`
-}
-type Message_OneofSiblingEnum struct {
- OneofSiblingEnum SiblingEnum `protobuf:"varint,718,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum,oneof"`
-}
-type Message_OneofSiblingMessage struct {
- OneofSiblingMessage *SiblingMessage `protobuf:"bytes,719,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
-}
-type Message_Oneofgroup struct {
- Oneofgroup *Message_OneofGroup `protobuf:"group,720,opt,name=OneofGroup,json=oneofgroup,oneof"`
-}
-type Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,721,opt,name=oneof_string1,json=oneofString1,oneof"`
-}
-type Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,722,opt,name=oneof_string2,json=oneofString2,oneof"`
-}
-type Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,723,opt,name=oneof_string3,json=oneofString3,oneof"`
-}
-type Message_OneofDefaultedBool struct {
- OneofDefaultedBool bool `protobuf:"varint,800,opt,name=oneof_defaulted_bool,json=oneofDefaultedBool,oneof,def=1"`
-}
-type Message_OneofDefaultedInt32 struct {
- OneofDefaultedInt32 int32 `protobuf:"varint,801,opt,name=oneof_defaulted_int32,json=oneofDefaultedInt32,oneof,def=-12345"`
-}
-type Message_OneofDefaultedSint32 struct {
- OneofDefaultedSint32 int32 `protobuf:"zigzag32,802,opt,name=oneof_defaulted_sint32,json=oneofDefaultedSint32,oneof,def=-3200"`
-}
-type Message_OneofDefaultedUint32 struct {
- OneofDefaultedUint32 uint32 `protobuf:"varint,803,opt,name=oneof_defaulted_uint32,json=oneofDefaultedUint32,oneof,def=3200"`
-}
-type Message_OneofDefaultedInt64 struct {
- OneofDefaultedInt64 int64 `protobuf:"varint,804,opt,name=oneof_defaulted_int64,json=oneofDefaultedInt64,oneof,def=-123456789"`
-}
-type Message_OneofDefaultedSint64 struct {
- OneofDefaultedSint64 int64 `protobuf:"zigzag64,805,opt,name=oneof_defaulted_sint64,json=oneofDefaultedSint64,oneof,def=-6400"`
-}
-type Message_OneofDefaultedUint64 struct {
- OneofDefaultedUint64 uint64 `protobuf:"varint,806,opt,name=oneof_defaulted_uint64,json=oneofDefaultedUint64,oneof,def=6400"`
-}
-type Message_OneofDefaultedFixed32 struct {
- OneofDefaultedFixed32 uint32 `protobuf:"fixed32,807,opt,name=oneof_defaulted_fixed32,json=oneofDefaultedFixed32,oneof,def=320000"`
-}
-type Message_OneofDefaultedSfixed32 struct {
- OneofDefaultedSfixed32 int32 `protobuf:"fixed32,808,opt,name=oneof_defaulted_sfixed32,json=oneofDefaultedSfixed32,oneof,def=-320000"`
-}
-type Message_OneofDefaultedFloat struct {
- OneofDefaultedFloat float32 `protobuf:"fixed32,809,opt,name=oneof_defaulted_float,json=oneofDefaultedFloat,oneof,def=3.14159"`
-}
-type Message_OneofDefaultedFixed64 struct {
- OneofDefaultedFixed64 uint64 `protobuf:"fixed64,810,opt,name=oneof_defaulted_fixed64,json=oneofDefaultedFixed64,oneof,def=640000"`
-}
-type Message_OneofDefaultedSfixed64 struct {
- OneofDefaultedSfixed64 int64 `protobuf:"fixed64,811,opt,name=oneof_defaulted_sfixed64,json=oneofDefaultedSfixed64,oneof,def=-640000"`
-}
-type Message_OneofDefaultedDouble struct {
- OneofDefaultedDouble float64 `protobuf:"fixed64,812,opt,name=oneof_defaulted_double,json=oneofDefaultedDouble,oneof,def=3.14159265359"`
-}
-type Message_OneofDefaultedString struct {
- OneofDefaultedString string `protobuf:"bytes,813,opt,name=oneof_defaulted_string,json=oneofDefaultedString,oneof,def=hello, \"world!\"\n"`
-}
-type Message_OneofDefaultedBytes struct {
- OneofDefaultedBytes []byte `protobuf:"bytes,814,opt,name=oneof_defaulted_bytes,json=oneofDefaultedBytes,oneof,def=dead\\336\\255\\276\\357beef"`
-}
-type Message_OneofDefaultedChildEnum struct {
- OneofDefaultedChildEnum Message_ChildEnum `protobuf:"varint,815,opt,name=oneof_defaulted_child_enum,json=oneofDefaultedChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum,oneof,def=0"`
-}
-type Message_OneofDefaultedSiblingEnum struct {
- OneofDefaultedSiblingEnum SiblingEnum `protobuf:"varint,816,opt,name=oneof_defaulted_sibling_enum,json=oneofDefaultedSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum,oneof,def=0"`
-}
-
-func (*Message_OneofBool) isMessage_OneofUnion() {}
-func (*Message_OneofInt32) isMessage_OneofUnion() {}
-func (*Message_OneofSint32) isMessage_OneofUnion() {}
-func (*Message_OneofUint32) isMessage_OneofUnion() {}
-func (*Message_OneofInt64) isMessage_OneofUnion() {}
-func (*Message_OneofSint64) isMessage_OneofUnion() {}
-func (*Message_OneofUint64) isMessage_OneofUnion() {}
-func (*Message_OneofFixed32) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
-func (*Message_OneofFloat) isMessage_OneofUnion() {}
-func (*Message_OneofFixed64) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
-func (*Message_OneofDouble) isMessage_OneofUnion() {}
-func (*Message_OneofString) isMessage_OneofUnion() {}
-func (*Message_OneofBytes) isMessage_OneofUnion() {}
-func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
-func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
-func (*Message_OneofNamedGroup) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
-func (*Message_Oneofgroup) isMessage_OneofUnion() {}
-func (*Message_OneofString1) isMessage_OneofUnion() {}
-func (*Message_OneofString2) isMessage_OneofUnion() {}
-func (*Message_OneofString3) isMessage_OneofUnion() {}
-func (*Message_OneofDefaultedBool) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedInt32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSint32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedUint32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedInt64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSint64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedUint64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedFixed32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSfixed32) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedFloat) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedFixed64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSfixed64) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedDouble) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedString) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedBytes) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedChildEnum) isMessage_OneofDefaultedUnion() {}
-func (*Message_OneofDefaultedSiblingEnum) isMessage_OneofDefaultedUnion() {}
-
-func (m *Message) GetOneofUnion() isMessage_OneofUnion {
- if m != nil {
- return m.OneofUnion
- }
- return nil
-}
-func (m *Message) GetOneofDefaultedUnion() isMessage_OneofDefaultedUnion {
- if m != nil {
- return m.OneofDefaultedUnion
- }
- return nil
-}
-
-func (m *Message) GetNamedgroup() *Message_NamedGroup {
- if m != nil {
- return m.Namedgroup
- }
- return nil
-}
-
-func (m *Message) GetOptionalBool() bool {
- if m != nil && m.OptionalBool != nil {
- return *m.OptionalBool
- }
- return false
-}
-
-func (m *Message) GetOptionalInt32() int32 {
- if m != nil && m.OptionalInt32 != nil {
- return *m.OptionalInt32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint32() int32 {
- if m != nil && m.OptionalSint32 != nil {
- return *m.OptionalSint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint32() uint32 {
- if m != nil && m.OptionalUint32 != nil {
- return *m.OptionalUint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalInt64() int64 {
- if m != nil && m.OptionalInt64 != nil {
- return *m.OptionalInt64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint64() int64 {
- if m != nil && m.OptionalSint64 != nil {
- return *m.OptionalSint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint64() uint64 {
- if m != nil && m.OptionalUint64 != nil {
- return *m.OptionalUint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed32() uint32 {
- if m != nil && m.OptionalFixed32 != nil {
- return *m.OptionalFixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed32() int32 {
- if m != nil && m.OptionalSfixed32 != nil {
- return *m.OptionalSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalFloat() float32 {
- if m != nil && m.OptionalFloat != nil {
- return *m.OptionalFloat
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed64() uint64 {
- if m != nil && m.OptionalFixed64 != nil {
- return *m.OptionalFixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed64() int64 {
- if m != nil && m.OptionalSfixed64 != nil {
- return *m.OptionalSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalDouble() float64 {
- if m != nil && m.OptionalDouble != nil {
- return *m.OptionalDouble
- }
- return 0
-}
-
-func (m *Message) GetOptionalString() string {
- if m != nil && m.OptionalString != nil {
- return *m.OptionalString
- }
- return ""
-}
-
-func (m *Message) GetOptionalBytes() []byte {
- if m != nil {
- return m.OptionalBytes
- }
- return nil
-}
-
-func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
- if m != nil && m.OptionalChildEnum != nil {
- return *m.OptionalChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.OptionalChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalNamedGroup() *Message_NamedGroup {
- if m != nil {
- return m.OptionalNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
- if m != nil && m.OptionalSiblingEnum != nil {
- return *m.OptionalSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.OptionalSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalgroup() *Message_OptionalGroup {
- if m != nil {
- return m.Optionalgroup
- }
- return nil
-}
-
-func (m *Message) GetDefaultedBool() bool {
- if m != nil && m.DefaultedBool != nil {
- return *m.DefaultedBool
- }
- return Default_Message_DefaultedBool
-}
-
-func (m *Message) GetDefaultedInt32() int32 {
- if m != nil && m.DefaultedInt32 != nil {
- return *m.DefaultedInt32
- }
- return Default_Message_DefaultedInt32
-}
-
-func (m *Message) GetDefaultedSint32() int32 {
- if m != nil && m.DefaultedSint32 != nil {
- return *m.DefaultedSint32
- }
- return Default_Message_DefaultedSint32
-}
-
-func (m *Message) GetDefaultedUint32() uint32 {
- if m != nil && m.DefaultedUint32 != nil {
- return *m.DefaultedUint32
- }
- return Default_Message_DefaultedUint32
-}
-
-func (m *Message) GetDefaultedInt64() int64 {
- if m != nil && m.DefaultedInt64 != nil {
- return *m.DefaultedInt64
- }
- return Default_Message_DefaultedInt64
-}
-
-func (m *Message) GetDefaultedSint64() int64 {
- if m != nil && m.DefaultedSint64 != nil {
- return *m.DefaultedSint64
- }
- return Default_Message_DefaultedSint64
-}
-
-func (m *Message) GetDefaultedUint64() uint64 {
- if m != nil && m.DefaultedUint64 != nil {
- return *m.DefaultedUint64
- }
- return Default_Message_DefaultedUint64
-}
-
-func (m *Message) GetDefaultedFixed32() uint32 {
- if m != nil && m.DefaultedFixed32 != nil {
- return *m.DefaultedFixed32
- }
- return Default_Message_DefaultedFixed32
-}
-
-func (m *Message) GetDefaultedSfixed32() int32 {
- if m != nil && m.DefaultedSfixed32 != nil {
- return *m.DefaultedSfixed32
- }
- return Default_Message_DefaultedSfixed32
-}
-
-func (m *Message) GetDefaultedFloat() float32 {
- if m != nil && m.DefaultedFloat != nil {
- return *m.DefaultedFloat
- }
- return Default_Message_DefaultedFloat
-}
-
-func (m *Message) GetDefaultedFixed64() uint64 {
- if m != nil && m.DefaultedFixed64 != nil {
- return *m.DefaultedFixed64
- }
- return Default_Message_DefaultedFixed64
-}
-
-func (m *Message) GetDefaultedSfixed64() int64 {
- if m != nil && m.DefaultedSfixed64 != nil {
- return *m.DefaultedSfixed64
- }
- return Default_Message_DefaultedSfixed64
-}
-
-func (m *Message) GetDefaultedDouble() float64 {
- if m != nil && m.DefaultedDouble != nil {
- return *m.DefaultedDouble
- }
- return Default_Message_DefaultedDouble
-}
-
-func (m *Message) GetDefaultedString() string {
- if m != nil && m.DefaultedString != nil {
- return *m.DefaultedString
- }
- return Default_Message_DefaultedString
-}
-
-func (m *Message) GetDefaultedBytes() []byte {
- if m != nil && m.DefaultedBytes != nil {
- return m.DefaultedBytes
- }
- return append([]byte(nil), Default_Message_DefaultedBytes...)
-}
-
-func (m *Message) GetDefaultedChildEnum() Message_ChildEnum {
- if m != nil && m.DefaultedChildEnum != nil {
- return *m.DefaultedChildEnum
- }
- return Default_Message_DefaultedChildEnum
-}
-
-func (m *Message) GetDefaultedSiblingEnum() SiblingEnum {
- if m != nil && m.DefaultedSiblingEnum != nil {
- return *m.DefaultedSiblingEnum
- }
- return Default_Message_DefaultedSiblingEnum
-}
-
-func (m *Message) GetRequiredBool() bool {
- if m != nil && m.RequiredBool != nil {
- return *m.RequiredBool
- }
- return false
-}
-
-func (m *Message) GetRequiredInt32() int32 {
- if m != nil && m.RequiredInt32 != nil {
- return *m.RequiredInt32
- }
- return 0
-}
-
-func (m *Message) GetRequiredSint32() int32 {
- if m != nil && m.RequiredSint32 != nil {
- return *m.RequiredSint32
- }
- return 0
-}
-
-func (m *Message) GetRequiredUint32() uint32 {
- if m != nil && m.RequiredUint32 != nil {
- return *m.RequiredUint32
- }
- return 0
-}
-
-func (m *Message) GetRequiredInt64() int64 {
- if m != nil && m.RequiredInt64 != nil {
- return *m.RequiredInt64
- }
- return 0
-}
-
-func (m *Message) GetRequiredSint64() int64 {
- if m != nil && m.RequiredSint64 != nil {
- return *m.RequiredSint64
- }
- return 0
-}
-
-func (m *Message) GetRequiredUint64() uint64 {
- if m != nil && m.RequiredUint64 != nil {
- return *m.RequiredUint64
- }
- return 0
-}
-
-func (m *Message) GetRequiredFixed32() uint32 {
- if m != nil && m.RequiredFixed32 != nil {
- return *m.RequiredFixed32
- }
- return 0
-}
-
-func (m *Message) GetRequiredSfixed32() int32 {
- if m != nil && m.RequiredSfixed32 != nil {
- return *m.RequiredSfixed32
- }
- return 0
-}
-
-func (m *Message) GetRequiredFloat() float32 {
- if m != nil && m.RequiredFloat != nil {
- return *m.RequiredFloat
- }
- return 0
-}
-
-func (m *Message) GetRequiredFixed64() uint64 {
- if m != nil && m.RequiredFixed64 != nil {
- return *m.RequiredFixed64
- }
- return 0
-}
-
-func (m *Message) GetRequiredSfixed64() int64 {
- if m != nil && m.RequiredSfixed64 != nil {
- return *m.RequiredSfixed64
- }
- return 0
-}
-
-func (m *Message) GetRequiredDouble() float64 {
- if m != nil && m.RequiredDouble != nil {
- return *m.RequiredDouble
- }
- return 0
-}
-
-func (m *Message) GetRequiredString() string {
- if m != nil && m.RequiredString != nil {
- return *m.RequiredString
- }
- return ""
-}
-
-func (m *Message) GetRequiredBytes() []byte {
- if m != nil {
- return m.RequiredBytes
- }
- return nil
-}
-
-func (m *Message) GetRequiredChildEnum() Message_ChildEnum {
- if m != nil && m.RequiredChildEnum != nil {
- return *m.RequiredChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetRequiredChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.RequiredChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRequiredNamedGroup() *Message_NamedGroup {
- if m != nil {
- return m.RequiredNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetRequiredSiblingEnum() SiblingEnum {
- if m != nil && m.RequiredSiblingEnum != nil {
- return *m.RequiredSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetRequiredSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.RequiredSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRequiredgroup() *Message_RequiredGroup {
- if m != nil {
- return m.Requiredgroup
- }
- return nil
-}
-
-func (m *Message) GetRequiredDefaultedBool() bool {
- if m != nil && m.RequiredDefaultedBool != nil {
- return *m.RequiredDefaultedBool
- }
- return Default_Message_RequiredDefaultedBool
-}
-
-func (m *Message) GetRequiredDefaultedInt32() int32 {
- if m != nil && m.RequiredDefaultedInt32 != nil {
- return *m.RequiredDefaultedInt32
- }
- return Default_Message_RequiredDefaultedInt32
-}
-
-func (m *Message) GetRequiredDefaultedSint32() int32 {
- if m != nil && m.RequiredDefaultedSint32 != nil {
- return *m.RequiredDefaultedSint32
- }
- return Default_Message_RequiredDefaultedSint32
-}
-
-func (m *Message) GetRequiredDefaultedUint32() uint32 {
- if m != nil && m.RequiredDefaultedUint32 != nil {
- return *m.RequiredDefaultedUint32
- }
- return Default_Message_RequiredDefaultedUint32
-}
-
-func (m *Message) GetRequiredDefaultedInt64() int64 {
- if m != nil && m.RequiredDefaultedInt64 != nil {
- return *m.RequiredDefaultedInt64
- }
- return Default_Message_RequiredDefaultedInt64
-}
-
-func (m *Message) GetRequiredDefaultedSint64() int64 {
- if m != nil && m.RequiredDefaultedSint64 != nil {
- return *m.RequiredDefaultedSint64
- }
- return Default_Message_RequiredDefaultedSint64
-}
-
-func (m *Message) GetRequiredDefaultedUint64() uint64 {
- if m != nil && m.RequiredDefaultedUint64 != nil {
- return *m.RequiredDefaultedUint64
- }
- return Default_Message_RequiredDefaultedUint64
-}
-
-func (m *Message) GetRequiredDefaultedFixed32() uint32 {
- if m != nil && m.RequiredDefaultedFixed32 != nil {
- return *m.RequiredDefaultedFixed32
- }
- return Default_Message_RequiredDefaultedFixed32
-}
-
-func (m *Message) GetRequiredDefaultedSfixed32() int32 {
- if m != nil && m.RequiredDefaultedSfixed32 != nil {
- return *m.RequiredDefaultedSfixed32
- }
- return Default_Message_RequiredDefaultedSfixed32
-}
-
-func (m *Message) GetRequiredDefaultedFloat() float32 {
- if m != nil && m.RequiredDefaultedFloat != nil {
- return *m.RequiredDefaultedFloat
- }
- return Default_Message_RequiredDefaultedFloat
-}
-
-func (m *Message) GetRequiredDefaultedFixed64() uint64 {
- if m != nil && m.RequiredDefaultedFixed64 != nil {
- return *m.RequiredDefaultedFixed64
- }
- return Default_Message_RequiredDefaultedFixed64
-}
-
-func (m *Message) GetRequiredDefaultedSfixed64() int64 {
- if m != nil && m.RequiredDefaultedSfixed64 != nil {
- return *m.RequiredDefaultedSfixed64
- }
- return Default_Message_RequiredDefaultedSfixed64
-}
-
-func (m *Message) GetRequiredDefaultedDouble() float64 {
- if m != nil && m.RequiredDefaultedDouble != nil {
- return *m.RequiredDefaultedDouble
- }
- return Default_Message_RequiredDefaultedDouble
-}
-
-func (m *Message) GetRequiredDefaultedString() string {
- if m != nil && m.RequiredDefaultedString != nil {
- return *m.RequiredDefaultedString
- }
- return Default_Message_RequiredDefaultedString
-}
-
-func (m *Message) GetRequiredDefaultedBytes() []byte {
- if m != nil && m.RequiredDefaultedBytes != nil {
- return m.RequiredDefaultedBytes
- }
- return append([]byte(nil), Default_Message_RequiredDefaultedBytes...)
-}
-
-func (m *Message) GetRequiredDefaultedChildEnum() Message_ChildEnum {
- if m != nil && m.RequiredDefaultedChildEnum != nil {
- return *m.RequiredDefaultedChildEnum
- }
- return Default_Message_RequiredDefaultedChildEnum
-}
-
-func (m *Message) GetRequiredDefaultedSiblingEnum() SiblingEnum {
- if m != nil && m.RequiredDefaultedSiblingEnum != nil {
- return *m.RequiredDefaultedSiblingEnum
- }
- return Default_Message_RequiredDefaultedSiblingEnum
-}
-
-func (m *Message) GetRepeatedBool() []bool {
- if m != nil {
- return m.RepeatedBool
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt32() []int32 {
- if m != nil {
- return m.RepeatedInt32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint32() []int32 {
- if m != nil {
- return m.RepeatedSint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint32() []uint32 {
- if m != nil {
- return m.RepeatedUint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt64() []int64 {
- if m != nil {
- return m.RepeatedInt64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint64() []int64 {
- if m != nil {
- return m.RepeatedSint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint64() []uint64 {
- if m != nil {
- return m.RepeatedUint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed32() []uint32 {
- if m != nil {
- return m.RepeatedFixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed32() []int32 {
- if m != nil {
- return m.RepeatedSfixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFloat() []float32 {
- if m != nil {
- return m.RepeatedFloat
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed64() []uint64 {
- if m != nil {
- return m.RepeatedFixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed64() []int64 {
- if m != nil {
- return m.RepeatedSfixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedDouble() []float64 {
- if m != nil {
- return m.RepeatedDouble
- }
- return nil
-}
-
-func (m *Message) GetRepeatedString() []string {
- if m != nil {
- return m.RepeatedString
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBytes() [][]byte {
- if m != nil {
- return m.RepeatedBytes
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
- if m != nil {
- return m.RepeatedChildEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
- if m != nil {
- return m.RepeatedChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedNamedGroup() []*Message_NamedGroup {
- if m != nil {
- return m.RepeatedNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
- if m != nil {
- return m.RepeatedSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
- if m != nil {
- return m.RepeatedSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedgroup() []*Message_RepeatedGroup {
- if m != nil {
- return m.Repeatedgroup
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBool() map[bool]bool {
- if m != nil {
- return m.MapBoolBool
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt32() map[bool]int32 {
- if m != nil {
- return m.MapBoolInt32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolUint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt64() map[bool]int64 {
- if m != nil {
- return m.MapBoolInt64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolUint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolFixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSfixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFloat() map[bool]float32 {
- if m != nil {
- return m.MapBoolFloat
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolFixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSfixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolDouble() map[bool]float64 {
- if m != nil {
- return m.MapBoolDouble
- }
- return nil
-}
-
-func (m *Message) GetMapBoolString() map[bool]string {
- if m != nil {
- return m.MapBoolString
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBytes() map[bool][]byte {
- if m != nil {
- return m.MapBoolBytes
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
- if m != nil {
- return m.MapBoolChildEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
- if m != nil {
- return m.MapBoolChildMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolNamedGroup() map[bool]*Message_NamedGroup {
- if m != nil {
- return m.MapBoolNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
- if m != nil {
- return m.MapBoolSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
- if m != nil {
- return m.MapBoolSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapInt32Bool() map[int32]bool {
- if m != nil {
- return m.MapInt32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint32Bool() map[int32]bool {
- if m != nil {
- return m.MapSint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint32Bool() map[uint32]bool {
- if m != nil {
- return m.MapUint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapInt64Bool() map[int64]bool {
- if m != nil {
- return m.MapInt64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint64Bool() map[int64]bool {
- if m != nil {
- return m.MapSint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint64Bool() map[uint64]bool {
- if m != nil {
- return m.MapUint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapFixed32Bool() map[uint32]bool {
- if m != nil {
- return m.MapFixed32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapStringBool() map[string]bool {
- if m != nil {
- return m.MapStringBool
- }
- return nil
-}
-
-func (m *Message) GetOneofBool() bool {
- if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (m *Message) GetOneofInt32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
- return x.OneofInt32
- }
- return 0
-}
-
-func (m *Message) GetOneofSint32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
- return x.OneofSint32
- }
- return 0
-}
-
-func (m *Message) GetOneofUint32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (m *Message) GetOneofInt64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
- return x.OneofInt64
- }
- return 0
-}
-
-func (m *Message) GetOneofSint64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
- return x.OneofSint64
- }
- return 0
-}
-
-func (m *Message) GetOneofUint64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
- return x.OneofFixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
- return x.OneofSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofFloat() float32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
- return x.OneofFixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
- return x.OneofSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofDouble() float64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (m *Message) GetOneofString() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (m *Message) GetOneofBytes() []byte {
- if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (m *Message) GetOneofChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
- return x.OneofChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
- return x.OneofChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofNamedGroup() *Message_NamedGroup {
- if x, ok := m.GetOneofUnion().(*Message_OneofNamedGroup); ok {
- return x.OneofNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetOneofSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
- return x.OneofSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
- return x.OneofSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofgroup() *Message_OneofGroup {
- if x, ok := m.GetOneofUnion().(*Message_Oneofgroup); ok {
- return x.Oneofgroup
- }
- return nil
-}
-
-func (m *Message) GetOneofString1() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
- return x.OneofString1
- }
- return ""
-}
-
-func (m *Message) GetOneofString2() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
- return x.OneofString2
- }
- return ""
-}
-
-func (m *Message) GetOneofString3() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
- return x.OneofString3
- }
- return ""
-}
-
-func (m *Message) GetOneofDefaultedBool() bool {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBool); ok {
- return x.OneofDefaultedBool
- }
- return Default_Message_OneofDefaultedBool
-}
-
-func (m *Message) GetOneofDefaultedInt32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt32); ok {
- return x.OneofDefaultedInt32
- }
- return Default_Message_OneofDefaultedInt32
-}
-
-func (m *Message) GetOneofDefaultedSint32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint32); ok {
- return x.OneofDefaultedSint32
- }
- return Default_Message_OneofDefaultedSint32
-}
-
-func (m *Message) GetOneofDefaultedUint32() uint32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint32); ok {
- return x.OneofDefaultedUint32
- }
- return Default_Message_OneofDefaultedUint32
-}
-
-func (m *Message) GetOneofDefaultedInt64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt64); ok {
- return x.OneofDefaultedInt64
- }
- return Default_Message_OneofDefaultedInt64
-}
-
-func (m *Message) GetOneofDefaultedSint64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint64); ok {
- return x.OneofDefaultedSint64
- }
- return Default_Message_OneofDefaultedSint64
-}
-
-func (m *Message) GetOneofDefaultedUint64() uint64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint64); ok {
- return x.OneofDefaultedUint64
- }
- return Default_Message_OneofDefaultedUint64
-}
-
-func (m *Message) GetOneofDefaultedFixed32() uint32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed32); ok {
- return x.OneofDefaultedFixed32
- }
- return Default_Message_OneofDefaultedFixed32
-}
-
-func (m *Message) GetOneofDefaultedSfixed32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed32); ok {
- return x.OneofDefaultedSfixed32
- }
- return Default_Message_OneofDefaultedSfixed32
-}
-
-func (m *Message) GetOneofDefaultedFloat() float32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFloat); ok {
- return x.OneofDefaultedFloat
- }
- return Default_Message_OneofDefaultedFloat
-}
-
-func (m *Message) GetOneofDefaultedFixed64() uint64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed64); ok {
- return x.OneofDefaultedFixed64
- }
- return Default_Message_OneofDefaultedFixed64
-}
-
-func (m *Message) GetOneofDefaultedSfixed64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed64); ok {
- return x.OneofDefaultedSfixed64
- }
- return Default_Message_OneofDefaultedSfixed64
-}
-
-func (m *Message) GetOneofDefaultedDouble() float64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedDouble); ok {
- return x.OneofDefaultedDouble
- }
- return Default_Message_OneofDefaultedDouble
-}
-
-func (m *Message) GetOneofDefaultedString() string {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedString); ok {
- return x.OneofDefaultedString
- }
- return Default_Message_OneofDefaultedString
-}
-
-func (m *Message) GetOneofDefaultedBytes() []byte {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBytes); ok {
- return x.OneofDefaultedBytes
- }
- return append([]byte(nil), Default_Message_OneofDefaultedBytes...)
-}
-
-func (m *Message) GetOneofDefaultedChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedChildEnum); ok {
- return x.OneofDefaultedChildEnum
- }
- return Default_Message_OneofDefaultedChildEnum
-}
-
-func (m *Message) GetOneofDefaultedSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSiblingEnum); ok {
- return x.OneofDefaultedSiblingEnum
- }
- return Default_Message_OneofDefaultedSiblingEnum
-}
-
-// XXX_OneofFuncs is for the internal use of the proto package.
-func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
- return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
- (*Message_OneofBool)(nil),
- (*Message_OneofInt32)(nil),
- (*Message_OneofSint32)(nil),
- (*Message_OneofUint32)(nil),
- (*Message_OneofInt64)(nil),
- (*Message_OneofSint64)(nil),
- (*Message_OneofUint64)(nil),
- (*Message_OneofFixed32)(nil),
- (*Message_OneofSfixed32)(nil),
- (*Message_OneofFloat)(nil),
- (*Message_OneofFixed64)(nil),
- (*Message_OneofSfixed64)(nil),
- (*Message_OneofDouble)(nil),
- (*Message_OneofString)(nil),
- (*Message_OneofBytes)(nil),
- (*Message_OneofChildEnum)(nil),
- (*Message_OneofChildMessage)(nil),
- (*Message_OneofNamedGroup)(nil),
- (*Message_OneofSiblingEnum)(nil),
- (*Message_OneofSiblingMessage)(nil),
- (*Message_Oneofgroup)(nil),
- (*Message_OneofString1)(nil),
- (*Message_OneofString2)(nil),
- (*Message_OneofString3)(nil),
- (*Message_OneofDefaultedBool)(nil),
- (*Message_OneofDefaultedInt32)(nil),
- (*Message_OneofDefaultedSint32)(nil),
- (*Message_OneofDefaultedUint32)(nil),
- (*Message_OneofDefaultedInt64)(nil),
- (*Message_OneofDefaultedSint64)(nil),
- (*Message_OneofDefaultedUint64)(nil),
- (*Message_OneofDefaultedFixed32)(nil),
- (*Message_OneofDefaultedSfixed32)(nil),
- (*Message_OneofDefaultedFloat)(nil),
- (*Message_OneofDefaultedFixed64)(nil),
- (*Message_OneofDefaultedSfixed64)(nil),
- (*Message_OneofDefaultedDouble)(nil),
- (*Message_OneofDefaultedString)(nil),
- (*Message_OneofDefaultedBytes)(nil),
- (*Message_OneofDefaultedChildEnum)(nil),
- (*Message_OneofDefaultedSiblingEnum)(nil),
- }
-}
-
-func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- t := uint64(0)
- if x.OneofBool {
- t = 1
- }
- b.EncodeVarint(700<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofInt32:
- b.EncodeVarint(701<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- b.EncodeVarint(702<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofSint32))
- case *Message_OneofUint32:
- b.EncodeVarint(703<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- b.EncodeVarint(704<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- b.EncodeVarint(705<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofSint64))
- case *Message_OneofUint64:
- b.EncodeVarint(706<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- b.EncodeVarint(707<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofFixed32))
- case *Message_OneofSfixed32:
- b.EncodeVarint(708<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofSfixed32))
- case *Message_OneofFloat:
- b.EncodeVarint(709<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
- case *Message_OneofFixed64:
- b.EncodeVarint(710<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofFixed64))
- case *Message_OneofSfixed64:
- b.EncodeVarint(711<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofSfixed64))
- case *Message_OneofDouble:
- b.EncodeVarint(712<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDouble))
- case *Message_OneofString:
- b.EncodeVarint(713<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString)
- case *Message_OneofBytes:
- b.EncodeVarint(714<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofBytes)
- case *Message_OneofChildEnum:
- b.EncodeVarint(715<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- b.EncodeVarint(716<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
- return err
- }
- case *Message_OneofNamedGroup:
- b.EncodeVarint(717<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofNamedGroup); err != nil {
- return err
- }
- case *Message_OneofSiblingEnum:
- b.EncodeVarint(718<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- b.EncodeVarint(719<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
- return err
- }
- case *Message_Oneofgroup:
- b.EncodeVarint(720<<3 | proto.WireStartGroup)
- if err := b.Marshal(x.Oneofgroup); err != nil {
- return err
- }
- b.EncodeVarint(720<<3 | proto.WireEndGroup)
- case *Message_OneofString1:
- b.EncodeVarint(721<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString1)
- case *Message_OneofString2:
- b.EncodeVarint(722<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString2)
- case *Message_OneofString3:
- b.EncodeVarint(723<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString3)
- case nil:
- default:
- return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
- }
- // oneof_defaulted_union
- switch x := m.OneofDefaultedUnion.(type) {
- case *Message_OneofDefaultedBool:
- t := uint64(0)
- if x.OneofDefaultedBool {
- t = 1
- }
- b.EncodeVarint(800<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofDefaultedInt32:
- b.EncodeVarint(801<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedInt32))
- case *Message_OneofDefaultedSint32:
- b.EncodeVarint(802<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofDefaultedSint32))
- case *Message_OneofDefaultedUint32:
- b.EncodeVarint(803<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedUint32))
- case *Message_OneofDefaultedInt64:
- b.EncodeVarint(804<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedInt64))
- case *Message_OneofDefaultedSint64:
- b.EncodeVarint(805<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofDefaultedSint64))
- case *Message_OneofDefaultedUint64:
- b.EncodeVarint(806<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedUint64))
- case *Message_OneofDefaultedFixed32:
- b.EncodeVarint(807<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofDefaultedFixed32))
- case *Message_OneofDefaultedSfixed32:
- b.EncodeVarint(808<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofDefaultedSfixed32))
- case *Message_OneofDefaultedFloat:
- b.EncodeVarint(809<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofDefaultedFloat)))
- case *Message_OneofDefaultedFixed64:
- b.EncodeVarint(810<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofDefaultedFixed64))
- case *Message_OneofDefaultedSfixed64:
- b.EncodeVarint(811<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofDefaultedSfixed64))
- case *Message_OneofDefaultedDouble:
- b.EncodeVarint(812<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDefaultedDouble))
- case *Message_OneofDefaultedString:
- b.EncodeVarint(813<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofDefaultedString)
- case *Message_OneofDefaultedBytes:
- b.EncodeVarint(814<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofDefaultedBytes)
- case *Message_OneofDefaultedChildEnum:
- b.EncodeVarint(815<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedChildEnum))
- case *Message_OneofDefaultedSiblingEnum:
- b.EncodeVarint(816<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedSiblingEnum))
- case nil:
- default:
- return fmt.Errorf("Message.OneofDefaultedUnion has unexpected type %T", x)
- }
- return nil
-}
-
-func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*Message)
- switch tag {
- case 700: // oneof_union.oneof_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofBool{x != 0}
- return true, err
- case 701: // oneof_union.oneof_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt32{int32(x)}
- return true, err
- case 702: // oneof_union.oneof_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofUnion = &Message_OneofSint32{int32(x)}
- return true, err
- case 703: // oneof_union.oneof_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint32{uint32(x)}
- return true, err
- case 704: // oneof_union.oneof_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt64{int64(x)}
- return true, err
- case 705: // oneof_union.oneof_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofUnion = &Message_OneofSint64{int64(x)}
- return true, err
- case 706: // oneof_union.oneof_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint64{x}
- return true, err
- case 707: // oneof_union.oneof_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFixed32{uint32(x)}
- return true, err
- case 708: // oneof_union.oneof_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofSfixed32{int32(x)}
- return true, err
- case 709: // oneof_union.oneof_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 710: // oneof_union.oneof_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofFixed64{x}
- return true, err
- case 711: // oneof_union.oneof_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofSfixed64{int64(x)}
- return true, err
- case 712: // oneof_union.oneof_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
- return true, err
- case 713: // oneof_union.oneof_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString{x}
- return true, err
- case 714: // oneof_union.oneof_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofUnion = &Message_OneofBytes{x}
- return true, err
- case 715: // oneof_union.oneof_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
- return true, err
- case 716: // oneof_union.oneof_child_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_ChildMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofChildMessage{msg}
- return true, err
- case 717: // oneof_union.oneof_named_group
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_NamedGroup)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofNamedGroup{msg}
- return true, err
- case 718: // oneof_union.oneof_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
- return true, err
- case 719: // oneof_union.oneof_sibling_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(SiblingMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofSiblingMessage{msg}
- return true, err
- case 720: // oneof_union.oneofgroup
- if wire != proto.WireStartGroup {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_OneofGroup)
- err := b.DecodeGroup(msg)
- m.OneofUnion = &Message_Oneofgroup{msg}
- return true, err
- case 721: // oneof_union.oneof_string1
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString1{x}
- return true, err
- case 722: // oneof_union.oneof_string2
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString2{x}
- return true, err
- case 723: // oneof_union.oneof_string3
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString3{x}
- return true, err
- case 800: // oneof_defaulted_union.oneof_defaulted_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedBool{x != 0}
- return true, err
- case 801: // oneof_defaulted_union.oneof_defaulted_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedInt32{int32(x)}
- return true, err
- case 802: // oneof_defaulted_union.oneof_defaulted_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSint32{int32(x)}
- return true, err
- case 803: // oneof_defaulted_union.oneof_defaulted_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedUint32{uint32(x)}
- return true, err
- case 804: // oneof_defaulted_union.oneof_defaulted_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedInt64{int64(x)}
- return true, err
- case 805: // oneof_defaulted_union.oneof_defaulted_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSint64{int64(x)}
- return true, err
- case 806: // oneof_defaulted_union.oneof_defaulted_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedUint64{x}
- return true, err
- case 807: // oneof_defaulted_union.oneof_defaulted_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFixed32{uint32(x)}
- return true, err
- case 808: // oneof_defaulted_union.oneof_defaulted_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed32{int32(x)}
- return true, err
- case 809: // oneof_defaulted_union.oneof_defaulted_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 810: // oneof_defaulted_union.oneof_defaulted_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFixed64{x}
- return true, err
- case 811: // oneof_defaulted_union.oneof_defaulted_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed64{int64(x)}
- return true, err
- case 812: // oneof_defaulted_union.oneof_defaulted_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedDouble{math.Float64frombits(x)}
- return true, err
- case 813: // oneof_defaulted_union.oneof_defaulted_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofDefaultedUnion = &Message_OneofDefaultedString{x}
- return true, err
- case 814: // oneof_defaulted_union.oneof_defaulted_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofDefaultedUnion = &Message_OneofDefaultedBytes{x}
- return true, err
- case 815: // oneof_defaulted_union.oneof_defaulted_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedChildEnum{Message_ChildEnum(x)}
- return true, err
- case 816: // oneof_defaulted_union.oneof_defaulted_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSiblingEnum{SiblingEnum(x)}
- return true, err
- default:
- return false, nil
- }
-}
-
-func _Message_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- n += 2 // tag and wire
- n += 1
- case *Message_OneofInt32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
- case *Message_OneofUint32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
- case *Message_OneofUint64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofSfixed32:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofFloat:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofFixed64:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofSfixed64:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofDouble:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofString:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString)))
- n += len(x.OneofString)
- case *Message_OneofBytes:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofBytes)))
- n += len(x.OneofBytes)
- case *Message_OneofChildEnum:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- s := proto.Size(x.OneofChildMessage)
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofNamedGroup:
- s := proto.Size(x.OneofNamedGroup)
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofSiblingEnum:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- s := proto.Size(x.OneofSiblingMessage)
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_Oneofgroup:
- n += 2 // tag and wire
- n += proto.Size(x.Oneofgroup)
- n += 2 // tag and wire
- case *Message_OneofString1:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString1)))
- n += len(x.OneofString1)
- case *Message_OneofString2:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString2)))
- n += len(x.OneofString2)
- case *Message_OneofString3:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString3)))
- n += len(x.OneofString3)
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- // oneof_defaulted_union
- switch x := m.OneofDefaultedUnion.(type) {
- case *Message_OneofDefaultedBool:
- n += 2 // tag and wire
- n += 1
- case *Message_OneofDefaultedInt32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofDefaultedInt32))
- case *Message_OneofDefaultedSint32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64((uint32(x.OneofDefaultedSint32) << 1) ^ uint32((int32(x.OneofDefaultedSint32) >> 31))))
- case *Message_OneofDefaultedUint32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofDefaultedUint32))
- case *Message_OneofDefaultedInt64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofDefaultedInt64))
- case *Message_OneofDefaultedSint64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(uint64(x.OneofDefaultedSint64<<1) ^ uint64((int64(x.OneofDefaultedSint64) >> 63))))
- case *Message_OneofDefaultedUint64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofDefaultedUint64))
- case *Message_OneofDefaultedFixed32:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofDefaultedSfixed32:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofDefaultedFloat:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofDefaultedFixed64:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofDefaultedSfixed64:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofDefaultedDouble:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofDefaultedString:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofDefaultedString)))
- n += len(x.OneofDefaultedString)
- case *Message_OneofDefaultedBytes:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofDefaultedBytes)))
- n += len(x.OneofDefaultedBytes)
- case *Message_OneofDefaultedChildEnum:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofDefaultedChildEnum))
- case *Message_OneofDefaultedSiblingEnum:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofDefaultedSiblingEnum))
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
-}
-
-var E_Message_ExtensionOptionalBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*bool)(nil),
- Field: 10000,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_bool",
- Tag: "varint,10000,opt,name=extension_optional_bool,json=extensionOptionalBool",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10001,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_int32",
- Tag: "varint,10001,opt,name=extension_optional_int32,json=extensionOptionalInt32",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10002,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_sint32",
- Tag: "zigzag32,10002,opt,name=extension_optional_sint32,json=extensionOptionalSint32",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 10003,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_uint32",
- Tag: "varint,10003,opt,name=extension_optional_uint32,json=extensionOptionalUint32",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10004,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_int64",
- Tag: "varint,10004,opt,name=extension_optional_int64,json=extensionOptionalInt64",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10005,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_sint64",
- Tag: "zigzag64,10005,opt,name=extension_optional_sint64,json=extensionOptionalSint64",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 10006,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_uint64",
- Tag: "varint,10006,opt,name=extension_optional_uint64,json=extensionOptionalUint64",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 10007,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_fixed32",
- Tag: "fixed32,10007,opt,name=extension_optional_fixed32,json=extensionOptionalFixed32",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10008,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_sfixed32",
- Tag: "fixed32,10008,opt,name=extension_optional_sfixed32,json=extensionOptionalSfixed32",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float32)(nil),
- Field: 10009,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_float",
- Tag: "fixed32,10009,opt,name=extension_optional_float,json=extensionOptionalFloat",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 10010,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_fixed64",
- Tag: "fixed64,10010,opt,name=extension_optional_fixed64,json=extensionOptionalFixed64",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10011,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_sfixed64",
- Tag: "fixed64,10011,opt,name=extension_optional_sfixed64,json=extensionOptionalSfixed64",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float64)(nil),
- Field: 10012,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_double",
- Tag: "fixed64,10012,opt,name=extension_optional_double,json=extensionOptionalDouble",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 10013,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_string",
- Tag: "bytes,10013,opt,name=extension_optional_string,json=extensionOptionalString",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 10014,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_bytes",
- Tag: "bytes,10014,opt,name=extension_optional_bytes,json=extensionOptionalBytes",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildEnum)(nil),
- Field: 10015,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_child_enum",
- Tag: "varint,10015,opt,name=extension_optional_child_enum,json=extensionOptionalChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalChildMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildMessage)(nil),
- Field: 10016,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_child_message",
- Tag: "bytes,10016,opt,name=extension_optional_child_message,json=extensionOptionalChildMessage",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalNamedGroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_NamedGroup)(nil),
- Field: 10017,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_named_group",
- Tag: "bytes,10017,opt,name=extension_optional_named_group,json=extensionOptionalNamedGroup",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingEnum)(nil),
- Field: 10018,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_sibling_enum",
- Tag: "varint,10018,opt,name=extension_optional_sibling_enum,json=extensionOptionalSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionOptionalSiblingMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingMessage)(nil),
- Field: 10019,
- Name: "google.golang.org.proto2_20180430.Message.extension_optional_sibling_message",
- Tag: "bytes,10019,opt,name=extension_optional_sibling_message,json=extensionOptionalSiblingMessage",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_Extensionoptionalgroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ExtensionOptionalGroup)(nil),
- Field: 10020,
- Name: "google.golang.org.proto2_20180430.Message.extensionoptionalgroup",
- Tag: "group,10020,opt,name=ExtensionOptionalGroup,json=extensionoptionalgroup",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*bool)(nil),
- Field: 20000,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_bool",
- Tag: "varint,20000,opt,name=extension_defaulted_bool,json=extensionDefaultedBool,def=1",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20001,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_int32",
- Tag: "varint,20001,opt,name=extension_defaulted_int32,json=extensionDefaultedInt32,def=-12345",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20002,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_sint32",
- Tag: "zigzag32,20002,opt,name=extension_defaulted_sint32,json=extensionDefaultedSint32,def=-3200",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 20003,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_uint32",
- Tag: "varint,20003,opt,name=extension_defaulted_uint32,json=extensionDefaultedUint32,def=3200",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20004,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_int64",
- Tag: "varint,20004,opt,name=extension_defaulted_int64,json=extensionDefaultedInt64,def=-123456789",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20005,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_sint64",
- Tag: "zigzag64,20005,opt,name=extension_defaulted_sint64,json=extensionDefaultedSint64,def=-6400",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 20006,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_uint64",
- Tag: "varint,20006,opt,name=extension_defaulted_uint64,json=extensionDefaultedUint64,def=6400",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 20007,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_fixed32",
- Tag: "fixed32,20007,opt,name=extension_defaulted_fixed32,json=extensionDefaultedFixed32,def=320000",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20008,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_sfixed32",
- Tag: "fixed32,20008,opt,name=extension_defaulted_sfixed32,json=extensionDefaultedSfixed32,def=-320000",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float32)(nil),
- Field: 20009,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_float",
- Tag: "fixed32,20009,opt,name=extension_defaulted_float,json=extensionDefaultedFloat,def=3.14159",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 20010,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_fixed64",
- Tag: "fixed64,20010,opt,name=extension_defaulted_fixed64,json=extensionDefaultedFixed64,def=640000",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20011,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_sfixed64",
- Tag: "fixed64,20011,opt,name=extension_defaulted_sfixed64,json=extensionDefaultedSfixed64,def=-640000",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float64)(nil),
- Field: 20012,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_double",
- Tag: "fixed64,20012,opt,name=extension_defaulted_double,json=extensionDefaultedDouble,def=3.14159265359",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 20013,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_string",
- Tag: "bytes,20013,opt,name=extension_defaulted_string,json=extensionDefaultedString,def=hello, \"world!\"\n",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 20014,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_bytes",
- Tag: "bytes,20014,opt,name=extension_defaulted_bytes,json=extensionDefaultedBytes,def=dead\\336\\255\\276\\357beef",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildEnum)(nil),
- Field: 20015,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_child_enum",
- Tag: "varint,20015,opt,name=extension_defaulted_child_enum,json=extensionDefaultedChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum,def=0",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingEnum)(nil),
- Field: 20016,
- Name: "google.golang.org.proto2_20180430.Message.extension_defaulted_sibling_enum",
- Tag: "varint,20016,opt,name=extension_defaulted_sibling_enum,json=extensionDefaultedSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum,def=0",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]bool)(nil),
- Field: 30000,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_bool",
- Tag: "varint,30000,rep,name=extension_repeated_bool,json=extensionRepeatedBool",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30001,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_int32",
- Tag: "varint,30001,rep,name=extension_repeated_int32,json=extensionRepeatedInt32",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30002,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_sint32",
- Tag: "zigzag32,30002,rep,name=extension_repeated_sint32,json=extensionRepeatedSint32",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 30003,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_uint32",
- Tag: "varint,30003,rep,name=extension_repeated_uint32,json=extensionRepeatedUint32",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30004,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_int64",
- Tag: "varint,30004,rep,name=extension_repeated_int64,json=extensionRepeatedInt64",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30005,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_sint64",
- Tag: "zigzag64,30005,rep,name=extension_repeated_sint64,json=extensionRepeatedSint64",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 30006,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_uint64",
- Tag: "varint,30006,rep,name=extension_repeated_uint64,json=extensionRepeatedUint64",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 30007,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_fixed32",
- Tag: "fixed32,30007,rep,name=extension_repeated_fixed32,json=extensionRepeatedFixed32",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30008,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_sfixed32",
- Tag: "fixed32,30008,rep,name=extension_repeated_sfixed32,json=extensionRepeatedSfixed32",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]float32)(nil),
- Field: 30009,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_float",
- Tag: "fixed32,30009,rep,name=extension_repeated_float,json=extensionRepeatedFloat",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 30010,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_fixed64",
- Tag: "fixed64,30010,rep,name=extension_repeated_fixed64,json=extensionRepeatedFixed64",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30011,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_sfixed64",
- Tag: "fixed64,30011,rep,name=extension_repeated_sfixed64,json=extensionRepeatedSfixed64",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]float64)(nil),
- Field: 30012,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_double",
- Tag: "fixed64,30012,rep,name=extension_repeated_double,json=extensionRepeatedDouble",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]string)(nil),
- Field: 30013,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_string",
- Tag: "bytes,30013,rep,name=extension_repeated_string,json=extensionRepeatedString",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([][]byte)(nil),
- Field: 30014,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_bytes",
- Tag: "bytes,30014,rep,name=extension_repeated_bytes,json=extensionRepeatedBytes",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]Message_ChildEnum)(nil),
- Field: 30015,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_child_enum",
- Tag: "varint,30015,rep,name=extension_repeated_child_enum,json=extensionRepeatedChildEnum,enum=google.golang.org.proto2_20180430.Message_ChildEnum",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedChildMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_ChildMessage)(nil),
- Field: 30016,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_child_message",
- Tag: "bytes,30016,rep,name=extension_repeated_child_message,json=extensionRepeatedChildMessage",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedNamedGroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_NamedGroup)(nil),
- Field: 30017,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_named_group",
- Tag: "bytes,30017,rep,name=extension_repeated_named_group,json=extensionRepeatedNamedGroup",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]SiblingEnum)(nil),
- Field: 30018,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_sibling_enum",
- Tag: "varint,30018,rep,name=extension_repeated_sibling_enum,json=extensionRepeatedSiblingEnum,enum=google.golang.org.proto2_20180430.SiblingEnum",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSiblingMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*SiblingMessage)(nil),
- Field: 30019,
- Name: "google.golang.org.proto2_20180430.Message.extension_repeated_sibling_message",
- Tag: "bytes,30019,rep,name=extension_repeated_sibling_message,json=extensionRepeatedSiblingMessage",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-var E_Message_Extensionrepeatedgroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_ExtensionRepeatedGroup)(nil),
- Field: 30020,
- Name: "google.golang.org.proto2_20180430.Message.extensionrepeatedgroup",
- Tag: "group,30020,rep,name=ExtensionRepeatedGroup,json=extensionrepeatedgroup",
- Filename: "proto2_20180430_b4deda09/test.proto",
-}
-
-type Message_ChildMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
-func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
-func (*Message_ChildMessage) ProtoMessage() {}
-func (*Message_ChildMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_a365478be18be824, []int{1, 0}
-}
-func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_ChildMessage.Unmarshal(m, b)
-}
-func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_ChildMessage.Marshal(b, m, deterministic)
-}
-func (dst *Message_ChildMessage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_ChildMessage.Merge(dst, src)
-}
-func (m *Message_ChildMessage) XXX_Size() int {
- return xxx_messageInfo_Message_ChildMessage.Size(m)
-}
-func (m *Message_ChildMessage) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_ChildMessage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_ChildMessage proto.InternalMessageInfo
-
-func (m *Message_ChildMessage) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *Message_ChildMessage) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message_NamedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_NamedGroup) Reset() { *m = Message_NamedGroup{} }
-func (m *Message_NamedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_NamedGroup) ProtoMessage() {}
-func (*Message_NamedGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_a365478be18be824, []int{1, 1}
-}
-func (m *Message_NamedGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_NamedGroup.Unmarshal(m, b)
-}
-func (m *Message_NamedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_NamedGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_NamedGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_NamedGroup.Merge(dst, src)
-}
-func (m *Message_NamedGroup) XXX_Size() int {
- return xxx_messageInfo_Message_NamedGroup.Size(m)
-}
-func (m *Message_NamedGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_NamedGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_NamedGroup proto.InternalMessageInfo
-
-func (m *Message_NamedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_NamedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_NamedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *Message_NamedGroup) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message_OptionalGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_OptionalGroup) Reset() { *m = Message_OptionalGroup{} }
-func (m *Message_OptionalGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_OptionalGroup) ProtoMessage() {}
-func (*Message_OptionalGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_a365478be18be824, []int{1, 2}
-}
-func (m *Message_OptionalGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_OptionalGroup.Unmarshal(m, b)
-}
-func (m *Message_OptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_OptionalGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_OptionalGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_OptionalGroup.Merge(dst, src)
-}
-func (m *Message_OptionalGroup) XXX_Size() int {
- return xxx_messageInfo_Message_OptionalGroup.Size(m)
-}
-func (m *Message_OptionalGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_OptionalGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_OptionalGroup proto.InternalMessageInfo
-
-func (m *Message_OptionalGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_OptionalGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_OptionalGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_RequiredGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_RequiredGroup) Reset() { *m = Message_RequiredGroup{} }
-func (m *Message_RequiredGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_RequiredGroup) ProtoMessage() {}
-func (*Message_RequiredGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_a365478be18be824, []int{1, 3}
-}
-func (m *Message_RequiredGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_RequiredGroup.Unmarshal(m, b)
-}
-func (m *Message_RequiredGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_RequiredGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_RequiredGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_RequiredGroup.Merge(dst, src)
-}
-func (m *Message_RequiredGroup) XXX_Size() int {
- return xxx_messageInfo_Message_RequiredGroup.Size(m)
-}
-func (m *Message_RequiredGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_RequiredGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_RequiredGroup proto.InternalMessageInfo
-
-func (m *Message_RequiredGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_RequiredGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_RequiredGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_RepeatedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_RepeatedGroup) Reset() { *m = Message_RepeatedGroup{} }
-func (m *Message_RepeatedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_RepeatedGroup) ProtoMessage() {}
-func (*Message_RepeatedGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_a365478be18be824, []int{1, 4}
-}
-func (m *Message_RepeatedGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_RepeatedGroup.Unmarshal(m, b)
-}
-func (m *Message_RepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_RepeatedGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_RepeatedGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_RepeatedGroup.Merge(dst, src)
-}
-func (m *Message_RepeatedGroup) XXX_Size() int {
- return xxx_messageInfo_Message_RepeatedGroup.Size(m)
-}
-func (m *Message_RepeatedGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_RepeatedGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_RepeatedGroup proto.InternalMessageInfo
-
-func (m *Message_RepeatedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_RepeatedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_RepeatedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_OneofGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_OneofGroup) Reset() { *m = Message_OneofGroup{} }
-func (m *Message_OneofGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_OneofGroup) ProtoMessage() {}
-func (*Message_OneofGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_a365478be18be824, []int{1, 33}
-}
-func (m *Message_OneofGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_OneofGroup.Unmarshal(m, b)
-}
-func (m *Message_OneofGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_OneofGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_OneofGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_OneofGroup.Merge(dst, src)
-}
-func (m *Message_OneofGroup) XXX_Size() int {
- return xxx_messageInfo_Message_OneofGroup.Size(m)
-}
-func (m *Message_OneofGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_OneofGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_OneofGroup proto.InternalMessageInfo
-
-func (m *Message_OneofGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_OneofGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_OneofGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_ExtensionOptionalGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_ExtensionOptionalGroup) Reset() { *m = Message_ExtensionOptionalGroup{} }
-func (m *Message_ExtensionOptionalGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_ExtensionOptionalGroup) ProtoMessage() {}
-func (*Message_ExtensionOptionalGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_a365478be18be824, []int{1, 34}
-}
-func (m *Message_ExtensionOptionalGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_ExtensionOptionalGroup.Unmarshal(m, b)
-}
-func (m *Message_ExtensionOptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_ExtensionOptionalGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_ExtensionOptionalGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_ExtensionOptionalGroup.Merge(dst, src)
-}
-func (m *Message_ExtensionOptionalGroup) XXX_Size() int {
- return xxx_messageInfo_Message_ExtensionOptionalGroup.Size(m)
-}
-func (m *Message_ExtensionOptionalGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_ExtensionOptionalGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_ExtensionOptionalGroup proto.InternalMessageInfo
-
-func (m *Message_ExtensionOptionalGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_ExtensionRepeatedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_ExtensionRepeatedGroup) Reset() { *m = Message_ExtensionRepeatedGroup{} }
-func (m *Message_ExtensionRepeatedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_ExtensionRepeatedGroup) ProtoMessage() {}
-func (*Message_ExtensionRepeatedGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_a365478be18be824, []int{1, 35}
-}
-func (m *Message_ExtensionRepeatedGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_ExtensionRepeatedGroup.Unmarshal(m, b)
-}
-func (m *Message_ExtensionRepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_ExtensionRepeatedGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_ExtensionRepeatedGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_ExtensionRepeatedGroup.Merge(dst, src)
-}
-func (m *Message_ExtensionRepeatedGroup) XXX_Size() int {
- return xxx_messageInfo_Message_ExtensionRepeatedGroup.Size(m)
-}
-func (m *Message_ExtensionRepeatedGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_ExtensionRepeatedGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_ExtensionRepeatedGroup proto.InternalMessageInfo
-
-func (m *Message_ExtensionRepeatedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto2_20180430.SiblingMessage")
- proto.RegisterType((*Message)(nil), "google.golang.org.proto2_20180430.Message")
- proto.RegisterMapType((map[bool]bool)(nil), "google.golang.org.proto2_20180430.Message.MapBoolBoolEntry")
- proto.RegisterMapType((map[bool][]byte)(nil), "google.golang.org.proto2_20180430.Message.MapBoolBytesEntry")
- proto.RegisterMapType((map[bool]Message_ChildEnum)(nil), "google.golang.org.proto2_20180430.Message.MapBoolChildEnumEntry")
- proto.RegisterMapType((map[bool]*Message_ChildMessage)(nil), "google.golang.org.proto2_20180430.Message.MapBoolChildMessageEntry")
- proto.RegisterMapType((map[bool]float64)(nil), "google.golang.org.proto2_20180430.Message.MapBoolDoubleEntry")
- proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto2_20180430.Message.MapBoolFixed32Entry")
- proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto2_20180430.Message.MapBoolFixed64Entry")
- proto.RegisterMapType((map[bool]float32)(nil), "google.golang.org.proto2_20180430.Message.MapBoolFloatEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20180430.Message.MapBoolInt32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20180430.Message.MapBoolInt64Entry")
- proto.RegisterMapType((map[bool]*Message_NamedGroup)(nil), "google.golang.org.proto2_20180430.Message.MapBoolNamedGroupEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20180430.Message.MapBoolSfixed32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20180430.Message.MapBoolSfixed64Entry")
- proto.RegisterMapType((map[bool]SiblingEnum)(nil), "google.golang.org.proto2_20180430.Message.MapBoolSiblingEnumEntry")
- proto.RegisterMapType((map[bool]*SiblingMessage)(nil), "google.golang.org.proto2_20180430.Message.MapBoolSiblingMessageEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20180430.Message.MapBoolSint32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20180430.Message.MapBoolSint64Entry")
- proto.RegisterMapType((map[bool]string)(nil), "google.golang.org.proto2_20180430.Message.MapBoolStringEntry")
- proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto2_20180430.Message.MapBoolUint32Entry")
- proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto2_20180430.Message.MapBoolUint64Entry")
- proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto2_20180430.Message.MapFixed32BoolEntry")
- proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto2_20180430.Message.MapInt32BoolEntry")
- proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto2_20180430.Message.MapInt64BoolEntry")
- proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto2_20180430.Message.MapSint32BoolEntry")
- proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto2_20180430.Message.MapSint64BoolEntry")
- proto.RegisterMapType((map[string]bool)(nil), "google.golang.org.proto2_20180430.Message.MapStringBoolEntry")
- proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto2_20180430.Message.MapUint32BoolEntry")
- proto.RegisterMapType((map[uint64]bool)(nil), "google.golang.org.proto2_20180430.Message.MapUint64BoolEntry")
- proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto2_20180430.Message.ChildMessage")
- proto.RegisterType((*Message_NamedGroup)(nil), "google.golang.org.proto2_20180430.Message.NamedGroup")
- proto.RegisterType((*Message_OptionalGroup)(nil), "google.golang.org.proto2_20180430.Message.OptionalGroup")
- proto.RegisterType((*Message_RequiredGroup)(nil), "google.golang.org.proto2_20180430.Message.RequiredGroup")
- proto.RegisterType((*Message_RepeatedGroup)(nil), "google.golang.org.proto2_20180430.Message.RepeatedGroup")
- proto.RegisterType((*Message_OneofGroup)(nil), "google.golang.org.proto2_20180430.Message.OneofGroup")
- proto.RegisterType((*Message_ExtensionOptionalGroup)(nil), "google.golang.org.proto2_20180430.Message.ExtensionOptionalGroup")
- proto.RegisterType((*Message_ExtensionRepeatedGroup)(nil), "google.golang.org.proto2_20180430.Message.ExtensionRepeatedGroup")
- proto.RegisterEnum("google.golang.org.proto2_20180430.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
- proto.RegisterEnum("google.golang.org.proto2_20180430.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
- proto.RegisterExtension(E_Message_ExtensionOptionalBool)
- proto.RegisterExtension(E_Message_ExtensionOptionalInt32)
- proto.RegisterExtension(E_Message_ExtensionOptionalSint32)
- proto.RegisterExtension(E_Message_ExtensionOptionalUint32)
- proto.RegisterExtension(E_Message_ExtensionOptionalInt64)
- proto.RegisterExtension(E_Message_ExtensionOptionalSint64)
- proto.RegisterExtension(E_Message_ExtensionOptionalUint64)
- proto.RegisterExtension(E_Message_ExtensionOptionalFixed32)
- proto.RegisterExtension(E_Message_ExtensionOptionalSfixed32)
- proto.RegisterExtension(E_Message_ExtensionOptionalFloat)
- proto.RegisterExtension(E_Message_ExtensionOptionalFixed64)
- proto.RegisterExtension(E_Message_ExtensionOptionalSfixed64)
- proto.RegisterExtension(E_Message_ExtensionOptionalDouble)
- proto.RegisterExtension(E_Message_ExtensionOptionalString)
- proto.RegisterExtension(E_Message_ExtensionOptionalBytes)
- proto.RegisterExtension(E_Message_ExtensionOptionalChildEnum)
- proto.RegisterExtension(E_Message_ExtensionOptionalChildMessage)
- proto.RegisterExtension(E_Message_ExtensionOptionalNamedGroup)
- proto.RegisterExtension(E_Message_ExtensionOptionalSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionOptionalSiblingMessage)
- proto.RegisterExtension(E_Message_Extensionoptionalgroup)
- proto.RegisterExtension(E_Message_ExtensionDefaultedBool)
- proto.RegisterExtension(E_Message_ExtensionDefaultedInt32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSint32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedUint32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedInt64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSint64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedUint64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFixed32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFloat)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFixed64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedDouble)
- proto.RegisterExtension(E_Message_ExtensionDefaultedString)
- proto.RegisterExtension(E_Message_ExtensionDefaultedBytes)
- proto.RegisterExtension(E_Message_ExtensionDefaultedChildEnum)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedBool)
- proto.RegisterExtension(E_Message_ExtensionRepeatedInt32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSint32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedUint32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedInt64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSint64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedUint64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFixed32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFloat)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFixed64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedDouble)
- proto.RegisterExtension(E_Message_ExtensionRepeatedString)
- proto.RegisterExtension(E_Message_ExtensionRepeatedBytes)
- proto.RegisterExtension(E_Message_ExtensionRepeatedChildEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedChildMessage)
- proto.RegisterExtension(E_Message_ExtensionRepeatedNamedGroup)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingMessage)
- proto.RegisterExtension(E_Message_Extensionrepeatedgroup)
-}
-
-func init() {
- proto.RegisterFile("proto2_20180430_b4deda09/test.proto", fileDescriptor_test_a365478be18be824)
-}
-
-var fileDescriptor_test_a365478be18be824 = []byte{
- // 4468 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5c, 0x67, 0x70, 0x24, 0xc7,
- 0x75, 0xc6, 0xec, 0x62, 0x17, 0x87, 0x3e, 0x2c, 0xb0, 0x98, 0xbb, 0x03, 0xe6, 0x40, 0xd2, 0x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 0xc0, 0x78, 0x4f, 0xda, 0x7f, 0x58, 0x3d, 0x86, 0xd2, 0x6f, 0x38, 0xdb,
- 0x2c, 0xf1, 0xf3, 0x6c, 0x89, 0x29, 0xcf, 0xa1, 0xf4, 0x7b, 0xd6, 0x09, 0xcb, 0x59, 0x2e, 0x88,
- 0x57, 0xf5, 0xbb, 0xad, 0xad, 0x76, 0x6b, 0x79, 0x3a, 0xfe, 0x8e, 0x24, 0xfb, 0xe0, 0xb2, 0x79,
- 0x74, 0x50, 0x7d, 0x4f, 0xdc, 0xf4, 0x40, 0x14, 0xb9, 0x63, 0xf2, 0x81, 0xe8, 0x0b, 0xce, 0xf2,
- 0x6b, 0x7e, 0xbc, 0x16, 0x5b, 0xf6, 0x09, 0xb6, 0xec, 0xb5, 0xee, 0xc6, 0x89, 0xad, 0x56, 0xa7,
- 0xbe, 0xd3, 0x5a, 0x6d, 0xb0, 0xdf, 0xb9, 0x65, 0xa3, 0xbb, 0x27, 0x1a, 0xf5, 0xcd, 0xd5, 0xb3,
- 0xe7, 0x4f, 0x24, 0xfd, 0x24, 0xee, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x9d, 0x50, 0x42, 0x96,
- 0x2d, 0x57, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180430_b4deda09/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180430_b4deda09/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180430_b4deda09/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180814_aa810b61/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180814_aa810b61/test.pb.go
deleted file mode 100644
index 47e825a192..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180814_aa810b61/test.pb.go
+++ /dev/null
@@ -1,3904 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: proto2_20180814_aa810b61/test.proto
-
-package proto2_20180814_aa810b61 // import "google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180814_aa810b61"
-
-import proto "google.golang.org/protobuf/internal/protolegacy"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-type SiblingEnum int32
-
-const (
- SiblingEnum_ALPHA SiblingEnum = 0
- SiblingEnum_BRAVO SiblingEnum = 10
- SiblingEnum_CHARLIE SiblingEnum = 200
-)
-
-var SiblingEnum_name = map[int32]string{
- 0: "ALPHA",
- 10: "BRAVO",
- 200: "CHARLIE",
-}
-var SiblingEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 10,
- "CHARLIE": 200,
-}
-
-func (x SiblingEnum) Enum() *SiblingEnum {
- p := new(SiblingEnum)
- *p = x
- return p
-}
-func (x SiblingEnum) String() string {
- return proto.EnumName(SiblingEnum_name, int32(x))
-}
-func (x *SiblingEnum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum")
- if err != nil {
- return err
- }
- *x = SiblingEnum(value)
- return nil
-}
-func (SiblingEnum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_test_98b5676fa5dea40d, []int{0}
-}
-
-type Message_ChildEnum int32
-
-const (
- Message_ALPHA Message_ChildEnum = 0
- Message_BRAVO Message_ChildEnum = 1
- Message_CHARLIE Message_ChildEnum = 2
-)
-
-var Message_ChildEnum_name = map[int32]string{
- 0: "ALPHA",
- 1: "BRAVO",
- 2: "CHARLIE",
-}
-var Message_ChildEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 1,
- "CHARLIE": 2,
-}
-
-func (x Message_ChildEnum) Enum() *Message_ChildEnum {
- p := new(Message_ChildEnum)
- *p = x
- return p
-}
-func (x Message_ChildEnum) String() string {
- return proto.EnumName(Message_ChildEnum_name, int32(x))
-}
-func (x *Message_ChildEnum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum")
- if err != nil {
- return err
- }
- *x = Message_ChildEnum(value)
- return nil
-}
-func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_test_98b5676fa5dea40d, []int{1, 0}
-}
-
-type SiblingMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
-func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
-func (*SiblingMessage) ProtoMessage() {}
-func (*SiblingMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_98b5676fa5dea40d, []int{0}
-}
-func (m *SiblingMessage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SiblingMessage.Unmarshal(m, b)
-}
-func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SiblingMessage.Marshal(b, m, deterministic)
-}
-func (dst *SiblingMessage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SiblingMessage.Merge(dst, src)
-}
-func (m *SiblingMessage) XXX_Size() int {
- return xxx_messageInfo_SiblingMessage.Size(m)
-}
-func (m *SiblingMessage) XXX_DiscardUnknown() {
- xxx_messageInfo_SiblingMessage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SiblingMessage proto.InternalMessageInfo
-
-func (m *SiblingMessage) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *SiblingMessage) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message struct {
- Namedgroup *Message_NamedGroup `protobuf:"group,1,opt,name=NamedGroup,json=namedgroup" json:"namedgroup,omitempty"`
- // Optional fields.
- OptionalBool *bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
- OptionalInt32 *int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
- OptionalSint32 *int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
- OptionalUint32 *uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
- OptionalInt64 *int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
- OptionalSint64 *int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
- OptionalUint64 *uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
- OptionalFixed32 *uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 *int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
- OptionalFloat *float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
- OptionalFixed64 *uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 *int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
- OptionalDouble *float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
- OptionalString *string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
- OptionalChildEnum *Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
- OptionalNamedGroup *Message_NamedGroup `protobuf:"bytes,117,opt,name=optional_named_group,json=optionalNamedGroup" json:"optional_named_group,omitempty"`
- OptionalSiblingEnum *SiblingEnum `protobuf:"varint,118,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,119,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
- Optionalgroup *Message_OptionalGroup `protobuf:"group,120,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
- // Optional default fields.
- DefaultedBool *bool `protobuf:"varint,200,opt,name=defaulted_bool,json=defaultedBool,def=1" json:"defaulted_bool,omitempty"`
- DefaultedInt32 *int32 `protobuf:"varint,201,opt,name=defaulted_int32,json=defaultedInt32,def=-12345" json:"defaulted_int32,omitempty"`
- DefaultedSint32 *int32 `protobuf:"zigzag32,202,opt,name=defaulted_sint32,json=defaultedSint32,def=-3200" json:"defaulted_sint32,omitempty"`
- DefaultedUint32 *uint32 `protobuf:"varint,203,opt,name=defaulted_uint32,json=defaultedUint32,def=3200" json:"defaulted_uint32,omitempty"`
- DefaultedInt64 *int64 `protobuf:"varint,204,opt,name=defaulted_int64,json=defaultedInt64,def=-123456789" json:"defaulted_int64,omitempty"`
- DefaultedSint64 *int64 `protobuf:"zigzag64,205,opt,name=defaulted_sint64,json=defaultedSint64,def=-6400" json:"defaulted_sint64,omitempty"`
- DefaultedUint64 *uint64 `protobuf:"varint,206,opt,name=defaulted_uint64,json=defaultedUint64,def=6400" json:"defaulted_uint64,omitempty"`
- DefaultedFixed32 *uint32 `protobuf:"fixed32,207,opt,name=defaulted_fixed32,json=defaultedFixed32,def=320000" json:"defaulted_fixed32,omitempty"`
- DefaultedSfixed32 *int32 `protobuf:"fixed32,208,opt,name=defaulted_sfixed32,json=defaultedSfixed32,def=-320000" json:"defaulted_sfixed32,omitempty"`
- DefaultedFloat *float32 `protobuf:"fixed32,209,opt,name=defaulted_float,json=defaultedFloat,def=3.14159" json:"defaulted_float,omitempty"`
- DefaultedFixed64 *uint64 `protobuf:"fixed64,210,opt,name=defaulted_fixed64,json=defaultedFixed64,def=640000" json:"defaulted_fixed64,omitempty"`
- DefaultedSfixed64 *int64 `protobuf:"fixed64,211,opt,name=defaulted_sfixed64,json=defaultedSfixed64,def=-640000" json:"defaulted_sfixed64,omitempty"`
- DefaultedDouble *float64 `protobuf:"fixed64,212,opt,name=defaulted_double,json=defaultedDouble,def=3.14159265359" json:"defaulted_double,omitempty"`
- DefaultedString *string `protobuf:"bytes,213,opt,name=defaulted_string,json=defaultedString,def=hello, \"world!\"\n" json:"defaulted_string,omitempty"`
- DefaultedBytes []byte `protobuf:"bytes,214,opt,name=defaulted_bytes,json=defaultedBytes,def=dead\\336\\255\\276\\357beef" json:"defaulted_bytes,omitempty"`
- DefaultedChildEnum *Message_ChildEnum `protobuf:"varint,215,opt,name=defaulted_child_enum,json=defaultedChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum,def=0" json:"defaulted_child_enum,omitempty"`
- DefaultedSiblingEnum *SiblingEnum `protobuf:"varint,216,opt,name=defaulted_sibling_enum,json=defaultedSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum,def=0" json:"defaulted_sibling_enum,omitempty"`
- // Required fields.
- RequiredBool *bool `protobuf:"varint,300,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"`
- RequiredInt32 *int32 `protobuf:"varint,301,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"`
- RequiredSint32 *int32 `protobuf:"zigzag32,302,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"`
- RequiredUint32 *uint32 `protobuf:"varint,303,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"`
- RequiredInt64 *int64 `protobuf:"varint,304,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"`
- RequiredSint64 *int64 `protobuf:"zigzag64,305,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"`
- RequiredUint64 *uint64 `protobuf:"varint,306,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"`
- RequiredFixed32 *uint32 `protobuf:"fixed32,307,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"`
- RequiredSfixed32 *int32 `protobuf:"fixed32,308,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"`
- RequiredFloat *float32 `protobuf:"fixed32,309,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"`
- RequiredFixed64 *uint64 `protobuf:"fixed64,310,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"`
- RequiredSfixed64 *int64 `protobuf:"fixed64,311,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"`
- RequiredDouble *float64 `protobuf:"fixed64,312,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"`
- RequiredString *string `protobuf:"bytes,313,req,name=required_string,json=requiredString" json:"required_string,omitempty"`
- RequiredBytes []byte `protobuf:"bytes,314,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"`
- RequiredChildEnum *Message_ChildEnum `protobuf:"varint,315,req,name=required_child_enum,json=requiredChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum" json:"required_child_enum,omitempty"`
- RequiredChildMessage *Message_ChildMessage `protobuf:"bytes,316,req,name=required_child_message,json=requiredChildMessage" json:"required_child_message,omitempty"`
- RequiredNamedGroup *Message_NamedGroup `protobuf:"bytes,317,req,name=required_named_group,json=requiredNamedGroup" json:"required_named_group,omitempty"`
- RequiredSiblingEnum *SiblingEnum `protobuf:"varint,318,req,name=required_sibling_enum,json=requiredSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum" json:"required_sibling_enum,omitempty"`
- RequiredSiblingMessage *SiblingMessage `protobuf:"bytes,319,req,name=required_sibling_message,json=requiredSiblingMessage" json:"required_sibling_message,omitempty"`
- Requiredgroup *Message_RequiredGroup `protobuf:"group,320,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
- // Required default fields.
- RequiredDefaultedBool *bool `protobuf:"varint,400,req,name=required_defaulted_bool,json=requiredDefaultedBool,def=1" json:"required_defaulted_bool,omitempty"`
- RequiredDefaultedInt32 *int32 `protobuf:"varint,401,req,name=required_defaulted_int32,json=requiredDefaultedInt32,def=-12345" json:"required_defaulted_int32,omitempty"`
- RequiredDefaultedSint32 *int32 `protobuf:"zigzag32,402,req,name=required_defaulted_sint32,json=requiredDefaultedSint32,def=-3200" json:"required_defaulted_sint32,omitempty"`
- RequiredDefaultedUint32 *uint32 `protobuf:"varint,403,req,name=required_defaulted_uint32,json=requiredDefaultedUint32,def=3200" json:"required_defaulted_uint32,omitempty"`
- RequiredDefaultedInt64 *int64 `protobuf:"varint,404,req,name=required_defaulted_int64,json=requiredDefaultedInt64,def=-123456789" json:"required_defaulted_int64,omitempty"`
- RequiredDefaultedSint64 *int64 `protobuf:"zigzag64,405,req,name=required_defaulted_sint64,json=requiredDefaultedSint64,def=-6400" json:"required_defaulted_sint64,omitempty"`
- RequiredDefaultedUint64 *uint64 `protobuf:"varint,406,req,name=required_defaulted_uint64,json=requiredDefaultedUint64,def=6400" json:"required_defaulted_uint64,omitempty"`
- RequiredDefaultedFixed32 *uint32 `protobuf:"fixed32,407,req,name=required_defaulted_fixed32,json=requiredDefaultedFixed32,def=320000" json:"required_defaulted_fixed32,omitempty"`
- RequiredDefaultedSfixed32 *int32 `protobuf:"fixed32,408,req,name=required_defaulted_sfixed32,json=requiredDefaultedSfixed32,def=-320000" json:"required_defaulted_sfixed32,omitempty"`
- RequiredDefaultedFloat *float32 `protobuf:"fixed32,409,req,name=required_defaulted_float,json=requiredDefaultedFloat,def=3.14159" json:"required_defaulted_float,omitempty"`
- RequiredDefaultedFixed64 *uint64 `protobuf:"fixed64,410,req,name=required_defaulted_fixed64,json=requiredDefaultedFixed64,def=640000" json:"required_defaulted_fixed64,omitempty"`
- RequiredDefaultedSfixed64 *int64 `protobuf:"fixed64,411,req,name=required_defaulted_sfixed64,json=requiredDefaultedSfixed64,def=-640000" json:"required_defaulted_sfixed64,omitempty"`
- RequiredDefaultedDouble *float64 `protobuf:"fixed64,412,req,name=required_defaulted_double,json=requiredDefaultedDouble,def=3.14159265359" json:"required_defaulted_double,omitempty"`
- RequiredDefaultedString *string `protobuf:"bytes,413,req,name=required_defaulted_string,json=requiredDefaultedString,def=hello, \"world!\"\n" json:"required_defaulted_string,omitempty"`
- RequiredDefaultedBytes []byte `protobuf:"bytes,414,req,name=required_defaulted_bytes,json=requiredDefaultedBytes,def=dead\\336\\255\\276\\357beef" json:"required_defaulted_bytes,omitempty"`
- RequiredDefaultedChildEnum *Message_ChildEnum `protobuf:"varint,415,req,name=required_defaulted_child_enum,json=requiredDefaultedChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum,def=0" json:"required_defaulted_child_enum,omitempty"`
- RequiredDefaultedSiblingEnum *SiblingEnum `protobuf:"varint,416,req,name=required_defaulted_sibling_enum,json=requiredDefaultedSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum,def=0" json:"required_defaulted_sibling_enum,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,500,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,501,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,502,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,503,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,504,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,505,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,506,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,507,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,508,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,509,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,510,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,511,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,512,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,513,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,514,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,515,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,516,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
- RepeatedNamedGroup []*Message_NamedGroup `protobuf:"bytes,517,rep,name=repeated_named_group,json=repeatedNamedGroup" json:"repeated_named_group,omitempty"`
- RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,518,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,519,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
- Repeatedgroup []*Message_RepeatedGroup `protobuf:"group,520,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,600,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,601,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,602,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,603,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,604,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,605,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,606,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,607,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,608,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,609,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,610,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,611,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,612,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolString map[bool]string `protobuf:"bytes,613,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,614,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,615,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20180814.Message_ChildEnum"`
- MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,616,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolNamedGroup map[bool]*Message_NamedGroup `protobuf:"bytes,617,rep,name=map_bool_named_group,json=mapBoolNamedGroup" json:"map_bool_named_group,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,618,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20180814.SiblingEnum"`
- MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,619,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,620,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,621,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,622,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,623,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,624,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,625,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,626,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapStringBool map[string]bool `protobuf:"bytes,627,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- // Oneof fields.
- //
- // Types that are valid to be assigned to OneofUnion:
- // *Message_OneofBool
- // *Message_OneofInt32
- // *Message_OneofSint32
- // *Message_OneofUint32
- // *Message_OneofInt64
- // *Message_OneofSint64
- // *Message_OneofUint64
- // *Message_OneofFixed32
- // *Message_OneofSfixed32
- // *Message_OneofFloat
- // *Message_OneofFixed64
- // *Message_OneofSfixed64
- // *Message_OneofDouble
- // *Message_OneofString
- // *Message_OneofBytes
- // *Message_OneofChildEnum
- // *Message_OneofChildMessage
- // *Message_OneofNamedGroup
- // *Message_OneofSiblingEnum
- // *Message_OneofSiblingMessage
- // *Message_Oneofgroup
- // *Message_OneofString1
- // *Message_OneofString2
- // *Message_OneofString3
- OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
- // Oneof default fields.
- //
- // Types that are valid to be assigned to OneofDefaultedUnion:
- // *Message_OneofDefaultedBool
- // *Message_OneofDefaultedInt32
- // *Message_OneofDefaultedSint32
- // *Message_OneofDefaultedUint32
- // *Message_OneofDefaultedInt64
- // *Message_OneofDefaultedSint64
- // *Message_OneofDefaultedUint64
- // *Message_OneofDefaultedFixed32
- // *Message_OneofDefaultedSfixed32
- // *Message_OneofDefaultedFloat
- // *Message_OneofDefaultedFixed64
- // *Message_OneofDefaultedSfixed64
- // *Message_OneofDefaultedDouble
- // *Message_OneofDefaultedString
- // *Message_OneofDefaultedBytes
- // *Message_OneofDefaultedChildEnum
- // *Message_OneofDefaultedSiblingEnum
- OneofDefaultedUnion isMessage_OneofDefaultedUnion `protobuf_oneof:"oneof_defaulted_union"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- proto.XXX_InternalExtensions `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message) Reset() { *m = Message{} }
-func (m *Message) String() string { return proto.CompactTextString(m) }
-func (*Message) ProtoMessage() {}
-func (*Message) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_98b5676fa5dea40d, []int{1}
-}
-
-var extRange_Message = []proto.ExtensionRange{
- {Start: 10000, End: 536870911},
-}
-
-func (*Message) ExtensionRangeArray() []proto.ExtensionRange {
- return extRange_Message
-}
-func (m *Message) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message.Unmarshal(m, b)
-}
-func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message.Marshal(b, m, deterministic)
-}
-func (dst *Message) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message.Merge(dst, src)
-}
-func (m *Message) XXX_Size() int {
- return xxx_messageInfo_Message.Size(m)
-}
-func (m *Message) XXX_DiscardUnknown() {
- xxx_messageInfo_Message.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message proto.InternalMessageInfo
-
-const Default_Message_DefaultedBool bool = true
-const Default_Message_DefaultedInt32 int32 = -12345
-const Default_Message_DefaultedSint32 int32 = -3200
-const Default_Message_DefaultedUint32 uint32 = 3200
-const Default_Message_DefaultedInt64 int64 = -123456789
-const Default_Message_DefaultedSint64 int64 = -6400
-const Default_Message_DefaultedUint64 uint64 = 6400
-const Default_Message_DefaultedFixed32 uint32 = 320000
-const Default_Message_DefaultedSfixed32 int32 = -320000
-const Default_Message_DefaultedFloat float32 = 3.14159
-const Default_Message_DefaultedFixed64 uint64 = 640000
-const Default_Message_DefaultedSfixed64 int64 = -640000
-const Default_Message_DefaultedDouble float64 = 3.14159265359
-const Default_Message_DefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_DefaultedBytes []byte = []byte("deadÞ­\xbe\xefbeef")
-
-const Default_Message_DefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_DefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-const Default_Message_RequiredDefaultedBool bool = true
-const Default_Message_RequiredDefaultedInt32 int32 = -12345
-const Default_Message_RequiredDefaultedSint32 int32 = -3200
-const Default_Message_RequiredDefaultedUint32 uint32 = 3200
-const Default_Message_RequiredDefaultedInt64 int64 = -123456789
-const Default_Message_RequiredDefaultedSint64 int64 = -6400
-const Default_Message_RequiredDefaultedUint64 uint64 = 6400
-const Default_Message_RequiredDefaultedFixed32 uint32 = 320000
-const Default_Message_RequiredDefaultedSfixed32 int32 = -320000
-const Default_Message_RequiredDefaultedFloat float32 = 3.14159
-const Default_Message_RequiredDefaultedFixed64 uint64 = 640000
-const Default_Message_RequiredDefaultedSfixed64 int64 = -640000
-const Default_Message_RequiredDefaultedDouble float64 = 3.14159265359
-const Default_Message_RequiredDefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_RequiredDefaultedBytes []byte = []byte("deadÞ­\xbe\xefbeef")
-
-const Default_Message_RequiredDefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_RequiredDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-const Default_Message_OneofDefaultedBool bool = true
-const Default_Message_OneofDefaultedInt32 int32 = -12345
-const Default_Message_OneofDefaultedSint32 int32 = -3200
-const Default_Message_OneofDefaultedUint32 uint32 = 3200
-const Default_Message_OneofDefaultedInt64 int64 = -123456789
-const Default_Message_OneofDefaultedSint64 int64 = -6400
-const Default_Message_OneofDefaultedUint64 uint64 = 6400
-const Default_Message_OneofDefaultedFixed32 uint32 = 320000
-const Default_Message_OneofDefaultedSfixed32 int32 = -320000
-const Default_Message_OneofDefaultedFloat float32 = 3.14159
-const Default_Message_OneofDefaultedFixed64 uint64 = 640000
-const Default_Message_OneofDefaultedSfixed64 int64 = -640000
-const Default_Message_OneofDefaultedDouble float64 = 3.14159265359
-const Default_Message_OneofDefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_OneofDefaultedBytes []byte = []byte("deadÞ­\xbe\xefbeef")
-
-const Default_Message_OneofDefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_OneofDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-
-func (m *Message) GetNamedgroup() *Message_NamedGroup {
- if m != nil {
- return m.Namedgroup
- }
- return nil
-}
-
-func (m *Message) GetOptionalBool() bool {
- if m != nil && m.OptionalBool != nil {
- return *m.OptionalBool
- }
- return false
-}
-
-func (m *Message) GetOptionalInt32() int32 {
- if m != nil && m.OptionalInt32 != nil {
- return *m.OptionalInt32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint32() int32 {
- if m != nil && m.OptionalSint32 != nil {
- return *m.OptionalSint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint32() uint32 {
- if m != nil && m.OptionalUint32 != nil {
- return *m.OptionalUint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalInt64() int64 {
- if m != nil && m.OptionalInt64 != nil {
- return *m.OptionalInt64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint64() int64 {
- if m != nil && m.OptionalSint64 != nil {
- return *m.OptionalSint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint64() uint64 {
- if m != nil && m.OptionalUint64 != nil {
- return *m.OptionalUint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed32() uint32 {
- if m != nil && m.OptionalFixed32 != nil {
- return *m.OptionalFixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed32() int32 {
- if m != nil && m.OptionalSfixed32 != nil {
- return *m.OptionalSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalFloat() float32 {
- if m != nil && m.OptionalFloat != nil {
- return *m.OptionalFloat
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed64() uint64 {
- if m != nil && m.OptionalFixed64 != nil {
- return *m.OptionalFixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed64() int64 {
- if m != nil && m.OptionalSfixed64 != nil {
- return *m.OptionalSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalDouble() float64 {
- if m != nil && m.OptionalDouble != nil {
- return *m.OptionalDouble
- }
- return 0
-}
-
-func (m *Message) GetOptionalString() string {
- if m != nil && m.OptionalString != nil {
- return *m.OptionalString
- }
- return ""
-}
-
-func (m *Message) GetOptionalBytes() []byte {
- if m != nil {
- return m.OptionalBytes
- }
- return nil
-}
-
-func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
- if m != nil && m.OptionalChildEnum != nil {
- return *m.OptionalChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.OptionalChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalNamedGroup() *Message_NamedGroup {
- if m != nil {
- return m.OptionalNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
- if m != nil && m.OptionalSiblingEnum != nil {
- return *m.OptionalSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.OptionalSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalgroup() *Message_OptionalGroup {
- if m != nil {
- return m.Optionalgroup
- }
- return nil
-}
-
-func (m *Message) GetDefaultedBool() bool {
- if m != nil && m.DefaultedBool != nil {
- return *m.DefaultedBool
- }
- return Default_Message_DefaultedBool
-}
-
-func (m *Message) GetDefaultedInt32() int32 {
- if m != nil && m.DefaultedInt32 != nil {
- return *m.DefaultedInt32
- }
- return Default_Message_DefaultedInt32
-}
-
-func (m *Message) GetDefaultedSint32() int32 {
- if m != nil && m.DefaultedSint32 != nil {
- return *m.DefaultedSint32
- }
- return Default_Message_DefaultedSint32
-}
-
-func (m *Message) GetDefaultedUint32() uint32 {
- if m != nil && m.DefaultedUint32 != nil {
- return *m.DefaultedUint32
- }
- return Default_Message_DefaultedUint32
-}
-
-func (m *Message) GetDefaultedInt64() int64 {
- if m != nil && m.DefaultedInt64 != nil {
- return *m.DefaultedInt64
- }
- return Default_Message_DefaultedInt64
-}
-
-func (m *Message) GetDefaultedSint64() int64 {
- if m != nil && m.DefaultedSint64 != nil {
- return *m.DefaultedSint64
- }
- return Default_Message_DefaultedSint64
-}
-
-func (m *Message) GetDefaultedUint64() uint64 {
- if m != nil && m.DefaultedUint64 != nil {
- return *m.DefaultedUint64
- }
- return Default_Message_DefaultedUint64
-}
-
-func (m *Message) GetDefaultedFixed32() uint32 {
- if m != nil && m.DefaultedFixed32 != nil {
- return *m.DefaultedFixed32
- }
- return Default_Message_DefaultedFixed32
-}
-
-func (m *Message) GetDefaultedSfixed32() int32 {
- if m != nil && m.DefaultedSfixed32 != nil {
- return *m.DefaultedSfixed32
- }
- return Default_Message_DefaultedSfixed32
-}
-
-func (m *Message) GetDefaultedFloat() float32 {
- if m != nil && m.DefaultedFloat != nil {
- return *m.DefaultedFloat
- }
- return Default_Message_DefaultedFloat
-}
-
-func (m *Message) GetDefaultedFixed64() uint64 {
- if m != nil && m.DefaultedFixed64 != nil {
- return *m.DefaultedFixed64
- }
- return Default_Message_DefaultedFixed64
-}
-
-func (m *Message) GetDefaultedSfixed64() int64 {
- if m != nil && m.DefaultedSfixed64 != nil {
- return *m.DefaultedSfixed64
- }
- return Default_Message_DefaultedSfixed64
-}
-
-func (m *Message) GetDefaultedDouble() float64 {
- if m != nil && m.DefaultedDouble != nil {
- return *m.DefaultedDouble
- }
- return Default_Message_DefaultedDouble
-}
-
-func (m *Message) GetDefaultedString() string {
- if m != nil && m.DefaultedString != nil {
- return *m.DefaultedString
- }
- return Default_Message_DefaultedString
-}
-
-func (m *Message) GetDefaultedBytes() []byte {
- if m != nil && m.DefaultedBytes != nil {
- return m.DefaultedBytes
- }
- return append([]byte(nil), Default_Message_DefaultedBytes...)
-}
-
-func (m *Message) GetDefaultedChildEnum() Message_ChildEnum {
- if m != nil && m.DefaultedChildEnum != nil {
- return *m.DefaultedChildEnum
- }
- return Default_Message_DefaultedChildEnum
-}
-
-func (m *Message) GetDefaultedSiblingEnum() SiblingEnum {
- if m != nil && m.DefaultedSiblingEnum != nil {
- return *m.DefaultedSiblingEnum
- }
- return Default_Message_DefaultedSiblingEnum
-}
-
-func (m *Message) GetRequiredBool() bool {
- if m != nil && m.RequiredBool != nil {
- return *m.RequiredBool
- }
- return false
-}
-
-func (m *Message) GetRequiredInt32() int32 {
- if m != nil && m.RequiredInt32 != nil {
- return *m.RequiredInt32
- }
- return 0
-}
-
-func (m *Message) GetRequiredSint32() int32 {
- if m != nil && m.RequiredSint32 != nil {
- return *m.RequiredSint32
- }
- return 0
-}
-
-func (m *Message) GetRequiredUint32() uint32 {
- if m != nil && m.RequiredUint32 != nil {
- return *m.RequiredUint32
- }
- return 0
-}
-
-func (m *Message) GetRequiredInt64() int64 {
- if m != nil && m.RequiredInt64 != nil {
- return *m.RequiredInt64
- }
- return 0
-}
-
-func (m *Message) GetRequiredSint64() int64 {
- if m != nil && m.RequiredSint64 != nil {
- return *m.RequiredSint64
- }
- return 0
-}
-
-func (m *Message) GetRequiredUint64() uint64 {
- if m != nil && m.RequiredUint64 != nil {
- return *m.RequiredUint64
- }
- return 0
-}
-
-func (m *Message) GetRequiredFixed32() uint32 {
- if m != nil && m.RequiredFixed32 != nil {
- return *m.RequiredFixed32
- }
- return 0
-}
-
-func (m *Message) GetRequiredSfixed32() int32 {
- if m != nil && m.RequiredSfixed32 != nil {
- return *m.RequiredSfixed32
- }
- return 0
-}
-
-func (m *Message) GetRequiredFloat() float32 {
- if m != nil && m.RequiredFloat != nil {
- return *m.RequiredFloat
- }
- return 0
-}
-
-func (m *Message) GetRequiredFixed64() uint64 {
- if m != nil && m.RequiredFixed64 != nil {
- return *m.RequiredFixed64
- }
- return 0
-}
-
-func (m *Message) GetRequiredSfixed64() int64 {
- if m != nil && m.RequiredSfixed64 != nil {
- return *m.RequiredSfixed64
- }
- return 0
-}
-
-func (m *Message) GetRequiredDouble() float64 {
- if m != nil && m.RequiredDouble != nil {
- return *m.RequiredDouble
- }
- return 0
-}
-
-func (m *Message) GetRequiredString() string {
- if m != nil && m.RequiredString != nil {
- return *m.RequiredString
- }
- return ""
-}
-
-func (m *Message) GetRequiredBytes() []byte {
- if m != nil {
- return m.RequiredBytes
- }
- return nil
-}
-
-func (m *Message) GetRequiredChildEnum() Message_ChildEnum {
- if m != nil && m.RequiredChildEnum != nil {
- return *m.RequiredChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetRequiredChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.RequiredChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRequiredNamedGroup() *Message_NamedGroup {
- if m != nil {
- return m.RequiredNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetRequiredSiblingEnum() SiblingEnum {
- if m != nil && m.RequiredSiblingEnum != nil {
- return *m.RequiredSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetRequiredSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.RequiredSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRequiredgroup() *Message_RequiredGroup {
- if m != nil {
- return m.Requiredgroup
- }
- return nil
-}
-
-func (m *Message) GetRequiredDefaultedBool() bool {
- if m != nil && m.RequiredDefaultedBool != nil {
- return *m.RequiredDefaultedBool
- }
- return Default_Message_RequiredDefaultedBool
-}
-
-func (m *Message) GetRequiredDefaultedInt32() int32 {
- if m != nil && m.RequiredDefaultedInt32 != nil {
- return *m.RequiredDefaultedInt32
- }
- return Default_Message_RequiredDefaultedInt32
-}
-
-func (m *Message) GetRequiredDefaultedSint32() int32 {
- if m != nil && m.RequiredDefaultedSint32 != nil {
- return *m.RequiredDefaultedSint32
- }
- return Default_Message_RequiredDefaultedSint32
-}
-
-func (m *Message) GetRequiredDefaultedUint32() uint32 {
- if m != nil && m.RequiredDefaultedUint32 != nil {
- return *m.RequiredDefaultedUint32
- }
- return Default_Message_RequiredDefaultedUint32
-}
-
-func (m *Message) GetRequiredDefaultedInt64() int64 {
- if m != nil && m.RequiredDefaultedInt64 != nil {
- return *m.RequiredDefaultedInt64
- }
- return Default_Message_RequiredDefaultedInt64
-}
-
-func (m *Message) GetRequiredDefaultedSint64() int64 {
- if m != nil && m.RequiredDefaultedSint64 != nil {
- return *m.RequiredDefaultedSint64
- }
- return Default_Message_RequiredDefaultedSint64
-}
-
-func (m *Message) GetRequiredDefaultedUint64() uint64 {
- if m != nil && m.RequiredDefaultedUint64 != nil {
- return *m.RequiredDefaultedUint64
- }
- return Default_Message_RequiredDefaultedUint64
-}
-
-func (m *Message) GetRequiredDefaultedFixed32() uint32 {
- if m != nil && m.RequiredDefaultedFixed32 != nil {
- return *m.RequiredDefaultedFixed32
- }
- return Default_Message_RequiredDefaultedFixed32
-}
-
-func (m *Message) GetRequiredDefaultedSfixed32() int32 {
- if m != nil && m.RequiredDefaultedSfixed32 != nil {
- return *m.RequiredDefaultedSfixed32
- }
- return Default_Message_RequiredDefaultedSfixed32
-}
-
-func (m *Message) GetRequiredDefaultedFloat() float32 {
- if m != nil && m.RequiredDefaultedFloat != nil {
- return *m.RequiredDefaultedFloat
- }
- return Default_Message_RequiredDefaultedFloat
-}
-
-func (m *Message) GetRequiredDefaultedFixed64() uint64 {
- if m != nil && m.RequiredDefaultedFixed64 != nil {
- return *m.RequiredDefaultedFixed64
- }
- return Default_Message_RequiredDefaultedFixed64
-}
-
-func (m *Message) GetRequiredDefaultedSfixed64() int64 {
- if m != nil && m.RequiredDefaultedSfixed64 != nil {
- return *m.RequiredDefaultedSfixed64
- }
- return Default_Message_RequiredDefaultedSfixed64
-}
-
-func (m *Message) GetRequiredDefaultedDouble() float64 {
- if m != nil && m.RequiredDefaultedDouble != nil {
- return *m.RequiredDefaultedDouble
- }
- return Default_Message_RequiredDefaultedDouble
-}
-
-func (m *Message) GetRequiredDefaultedString() string {
- if m != nil && m.RequiredDefaultedString != nil {
- return *m.RequiredDefaultedString
- }
- return Default_Message_RequiredDefaultedString
-}
-
-func (m *Message) GetRequiredDefaultedBytes() []byte {
- if m != nil && m.RequiredDefaultedBytes != nil {
- return m.RequiredDefaultedBytes
- }
- return append([]byte(nil), Default_Message_RequiredDefaultedBytes...)
-}
-
-func (m *Message) GetRequiredDefaultedChildEnum() Message_ChildEnum {
- if m != nil && m.RequiredDefaultedChildEnum != nil {
- return *m.RequiredDefaultedChildEnum
- }
- return Default_Message_RequiredDefaultedChildEnum
-}
-
-func (m *Message) GetRequiredDefaultedSiblingEnum() SiblingEnum {
- if m != nil && m.RequiredDefaultedSiblingEnum != nil {
- return *m.RequiredDefaultedSiblingEnum
- }
- return Default_Message_RequiredDefaultedSiblingEnum
-}
-
-func (m *Message) GetRepeatedBool() []bool {
- if m != nil {
- return m.RepeatedBool
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt32() []int32 {
- if m != nil {
- return m.RepeatedInt32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint32() []int32 {
- if m != nil {
- return m.RepeatedSint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint32() []uint32 {
- if m != nil {
- return m.RepeatedUint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt64() []int64 {
- if m != nil {
- return m.RepeatedInt64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint64() []int64 {
- if m != nil {
- return m.RepeatedSint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint64() []uint64 {
- if m != nil {
- return m.RepeatedUint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed32() []uint32 {
- if m != nil {
- return m.RepeatedFixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed32() []int32 {
- if m != nil {
- return m.RepeatedSfixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFloat() []float32 {
- if m != nil {
- return m.RepeatedFloat
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed64() []uint64 {
- if m != nil {
- return m.RepeatedFixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed64() []int64 {
- if m != nil {
- return m.RepeatedSfixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedDouble() []float64 {
- if m != nil {
- return m.RepeatedDouble
- }
- return nil
-}
-
-func (m *Message) GetRepeatedString() []string {
- if m != nil {
- return m.RepeatedString
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBytes() [][]byte {
- if m != nil {
- return m.RepeatedBytes
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
- if m != nil {
- return m.RepeatedChildEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
- if m != nil {
- return m.RepeatedChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedNamedGroup() []*Message_NamedGroup {
- if m != nil {
- return m.RepeatedNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
- if m != nil {
- return m.RepeatedSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
- if m != nil {
- return m.RepeatedSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedgroup() []*Message_RepeatedGroup {
- if m != nil {
- return m.Repeatedgroup
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBool() map[bool]bool {
- if m != nil {
- return m.MapBoolBool
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt32() map[bool]int32 {
- if m != nil {
- return m.MapBoolInt32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolUint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt64() map[bool]int64 {
- if m != nil {
- return m.MapBoolInt64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolUint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolFixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSfixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFloat() map[bool]float32 {
- if m != nil {
- return m.MapBoolFloat
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolFixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSfixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolDouble() map[bool]float64 {
- if m != nil {
- return m.MapBoolDouble
- }
- return nil
-}
-
-func (m *Message) GetMapBoolString() map[bool]string {
- if m != nil {
- return m.MapBoolString
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBytes() map[bool][]byte {
- if m != nil {
- return m.MapBoolBytes
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
- if m != nil {
- return m.MapBoolChildEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
- if m != nil {
- return m.MapBoolChildMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolNamedGroup() map[bool]*Message_NamedGroup {
- if m != nil {
- return m.MapBoolNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
- if m != nil {
- return m.MapBoolSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
- if m != nil {
- return m.MapBoolSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapInt32Bool() map[int32]bool {
- if m != nil {
- return m.MapInt32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint32Bool() map[int32]bool {
- if m != nil {
- return m.MapSint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint32Bool() map[uint32]bool {
- if m != nil {
- return m.MapUint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapInt64Bool() map[int64]bool {
- if m != nil {
- return m.MapInt64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint64Bool() map[int64]bool {
- if m != nil {
- return m.MapSint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint64Bool() map[uint64]bool {
- if m != nil {
- return m.MapUint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapFixed32Bool() map[uint32]bool {
- if m != nil {
- return m.MapFixed32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapStringBool() map[string]bool {
- if m != nil {
- return m.MapStringBool
- }
- return nil
-}
-
-type isMessage_OneofUnion interface {
- isMessage_OneofUnion()
-}
-
-type Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,700,opt,name=oneof_bool,json=oneofBool,oneof"`
-}
-
-type Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,701,opt,name=oneof_int32,json=oneofInt32,oneof"`
-}
-
-type Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,702,opt,name=oneof_sint32,json=oneofSint32,oneof"`
-}
-
-type Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,703,opt,name=oneof_uint32,json=oneofUint32,oneof"`
-}
-
-type Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,704,opt,name=oneof_int64,json=oneofInt64,oneof"`
-}
-
-type Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,705,opt,name=oneof_sint64,json=oneofSint64,oneof"`
-}
-
-type Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,706,opt,name=oneof_uint64,json=oneofUint64,oneof"`
-}
-
-type Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,707,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
-}
-
-type Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,708,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
-}
-
-type Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,709,opt,name=oneof_float,json=oneofFloat,oneof"`
-}
-
-type Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,710,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
-}
-
-type Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,711,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
-}
-
-type Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,712,opt,name=oneof_double,json=oneofDouble,oneof"`
-}
-
-type Message_OneofString struct {
- OneofString string `protobuf:"bytes,713,opt,name=oneof_string,json=oneofString,oneof"`
-}
-
-type Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,714,opt,name=oneof_bytes,json=oneofBytes,oneof"`
-}
-
-type Message_OneofChildEnum struct {
- OneofChildEnum Message_ChildEnum `protobuf:"varint,715,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum,oneof"`
-}
-
-type Message_OneofChildMessage struct {
- OneofChildMessage *Message_ChildMessage `protobuf:"bytes,716,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
-}
-
-type Message_OneofNamedGroup struct {
- OneofNamedGroup *Message_NamedGroup `protobuf:"bytes,717,opt,name=oneof_named_group,json=oneofNamedGroup,oneof"`
-}
-
-type Message_OneofSiblingEnum struct {
- OneofSiblingEnum SiblingEnum `protobuf:"varint,718,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum,oneof"`
-}
-
-type Message_OneofSiblingMessage struct {
- OneofSiblingMessage *SiblingMessage `protobuf:"bytes,719,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
-}
-
-type Message_Oneofgroup struct {
- Oneofgroup *Message_OneofGroup `protobuf:"group,720,opt,name=OneofGroup,json=oneofgroup,oneof"`
-}
-
-type Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,721,opt,name=oneof_string1,json=oneofString1,oneof"`
-}
-
-type Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,722,opt,name=oneof_string2,json=oneofString2,oneof"`
-}
-
-type Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,723,opt,name=oneof_string3,json=oneofString3,oneof"`
-}
-
-func (*Message_OneofBool) isMessage_OneofUnion() {}
-
-func (*Message_OneofInt32) isMessage_OneofUnion() {}
-
-func (*Message_OneofSint32) isMessage_OneofUnion() {}
-
-func (*Message_OneofUint32) isMessage_OneofUnion() {}
-
-func (*Message_OneofInt64) isMessage_OneofUnion() {}
-
-func (*Message_OneofSint64) isMessage_OneofUnion() {}
-
-func (*Message_OneofUint64) isMessage_OneofUnion() {}
-
-func (*Message_OneofFixed32) isMessage_OneofUnion() {}
-
-func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
-
-func (*Message_OneofFloat) isMessage_OneofUnion() {}
-
-func (*Message_OneofFixed64) isMessage_OneofUnion() {}
-
-func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
-
-func (*Message_OneofDouble) isMessage_OneofUnion() {}
-
-func (*Message_OneofString) isMessage_OneofUnion() {}
-
-func (*Message_OneofBytes) isMessage_OneofUnion() {}
-
-func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
-
-func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
-
-func (*Message_OneofNamedGroup) isMessage_OneofUnion() {}
-
-func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
-
-func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
-
-func (*Message_Oneofgroup) isMessage_OneofUnion() {}
-
-func (*Message_OneofString1) isMessage_OneofUnion() {}
-
-func (*Message_OneofString2) isMessage_OneofUnion() {}
-
-func (*Message_OneofString3) isMessage_OneofUnion() {}
-
-func (m *Message) GetOneofUnion() isMessage_OneofUnion {
- if m != nil {
- return m.OneofUnion
- }
- return nil
-}
-
-func (m *Message) GetOneofBool() bool {
- if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (m *Message) GetOneofInt32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
- return x.OneofInt32
- }
- return 0
-}
-
-func (m *Message) GetOneofSint32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
- return x.OneofSint32
- }
- return 0
-}
-
-func (m *Message) GetOneofUint32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (m *Message) GetOneofInt64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
- return x.OneofInt64
- }
- return 0
-}
-
-func (m *Message) GetOneofSint64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
- return x.OneofSint64
- }
- return 0
-}
-
-func (m *Message) GetOneofUint64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
- return x.OneofFixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
- return x.OneofSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofFloat() float32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
- return x.OneofFixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
- return x.OneofSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofDouble() float64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (m *Message) GetOneofString() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (m *Message) GetOneofBytes() []byte {
- if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (m *Message) GetOneofChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
- return x.OneofChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
- return x.OneofChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofNamedGroup() *Message_NamedGroup {
- if x, ok := m.GetOneofUnion().(*Message_OneofNamedGroup); ok {
- return x.OneofNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetOneofSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
- return x.OneofSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
- return x.OneofSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofgroup() *Message_OneofGroup {
- if x, ok := m.GetOneofUnion().(*Message_Oneofgroup); ok {
- return x.Oneofgroup
- }
- return nil
-}
-
-func (m *Message) GetOneofString1() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
- return x.OneofString1
- }
- return ""
-}
-
-func (m *Message) GetOneofString2() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
- return x.OneofString2
- }
- return ""
-}
-
-func (m *Message) GetOneofString3() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
- return x.OneofString3
- }
- return ""
-}
-
-type isMessage_OneofDefaultedUnion interface {
- isMessage_OneofDefaultedUnion()
-}
-
-type Message_OneofDefaultedBool struct {
- OneofDefaultedBool bool `protobuf:"varint,800,opt,name=oneof_defaulted_bool,json=oneofDefaultedBool,oneof,def=1"`
-}
-
-type Message_OneofDefaultedInt32 struct {
- OneofDefaultedInt32 int32 `protobuf:"varint,801,opt,name=oneof_defaulted_int32,json=oneofDefaultedInt32,oneof,def=-12345"`
-}
-
-type Message_OneofDefaultedSint32 struct {
- OneofDefaultedSint32 int32 `protobuf:"zigzag32,802,opt,name=oneof_defaulted_sint32,json=oneofDefaultedSint32,oneof,def=-3200"`
-}
-
-type Message_OneofDefaultedUint32 struct {
- OneofDefaultedUint32 uint32 `protobuf:"varint,803,opt,name=oneof_defaulted_uint32,json=oneofDefaultedUint32,oneof,def=3200"`
-}
-
-type Message_OneofDefaultedInt64 struct {
- OneofDefaultedInt64 int64 `protobuf:"varint,804,opt,name=oneof_defaulted_int64,json=oneofDefaultedInt64,oneof,def=-123456789"`
-}
-
-type Message_OneofDefaultedSint64 struct {
- OneofDefaultedSint64 int64 `protobuf:"zigzag64,805,opt,name=oneof_defaulted_sint64,json=oneofDefaultedSint64,oneof,def=-6400"`
-}
-
-type Message_OneofDefaultedUint64 struct {
- OneofDefaultedUint64 uint64 `protobuf:"varint,806,opt,name=oneof_defaulted_uint64,json=oneofDefaultedUint64,oneof,def=6400"`
-}
-
-type Message_OneofDefaultedFixed32 struct {
- OneofDefaultedFixed32 uint32 `protobuf:"fixed32,807,opt,name=oneof_defaulted_fixed32,json=oneofDefaultedFixed32,oneof,def=320000"`
-}
-
-type Message_OneofDefaultedSfixed32 struct {
- OneofDefaultedSfixed32 int32 `protobuf:"fixed32,808,opt,name=oneof_defaulted_sfixed32,json=oneofDefaultedSfixed32,oneof,def=-320000"`
-}
-
-type Message_OneofDefaultedFloat struct {
- OneofDefaultedFloat float32 `protobuf:"fixed32,809,opt,name=oneof_defaulted_float,json=oneofDefaultedFloat,oneof,def=3.14159"`
-}
-
-type Message_OneofDefaultedFixed64 struct {
- OneofDefaultedFixed64 uint64 `protobuf:"fixed64,810,opt,name=oneof_defaulted_fixed64,json=oneofDefaultedFixed64,oneof,def=640000"`
-}
-
-type Message_OneofDefaultedSfixed64 struct {
- OneofDefaultedSfixed64 int64 `protobuf:"fixed64,811,opt,name=oneof_defaulted_sfixed64,json=oneofDefaultedSfixed64,oneof,def=-640000"`
-}
-
-type Message_OneofDefaultedDouble struct {
- OneofDefaultedDouble float64 `protobuf:"fixed64,812,opt,name=oneof_defaulted_double,json=oneofDefaultedDouble,oneof,def=3.14159265359"`
-}
-
-type Message_OneofDefaultedString struct {
- OneofDefaultedString string `protobuf:"bytes,813,opt,name=oneof_defaulted_string,json=oneofDefaultedString,oneof,def=hello, \"world!\"\n"`
-}
-
-type Message_OneofDefaultedBytes struct {
- OneofDefaultedBytes []byte `protobuf:"bytes,814,opt,name=oneof_defaulted_bytes,json=oneofDefaultedBytes,oneof,def=dead\\336\\255\\276\\357beef"`
-}
-
-type Message_OneofDefaultedChildEnum struct {
- OneofDefaultedChildEnum Message_ChildEnum `protobuf:"varint,815,opt,name=oneof_defaulted_child_enum,json=oneofDefaultedChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum,oneof,def=0"`
-}
-
-type Message_OneofDefaultedSiblingEnum struct {
- OneofDefaultedSiblingEnum SiblingEnum `protobuf:"varint,816,opt,name=oneof_defaulted_sibling_enum,json=oneofDefaultedSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum,oneof,def=0"`
-}
-
-func (*Message_OneofDefaultedBool) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedInt32) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedSint32) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedUint32) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedInt64) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedSint64) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedUint64) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedFixed32) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedSfixed32) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedFloat) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedFixed64) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedSfixed64) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedDouble) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedString) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedBytes) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedChildEnum) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedSiblingEnum) isMessage_OneofDefaultedUnion() {}
-
-func (m *Message) GetOneofDefaultedUnion() isMessage_OneofDefaultedUnion {
- if m != nil {
- return m.OneofDefaultedUnion
- }
- return nil
-}
-
-func (m *Message) GetOneofDefaultedBool() bool {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBool); ok {
- return x.OneofDefaultedBool
- }
- return Default_Message_OneofDefaultedBool
-}
-
-func (m *Message) GetOneofDefaultedInt32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt32); ok {
- return x.OneofDefaultedInt32
- }
- return Default_Message_OneofDefaultedInt32
-}
-
-func (m *Message) GetOneofDefaultedSint32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint32); ok {
- return x.OneofDefaultedSint32
- }
- return Default_Message_OneofDefaultedSint32
-}
-
-func (m *Message) GetOneofDefaultedUint32() uint32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint32); ok {
- return x.OneofDefaultedUint32
- }
- return Default_Message_OneofDefaultedUint32
-}
-
-func (m *Message) GetOneofDefaultedInt64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt64); ok {
- return x.OneofDefaultedInt64
- }
- return Default_Message_OneofDefaultedInt64
-}
-
-func (m *Message) GetOneofDefaultedSint64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint64); ok {
- return x.OneofDefaultedSint64
- }
- return Default_Message_OneofDefaultedSint64
-}
-
-func (m *Message) GetOneofDefaultedUint64() uint64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint64); ok {
- return x.OneofDefaultedUint64
- }
- return Default_Message_OneofDefaultedUint64
-}
-
-func (m *Message) GetOneofDefaultedFixed32() uint32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed32); ok {
- return x.OneofDefaultedFixed32
- }
- return Default_Message_OneofDefaultedFixed32
-}
-
-func (m *Message) GetOneofDefaultedSfixed32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed32); ok {
- return x.OneofDefaultedSfixed32
- }
- return Default_Message_OneofDefaultedSfixed32
-}
-
-func (m *Message) GetOneofDefaultedFloat() float32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFloat); ok {
- return x.OneofDefaultedFloat
- }
- return Default_Message_OneofDefaultedFloat
-}
-
-func (m *Message) GetOneofDefaultedFixed64() uint64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed64); ok {
- return x.OneofDefaultedFixed64
- }
- return Default_Message_OneofDefaultedFixed64
-}
-
-func (m *Message) GetOneofDefaultedSfixed64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed64); ok {
- return x.OneofDefaultedSfixed64
- }
- return Default_Message_OneofDefaultedSfixed64
-}
-
-func (m *Message) GetOneofDefaultedDouble() float64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedDouble); ok {
- return x.OneofDefaultedDouble
- }
- return Default_Message_OneofDefaultedDouble
-}
-
-func (m *Message) GetOneofDefaultedString() string {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedString); ok {
- return x.OneofDefaultedString
- }
- return Default_Message_OneofDefaultedString
-}
-
-func (m *Message) GetOneofDefaultedBytes() []byte {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBytes); ok {
- return x.OneofDefaultedBytes
- }
- return append([]byte(nil), Default_Message_OneofDefaultedBytes...)
-}
-
-func (m *Message) GetOneofDefaultedChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedChildEnum); ok {
- return x.OneofDefaultedChildEnum
- }
- return Default_Message_OneofDefaultedChildEnum
-}
-
-func (m *Message) GetOneofDefaultedSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSiblingEnum); ok {
- return x.OneofDefaultedSiblingEnum
- }
- return Default_Message_OneofDefaultedSiblingEnum
-}
-
-// XXX_OneofFuncs is for the internal use of the proto package.
-func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
- return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
- (*Message_OneofBool)(nil),
- (*Message_OneofInt32)(nil),
- (*Message_OneofSint32)(nil),
- (*Message_OneofUint32)(nil),
- (*Message_OneofInt64)(nil),
- (*Message_OneofSint64)(nil),
- (*Message_OneofUint64)(nil),
- (*Message_OneofFixed32)(nil),
- (*Message_OneofSfixed32)(nil),
- (*Message_OneofFloat)(nil),
- (*Message_OneofFixed64)(nil),
- (*Message_OneofSfixed64)(nil),
- (*Message_OneofDouble)(nil),
- (*Message_OneofString)(nil),
- (*Message_OneofBytes)(nil),
- (*Message_OneofChildEnum)(nil),
- (*Message_OneofChildMessage)(nil),
- (*Message_OneofNamedGroup)(nil),
- (*Message_OneofSiblingEnum)(nil),
- (*Message_OneofSiblingMessage)(nil),
- (*Message_Oneofgroup)(nil),
- (*Message_OneofString1)(nil),
- (*Message_OneofString2)(nil),
- (*Message_OneofString3)(nil),
- (*Message_OneofDefaultedBool)(nil),
- (*Message_OneofDefaultedInt32)(nil),
- (*Message_OneofDefaultedSint32)(nil),
- (*Message_OneofDefaultedUint32)(nil),
- (*Message_OneofDefaultedInt64)(nil),
- (*Message_OneofDefaultedSint64)(nil),
- (*Message_OneofDefaultedUint64)(nil),
- (*Message_OneofDefaultedFixed32)(nil),
- (*Message_OneofDefaultedSfixed32)(nil),
- (*Message_OneofDefaultedFloat)(nil),
- (*Message_OneofDefaultedFixed64)(nil),
- (*Message_OneofDefaultedSfixed64)(nil),
- (*Message_OneofDefaultedDouble)(nil),
- (*Message_OneofDefaultedString)(nil),
- (*Message_OneofDefaultedBytes)(nil),
- (*Message_OneofDefaultedChildEnum)(nil),
- (*Message_OneofDefaultedSiblingEnum)(nil),
- }
-}
-
-func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- t := uint64(0)
- if x.OneofBool {
- t = 1
- }
- b.EncodeVarint(700<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofInt32:
- b.EncodeVarint(701<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- b.EncodeVarint(702<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofSint32))
- case *Message_OneofUint32:
- b.EncodeVarint(703<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- b.EncodeVarint(704<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- b.EncodeVarint(705<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofSint64))
- case *Message_OneofUint64:
- b.EncodeVarint(706<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- b.EncodeVarint(707<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofFixed32))
- case *Message_OneofSfixed32:
- b.EncodeVarint(708<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofSfixed32))
- case *Message_OneofFloat:
- b.EncodeVarint(709<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
- case *Message_OneofFixed64:
- b.EncodeVarint(710<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofFixed64))
- case *Message_OneofSfixed64:
- b.EncodeVarint(711<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofSfixed64))
- case *Message_OneofDouble:
- b.EncodeVarint(712<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDouble))
- case *Message_OneofString:
- b.EncodeVarint(713<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString)
- case *Message_OneofBytes:
- b.EncodeVarint(714<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofBytes)
- case *Message_OneofChildEnum:
- b.EncodeVarint(715<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- b.EncodeVarint(716<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
- return err
- }
- case *Message_OneofNamedGroup:
- b.EncodeVarint(717<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofNamedGroup); err != nil {
- return err
- }
- case *Message_OneofSiblingEnum:
- b.EncodeVarint(718<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- b.EncodeVarint(719<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
- return err
- }
- case *Message_Oneofgroup:
- b.EncodeVarint(720<<3 | proto.WireStartGroup)
- if err := b.Marshal(x.Oneofgroup); err != nil {
- return err
- }
- b.EncodeVarint(720<<3 | proto.WireEndGroup)
- case *Message_OneofString1:
- b.EncodeVarint(721<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString1)
- case *Message_OneofString2:
- b.EncodeVarint(722<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString2)
- case *Message_OneofString3:
- b.EncodeVarint(723<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString3)
- case nil:
- default:
- return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
- }
- // oneof_defaulted_union
- switch x := m.OneofDefaultedUnion.(type) {
- case *Message_OneofDefaultedBool:
- t := uint64(0)
- if x.OneofDefaultedBool {
- t = 1
- }
- b.EncodeVarint(800<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofDefaultedInt32:
- b.EncodeVarint(801<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedInt32))
- case *Message_OneofDefaultedSint32:
- b.EncodeVarint(802<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofDefaultedSint32))
- case *Message_OneofDefaultedUint32:
- b.EncodeVarint(803<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedUint32))
- case *Message_OneofDefaultedInt64:
- b.EncodeVarint(804<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedInt64))
- case *Message_OneofDefaultedSint64:
- b.EncodeVarint(805<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofDefaultedSint64))
- case *Message_OneofDefaultedUint64:
- b.EncodeVarint(806<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedUint64))
- case *Message_OneofDefaultedFixed32:
- b.EncodeVarint(807<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofDefaultedFixed32))
- case *Message_OneofDefaultedSfixed32:
- b.EncodeVarint(808<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofDefaultedSfixed32))
- case *Message_OneofDefaultedFloat:
- b.EncodeVarint(809<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofDefaultedFloat)))
- case *Message_OneofDefaultedFixed64:
- b.EncodeVarint(810<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofDefaultedFixed64))
- case *Message_OneofDefaultedSfixed64:
- b.EncodeVarint(811<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofDefaultedSfixed64))
- case *Message_OneofDefaultedDouble:
- b.EncodeVarint(812<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDefaultedDouble))
- case *Message_OneofDefaultedString:
- b.EncodeVarint(813<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofDefaultedString)
- case *Message_OneofDefaultedBytes:
- b.EncodeVarint(814<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofDefaultedBytes)
- case *Message_OneofDefaultedChildEnum:
- b.EncodeVarint(815<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedChildEnum))
- case *Message_OneofDefaultedSiblingEnum:
- b.EncodeVarint(816<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofDefaultedSiblingEnum))
- case nil:
- default:
- return fmt.Errorf("Message.OneofDefaultedUnion has unexpected type %T", x)
- }
- return nil
-}
-
-func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*Message)
- switch tag {
- case 700: // oneof_union.oneof_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofBool{x != 0}
- return true, err
- case 701: // oneof_union.oneof_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt32{int32(x)}
- return true, err
- case 702: // oneof_union.oneof_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofUnion = &Message_OneofSint32{int32(x)}
- return true, err
- case 703: // oneof_union.oneof_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint32{uint32(x)}
- return true, err
- case 704: // oneof_union.oneof_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt64{int64(x)}
- return true, err
- case 705: // oneof_union.oneof_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofUnion = &Message_OneofSint64{int64(x)}
- return true, err
- case 706: // oneof_union.oneof_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint64{x}
- return true, err
- case 707: // oneof_union.oneof_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFixed32{uint32(x)}
- return true, err
- case 708: // oneof_union.oneof_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofSfixed32{int32(x)}
- return true, err
- case 709: // oneof_union.oneof_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 710: // oneof_union.oneof_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofFixed64{x}
- return true, err
- case 711: // oneof_union.oneof_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofSfixed64{int64(x)}
- return true, err
- case 712: // oneof_union.oneof_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
- return true, err
- case 713: // oneof_union.oneof_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString{x}
- return true, err
- case 714: // oneof_union.oneof_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofUnion = &Message_OneofBytes{x}
- return true, err
- case 715: // oneof_union.oneof_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
- return true, err
- case 716: // oneof_union.oneof_child_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_ChildMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofChildMessage{msg}
- return true, err
- case 717: // oneof_union.oneof_named_group
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_NamedGroup)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofNamedGroup{msg}
- return true, err
- case 718: // oneof_union.oneof_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
- return true, err
- case 719: // oneof_union.oneof_sibling_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(SiblingMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofSiblingMessage{msg}
- return true, err
- case 720: // oneof_union.oneofgroup
- if wire != proto.WireStartGroup {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_OneofGroup)
- err := b.DecodeGroup(msg)
- m.OneofUnion = &Message_Oneofgroup{msg}
- return true, err
- case 721: // oneof_union.oneof_string1
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString1{x}
- return true, err
- case 722: // oneof_union.oneof_string2
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString2{x}
- return true, err
- case 723: // oneof_union.oneof_string3
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString3{x}
- return true, err
- case 800: // oneof_defaulted_union.oneof_defaulted_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedBool{x != 0}
- return true, err
- case 801: // oneof_defaulted_union.oneof_defaulted_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedInt32{int32(x)}
- return true, err
- case 802: // oneof_defaulted_union.oneof_defaulted_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSint32{int32(x)}
- return true, err
- case 803: // oneof_defaulted_union.oneof_defaulted_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedUint32{uint32(x)}
- return true, err
- case 804: // oneof_defaulted_union.oneof_defaulted_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedInt64{int64(x)}
- return true, err
- case 805: // oneof_defaulted_union.oneof_defaulted_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSint64{int64(x)}
- return true, err
- case 806: // oneof_defaulted_union.oneof_defaulted_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedUint64{x}
- return true, err
- case 807: // oneof_defaulted_union.oneof_defaulted_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFixed32{uint32(x)}
- return true, err
- case 808: // oneof_defaulted_union.oneof_defaulted_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed32{int32(x)}
- return true, err
- case 809: // oneof_defaulted_union.oneof_defaulted_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 810: // oneof_defaulted_union.oneof_defaulted_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedFixed64{x}
- return true, err
- case 811: // oneof_defaulted_union.oneof_defaulted_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSfixed64{int64(x)}
- return true, err
- case 812: // oneof_defaulted_union.oneof_defaulted_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofDefaultedUnion = &Message_OneofDefaultedDouble{math.Float64frombits(x)}
- return true, err
- case 813: // oneof_defaulted_union.oneof_defaulted_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofDefaultedUnion = &Message_OneofDefaultedString{x}
- return true, err
- case 814: // oneof_defaulted_union.oneof_defaulted_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofDefaultedUnion = &Message_OneofDefaultedBytes{x}
- return true, err
- case 815: // oneof_defaulted_union.oneof_defaulted_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedChildEnum{Message_ChildEnum(x)}
- return true, err
- case 816: // oneof_defaulted_union.oneof_defaulted_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofDefaultedUnion = &Message_OneofDefaultedSiblingEnum{SiblingEnum(x)}
- return true, err
- default:
- return false, nil
- }
-}
-
-func _Message_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- n += 2 // tag and wire
- n += 1
- case *Message_OneofInt32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
- case *Message_OneofUint32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
- case *Message_OneofUint64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofSfixed32:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofFloat:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofFixed64:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofSfixed64:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofDouble:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofString:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString)))
- n += len(x.OneofString)
- case *Message_OneofBytes:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofBytes)))
- n += len(x.OneofBytes)
- case *Message_OneofChildEnum:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- s := proto.Size(x.OneofChildMessage)
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofNamedGroup:
- s := proto.Size(x.OneofNamedGroup)
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofSiblingEnum:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- s := proto.Size(x.OneofSiblingMessage)
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_Oneofgroup:
- n += 2 // tag and wire
- n += proto.Size(x.Oneofgroup)
- n += 2 // tag and wire
- case *Message_OneofString1:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString1)))
- n += len(x.OneofString1)
- case *Message_OneofString2:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString2)))
- n += len(x.OneofString2)
- case *Message_OneofString3:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString3)))
- n += len(x.OneofString3)
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- // oneof_defaulted_union
- switch x := m.OneofDefaultedUnion.(type) {
- case *Message_OneofDefaultedBool:
- n += 2 // tag and wire
- n += 1
- case *Message_OneofDefaultedInt32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofDefaultedInt32))
- case *Message_OneofDefaultedSint32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64((uint32(x.OneofDefaultedSint32) << 1) ^ uint32((int32(x.OneofDefaultedSint32) >> 31))))
- case *Message_OneofDefaultedUint32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofDefaultedUint32))
- case *Message_OneofDefaultedInt64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofDefaultedInt64))
- case *Message_OneofDefaultedSint64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(uint64(x.OneofDefaultedSint64<<1) ^ uint64((int64(x.OneofDefaultedSint64) >> 63))))
- case *Message_OneofDefaultedUint64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofDefaultedUint64))
- case *Message_OneofDefaultedFixed32:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofDefaultedSfixed32:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofDefaultedFloat:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofDefaultedFixed64:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofDefaultedSfixed64:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofDefaultedDouble:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofDefaultedString:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofDefaultedString)))
- n += len(x.OneofDefaultedString)
- case *Message_OneofDefaultedBytes:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofDefaultedBytes)))
- n += len(x.OneofDefaultedBytes)
- case *Message_OneofDefaultedChildEnum:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofDefaultedChildEnum))
- case *Message_OneofDefaultedSiblingEnum:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofDefaultedSiblingEnum))
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
-}
-
-var E_Message_ExtensionOptionalBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*bool)(nil),
- Field: 10000,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_bool",
- Tag: "varint,10000,opt,name=extension_optional_bool,json=extensionOptionalBool",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10001,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_int32",
- Tag: "varint,10001,opt,name=extension_optional_int32,json=extensionOptionalInt32",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10002,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_sint32",
- Tag: "zigzag32,10002,opt,name=extension_optional_sint32,json=extensionOptionalSint32",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 10003,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_uint32",
- Tag: "varint,10003,opt,name=extension_optional_uint32,json=extensionOptionalUint32",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10004,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_int64",
- Tag: "varint,10004,opt,name=extension_optional_int64,json=extensionOptionalInt64",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10005,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_sint64",
- Tag: "zigzag64,10005,opt,name=extension_optional_sint64,json=extensionOptionalSint64",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 10006,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_uint64",
- Tag: "varint,10006,opt,name=extension_optional_uint64,json=extensionOptionalUint64",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 10007,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_fixed32",
- Tag: "fixed32,10007,opt,name=extension_optional_fixed32,json=extensionOptionalFixed32",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10008,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_sfixed32",
- Tag: "fixed32,10008,opt,name=extension_optional_sfixed32,json=extensionOptionalSfixed32",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float32)(nil),
- Field: 10009,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_float",
- Tag: "fixed32,10009,opt,name=extension_optional_float,json=extensionOptionalFloat",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 10010,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_fixed64",
- Tag: "fixed64,10010,opt,name=extension_optional_fixed64,json=extensionOptionalFixed64",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10011,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_sfixed64",
- Tag: "fixed64,10011,opt,name=extension_optional_sfixed64,json=extensionOptionalSfixed64",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float64)(nil),
- Field: 10012,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_double",
- Tag: "fixed64,10012,opt,name=extension_optional_double,json=extensionOptionalDouble",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 10013,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_string",
- Tag: "bytes,10013,opt,name=extension_optional_string,json=extensionOptionalString",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 10014,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_bytes",
- Tag: "bytes,10014,opt,name=extension_optional_bytes,json=extensionOptionalBytes",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildEnum)(nil),
- Field: 10015,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_child_enum",
- Tag: "varint,10015,opt,name=extension_optional_child_enum,json=extensionOptionalChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalChildMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildMessage)(nil),
- Field: 10016,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_child_message",
- Tag: "bytes,10016,opt,name=extension_optional_child_message,json=extensionOptionalChildMessage",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalNamedGroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_NamedGroup)(nil),
- Field: 10017,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_named_group",
- Tag: "bytes,10017,opt,name=extension_optional_named_group,json=extensionOptionalNamedGroup",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingEnum)(nil),
- Field: 10018,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_sibling_enum",
- Tag: "varint,10018,opt,name=extension_optional_sibling_enum,json=extensionOptionalSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionOptionalSiblingMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingMessage)(nil),
- Field: 10019,
- Name: "google.golang.org.proto2_20180814.Message.extension_optional_sibling_message",
- Tag: "bytes,10019,opt,name=extension_optional_sibling_message,json=extensionOptionalSiblingMessage",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_Extensionoptionalgroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ExtensionOptionalGroup)(nil),
- Field: 10020,
- Name: "google.golang.org.proto2_20180814.Message.extensionoptionalgroup",
- Tag: "group,10020,opt,name=ExtensionOptionalGroup,json=extensionoptionalgroup",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*bool)(nil),
- Field: 20000,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_bool",
- Tag: "varint,20000,opt,name=extension_defaulted_bool,json=extensionDefaultedBool,def=1",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20001,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_int32",
- Tag: "varint,20001,opt,name=extension_defaulted_int32,json=extensionDefaultedInt32,def=-12345",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20002,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_sint32",
- Tag: "zigzag32,20002,opt,name=extension_defaulted_sint32,json=extensionDefaultedSint32,def=-3200",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 20003,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_uint32",
- Tag: "varint,20003,opt,name=extension_defaulted_uint32,json=extensionDefaultedUint32,def=3200",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20004,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_int64",
- Tag: "varint,20004,opt,name=extension_defaulted_int64,json=extensionDefaultedInt64,def=-123456789",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20005,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_sint64",
- Tag: "zigzag64,20005,opt,name=extension_defaulted_sint64,json=extensionDefaultedSint64,def=-6400",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 20006,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_uint64",
- Tag: "varint,20006,opt,name=extension_defaulted_uint64,json=extensionDefaultedUint64,def=6400",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 20007,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_fixed32",
- Tag: "fixed32,20007,opt,name=extension_defaulted_fixed32,json=extensionDefaultedFixed32,def=320000",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20008,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_sfixed32",
- Tag: "fixed32,20008,opt,name=extension_defaulted_sfixed32,json=extensionDefaultedSfixed32,def=-320000",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float32)(nil),
- Field: 20009,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_float",
- Tag: "fixed32,20009,opt,name=extension_defaulted_float,json=extensionDefaultedFloat,def=3.14159",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 20010,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_fixed64",
- Tag: "fixed64,20010,opt,name=extension_defaulted_fixed64,json=extensionDefaultedFixed64,def=640000",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20011,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_sfixed64",
- Tag: "fixed64,20011,opt,name=extension_defaulted_sfixed64,json=extensionDefaultedSfixed64,def=-640000",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float64)(nil),
- Field: 20012,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_double",
- Tag: "fixed64,20012,opt,name=extension_defaulted_double,json=extensionDefaultedDouble,def=3.14159265359",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 20013,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_string",
- Tag: "bytes,20013,opt,name=extension_defaulted_string,json=extensionDefaultedString,def=hello, \"world!\"\n",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 20014,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_bytes",
- Tag: "bytes,20014,opt,name=extension_defaulted_bytes,json=extensionDefaultedBytes,def=dead\\336\\255\\276\\357beef",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildEnum)(nil),
- Field: 20015,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_child_enum",
- Tag: "varint,20015,opt,name=extension_defaulted_child_enum,json=extensionDefaultedChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum,def=0",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingEnum)(nil),
- Field: 20016,
- Name: "google.golang.org.proto2_20180814.Message.extension_defaulted_sibling_enum",
- Tag: "varint,20016,opt,name=extension_defaulted_sibling_enum,json=extensionDefaultedSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum,def=0",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]bool)(nil),
- Field: 30000,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_bool",
- Tag: "varint,30000,rep,name=extension_repeated_bool,json=extensionRepeatedBool",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30001,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_int32",
- Tag: "varint,30001,rep,name=extension_repeated_int32,json=extensionRepeatedInt32",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30002,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_sint32",
- Tag: "zigzag32,30002,rep,name=extension_repeated_sint32,json=extensionRepeatedSint32",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 30003,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_uint32",
- Tag: "varint,30003,rep,name=extension_repeated_uint32,json=extensionRepeatedUint32",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30004,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_int64",
- Tag: "varint,30004,rep,name=extension_repeated_int64,json=extensionRepeatedInt64",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30005,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_sint64",
- Tag: "zigzag64,30005,rep,name=extension_repeated_sint64,json=extensionRepeatedSint64",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 30006,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_uint64",
- Tag: "varint,30006,rep,name=extension_repeated_uint64,json=extensionRepeatedUint64",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 30007,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_fixed32",
- Tag: "fixed32,30007,rep,name=extension_repeated_fixed32,json=extensionRepeatedFixed32",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30008,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_sfixed32",
- Tag: "fixed32,30008,rep,name=extension_repeated_sfixed32,json=extensionRepeatedSfixed32",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]float32)(nil),
- Field: 30009,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_float",
- Tag: "fixed32,30009,rep,name=extension_repeated_float,json=extensionRepeatedFloat",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 30010,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_fixed64",
- Tag: "fixed64,30010,rep,name=extension_repeated_fixed64,json=extensionRepeatedFixed64",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30011,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_sfixed64",
- Tag: "fixed64,30011,rep,name=extension_repeated_sfixed64,json=extensionRepeatedSfixed64",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]float64)(nil),
- Field: 30012,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_double",
- Tag: "fixed64,30012,rep,name=extension_repeated_double,json=extensionRepeatedDouble",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]string)(nil),
- Field: 30013,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_string",
- Tag: "bytes,30013,rep,name=extension_repeated_string,json=extensionRepeatedString",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([][]byte)(nil),
- Field: 30014,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_bytes",
- Tag: "bytes,30014,rep,name=extension_repeated_bytes,json=extensionRepeatedBytes",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]Message_ChildEnum)(nil),
- Field: 30015,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_child_enum",
- Tag: "varint,30015,rep,name=extension_repeated_child_enum,json=extensionRepeatedChildEnum,enum=google.golang.org.proto2_20180814.Message_ChildEnum",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedChildMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_ChildMessage)(nil),
- Field: 30016,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_child_message",
- Tag: "bytes,30016,rep,name=extension_repeated_child_message,json=extensionRepeatedChildMessage",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedNamedGroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_NamedGroup)(nil),
- Field: 30017,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_named_group",
- Tag: "bytes,30017,rep,name=extension_repeated_named_group,json=extensionRepeatedNamedGroup",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]SiblingEnum)(nil),
- Field: 30018,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_sibling_enum",
- Tag: "varint,30018,rep,name=extension_repeated_sibling_enum,json=extensionRepeatedSiblingEnum,enum=google.golang.org.proto2_20180814.SiblingEnum",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSiblingMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*SiblingMessage)(nil),
- Field: 30019,
- Name: "google.golang.org.proto2_20180814.Message.extension_repeated_sibling_message",
- Tag: "bytes,30019,rep,name=extension_repeated_sibling_message,json=extensionRepeatedSiblingMessage",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-var E_Message_Extensionrepeatedgroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_ExtensionRepeatedGroup)(nil),
- Field: 30020,
- Name: "google.golang.org.proto2_20180814.Message.extensionrepeatedgroup",
- Tag: "group,30020,rep,name=ExtensionRepeatedGroup,json=extensionrepeatedgroup",
- Filename: "proto2_20180814_aa810b61/test.proto",
-}
-
-type Message_ChildMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
-func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
-func (*Message_ChildMessage) ProtoMessage() {}
-func (*Message_ChildMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_98b5676fa5dea40d, []int{1, 0}
-}
-func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_ChildMessage.Unmarshal(m, b)
-}
-func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_ChildMessage.Marshal(b, m, deterministic)
-}
-func (dst *Message_ChildMessage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_ChildMessage.Merge(dst, src)
-}
-func (m *Message_ChildMessage) XXX_Size() int {
- return xxx_messageInfo_Message_ChildMessage.Size(m)
-}
-func (m *Message_ChildMessage) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_ChildMessage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_ChildMessage proto.InternalMessageInfo
-
-func (m *Message_ChildMessage) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *Message_ChildMessage) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message_NamedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_NamedGroup) Reset() { *m = Message_NamedGroup{} }
-func (m *Message_NamedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_NamedGroup) ProtoMessage() {}
-func (*Message_NamedGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_98b5676fa5dea40d, []int{1, 1}
-}
-func (m *Message_NamedGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_NamedGroup.Unmarshal(m, b)
-}
-func (m *Message_NamedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_NamedGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_NamedGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_NamedGroup.Merge(dst, src)
-}
-func (m *Message_NamedGroup) XXX_Size() int {
- return xxx_messageInfo_Message_NamedGroup.Size(m)
-}
-func (m *Message_NamedGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_NamedGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_NamedGroup proto.InternalMessageInfo
-
-func (m *Message_NamedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_NamedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_NamedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *Message_NamedGroup) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message_OptionalGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_OptionalGroup) Reset() { *m = Message_OptionalGroup{} }
-func (m *Message_OptionalGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_OptionalGroup) ProtoMessage() {}
-func (*Message_OptionalGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_98b5676fa5dea40d, []int{1, 2}
-}
-func (m *Message_OptionalGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_OptionalGroup.Unmarshal(m, b)
-}
-func (m *Message_OptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_OptionalGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_OptionalGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_OptionalGroup.Merge(dst, src)
-}
-func (m *Message_OptionalGroup) XXX_Size() int {
- return xxx_messageInfo_Message_OptionalGroup.Size(m)
-}
-func (m *Message_OptionalGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_OptionalGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_OptionalGroup proto.InternalMessageInfo
-
-func (m *Message_OptionalGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_OptionalGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_OptionalGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_RequiredGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_RequiredGroup) Reset() { *m = Message_RequiredGroup{} }
-func (m *Message_RequiredGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_RequiredGroup) ProtoMessage() {}
-func (*Message_RequiredGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_98b5676fa5dea40d, []int{1, 3}
-}
-func (m *Message_RequiredGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_RequiredGroup.Unmarshal(m, b)
-}
-func (m *Message_RequiredGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_RequiredGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_RequiredGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_RequiredGroup.Merge(dst, src)
-}
-func (m *Message_RequiredGroup) XXX_Size() int {
- return xxx_messageInfo_Message_RequiredGroup.Size(m)
-}
-func (m *Message_RequiredGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_RequiredGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_RequiredGroup proto.InternalMessageInfo
-
-func (m *Message_RequiredGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_RequiredGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_RequiredGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_RepeatedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_RepeatedGroup) Reset() { *m = Message_RepeatedGroup{} }
-func (m *Message_RepeatedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_RepeatedGroup) ProtoMessage() {}
-func (*Message_RepeatedGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_98b5676fa5dea40d, []int{1, 4}
-}
-func (m *Message_RepeatedGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_RepeatedGroup.Unmarshal(m, b)
-}
-func (m *Message_RepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_RepeatedGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_RepeatedGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_RepeatedGroup.Merge(dst, src)
-}
-func (m *Message_RepeatedGroup) XXX_Size() int {
- return xxx_messageInfo_Message_RepeatedGroup.Size(m)
-}
-func (m *Message_RepeatedGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_RepeatedGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_RepeatedGroup proto.InternalMessageInfo
-
-func (m *Message_RepeatedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_RepeatedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_RepeatedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_OneofGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_OneofGroup) Reset() { *m = Message_OneofGroup{} }
-func (m *Message_OneofGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_OneofGroup) ProtoMessage() {}
-func (*Message_OneofGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_98b5676fa5dea40d, []int{1, 33}
-}
-func (m *Message_OneofGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_OneofGroup.Unmarshal(m, b)
-}
-func (m *Message_OneofGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_OneofGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_OneofGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_OneofGroup.Merge(dst, src)
-}
-func (m *Message_OneofGroup) XXX_Size() int {
- return xxx_messageInfo_Message_OneofGroup.Size(m)
-}
-func (m *Message_OneofGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_OneofGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_OneofGroup proto.InternalMessageInfo
-
-func (m *Message_OneofGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_OneofGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_OneofGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_ExtensionOptionalGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_ExtensionOptionalGroup) Reset() { *m = Message_ExtensionOptionalGroup{} }
-func (m *Message_ExtensionOptionalGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_ExtensionOptionalGroup) ProtoMessage() {}
-func (*Message_ExtensionOptionalGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_98b5676fa5dea40d, []int{1, 34}
-}
-func (m *Message_ExtensionOptionalGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_ExtensionOptionalGroup.Unmarshal(m, b)
-}
-func (m *Message_ExtensionOptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_ExtensionOptionalGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_ExtensionOptionalGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_ExtensionOptionalGroup.Merge(dst, src)
-}
-func (m *Message_ExtensionOptionalGroup) XXX_Size() int {
- return xxx_messageInfo_Message_ExtensionOptionalGroup.Size(m)
-}
-func (m *Message_ExtensionOptionalGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_ExtensionOptionalGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_ExtensionOptionalGroup proto.InternalMessageInfo
-
-func (m *Message_ExtensionOptionalGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_ExtensionRepeatedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_ExtensionRepeatedGroup) Reset() { *m = Message_ExtensionRepeatedGroup{} }
-func (m *Message_ExtensionRepeatedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_ExtensionRepeatedGroup) ProtoMessage() {}
-func (*Message_ExtensionRepeatedGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_98b5676fa5dea40d, []int{1, 35}
-}
-func (m *Message_ExtensionRepeatedGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_ExtensionRepeatedGroup.Unmarshal(m, b)
-}
-func (m *Message_ExtensionRepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_ExtensionRepeatedGroup.Marshal(b, m, deterministic)
-}
-func (dst *Message_ExtensionRepeatedGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_ExtensionRepeatedGroup.Merge(dst, src)
-}
-func (m *Message_ExtensionRepeatedGroup) XXX_Size() int {
- return xxx_messageInfo_Message_ExtensionRepeatedGroup.Size(m)
-}
-func (m *Message_ExtensionRepeatedGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_ExtensionRepeatedGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_ExtensionRepeatedGroup proto.InternalMessageInfo
-
-func (m *Message_ExtensionRepeatedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto2_20180814.SiblingMessage")
- proto.RegisterType((*Message)(nil), "google.golang.org.proto2_20180814.Message")
- proto.RegisterMapType((map[bool]bool)(nil), "google.golang.org.proto2_20180814.Message.MapBoolBoolEntry")
- proto.RegisterMapType((map[bool][]byte)(nil), "google.golang.org.proto2_20180814.Message.MapBoolBytesEntry")
- proto.RegisterMapType((map[bool]Message_ChildEnum)(nil), "google.golang.org.proto2_20180814.Message.MapBoolChildEnumEntry")
- proto.RegisterMapType((map[bool]*Message_ChildMessage)(nil), "google.golang.org.proto2_20180814.Message.MapBoolChildMessageEntry")
- proto.RegisterMapType((map[bool]float64)(nil), "google.golang.org.proto2_20180814.Message.MapBoolDoubleEntry")
- proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto2_20180814.Message.MapBoolFixed32Entry")
- proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto2_20180814.Message.MapBoolFixed64Entry")
- proto.RegisterMapType((map[bool]float32)(nil), "google.golang.org.proto2_20180814.Message.MapBoolFloatEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20180814.Message.MapBoolInt32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20180814.Message.MapBoolInt64Entry")
- proto.RegisterMapType((map[bool]*Message_NamedGroup)(nil), "google.golang.org.proto2_20180814.Message.MapBoolNamedGroupEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20180814.Message.MapBoolSfixed32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20180814.Message.MapBoolSfixed64Entry")
- proto.RegisterMapType((map[bool]SiblingEnum)(nil), "google.golang.org.proto2_20180814.Message.MapBoolSiblingEnumEntry")
- proto.RegisterMapType((map[bool]*SiblingMessage)(nil), "google.golang.org.proto2_20180814.Message.MapBoolSiblingMessageEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20180814.Message.MapBoolSint32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20180814.Message.MapBoolSint64Entry")
- proto.RegisterMapType((map[bool]string)(nil), "google.golang.org.proto2_20180814.Message.MapBoolStringEntry")
- proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto2_20180814.Message.MapBoolUint32Entry")
- proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto2_20180814.Message.MapBoolUint64Entry")
- proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto2_20180814.Message.MapFixed32BoolEntry")
- proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto2_20180814.Message.MapInt32BoolEntry")
- proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto2_20180814.Message.MapInt64BoolEntry")
- proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto2_20180814.Message.MapSint32BoolEntry")
- proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto2_20180814.Message.MapSint64BoolEntry")
- proto.RegisterMapType((map[string]bool)(nil), "google.golang.org.proto2_20180814.Message.MapStringBoolEntry")
- proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto2_20180814.Message.MapUint32BoolEntry")
- proto.RegisterMapType((map[uint64]bool)(nil), "google.golang.org.proto2_20180814.Message.MapUint64BoolEntry")
- proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto2_20180814.Message.ChildMessage")
- proto.RegisterType((*Message_NamedGroup)(nil), "google.golang.org.proto2_20180814.Message.NamedGroup")
- proto.RegisterType((*Message_OptionalGroup)(nil), "google.golang.org.proto2_20180814.Message.OptionalGroup")
- proto.RegisterType((*Message_RequiredGroup)(nil), "google.golang.org.proto2_20180814.Message.RequiredGroup")
- proto.RegisterType((*Message_RepeatedGroup)(nil), "google.golang.org.proto2_20180814.Message.RepeatedGroup")
- proto.RegisterType((*Message_OneofGroup)(nil), "google.golang.org.proto2_20180814.Message.OneofGroup")
- proto.RegisterType((*Message_ExtensionOptionalGroup)(nil), "google.golang.org.proto2_20180814.Message.ExtensionOptionalGroup")
- proto.RegisterType((*Message_ExtensionRepeatedGroup)(nil), "google.golang.org.proto2_20180814.Message.ExtensionRepeatedGroup")
- proto.RegisterEnum("google.golang.org.proto2_20180814.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
- proto.RegisterEnum("google.golang.org.proto2_20180814.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
- proto.RegisterExtension(E_Message_ExtensionOptionalBool)
- proto.RegisterExtension(E_Message_ExtensionOptionalInt32)
- proto.RegisterExtension(E_Message_ExtensionOptionalSint32)
- proto.RegisterExtension(E_Message_ExtensionOptionalUint32)
- proto.RegisterExtension(E_Message_ExtensionOptionalInt64)
- proto.RegisterExtension(E_Message_ExtensionOptionalSint64)
- proto.RegisterExtension(E_Message_ExtensionOptionalUint64)
- proto.RegisterExtension(E_Message_ExtensionOptionalFixed32)
- proto.RegisterExtension(E_Message_ExtensionOptionalSfixed32)
- proto.RegisterExtension(E_Message_ExtensionOptionalFloat)
- proto.RegisterExtension(E_Message_ExtensionOptionalFixed64)
- proto.RegisterExtension(E_Message_ExtensionOptionalSfixed64)
- proto.RegisterExtension(E_Message_ExtensionOptionalDouble)
- proto.RegisterExtension(E_Message_ExtensionOptionalString)
- proto.RegisterExtension(E_Message_ExtensionOptionalBytes)
- proto.RegisterExtension(E_Message_ExtensionOptionalChildEnum)
- proto.RegisterExtension(E_Message_ExtensionOptionalChildMessage)
- proto.RegisterExtension(E_Message_ExtensionOptionalNamedGroup)
- proto.RegisterExtension(E_Message_ExtensionOptionalSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionOptionalSiblingMessage)
- proto.RegisterExtension(E_Message_Extensionoptionalgroup)
- proto.RegisterExtension(E_Message_ExtensionDefaultedBool)
- proto.RegisterExtension(E_Message_ExtensionDefaultedInt32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSint32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedUint32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedInt64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSint64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedUint64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFixed32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFloat)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFixed64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedDouble)
- proto.RegisterExtension(E_Message_ExtensionDefaultedString)
- proto.RegisterExtension(E_Message_ExtensionDefaultedBytes)
- proto.RegisterExtension(E_Message_ExtensionDefaultedChildEnum)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedBool)
- proto.RegisterExtension(E_Message_ExtensionRepeatedInt32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSint32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedUint32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedInt64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSint64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedUint64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFixed32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFloat)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFixed64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedDouble)
- proto.RegisterExtension(E_Message_ExtensionRepeatedString)
- proto.RegisterExtension(E_Message_ExtensionRepeatedBytes)
- proto.RegisterExtension(E_Message_ExtensionRepeatedChildEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedChildMessage)
- proto.RegisterExtension(E_Message_ExtensionRepeatedNamedGroup)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingMessage)
- proto.RegisterExtension(E_Message_Extensionrepeatedgroup)
-}
-
-func init() {
- proto.RegisterFile("proto2_20180814_aa810b61/test.proto", fileDescriptor_test_98b5676fa5dea40d)
-}
-
-var fileDescriptor_test_98b5676fa5dea40d = []byte{
- // 4469 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5c, 0x69, 0x70, 0x23, 0xc7,
- 0x75, 0xe6, 0x00, 0x04, 0xb8, 0xec, 0x25, 0x48, 0x70, 0x76, 0x97, 0x9c, 0xa5, 0xa4, 0x08, 0x5e,
- 0x3b, 0x0e, 0xa2, 0x68, 0xb9, 0xe4, 0xb0, 0xb7, 0x77, 0x85, 0xe8, 0xf0, 0x52, 0x5a, 0x19, 0x72,
- 0x2c, 0xc8, 0x35, 0xaa, 0x4d, 0xa5, 0x52, 0xaa, 0x30, 0xe0, 0x12, 0xe4, 0x52, 0xc2, 0x41, 0x91,
- 0x80, 0xa4, 0x8d, 0x9d, 0xd2, 0xc6, 0x39, 0x7f, 0xca, 0xf7, 0x05, 0xdb, 0xb2, 0x6e, 0x5b, 0xa7,
- 0xef, 0x4b, 0x97, 0x8f, 0x24, 0xf2, 0x7d, 0xe5, 0x70, 0x2e, 0xe7, 0xbe, 0x9c, 0xfb, 0xbe, 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, 0x96, 0x7d, 0x8c, 0x2d, 0x7b, 0xb5, 0xb7, 0x7e, 0x6c, 0xb3, 0xdd,
- 0x6d, 0x6c, 0xb7, 0xeb, 0x4d, 0xf6, 0x3b, 0xb7, 0x6c, 0x74, 0xe7, 0x58, 0xb3, 0xb1, 0x51, 0x3f,
- 0x7b, 0xfe, 0x58, 0xd2, 0x4f, 0xe2, 0xfe, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe2, 0xf2, 0x23,
- 0x9e, 0x2d, 0x57, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180814_aa810b61/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180814_aa810b61/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20180814_aa810b61/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20190205_c823c79e/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20190205_c823c79e/test.pb.go
deleted file mode 100644
index 38a43bc2b6..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20190205_c823c79e/test.pb.go
+++ /dev/null
@@ -1,3315 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: proto2_20190205_c823c79e/test.proto
-
-package proto2_20190205_c823c79e
-
-import (
- fmt "fmt"
- math "math"
-
- proto "google.golang.org/protobuf/internal/protolegacy"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
-
-type SiblingEnum int32
-
-const (
- SiblingEnum_ALPHA SiblingEnum = 0
- SiblingEnum_BRAVO SiblingEnum = 10
- SiblingEnum_CHARLIE SiblingEnum = 200
-)
-
-var SiblingEnum_name = map[int32]string{
- 0: "ALPHA",
- 10: "BRAVO",
- 200: "CHARLIE",
-}
-
-var SiblingEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 10,
- "CHARLIE": 200,
-}
-
-func (x SiblingEnum) Enum() *SiblingEnum {
- p := new(SiblingEnum)
- *p = x
- return p
-}
-
-func (x SiblingEnum) String() string {
- return proto.EnumName(SiblingEnum_name, int32(x))
-}
-
-func (x *SiblingEnum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(SiblingEnum_value, data, "SiblingEnum")
- if err != nil {
- return err
- }
- *x = SiblingEnum(value)
- return nil
-}
-
-func (SiblingEnum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_3a17e2c63b2b3424, []int{0}
-}
-
-type Message_ChildEnum int32
-
-const (
- Message_ALPHA Message_ChildEnum = 0
- Message_BRAVO Message_ChildEnum = 1
- Message_CHARLIE Message_ChildEnum = 2
-)
-
-var Message_ChildEnum_name = map[int32]string{
- 0: "ALPHA",
- 1: "BRAVO",
- 2: "CHARLIE",
-}
-
-var Message_ChildEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 1,
- "CHARLIE": 2,
-}
-
-func (x Message_ChildEnum) Enum() *Message_ChildEnum {
- p := new(Message_ChildEnum)
- *p = x
- return p
-}
-
-func (x Message_ChildEnum) String() string {
- return proto.EnumName(Message_ChildEnum_name, int32(x))
-}
-
-func (x *Message_ChildEnum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Message_ChildEnum_value, data, "Message_ChildEnum")
- if err != nil {
- return err
- }
- *x = Message_ChildEnum(value)
- return nil
-}
-
-func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_3a17e2c63b2b3424, []int{1, 0}
-}
-
-type SiblingMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
-func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
-func (*SiblingMessage) ProtoMessage() {}
-func (*SiblingMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a17e2c63b2b3424, []int{0}
-}
-
-func (m *SiblingMessage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SiblingMessage.Unmarshal(m, b)
-}
-func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SiblingMessage.Marshal(b, m, deterministic)
-}
-func (m *SiblingMessage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SiblingMessage.Merge(m, src)
-}
-func (m *SiblingMessage) XXX_Size() int {
- return xxx_messageInfo_SiblingMessage.Size(m)
-}
-func (m *SiblingMessage) XXX_DiscardUnknown() {
- xxx_messageInfo_SiblingMessage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SiblingMessage proto.InternalMessageInfo
-
-func (m *SiblingMessage) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *SiblingMessage) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message struct {
- Namedgroup *Message_NamedGroup `protobuf:"group,1,opt,name=NamedGroup,json=namedgroup" json:"namedgroup,omitempty"`
- // Optional fields.
- OptionalBool *bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
- OptionalInt32 *int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
- OptionalSint32 *int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
- OptionalUint32 *uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
- OptionalInt64 *int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
- OptionalSint64 *int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
- OptionalUint64 *uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
- OptionalFixed32 *uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 *int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
- OptionalFloat *float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
- OptionalFixed64 *uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 *int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
- OptionalDouble *float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
- OptionalString *string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
- OptionalChildEnum *Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto2_20190205.Message_ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
- OptionalNamedGroup *Message_NamedGroup `protobuf:"bytes,117,opt,name=optional_named_group,json=optionalNamedGroup" json:"optional_named_group,omitempty"`
- OptionalSiblingEnum *SiblingEnum `protobuf:"varint,118,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto2_20190205.SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,119,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
- Optionalgroup *Message_OptionalGroup `protobuf:"group,120,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
- // Optional default fields.
- DefaultedBool *bool `protobuf:"varint,200,opt,name=defaulted_bool,json=defaultedBool,def=1" json:"defaulted_bool,omitempty"`
- DefaultedInt32 *int32 `protobuf:"varint,201,opt,name=defaulted_int32,json=defaultedInt32,def=-12345" json:"defaulted_int32,omitempty"`
- DefaultedSint32 *int32 `protobuf:"zigzag32,202,opt,name=defaulted_sint32,json=defaultedSint32,def=-3200" json:"defaulted_sint32,omitempty"`
- DefaultedUint32 *uint32 `protobuf:"varint,203,opt,name=defaulted_uint32,json=defaultedUint32,def=3200" json:"defaulted_uint32,omitempty"`
- DefaultedInt64 *int64 `protobuf:"varint,204,opt,name=defaulted_int64,json=defaultedInt64,def=-123456789" json:"defaulted_int64,omitempty"`
- DefaultedSint64 *int64 `protobuf:"zigzag64,205,opt,name=defaulted_sint64,json=defaultedSint64,def=-6400" json:"defaulted_sint64,omitempty"`
- DefaultedUint64 *uint64 `protobuf:"varint,206,opt,name=defaulted_uint64,json=defaultedUint64,def=6400" json:"defaulted_uint64,omitempty"`
- DefaultedFixed32 *uint32 `protobuf:"fixed32,207,opt,name=defaulted_fixed32,json=defaultedFixed32,def=320000" json:"defaulted_fixed32,omitempty"`
- DefaultedSfixed32 *int32 `protobuf:"fixed32,208,opt,name=defaulted_sfixed32,json=defaultedSfixed32,def=-320000" json:"defaulted_sfixed32,omitempty"`
- DefaultedFloat *float32 `protobuf:"fixed32,209,opt,name=defaulted_float,json=defaultedFloat,def=3.14159" json:"defaulted_float,omitempty"`
- DefaultedFixed64 *uint64 `protobuf:"fixed64,210,opt,name=defaulted_fixed64,json=defaultedFixed64,def=640000" json:"defaulted_fixed64,omitempty"`
- DefaultedSfixed64 *int64 `protobuf:"fixed64,211,opt,name=defaulted_sfixed64,json=defaultedSfixed64,def=-640000" json:"defaulted_sfixed64,omitempty"`
- DefaultedDouble *float64 `protobuf:"fixed64,212,opt,name=defaulted_double,json=defaultedDouble,def=3.14159265359" json:"defaulted_double,omitempty"`
- DefaultedString *string `protobuf:"bytes,213,opt,name=defaulted_string,json=defaultedString,def=hello, \"world!\"\n" json:"defaulted_string,omitempty"`
- DefaultedBytes []byte `protobuf:"bytes,214,opt,name=defaulted_bytes,json=defaultedBytes,def=dead\\336\\255\\276\\357beef" json:"defaulted_bytes,omitempty"`
- DefaultedChildEnum *Message_ChildEnum `protobuf:"varint,215,opt,name=defaulted_child_enum,json=defaultedChildEnum,enum=google.golang.org.proto2_20190205.Message_ChildEnum,def=0" json:"defaulted_child_enum,omitempty"`
- DefaultedSiblingEnum *SiblingEnum `protobuf:"varint,216,opt,name=defaulted_sibling_enum,json=defaultedSiblingEnum,enum=google.golang.org.proto2_20190205.SiblingEnum,def=0" json:"defaulted_sibling_enum,omitempty"`
- // Required fields.
- RequiredBool *bool `protobuf:"varint,300,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"`
- RequiredInt32 *int32 `protobuf:"varint,301,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"`
- RequiredSint32 *int32 `protobuf:"zigzag32,302,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"`
- RequiredUint32 *uint32 `protobuf:"varint,303,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"`
- RequiredInt64 *int64 `protobuf:"varint,304,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"`
- RequiredSint64 *int64 `protobuf:"zigzag64,305,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"`
- RequiredUint64 *uint64 `protobuf:"varint,306,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"`
- RequiredFixed32 *uint32 `protobuf:"fixed32,307,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"`
- RequiredSfixed32 *int32 `protobuf:"fixed32,308,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"`
- RequiredFloat *float32 `protobuf:"fixed32,309,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"`
- RequiredFixed64 *uint64 `protobuf:"fixed64,310,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"`
- RequiredSfixed64 *int64 `protobuf:"fixed64,311,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"`
- RequiredDouble *float64 `protobuf:"fixed64,312,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"`
- RequiredString *string `protobuf:"bytes,313,req,name=required_string,json=requiredString" json:"required_string,omitempty"`
- RequiredBytes []byte `protobuf:"bytes,314,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"`
- RequiredChildEnum *Message_ChildEnum `protobuf:"varint,315,req,name=required_child_enum,json=requiredChildEnum,enum=google.golang.org.proto2_20190205.Message_ChildEnum" json:"required_child_enum,omitempty"`
- RequiredChildMessage *Message_ChildMessage `protobuf:"bytes,316,req,name=required_child_message,json=requiredChildMessage" json:"required_child_message,omitempty"`
- RequiredNamedGroup *Message_NamedGroup `protobuf:"bytes,317,req,name=required_named_group,json=requiredNamedGroup" json:"required_named_group,omitempty"`
- RequiredSiblingEnum *SiblingEnum `protobuf:"varint,318,req,name=required_sibling_enum,json=requiredSiblingEnum,enum=google.golang.org.proto2_20190205.SiblingEnum" json:"required_sibling_enum,omitempty"`
- RequiredSiblingMessage *SiblingMessage `protobuf:"bytes,319,req,name=required_sibling_message,json=requiredSiblingMessage" json:"required_sibling_message,omitempty"`
- Requiredgroup *Message_RequiredGroup `protobuf:"group,320,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
- // Required default fields.
- RequiredDefaultedBool *bool `protobuf:"varint,400,req,name=required_defaulted_bool,json=requiredDefaultedBool,def=1" json:"required_defaulted_bool,omitempty"`
- RequiredDefaultedInt32 *int32 `protobuf:"varint,401,req,name=required_defaulted_int32,json=requiredDefaultedInt32,def=-12345" json:"required_defaulted_int32,omitempty"`
- RequiredDefaultedSint32 *int32 `protobuf:"zigzag32,402,req,name=required_defaulted_sint32,json=requiredDefaultedSint32,def=-3200" json:"required_defaulted_sint32,omitempty"`
- RequiredDefaultedUint32 *uint32 `protobuf:"varint,403,req,name=required_defaulted_uint32,json=requiredDefaultedUint32,def=3200" json:"required_defaulted_uint32,omitempty"`
- RequiredDefaultedInt64 *int64 `protobuf:"varint,404,req,name=required_defaulted_int64,json=requiredDefaultedInt64,def=-123456789" json:"required_defaulted_int64,omitempty"`
- RequiredDefaultedSint64 *int64 `protobuf:"zigzag64,405,req,name=required_defaulted_sint64,json=requiredDefaultedSint64,def=-6400" json:"required_defaulted_sint64,omitempty"`
- RequiredDefaultedUint64 *uint64 `protobuf:"varint,406,req,name=required_defaulted_uint64,json=requiredDefaultedUint64,def=6400" json:"required_defaulted_uint64,omitempty"`
- RequiredDefaultedFixed32 *uint32 `protobuf:"fixed32,407,req,name=required_defaulted_fixed32,json=requiredDefaultedFixed32,def=320000" json:"required_defaulted_fixed32,omitempty"`
- RequiredDefaultedSfixed32 *int32 `protobuf:"fixed32,408,req,name=required_defaulted_sfixed32,json=requiredDefaultedSfixed32,def=-320000" json:"required_defaulted_sfixed32,omitempty"`
- RequiredDefaultedFloat *float32 `protobuf:"fixed32,409,req,name=required_defaulted_float,json=requiredDefaultedFloat,def=3.14159" json:"required_defaulted_float,omitempty"`
- RequiredDefaultedFixed64 *uint64 `protobuf:"fixed64,410,req,name=required_defaulted_fixed64,json=requiredDefaultedFixed64,def=640000" json:"required_defaulted_fixed64,omitempty"`
- RequiredDefaultedSfixed64 *int64 `protobuf:"fixed64,411,req,name=required_defaulted_sfixed64,json=requiredDefaultedSfixed64,def=-640000" json:"required_defaulted_sfixed64,omitempty"`
- RequiredDefaultedDouble *float64 `protobuf:"fixed64,412,req,name=required_defaulted_double,json=requiredDefaultedDouble,def=3.14159265359" json:"required_defaulted_double,omitempty"`
- RequiredDefaultedString *string `protobuf:"bytes,413,req,name=required_defaulted_string,json=requiredDefaultedString,def=hello, \"world!\"\n" json:"required_defaulted_string,omitempty"`
- RequiredDefaultedBytes []byte `protobuf:"bytes,414,req,name=required_defaulted_bytes,json=requiredDefaultedBytes,def=dead\\336\\255\\276\\357beef" json:"required_defaulted_bytes,omitempty"`
- RequiredDefaultedChildEnum *Message_ChildEnum `protobuf:"varint,415,req,name=required_defaulted_child_enum,json=requiredDefaultedChildEnum,enum=google.golang.org.proto2_20190205.Message_ChildEnum,def=0" json:"required_defaulted_child_enum,omitempty"`
- RequiredDefaultedSiblingEnum *SiblingEnum `protobuf:"varint,416,req,name=required_defaulted_sibling_enum,json=requiredDefaultedSiblingEnum,enum=google.golang.org.proto2_20190205.SiblingEnum,def=0" json:"required_defaulted_sibling_enum,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,500,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,501,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,502,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,503,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,504,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,505,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,506,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,507,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,508,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,509,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,510,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,511,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,512,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,513,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,514,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,515,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto2_20190205.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,516,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
- RepeatedNamedGroup []*Message_NamedGroup `protobuf:"bytes,517,rep,name=repeated_named_group,json=repeatedNamedGroup" json:"repeated_named_group,omitempty"`
- RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,518,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto2_20190205.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,519,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
- Repeatedgroup []*Message_RepeatedGroup `protobuf:"group,520,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,600,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,601,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,602,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,603,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,604,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,605,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,606,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,607,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,608,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,609,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,610,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,611,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,612,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolString map[bool]string `protobuf:"bytes,613,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,614,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,615,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20190205.Message_ChildEnum"`
- MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,616,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolNamedGroup map[bool]*Message_NamedGroup `protobuf:"bytes,617,rep,name=map_bool_named_group,json=mapBoolNamedGroup" json:"map_bool_named_group,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,618,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto2_20190205.SiblingEnum"`
- MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,619,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,620,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,621,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,622,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,623,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,624,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,625,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,626,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapStringBool map[string]bool `protobuf:"bytes,627,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- // Oneof fields.
- //
- // Types that are valid to be assigned to OneofUnion:
- // *Message_OneofBool
- // *Message_OneofInt32
- // *Message_OneofSint32
- // *Message_OneofUint32
- // *Message_OneofInt64
- // *Message_OneofSint64
- // *Message_OneofUint64
- // *Message_OneofFixed32
- // *Message_OneofSfixed32
- // *Message_OneofFloat
- // *Message_OneofFixed64
- // *Message_OneofSfixed64
- // *Message_OneofDouble
- // *Message_OneofString
- // *Message_OneofBytes
- // *Message_OneofChildEnum
- // *Message_OneofChildMessage
- // *Message_OneofNamedGroup
- // *Message_OneofSiblingEnum
- // *Message_OneofSiblingMessage
- // *Message_Oneofgroup
- // *Message_OneofString1
- // *Message_OneofString2
- // *Message_OneofString3
- OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
- // Oneof default fields.
- //
- // Types that are valid to be assigned to OneofDefaultedUnion:
- // *Message_OneofDefaultedBool
- // *Message_OneofDefaultedInt32
- // *Message_OneofDefaultedSint32
- // *Message_OneofDefaultedUint32
- // *Message_OneofDefaultedInt64
- // *Message_OneofDefaultedSint64
- // *Message_OneofDefaultedUint64
- // *Message_OneofDefaultedFixed32
- // *Message_OneofDefaultedSfixed32
- // *Message_OneofDefaultedFloat
- // *Message_OneofDefaultedFixed64
- // *Message_OneofDefaultedSfixed64
- // *Message_OneofDefaultedDouble
- // *Message_OneofDefaultedString
- // *Message_OneofDefaultedBytes
- // *Message_OneofDefaultedChildEnum
- // *Message_OneofDefaultedSiblingEnum
- OneofDefaultedUnion isMessage_OneofDefaultedUnion `protobuf_oneof:"oneof_defaulted_union"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- proto.XXX_InternalExtensions `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message) Reset() { *m = Message{} }
-func (m *Message) String() string { return proto.CompactTextString(m) }
-func (*Message) ProtoMessage() {}
-func (*Message) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a17e2c63b2b3424, []int{1}
-}
-
-var extRange_Message = []proto.ExtensionRange{
- {Start: 10000, End: 536870911},
-}
-
-func (*Message) ExtensionRangeArray() []proto.ExtensionRange {
- return extRange_Message
-}
-
-func (m *Message) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message.Unmarshal(m, b)
-}
-func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message.Marshal(b, m, deterministic)
-}
-func (m *Message) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message.Merge(m, src)
-}
-func (m *Message) XXX_Size() int {
- return xxx_messageInfo_Message.Size(m)
-}
-func (m *Message) XXX_DiscardUnknown() {
- xxx_messageInfo_Message.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message proto.InternalMessageInfo
-
-const Default_Message_DefaultedBool bool = true
-const Default_Message_DefaultedInt32 int32 = -12345
-const Default_Message_DefaultedSint32 int32 = -3200
-const Default_Message_DefaultedUint32 uint32 = 3200
-const Default_Message_DefaultedInt64 int64 = -123456789
-const Default_Message_DefaultedSint64 int64 = -6400
-const Default_Message_DefaultedUint64 uint64 = 6400
-const Default_Message_DefaultedFixed32 uint32 = 320000
-const Default_Message_DefaultedSfixed32 int32 = -320000
-const Default_Message_DefaultedFloat float32 = 3.14159
-const Default_Message_DefaultedFixed64 uint64 = 640000
-const Default_Message_DefaultedSfixed64 int64 = -640000
-const Default_Message_DefaultedDouble float64 = 3.14159265359
-const Default_Message_DefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_DefaultedBytes []byte = []byte("deadÞ­\xbe\xefbeef")
-
-const Default_Message_DefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_DefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-const Default_Message_RequiredDefaultedBool bool = true
-const Default_Message_RequiredDefaultedInt32 int32 = -12345
-const Default_Message_RequiredDefaultedSint32 int32 = -3200
-const Default_Message_RequiredDefaultedUint32 uint32 = 3200
-const Default_Message_RequiredDefaultedInt64 int64 = -123456789
-const Default_Message_RequiredDefaultedSint64 int64 = -6400
-const Default_Message_RequiredDefaultedUint64 uint64 = 6400
-const Default_Message_RequiredDefaultedFixed32 uint32 = 320000
-const Default_Message_RequiredDefaultedSfixed32 int32 = -320000
-const Default_Message_RequiredDefaultedFloat float32 = 3.14159
-const Default_Message_RequiredDefaultedFixed64 uint64 = 640000
-const Default_Message_RequiredDefaultedSfixed64 int64 = -640000
-const Default_Message_RequiredDefaultedDouble float64 = 3.14159265359
-const Default_Message_RequiredDefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_RequiredDefaultedBytes []byte = []byte("deadÞ­\xbe\xefbeef")
-
-const Default_Message_RequiredDefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_RequiredDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-const Default_Message_OneofDefaultedBool bool = true
-const Default_Message_OneofDefaultedInt32 int32 = -12345
-const Default_Message_OneofDefaultedSint32 int32 = -3200
-const Default_Message_OneofDefaultedUint32 uint32 = 3200
-const Default_Message_OneofDefaultedInt64 int64 = -123456789
-const Default_Message_OneofDefaultedSint64 int64 = -6400
-const Default_Message_OneofDefaultedUint64 uint64 = 6400
-const Default_Message_OneofDefaultedFixed32 uint32 = 320000
-const Default_Message_OneofDefaultedSfixed32 int32 = -320000
-const Default_Message_OneofDefaultedFloat float32 = 3.14159
-const Default_Message_OneofDefaultedFixed64 uint64 = 640000
-const Default_Message_OneofDefaultedSfixed64 int64 = -640000
-const Default_Message_OneofDefaultedDouble float64 = 3.14159265359
-const Default_Message_OneofDefaultedString string = "hello, \"world!\"\n"
-
-var Default_Message_OneofDefaultedBytes []byte = []byte("deadÞ­\xbe\xefbeef")
-
-const Default_Message_OneofDefaultedChildEnum Message_ChildEnum = Message_ALPHA
-const Default_Message_OneofDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
-
-func (m *Message) GetNamedgroup() *Message_NamedGroup {
- if m != nil {
- return m.Namedgroup
- }
- return nil
-}
-
-func (m *Message) GetOptionalBool() bool {
- if m != nil && m.OptionalBool != nil {
- return *m.OptionalBool
- }
- return false
-}
-
-func (m *Message) GetOptionalInt32() int32 {
- if m != nil && m.OptionalInt32 != nil {
- return *m.OptionalInt32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint32() int32 {
- if m != nil && m.OptionalSint32 != nil {
- return *m.OptionalSint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint32() uint32 {
- if m != nil && m.OptionalUint32 != nil {
- return *m.OptionalUint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalInt64() int64 {
- if m != nil && m.OptionalInt64 != nil {
- return *m.OptionalInt64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint64() int64 {
- if m != nil && m.OptionalSint64 != nil {
- return *m.OptionalSint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint64() uint64 {
- if m != nil && m.OptionalUint64 != nil {
- return *m.OptionalUint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed32() uint32 {
- if m != nil && m.OptionalFixed32 != nil {
- return *m.OptionalFixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed32() int32 {
- if m != nil && m.OptionalSfixed32 != nil {
- return *m.OptionalSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalFloat() float32 {
- if m != nil && m.OptionalFloat != nil {
- return *m.OptionalFloat
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed64() uint64 {
- if m != nil && m.OptionalFixed64 != nil {
- return *m.OptionalFixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed64() int64 {
- if m != nil && m.OptionalSfixed64 != nil {
- return *m.OptionalSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalDouble() float64 {
- if m != nil && m.OptionalDouble != nil {
- return *m.OptionalDouble
- }
- return 0
-}
-
-func (m *Message) GetOptionalString() string {
- if m != nil && m.OptionalString != nil {
- return *m.OptionalString
- }
- return ""
-}
-
-func (m *Message) GetOptionalBytes() []byte {
- if m != nil {
- return m.OptionalBytes
- }
- return nil
-}
-
-func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
- if m != nil && m.OptionalChildEnum != nil {
- return *m.OptionalChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.OptionalChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalNamedGroup() *Message_NamedGroup {
- if m != nil {
- return m.OptionalNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
- if m != nil && m.OptionalSiblingEnum != nil {
- return *m.OptionalSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.OptionalSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalgroup() *Message_OptionalGroup {
- if m != nil {
- return m.Optionalgroup
- }
- return nil
-}
-
-func (m *Message) GetDefaultedBool() bool {
- if m != nil && m.DefaultedBool != nil {
- return *m.DefaultedBool
- }
- return Default_Message_DefaultedBool
-}
-
-func (m *Message) GetDefaultedInt32() int32 {
- if m != nil && m.DefaultedInt32 != nil {
- return *m.DefaultedInt32
- }
- return Default_Message_DefaultedInt32
-}
-
-func (m *Message) GetDefaultedSint32() int32 {
- if m != nil && m.DefaultedSint32 != nil {
- return *m.DefaultedSint32
- }
- return Default_Message_DefaultedSint32
-}
-
-func (m *Message) GetDefaultedUint32() uint32 {
- if m != nil && m.DefaultedUint32 != nil {
- return *m.DefaultedUint32
- }
- return Default_Message_DefaultedUint32
-}
-
-func (m *Message) GetDefaultedInt64() int64 {
- if m != nil && m.DefaultedInt64 != nil {
- return *m.DefaultedInt64
- }
- return Default_Message_DefaultedInt64
-}
-
-func (m *Message) GetDefaultedSint64() int64 {
- if m != nil && m.DefaultedSint64 != nil {
- return *m.DefaultedSint64
- }
- return Default_Message_DefaultedSint64
-}
-
-func (m *Message) GetDefaultedUint64() uint64 {
- if m != nil && m.DefaultedUint64 != nil {
- return *m.DefaultedUint64
- }
- return Default_Message_DefaultedUint64
-}
-
-func (m *Message) GetDefaultedFixed32() uint32 {
- if m != nil && m.DefaultedFixed32 != nil {
- return *m.DefaultedFixed32
- }
- return Default_Message_DefaultedFixed32
-}
-
-func (m *Message) GetDefaultedSfixed32() int32 {
- if m != nil && m.DefaultedSfixed32 != nil {
- return *m.DefaultedSfixed32
- }
- return Default_Message_DefaultedSfixed32
-}
-
-func (m *Message) GetDefaultedFloat() float32 {
- if m != nil && m.DefaultedFloat != nil {
- return *m.DefaultedFloat
- }
- return Default_Message_DefaultedFloat
-}
-
-func (m *Message) GetDefaultedFixed64() uint64 {
- if m != nil && m.DefaultedFixed64 != nil {
- return *m.DefaultedFixed64
- }
- return Default_Message_DefaultedFixed64
-}
-
-func (m *Message) GetDefaultedSfixed64() int64 {
- if m != nil && m.DefaultedSfixed64 != nil {
- return *m.DefaultedSfixed64
- }
- return Default_Message_DefaultedSfixed64
-}
-
-func (m *Message) GetDefaultedDouble() float64 {
- if m != nil && m.DefaultedDouble != nil {
- return *m.DefaultedDouble
- }
- return Default_Message_DefaultedDouble
-}
-
-func (m *Message) GetDefaultedString() string {
- if m != nil && m.DefaultedString != nil {
- return *m.DefaultedString
- }
- return Default_Message_DefaultedString
-}
-
-func (m *Message) GetDefaultedBytes() []byte {
- if m != nil && m.DefaultedBytes != nil {
- return m.DefaultedBytes
- }
- return append([]byte(nil), Default_Message_DefaultedBytes...)
-}
-
-func (m *Message) GetDefaultedChildEnum() Message_ChildEnum {
- if m != nil && m.DefaultedChildEnum != nil {
- return *m.DefaultedChildEnum
- }
- return Default_Message_DefaultedChildEnum
-}
-
-func (m *Message) GetDefaultedSiblingEnum() SiblingEnum {
- if m != nil && m.DefaultedSiblingEnum != nil {
- return *m.DefaultedSiblingEnum
- }
- return Default_Message_DefaultedSiblingEnum
-}
-
-func (m *Message) GetRequiredBool() bool {
- if m != nil && m.RequiredBool != nil {
- return *m.RequiredBool
- }
- return false
-}
-
-func (m *Message) GetRequiredInt32() int32 {
- if m != nil && m.RequiredInt32 != nil {
- return *m.RequiredInt32
- }
- return 0
-}
-
-func (m *Message) GetRequiredSint32() int32 {
- if m != nil && m.RequiredSint32 != nil {
- return *m.RequiredSint32
- }
- return 0
-}
-
-func (m *Message) GetRequiredUint32() uint32 {
- if m != nil && m.RequiredUint32 != nil {
- return *m.RequiredUint32
- }
- return 0
-}
-
-func (m *Message) GetRequiredInt64() int64 {
- if m != nil && m.RequiredInt64 != nil {
- return *m.RequiredInt64
- }
- return 0
-}
-
-func (m *Message) GetRequiredSint64() int64 {
- if m != nil && m.RequiredSint64 != nil {
- return *m.RequiredSint64
- }
- return 0
-}
-
-func (m *Message) GetRequiredUint64() uint64 {
- if m != nil && m.RequiredUint64 != nil {
- return *m.RequiredUint64
- }
- return 0
-}
-
-func (m *Message) GetRequiredFixed32() uint32 {
- if m != nil && m.RequiredFixed32 != nil {
- return *m.RequiredFixed32
- }
- return 0
-}
-
-func (m *Message) GetRequiredSfixed32() int32 {
- if m != nil && m.RequiredSfixed32 != nil {
- return *m.RequiredSfixed32
- }
- return 0
-}
-
-func (m *Message) GetRequiredFloat() float32 {
- if m != nil && m.RequiredFloat != nil {
- return *m.RequiredFloat
- }
- return 0
-}
-
-func (m *Message) GetRequiredFixed64() uint64 {
- if m != nil && m.RequiredFixed64 != nil {
- return *m.RequiredFixed64
- }
- return 0
-}
-
-func (m *Message) GetRequiredSfixed64() int64 {
- if m != nil && m.RequiredSfixed64 != nil {
- return *m.RequiredSfixed64
- }
- return 0
-}
-
-func (m *Message) GetRequiredDouble() float64 {
- if m != nil && m.RequiredDouble != nil {
- return *m.RequiredDouble
- }
- return 0
-}
-
-func (m *Message) GetRequiredString() string {
- if m != nil && m.RequiredString != nil {
- return *m.RequiredString
- }
- return ""
-}
-
-func (m *Message) GetRequiredBytes() []byte {
- if m != nil {
- return m.RequiredBytes
- }
- return nil
-}
-
-func (m *Message) GetRequiredChildEnum() Message_ChildEnum {
- if m != nil && m.RequiredChildEnum != nil {
- return *m.RequiredChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetRequiredChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.RequiredChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRequiredNamedGroup() *Message_NamedGroup {
- if m != nil {
- return m.RequiredNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetRequiredSiblingEnum() SiblingEnum {
- if m != nil && m.RequiredSiblingEnum != nil {
- return *m.RequiredSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetRequiredSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.RequiredSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRequiredgroup() *Message_RequiredGroup {
- if m != nil {
- return m.Requiredgroup
- }
- return nil
-}
-
-func (m *Message) GetRequiredDefaultedBool() bool {
- if m != nil && m.RequiredDefaultedBool != nil {
- return *m.RequiredDefaultedBool
- }
- return Default_Message_RequiredDefaultedBool
-}
-
-func (m *Message) GetRequiredDefaultedInt32() int32 {
- if m != nil && m.RequiredDefaultedInt32 != nil {
- return *m.RequiredDefaultedInt32
- }
- return Default_Message_RequiredDefaultedInt32
-}
-
-func (m *Message) GetRequiredDefaultedSint32() int32 {
- if m != nil && m.RequiredDefaultedSint32 != nil {
- return *m.RequiredDefaultedSint32
- }
- return Default_Message_RequiredDefaultedSint32
-}
-
-func (m *Message) GetRequiredDefaultedUint32() uint32 {
- if m != nil && m.RequiredDefaultedUint32 != nil {
- return *m.RequiredDefaultedUint32
- }
- return Default_Message_RequiredDefaultedUint32
-}
-
-func (m *Message) GetRequiredDefaultedInt64() int64 {
- if m != nil && m.RequiredDefaultedInt64 != nil {
- return *m.RequiredDefaultedInt64
- }
- return Default_Message_RequiredDefaultedInt64
-}
-
-func (m *Message) GetRequiredDefaultedSint64() int64 {
- if m != nil && m.RequiredDefaultedSint64 != nil {
- return *m.RequiredDefaultedSint64
- }
- return Default_Message_RequiredDefaultedSint64
-}
-
-func (m *Message) GetRequiredDefaultedUint64() uint64 {
- if m != nil && m.RequiredDefaultedUint64 != nil {
- return *m.RequiredDefaultedUint64
- }
- return Default_Message_RequiredDefaultedUint64
-}
-
-func (m *Message) GetRequiredDefaultedFixed32() uint32 {
- if m != nil && m.RequiredDefaultedFixed32 != nil {
- return *m.RequiredDefaultedFixed32
- }
- return Default_Message_RequiredDefaultedFixed32
-}
-
-func (m *Message) GetRequiredDefaultedSfixed32() int32 {
- if m != nil && m.RequiredDefaultedSfixed32 != nil {
- return *m.RequiredDefaultedSfixed32
- }
- return Default_Message_RequiredDefaultedSfixed32
-}
-
-func (m *Message) GetRequiredDefaultedFloat() float32 {
- if m != nil && m.RequiredDefaultedFloat != nil {
- return *m.RequiredDefaultedFloat
- }
- return Default_Message_RequiredDefaultedFloat
-}
-
-func (m *Message) GetRequiredDefaultedFixed64() uint64 {
- if m != nil && m.RequiredDefaultedFixed64 != nil {
- return *m.RequiredDefaultedFixed64
- }
- return Default_Message_RequiredDefaultedFixed64
-}
-
-func (m *Message) GetRequiredDefaultedSfixed64() int64 {
- if m != nil && m.RequiredDefaultedSfixed64 != nil {
- return *m.RequiredDefaultedSfixed64
- }
- return Default_Message_RequiredDefaultedSfixed64
-}
-
-func (m *Message) GetRequiredDefaultedDouble() float64 {
- if m != nil && m.RequiredDefaultedDouble != nil {
- return *m.RequiredDefaultedDouble
- }
- return Default_Message_RequiredDefaultedDouble
-}
-
-func (m *Message) GetRequiredDefaultedString() string {
- if m != nil && m.RequiredDefaultedString != nil {
- return *m.RequiredDefaultedString
- }
- return Default_Message_RequiredDefaultedString
-}
-
-func (m *Message) GetRequiredDefaultedBytes() []byte {
- if m != nil && m.RequiredDefaultedBytes != nil {
- return m.RequiredDefaultedBytes
- }
- return append([]byte(nil), Default_Message_RequiredDefaultedBytes...)
-}
-
-func (m *Message) GetRequiredDefaultedChildEnum() Message_ChildEnum {
- if m != nil && m.RequiredDefaultedChildEnum != nil {
- return *m.RequiredDefaultedChildEnum
- }
- return Default_Message_RequiredDefaultedChildEnum
-}
-
-func (m *Message) GetRequiredDefaultedSiblingEnum() SiblingEnum {
- if m != nil && m.RequiredDefaultedSiblingEnum != nil {
- return *m.RequiredDefaultedSiblingEnum
- }
- return Default_Message_RequiredDefaultedSiblingEnum
-}
-
-func (m *Message) GetRepeatedBool() []bool {
- if m != nil {
- return m.RepeatedBool
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt32() []int32 {
- if m != nil {
- return m.RepeatedInt32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint32() []int32 {
- if m != nil {
- return m.RepeatedSint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint32() []uint32 {
- if m != nil {
- return m.RepeatedUint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt64() []int64 {
- if m != nil {
- return m.RepeatedInt64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint64() []int64 {
- if m != nil {
- return m.RepeatedSint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint64() []uint64 {
- if m != nil {
- return m.RepeatedUint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed32() []uint32 {
- if m != nil {
- return m.RepeatedFixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed32() []int32 {
- if m != nil {
- return m.RepeatedSfixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFloat() []float32 {
- if m != nil {
- return m.RepeatedFloat
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed64() []uint64 {
- if m != nil {
- return m.RepeatedFixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed64() []int64 {
- if m != nil {
- return m.RepeatedSfixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedDouble() []float64 {
- if m != nil {
- return m.RepeatedDouble
- }
- return nil
-}
-
-func (m *Message) GetRepeatedString() []string {
- if m != nil {
- return m.RepeatedString
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBytes() [][]byte {
- if m != nil {
- return m.RepeatedBytes
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
- if m != nil {
- return m.RepeatedChildEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
- if m != nil {
- return m.RepeatedChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedNamedGroup() []*Message_NamedGroup {
- if m != nil {
- return m.RepeatedNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
- if m != nil {
- return m.RepeatedSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
- if m != nil {
- return m.RepeatedSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedgroup() []*Message_RepeatedGroup {
- if m != nil {
- return m.Repeatedgroup
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBool() map[bool]bool {
- if m != nil {
- return m.MapBoolBool
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt32() map[bool]int32 {
- if m != nil {
- return m.MapBoolInt32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolUint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt64() map[bool]int64 {
- if m != nil {
- return m.MapBoolInt64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolUint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolFixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSfixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFloat() map[bool]float32 {
- if m != nil {
- return m.MapBoolFloat
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolFixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSfixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolDouble() map[bool]float64 {
- if m != nil {
- return m.MapBoolDouble
- }
- return nil
-}
-
-func (m *Message) GetMapBoolString() map[bool]string {
- if m != nil {
- return m.MapBoolString
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBytes() map[bool][]byte {
- if m != nil {
- return m.MapBoolBytes
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
- if m != nil {
- return m.MapBoolChildEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
- if m != nil {
- return m.MapBoolChildMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolNamedGroup() map[bool]*Message_NamedGroup {
- if m != nil {
- return m.MapBoolNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
- if m != nil {
- return m.MapBoolSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
- if m != nil {
- return m.MapBoolSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapInt32Bool() map[int32]bool {
- if m != nil {
- return m.MapInt32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint32Bool() map[int32]bool {
- if m != nil {
- return m.MapSint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint32Bool() map[uint32]bool {
- if m != nil {
- return m.MapUint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapInt64Bool() map[int64]bool {
- if m != nil {
- return m.MapInt64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint64Bool() map[int64]bool {
- if m != nil {
- return m.MapSint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint64Bool() map[uint64]bool {
- if m != nil {
- return m.MapUint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapFixed32Bool() map[uint32]bool {
- if m != nil {
- return m.MapFixed32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapStringBool() map[string]bool {
- if m != nil {
- return m.MapStringBool
- }
- return nil
-}
-
-type isMessage_OneofUnion interface {
- isMessage_OneofUnion()
-}
-
-type Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,700,opt,name=oneof_bool,json=oneofBool,oneof"`
-}
-
-type Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,701,opt,name=oneof_int32,json=oneofInt32,oneof"`
-}
-
-type Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,702,opt,name=oneof_sint32,json=oneofSint32,oneof"`
-}
-
-type Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,703,opt,name=oneof_uint32,json=oneofUint32,oneof"`
-}
-
-type Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,704,opt,name=oneof_int64,json=oneofInt64,oneof"`
-}
-
-type Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,705,opt,name=oneof_sint64,json=oneofSint64,oneof"`
-}
-
-type Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,706,opt,name=oneof_uint64,json=oneofUint64,oneof"`
-}
-
-type Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,707,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
-}
-
-type Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,708,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
-}
-
-type Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,709,opt,name=oneof_float,json=oneofFloat,oneof"`
-}
-
-type Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,710,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
-}
-
-type Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,711,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
-}
-
-type Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,712,opt,name=oneof_double,json=oneofDouble,oneof"`
-}
-
-type Message_OneofString struct {
- OneofString string `protobuf:"bytes,713,opt,name=oneof_string,json=oneofString,oneof"`
-}
-
-type Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,714,opt,name=oneof_bytes,json=oneofBytes,oneof"`
-}
-
-type Message_OneofChildEnum struct {
- OneofChildEnum Message_ChildEnum `protobuf:"varint,715,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto2_20190205.Message_ChildEnum,oneof"`
-}
-
-type Message_OneofChildMessage struct {
- OneofChildMessage *Message_ChildMessage `protobuf:"bytes,716,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
-}
-
-type Message_OneofNamedGroup struct {
- OneofNamedGroup *Message_NamedGroup `protobuf:"bytes,717,opt,name=oneof_named_group,json=oneofNamedGroup,oneof"`
-}
-
-type Message_OneofSiblingEnum struct {
- OneofSiblingEnum SiblingEnum `protobuf:"varint,718,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto2_20190205.SiblingEnum,oneof"`
-}
-
-type Message_OneofSiblingMessage struct {
- OneofSiblingMessage *SiblingMessage `protobuf:"bytes,719,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
-}
-
-type Message_Oneofgroup struct {
- Oneofgroup *Message_OneofGroup `protobuf:"group,720,opt,name=OneofGroup,json=oneofgroup,oneof"`
-}
-
-type Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,721,opt,name=oneof_string1,json=oneofString1,oneof"`
-}
-
-type Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,722,opt,name=oneof_string2,json=oneofString2,oneof"`
-}
-
-type Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,723,opt,name=oneof_string3,json=oneofString3,oneof"`
-}
-
-func (*Message_OneofBool) isMessage_OneofUnion() {}
-
-func (*Message_OneofInt32) isMessage_OneofUnion() {}
-
-func (*Message_OneofSint32) isMessage_OneofUnion() {}
-
-func (*Message_OneofUint32) isMessage_OneofUnion() {}
-
-func (*Message_OneofInt64) isMessage_OneofUnion() {}
-
-func (*Message_OneofSint64) isMessage_OneofUnion() {}
-
-func (*Message_OneofUint64) isMessage_OneofUnion() {}
-
-func (*Message_OneofFixed32) isMessage_OneofUnion() {}
-
-func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
-
-func (*Message_OneofFloat) isMessage_OneofUnion() {}
-
-func (*Message_OneofFixed64) isMessage_OneofUnion() {}
-
-func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
-
-func (*Message_OneofDouble) isMessage_OneofUnion() {}
-
-func (*Message_OneofString) isMessage_OneofUnion() {}
-
-func (*Message_OneofBytes) isMessage_OneofUnion() {}
-
-func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
-
-func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
-
-func (*Message_OneofNamedGroup) isMessage_OneofUnion() {}
-
-func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
-
-func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
-
-func (*Message_Oneofgroup) isMessage_OneofUnion() {}
-
-func (*Message_OneofString1) isMessage_OneofUnion() {}
-
-func (*Message_OneofString2) isMessage_OneofUnion() {}
-
-func (*Message_OneofString3) isMessage_OneofUnion() {}
-
-func (m *Message) GetOneofUnion() isMessage_OneofUnion {
- if m != nil {
- return m.OneofUnion
- }
- return nil
-}
-
-func (m *Message) GetOneofBool() bool {
- if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (m *Message) GetOneofInt32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
- return x.OneofInt32
- }
- return 0
-}
-
-func (m *Message) GetOneofSint32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
- return x.OneofSint32
- }
- return 0
-}
-
-func (m *Message) GetOneofUint32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (m *Message) GetOneofInt64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
- return x.OneofInt64
- }
- return 0
-}
-
-func (m *Message) GetOneofSint64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
- return x.OneofSint64
- }
- return 0
-}
-
-func (m *Message) GetOneofUint64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
- return x.OneofFixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
- return x.OneofSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofFloat() float32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
- return x.OneofFixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
- return x.OneofSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofDouble() float64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (m *Message) GetOneofString() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (m *Message) GetOneofBytes() []byte {
- if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (m *Message) GetOneofChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
- return x.OneofChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
- return x.OneofChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofNamedGroup() *Message_NamedGroup {
- if x, ok := m.GetOneofUnion().(*Message_OneofNamedGroup); ok {
- return x.OneofNamedGroup
- }
- return nil
-}
-
-func (m *Message) GetOneofSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
- return x.OneofSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
- return x.OneofSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofgroup() *Message_OneofGroup {
- if x, ok := m.GetOneofUnion().(*Message_Oneofgroup); ok {
- return x.Oneofgroup
- }
- return nil
-}
-
-func (m *Message) GetOneofString1() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
- return x.OneofString1
- }
- return ""
-}
-
-func (m *Message) GetOneofString2() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
- return x.OneofString2
- }
- return ""
-}
-
-func (m *Message) GetOneofString3() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
- return x.OneofString3
- }
- return ""
-}
-
-type isMessage_OneofDefaultedUnion interface {
- isMessage_OneofDefaultedUnion()
-}
-
-type Message_OneofDefaultedBool struct {
- OneofDefaultedBool bool `protobuf:"varint,800,opt,name=oneof_defaulted_bool,json=oneofDefaultedBool,oneof,def=1"`
-}
-
-type Message_OneofDefaultedInt32 struct {
- OneofDefaultedInt32 int32 `protobuf:"varint,801,opt,name=oneof_defaulted_int32,json=oneofDefaultedInt32,oneof,def=-12345"`
-}
-
-type Message_OneofDefaultedSint32 struct {
- OneofDefaultedSint32 int32 `protobuf:"zigzag32,802,opt,name=oneof_defaulted_sint32,json=oneofDefaultedSint32,oneof,def=-3200"`
-}
-
-type Message_OneofDefaultedUint32 struct {
- OneofDefaultedUint32 uint32 `protobuf:"varint,803,opt,name=oneof_defaulted_uint32,json=oneofDefaultedUint32,oneof,def=3200"`
-}
-
-type Message_OneofDefaultedInt64 struct {
- OneofDefaultedInt64 int64 `protobuf:"varint,804,opt,name=oneof_defaulted_int64,json=oneofDefaultedInt64,oneof,def=-123456789"`
-}
-
-type Message_OneofDefaultedSint64 struct {
- OneofDefaultedSint64 int64 `protobuf:"zigzag64,805,opt,name=oneof_defaulted_sint64,json=oneofDefaultedSint64,oneof,def=-6400"`
-}
-
-type Message_OneofDefaultedUint64 struct {
- OneofDefaultedUint64 uint64 `protobuf:"varint,806,opt,name=oneof_defaulted_uint64,json=oneofDefaultedUint64,oneof,def=6400"`
-}
-
-type Message_OneofDefaultedFixed32 struct {
- OneofDefaultedFixed32 uint32 `protobuf:"fixed32,807,opt,name=oneof_defaulted_fixed32,json=oneofDefaultedFixed32,oneof,def=320000"`
-}
-
-type Message_OneofDefaultedSfixed32 struct {
- OneofDefaultedSfixed32 int32 `protobuf:"fixed32,808,opt,name=oneof_defaulted_sfixed32,json=oneofDefaultedSfixed32,oneof,def=-320000"`
-}
-
-type Message_OneofDefaultedFloat struct {
- OneofDefaultedFloat float32 `protobuf:"fixed32,809,opt,name=oneof_defaulted_float,json=oneofDefaultedFloat,oneof,def=3.14159"`
-}
-
-type Message_OneofDefaultedFixed64 struct {
- OneofDefaultedFixed64 uint64 `protobuf:"fixed64,810,opt,name=oneof_defaulted_fixed64,json=oneofDefaultedFixed64,oneof,def=640000"`
-}
-
-type Message_OneofDefaultedSfixed64 struct {
- OneofDefaultedSfixed64 int64 `protobuf:"fixed64,811,opt,name=oneof_defaulted_sfixed64,json=oneofDefaultedSfixed64,oneof,def=-640000"`
-}
-
-type Message_OneofDefaultedDouble struct {
- OneofDefaultedDouble float64 `protobuf:"fixed64,812,opt,name=oneof_defaulted_double,json=oneofDefaultedDouble,oneof,def=3.14159265359"`
-}
-
-type Message_OneofDefaultedString struct {
- OneofDefaultedString string `protobuf:"bytes,813,opt,name=oneof_defaulted_string,json=oneofDefaultedString,oneof,def=hello, \"world!\"\n"`
-}
-
-type Message_OneofDefaultedBytes struct {
- OneofDefaultedBytes []byte `protobuf:"bytes,814,opt,name=oneof_defaulted_bytes,json=oneofDefaultedBytes,oneof,def=dead\\336\\255\\276\\357beef"`
-}
-
-type Message_OneofDefaultedChildEnum struct {
- OneofDefaultedChildEnum Message_ChildEnum `protobuf:"varint,815,opt,name=oneof_defaulted_child_enum,json=oneofDefaultedChildEnum,enum=google.golang.org.proto2_20190205.Message_ChildEnum,oneof,def=0"`
-}
-
-type Message_OneofDefaultedSiblingEnum struct {
- OneofDefaultedSiblingEnum SiblingEnum `protobuf:"varint,816,opt,name=oneof_defaulted_sibling_enum,json=oneofDefaultedSiblingEnum,enum=google.golang.org.proto2_20190205.SiblingEnum,oneof,def=0"`
-}
-
-func (*Message_OneofDefaultedBool) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedInt32) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedSint32) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedUint32) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedInt64) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedSint64) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedUint64) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedFixed32) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedSfixed32) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedFloat) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedFixed64) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedSfixed64) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedDouble) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedString) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedBytes) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedChildEnum) isMessage_OneofDefaultedUnion() {}
-
-func (*Message_OneofDefaultedSiblingEnum) isMessage_OneofDefaultedUnion() {}
-
-func (m *Message) GetOneofDefaultedUnion() isMessage_OneofDefaultedUnion {
- if m != nil {
- return m.OneofDefaultedUnion
- }
- return nil
-}
-
-func (m *Message) GetOneofDefaultedBool() bool {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBool); ok {
- return x.OneofDefaultedBool
- }
- return Default_Message_OneofDefaultedBool
-}
-
-func (m *Message) GetOneofDefaultedInt32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt32); ok {
- return x.OneofDefaultedInt32
- }
- return Default_Message_OneofDefaultedInt32
-}
-
-func (m *Message) GetOneofDefaultedSint32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint32); ok {
- return x.OneofDefaultedSint32
- }
- return Default_Message_OneofDefaultedSint32
-}
-
-func (m *Message) GetOneofDefaultedUint32() uint32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint32); ok {
- return x.OneofDefaultedUint32
- }
- return Default_Message_OneofDefaultedUint32
-}
-
-func (m *Message) GetOneofDefaultedInt64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedInt64); ok {
- return x.OneofDefaultedInt64
- }
- return Default_Message_OneofDefaultedInt64
-}
-
-func (m *Message) GetOneofDefaultedSint64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSint64); ok {
- return x.OneofDefaultedSint64
- }
- return Default_Message_OneofDefaultedSint64
-}
-
-func (m *Message) GetOneofDefaultedUint64() uint64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedUint64); ok {
- return x.OneofDefaultedUint64
- }
- return Default_Message_OneofDefaultedUint64
-}
-
-func (m *Message) GetOneofDefaultedFixed32() uint32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed32); ok {
- return x.OneofDefaultedFixed32
- }
- return Default_Message_OneofDefaultedFixed32
-}
-
-func (m *Message) GetOneofDefaultedSfixed32() int32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed32); ok {
- return x.OneofDefaultedSfixed32
- }
- return Default_Message_OneofDefaultedSfixed32
-}
-
-func (m *Message) GetOneofDefaultedFloat() float32 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFloat); ok {
- return x.OneofDefaultedFloat
- }
- return Default_Message_OneofDefaultedFloat
-}
-
-func (m *Message) GetOneofDefaultedFixed64() uint64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedFixed64); ok {
- return x.OneofDefaultedFixed64
- }
- return Default_Message_OneofDefaultedFixed64
-}
-
-func (m *Message) GetOneofDefaultedSfixed64() int64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSfixed64); ok {
- return x.OneofDefaultedSfixed64
- }
- return Default_Message_OneofDefaultedSfixed64
-}
-
-func (m *Message) GetOneofDefaultedDouble() float64 {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedDouble); ok {
- return x.OneofDefaultedDouble
- }
- return Default_Message_OneofDefaultedDouble
-}
-
-func (m *Message) GetOneofDefaultedString() string {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedString); ok {
- return x.OneofDefaultedString
- }
- return Default_Message_OneofDefaultedString
-}
-
-func (m *Message) GetOneofDefaultedBytes() []byte {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedBytes); ok {
- return x.OneofDefaultedBytes
- }
- return append([]byte(nil), Default_Message_OneofDefaultedBytes...)
-}
-
-func (m *Message) GetOneofDefaultedChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedChildEnum); ok {
- return x.OneofDefaultedChildEnum
- }
- return Default_Message_OneofDefaultedChildEnum
-}
-
-func (m *Message) GetOneofDefaultedSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofDefaultedUnion().(*Message_OneofDefaultedSiblingEnum); ok {
- return x.OneofDefaultedSiblingEnum
- }
- return Default_Message_OneofDefaultedSiblingEnum
-}
-
-// XXX_OneofWrappers is for the internal use of the proto package.
-func (*Message) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*Message_OneofBool)(nil),
- (*Message_OneofInt32)(nil),
- (*Message_OneofSint32)(nil),
- (*Message_OneofUint32)(nil),
- (*Message_OneofInt64)(nil),
- (*Message_OneofSint64)(nil),
- (*Message_OneofUint64)(nil),
- (*Message_OneofFixed32)(nil),
- (*Message_OneofSfixed32)(nil),
- (*Message_OneofFloat)(nil),
- (*Message_OneofFixed64)(nil),
- (*Message_OneofSfixed64)(nil),
- (*Message_OneofDouble)(nil),
- (*Message_OneofString)(nil),
- (*Message_OneofBytes)(nil),
- (*Message_OneofChildEnum)(nil),
- (*Message_OneofChildMessage)(nil),
- (*Message_OneofNamedGroup)(nil),
- (*Message_OneofSiblingEnum)(nil),
- (*Message_OneofSiblingMessage)(nil),
- (*Message_Oneofgroup)(nil),
- (*Message_OneofString1)(nil),
- (*Message_OneofString2)(nil),
- (*Message_OneofString3)(nil),
- (*Message_OneofDefaultedBool)(nil),
- (*Message_OneofDefaultedInt32)(nil),
- (*Message_OneofDefaultedSint32)(nil),
- (*Message_OneofDefaultedUint32)(nil),
- (*Message_OneofDefaultedInt64)(nil),
- (*Message_OneofDefaultedSint64)(nil),
- (*Message_OneofDefaultedUint64)(nil),
- (*Message_OneofDefaultedFixed32)(nil),
- (*Message_OneofDefaultedSfixed32)(nil),
- (*Message_OneofDefaultedFloat)(nil),
- (*Message_OneofDefaultedFixed64)(nil),
- (*Message_OneofDefaultedSfixed64)(nil),
- (*Message_OneofDefaultedDouble)(nil),
- (*Message_OneofDefaultedString)(nil),
- (*Message_OneofDefaultedBytes)(nil),
- (*Message_OneofDefaultedChildEnum)(nil),
- (*Message_OneofDefaultedSiblingEnum)(nil),
- }
-}
-
-var E_Message_ExtensionOptionalBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*bool)(nil),
- Field: 10000,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_bool",
- Tag: "varint,10000,opt,name=extension_optional_bool",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10001,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_int32",
- Tag: "varint,10001,opt,name=extension_optional_int32",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10002,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_sint32",
- Tag: "zigzag32,10002,opt,name=extension_optional_sint32",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 10003,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_uint32",
- Tag: "varint,10003,opt,name=extension_optional_uint32",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10004,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_int64",
- Tag: "varint,10004,opt,name=extension_optional_int64",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10005,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_sint64",
- Tag: "zigzag64,10005,opt,name=extension_optional_sint64",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 10006,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_uint64",
- Tag: "varint,10006,opt,name=extension_optional_uint64",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 10007,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_fixed32",
- Tag: "fixed32,10007,opt,name=extension_optional_fixed32",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 10008,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_sfixed32",
- Tag: "fixed32,10008,opt,name=extension_optional_sfixed32",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float32)(nil),
- Field: 10009,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_float",
- Tag: "fixed32,10009,opt,name=extension_optional_float",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 10010,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_fixed64",
- Tag: "fixed64,10010,opt,name=extension_optional_fixed64",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10011,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_sfixed64",
- Tag: "fixed64,10011,opt,name=extension_optional_sfixed64",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float64)(nil),
- Field: 10012,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_double",
- Tag: "fixed64,10012,opt,name=extension_optional_double",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 10013,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_string",
- Tag: "bytes,10013,opt,name=extension_optional_string",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 10014,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_bytes",
- Tag: "bytes,10014,opt,name=extension_optional_bytes",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildEnum)(nil),
- Field: 10015,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_child_enum",
- Tag: "varint,10015,opt,name=extension_optional_child_enum,enum=google.golang.org.proto2_20190205.Message_ChildEnum",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalChildMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildMessage)(nil),
- Field: 10016,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_child_message",
- Tag: "bytes,10016,opt,name=extension_optional_child_message",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalNamedGroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_NamedGroup)(nil),
- Field: 10017,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_named_group",
- Tag: "bytes,10017,opt,name=extension_optional_named_group",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingEnum)(nil),
- Field: 10018,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_sibling_enum",
- Tag: "varint,10018,opt,name=extension_optional_sibling_enum,enum=google.golang.org.proto2_20190205.SiblingEnum",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionOptionalSiblingMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingMessage)(nil),
- Field: 10019,
- Name: "google.golang.org.proto2_20190205.Message.extension_optional_sibling_message",
- Tag: "bytes,10019,opt,name=extension_optional_sibling_message",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_Extensionoptionalgroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ExtensionOptionalGroup)(nil),
- Field: 10020,
- Name: "google.golang.org.proto2_20190205.Message.extensionoptionalgroup",
- Tag: "group,10020,opt,name=ExtensionOptionalGroup",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*bool)(nil),
- Field: 20000,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_bool",
- Tag: "varint,20000,opt,name=extension_defaulted_bool,def=1",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20001,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_int32",
- Tag: "varint,20001,opt,name=extension_defaulted_int32,def=-12345",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20002,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_sint32",
- Tag: "zigzag32,20002,opt,name=extension_defaulted_sint32,def=-3200",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 20003,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_uint32",
- Tag: "varint,20003,opt,name=extension_defaulted_uint32,def=3200",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20004,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_int64",
- Tag: "varint,20004,opt,name=extension_defaulted_int64,def=-123456789",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20005,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_sint64",
- Tag: "zigzag64,20005,opt,name=extension_defaulted_sint64,def=-6400",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 20006,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_uint64",
- Tag: "varint,20006,opt,name=extension_defaulted_uint64,def=6400",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 20007,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_fixed32",
- Tag: "fixed32,20007,opt,name=extension_defaulted_fixed32,def=320000",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int32)(nil),
- Field: 20008,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_sfixed32",
- Tag: "fixed32,20008,opt,name=extension_defaulted_sfixed32,def=-320000",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float32)(nil),
- Field: 20009,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_float",
- Tag: "fixed32,20009,opt,name=extension_defaulted_float,def=3.14159",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 20010,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_fixed64",
- Tag: "fixed64,20010,opt,name=extension_defaulted_fixed64,def=640000",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*int64)(nil),
- Field: 20011,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_sfixed64",
- Tag: "fixed64,20011,opt,name=extension_defaulted_sfixed64,def=-640000",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*float64)(nil),
- Field: 20012,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_double",
- Tag: "fixed64,20012,opt,name=extension_defaulted_double,def=3.14159265359",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 20013,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_string",
- Tag: "bytes,20013,opt,name=extension_defaulted_string,def=hello, \"world!\"\n",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 20014,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_bytes",
- Tag: "bytes,20014,opt,name=extension_defaulted_bytes,def=dead\\336\\255\\276\\357beef",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*Message_ChildEnum)(nil),
- Field: 20015,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_child_enum",
- Tag: "varint,20015,opt,name=extension_defaulted_child_enum,enum=google.golang.org.proto2_20190205.Message_ChildEnum,def=0",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionDefaultedSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: (*SiblingEnum)(nil),
- Field: 20016,
- Name: "google.golang.org.proto2_20190205.Message.extension_defaulted_sibling_enum",
- Tag: "varint,20016,opt,name=extension_defaulted_sibling_enum,enum=google.golang.org.proto2_20190205.SiblingEnum,def=0",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedBool = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]bool)(nil),
- Field: 30000,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_bool",
- Tag: "varint,30000,rep,name=extension_repeated_bool",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedInt32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30001,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_int32",
- Tag: "varint,30001,rep,name=extension_repeated_int32",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30002,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_sint32",
- Tag: "zigzag32,30002,rep,name=extension_repeated_sint32",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedUint32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 30003,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_uint32",
- Tag: "varint,30003,rep,name=extension_repeated_uint32",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedInt64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30004,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_int64",
- Tag: "varint,30004,rep,name=extension_repeated_int64",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30005,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_sint64",
- Tag: "zigzag64,30005,rep,name=extension_repeated_sint64",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedUint64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 30006,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_uint64",
- Tag: "varint,30006,rep,name=extension_repeated_uint64",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedFixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 30007,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_fixed32",
- Tag: "fixed32,30007,rep,name=extension_repeated_fixed32",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSfixed32 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 30008,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_sfixed32",
- Tag: "fixed32,30008,rep,name=extension_repeated_sfixed32",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedFloat = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]float32)(nil),
- Field: 30009,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_float",
- Tag: "fixed32,30009,rep,name=extension_repeated_float",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedFixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 30010,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_fixed64",
- Tag: "fixed64,30010,rep,name=extension_repeated_fixed64",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSfixed64 = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 30011,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_sfixed64",
- Tag: "fixed64,30011,rep,name=extension_repeated_sfixed64",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedDouble = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]float64)(nil),
- Field: 30012,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_double",
- Tag: "fixed64,30012,rep,name=extension_repeated_double",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedString = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]string)(nil),
- Field: 30013,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_string",
- Tag: "bytes,30013,rep,name=extension_repeated_string",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedBytes = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([][]byte)(nil),
- Field: 30014,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_bytes",
- Tag: "bytes,30014,rep,name=extension_repeated_bytes",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedChildEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]Message_ChildEnum)(nil),
- Field: 30015,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_child_enum",
- Tag: "varint,30015,rep,name=extension_repeated_child_enum,enum=google.golang.org.proto2_20190205.Message_ChildEnum",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedChildMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_ChildMessage)(nil),
- Field: 30016,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_child_message",
- Tag: "bytes,30016,rep,name=extension_repeated_child_message",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedNamedGroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_NamedGroup)(nil),
- Field: 30017,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_named_group",
- Tag: "bytes,30017,rep,name=extension_repeated_named_group",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSiblingEnum = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]SiblingEnum)(nil),
- Field: 30018,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_sibling_enum",
- Tag: "varint,30018,rep,name=extension_repeated_sibling_enum,enum=google.golang.org.proto2_20190205.SiblingEnum",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_ExtensionRepeatedSiblingMessage = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*SiblingMessage)(nil),
- Field: 30019,
- Name: "google.golang.org.proto2_20190205.Message.extension_repeated_sibling_message",
- Tag: "bytes,30019,rep,name=extension_repeated_sibling_message",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-var E_Message_Extensionrepeatedgroup = &proto.ExtensionDesc{
- ExtendedType: (*Message)(nil),
- ExtensionType: ([]*Message_ExtensionRepeatedGroup)(nil),
- Field: 30020,
- Name: "google.golang.org.proto2_20190205.Message.extensionrepeatedgroup",
- Tag: "group,30020,rep,name=ExtensionRepeatedGroup",
- Filename: "proto2_20190205_c823c79e/test.proto",
-}
-
-type Message_ChildMessage struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
-func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
-func (*Message_ChildMessage) ProtoMessage() {}
-func (*Message_ChildMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a17e2c63b2b3424, []int{1, 0}
-}
-
-func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_ChildMessage.Unmarshal(m, b)
-}
-func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_ChildMessage.Marshal(b, m, deterministic)
-}
-func (m *Message_ChildMessage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_ChildMessage.Merge(m, src)
-}
-func (m *Message_ChildMessage) XXX_Size() int {
- return xxx_messageInfo_Message_ChildMessage.Size(m)
-}
-func (m *Message_ChildMessage) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_ChildMessage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_ChildMessage proto.InternalMessageInfo
-
-func (m *Message_ChildMessage) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *Message_ChildMessage) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message_NamedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_NamedGroup) Reset() { *m = Message_NamedGroup{} }
-func (m *Message_NamedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_NamedGroup) ProtoMessage() {}
-func (*Message_NamedGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a17e2c63b2b3424, []int{1, 1}
-}
-
-func (m *Message_NamedGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_NamedGroup.Unmarshal(m, b)
-}
-func (m *Message_NamedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_NamedGroup.Marshal(b, m, deterministic)
-}
-func (m *Message_NamedGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_NamedGroup.Merge(m, src)
-}
-func (m *Message_NamedGroup) XXX_Size() int {
- return xxx_messageInfo_Message_NamedGroup.Size(m)
-}
-func (m *Message_NamedGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_NamedGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_NamedGroup proto.InternalMessageInfo
-
-func (m *Message_NamedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_NamedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_NamedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func (m *Message_NamedGroup) GetF4() *Message {
- if m != nil {
- return m.F4
- }
- return nil
-}
-
-type Message_OptionalGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_OptionalGroup) Reset() { *m = Message_OptionalGroup{} }
-func (m *Message_OptionalGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_OptionalGroup) ProtoMessage() {}
-func (*Message_OptionalGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a17e2c63b2b3424, []int{1, 2}
-}
-
-func (m *Message_OptionalGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_OptionalGroup.Unmarshal(m, b)
-}
-func (m *Message_OptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_OptionalGroup.Marshal(b, m, deterministic)
-}
-func (m *Message_OptionalGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_OptionalGroup.Merge(m, src)
-}
-func (m *Message_OptionalGroup) XXX_Size() int {
- return xxx_messageInfo_Message_OptionalGroup.Size(m)
-}
-func (m *Message_OptionalGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_OptionalGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_OptionalGroup proto.InternalMessageInfo
-
-func (m *Message_OptionalGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_OptionalGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_OptionalGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_RequiredGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_RequiredGroup) Reset() { *m = Message_RequiredGroup{} }
-func (m *Message_RequiredGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_RequiredGroup) ProtoMessage() {}
-func (*Message_RequiredGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a17e2c63b2b3424, []int{1, 3}
-}
-
-func (m *Message_RequiredGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_RequiredGroup.Unmarshal(m, b)
-}
-func (m *Message_RequiredGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_RequiredGroup.Marshal(b, m, deterministic)
-}
-func (m *Message_RequiredGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_RequiredGroup.Merge(m, src)
-}
-func (m *Message_RequiredGroup) XXX_Size() int {
- return xxx_messageInfo_Message_RequiredGroup.Size(m)
-}
-func (m *Message_RequiredGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_RequiredGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_RequiredGroup proto.InternalMessageInfo
-
-func (m *Message_RequiredGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_RequiredGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_RequiredGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_RepeatedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_RepeatedGroup) Reset() { *m = Message_RepeatedGroup{} }
-func (m *Message_RepeatedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_RepeatedGroup) ProtoMessage() {}
-func (*Message_RepeatedGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a17e2c63b2b3424, []int{1, 4}
-}
-
-func (m *Message_RepeatedGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_RepeatedGroup.Unmarshal(m, b)
-}
-func (m *Message_RepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_RepeatedGroup.Marshal(b, m, deterministic)
-}
-func (m *Message_RepeatedGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_RepeatedGroup.Merge(m, src)
-}
-func (m *Message_RepeatedGroup) XXX_Size() int {
- return xxx_messageInfo_Message_RepeatedGroup.Size(m)
-}
-func (m *Message_RepeatedGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_RepeatedGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_RepeatedGroup proto.InternalMessageInfo
-
-func (m *Message_RepeatedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_RepeatedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_RepeatedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_OneofGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_OneofGroup) Reset() { *m = Message_OneofGroup{} }
-func (m *Message_OneofGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_OneofGroup) ProtoMessage() {}
-func (*Message_OneofGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a17e2c63b2b3424, []int{1, 33}
-}
-
-func (m *Message_OneofGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_OneofGroup.Unmarshal(m, b)
-}
-func (m *Message_OneofGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_OneofGroup.Marshal(b, m, deterministic)
-}
-func (m *Message_OneofGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_OneofGroup.Merge(m, src)
-}
-func (m *Message_OneofGroup) XXX_Size() int {
- return xxx_messageInfo_Message_OneofGroup.Size(m)
-}
-func (m *Message_OneofGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_OneofGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_OneofGroup proto.InternalMessageInfo
-
-func (m *Message_OneofGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_OneofGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_OneofGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_ExtensionOptionalGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_ExtensionOptionalGroup) Reset() { *m = Message_ExtensionOptionalGroup{} }
-func (m *Message_ExtensionOptionalGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_ExtensionOptionalGroup) ProtoMessage() {}
-func (*Message_ExtensionOptionalGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a17e2c63b2b3424, []int{1, 34}
-}
-
-func (m *Message_ExtensionOptionalGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_ExtensionOptionalGroup.Unmarshal(m, b)
-}
-func (m *Message_ExtensionOptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_ExtensionOptionalGroup.Marshal(b, m, deterministic)
-}
-func (m *Message_ExtensionOptionalGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_ExtensionOptionalGroup.Merge(m, src)
-}
-func (m *Message_ExtensionOptionalGroup) XXX_Size() int {
- return xxx_messageInfo_Message_ExtensionOptionalGroup.Size(m)
-}
-func (m *Message_ExtensionOptionalGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_ExtensionOptionalGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_ExtensionOptionalGroup proto.InternalMessageInfo
-
-func (m *Message_ExtensionOptionalGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ExtensionOptionalGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message_ExtensionRepeatedGroup struct {
- F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"`
- F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_ExtensionRepeatedGroup) Reset() { *m = Message_ExtensionRepeatedGroup{} }
-func (m *Message_ExtensionRepeatedGroup) String() string { return proto.CompactTextString(m) }
-func (*Message_ExtensionRepeatedGroup) ProtoMessage() {}
-func (*Message_ExtensionRepeatedGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a17e2c63b2b3424, []int{1, 35}
-}
-
-func (m *Message_ExtensionRepeatedGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_ExtensionRepeatedGroup.Unmarshal(m, b)
-}
-func (m *Message_ExtensionRepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_ExtensionRepeatedGroup.Marshal(b, m, deterministic)
-}
-func (m *Message_ExtensionRepeatedGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_ExtensionRepeatedGroup.Merge(m, src)
-}
-func (m *Message_ExtensionRepeatedGroup) XXX_Size() int {
- return xxx_messageInfo_Message_ExtensionRepeatedGroup.Size(m)
-}
-func (m *Message_ExtensionRepeatedGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_ExtensionRepeatedGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_ExtensionRepeatedGroup proto.InternalMessageInfo
-
-func (m *Message_ExtensionRepeatedGroup) GetF1() string {
- if m != nil && m.F1 != nil {
- return *m.F1
- }
- return ""
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF2() string {
- if m != nil && m.F2 != nil {
- return *m.F2
- }
- return ""
-}
-
-func (m *Message_ExtensionRepeatedGroup) GetF3() []string {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func init() {
- proto.RegisterEnum("google.golang.org.proto2_20190205.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
- proto.RegisterEnum("google.golang.org.proto2_20190205.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
- proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto2_20190205.SiblingMessage")
- proto.RegisterExtension(E_Message_ExtensionOptionalBool)
- proto.RegisterExtension(E_Message_ExtensionOptionalInt32)
- proto.RegisterExtension(E_Message_ExtensionOptionalSint32)
- proto.RegisterExtension(E_Message_ExtensionOptionalUint32)
- proto.RegisterExtension(E_Message_ExtensionOptionalInt64)
- proto.RegisterExtension(E_Message_ExtensionOptionalSint64)
- proto.RegisterExtension(E_Message_ExtensionOptionalUint64)
- proto.RegisterExtension(E_Message_ExtensionOptionalFixed32)
- proto.RegisterExtension(E_Message_ExtensionOptionalSfixed32)
- proto.RegisterExtension(E_Message_ExtensionOptionalFloat)
- proto.RegisterExtension(E_Message_ExtensionOptionalFixed64)
- proto.RegisterExtension(E_Message_ExtensionOptionalSfixed64)
- proto.RegisterExtension(E_Message_ExtensionOptionalDouble)
- proto.RegisterExtension(E_Message_ExtensionOptionalString)
- proto.RegisterExtension(E_Message_ExtensionOptionalBytes)
- proto.RegisterExtension(E_Message_ExtensionOptionalChildEnum)
- proto.RegisterExtension(E_Message_ExtensionOptionalChildMessage)
- proto.RegisterExtension(E_Message_ExtensionOptionalNamedGroup)
- proto.RegisterExtension(E_Message_ExtensionOptionalSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionOptionalSiblingMessage)
- proto.RegisterExtension(E_Message_Extensionoptionalgroup)
- proto.RegisterExtension(E_Message_ExtensionDefaultedBool)
- proto.RegisterExtension(E_Message_ExtensionDefaultedInt32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSint32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedUint32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedInt64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSint64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedUint64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFixed32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed32)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFloat)
- proto.RegisterExtension(E_Message_ExtensionDefaultedFixed64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSfixed64)
- proto.RegisterExtension(E_Message_ExtensionDefaultedDouble)
- proto.RegisterExtension(E_Message_ExtensionDefaultedString)
- proto.RegisterExtension(E_Message_ExtensionDefaultedBytes)
- proto.RegisterExtension(E_Message_ExtensionDefaultedChildEnum)
- proto.RegisterExtension(E_Message_ExtensionDefaultedSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedBool)
- proto.RegisterExtension(E_Message_ExtensionRepeatedInt32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSint32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedUint32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedInt64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSint64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedUint64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFixed32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed32)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFloat)
- proto.RegisterExtension(E_Message_ExtensionRepeatedFixed64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSfixed64)
- proto.RegisterExtension(E_Message_ExtensionRepeatedDouble)
- proto.RegisterExtension(E_Message_ExtensionRepeatedString)
- proto.RegisterExtension(E_Message_ExtensionRepeatedBytes)
- proto.RegisterExtension(E_Message_ExtensionRepeatedChildEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedChildMessage)
- proto.RegisterExtension(E_Message_ExtensionRepeatedNamedGroup)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingEnum)
- proto.RegisterExtension(E_Message_ExtensionRepeatedSiblingMessage)
- proto.RegisterExtension(E_Message_Extensionrepeatedgroup)
- proto.RegisterType((*Message)(nil), "google.golang.org.proto2_20190205.Message")
- proto.RegisterMapType((map[bool]bool)(nil), "google.golang.org.proto2_20190205.Message.MapBoolBoolEntry")
- proto.RegisterMapType((map[bool][]byte)(nil), "google.golang.org.proto2_20190205.Message.MapBoolBytesEntry")
- proto.RegisterMapType((map[bool]Message_ChildEnum)(nil), "google.golang.org.proto2_20190205.Message.MapBoolChildEnumEntry")
- proto.RegisterMapType((map[bool]*Message_ChildMessage)(nil), "google.golang.org.proto2_20190205.Message.MapBoolChildMessageEntry")
- proto.RegisterMapType((map[bool]float64)(nil), "google.golang.org.proto2_20190205.Message.MapBoolDoubleEntry")
- proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto2_20190205.Message.MapBoolFixed32Entry")
- proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto2_20190205.Message.MapBoolFixed64Entry")
- proto.RegisterMapType((map[bool]float32)(nil), "google.golang.org.proto2_20190205.Message.MapBoolFloatEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20190205.Message.MapBoolInt32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20190205.Message.MapBoolInt64Entry")
- proto.RegisterMapType((map[bool]*Message_NamedGroup)(nil), "google.golang.org.proto2_20190205.Message.MapBoolNamedGroupEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20190205.Message.MapBoolSfixed32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20190205.Message.MapBoolSfixed64Entry")
- proto.RegisterMapType((map[bool]SiblingEnum)(nil), "google.golang.org.proto2_20190205.Message.MapBoolSiblingEnumEntry")
- proto.RegisterMapType((map[bool]*SiblingMessage)(nil), "google.golang.org.proto2_20190205.Message.MapBoolSiblingMessageEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto2_20190205.Message.MapBoolSint32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto2_20190205.Message.MapBoolSint64Entry")
- proto.RegisterMapType((map[bool]string)(nil), "google.golang.org.proto2_20190205.Message.MapBoolStringEntry")
- proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto2_20190205.Message.MapBoolUint32Entry")
- proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto2_20190205.Message.MapBoolUint64Entry")
- proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto2_20190205.Message.MapFixed32BoolEntry")
- proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto2_20190205.Message.MapInt32BoolEntry")
- proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto2_20190205.Message.MapInt64BoolEntry")
- proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto2_20190205.Message.MapSint32BoolEntry")
- proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto2_20190205.Message.MapSint64BoolEntry")
- proto.RegisterMapType((map[string]bool)(nil), "google.golang.org.proto2_20190205.Message.MapStringBoolEntry")
- proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto2_20190205.Message.MapUint32BoolEntry")
- proto.RegisterMapType((map[uint64]bool)(nil), "google.golang.org.proto2_20190205.Message.MapUint64BoolEntry")
- proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto2_20190205.Message.ChildMessage")
- proto.RegisterType((*Message_NamedGroup)(nil), "google.golang.org.proto2_20190205.Message.NamedGroup")
- proto.RegisterType((*Message_OptionalGroup)(nil), "google.golang.org.proto2_20190205.Message.OptionalGroup")
- proto.RegisterType((*Message_RequiredGroup)(nil), "google.golang.org.proto2_20190205.Message.RequiredGroup")
- proto.RegisterType((*Message_RepeatedGroup)(nil), "google.golang.org.proto2_20190205.Message.RepeatedGroup")
- proto.RegisterType((*Message_OneofGroup)(nil), "google.golang.org.proto2_20190205.Message.OneofGroup")
- proto.RegisterType((*Message_ExtensionOptionalGroup)(nil), "google.golang.org.proto2_20190205.Message.ExtensionOptionalGroup")
- proto.RegisterType((*Message_ExtensionRepeatedGroup)(nil), "google.golang.org.proto2_20190205.Message.ExtensionRepeatedGroup")
-}
-
-func init() {
- proto.RegisterFile("proto2_20190205_c823c79e/test.proto", fileDescriptor_3a17e2c63b2b3424)
-}
-
-var fileDescriptor_3a17e2c63b2b3424 = []byte{
- // 4469 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5c, 0x67, 0x70, 0x24, 0xc7,
- 0x75, 0xc6, 0xec, 0x62, 0x17, 0x87, 0x3e, 0x2c, 0xb0, 0x98, 0xbb, 0x03, 0xe6, 0x40, 0xd2, 0x5c,
- 0x41, 0xb2, 0xbc, 0xa6, 0x79, 0x38, 0x60, 0xd0, 0xe8, 0xe3, 0xad, 0x19, 0x04, 0x90, 0x47, 0x2d,
- 0x65, 0x71, 0xa9, 0x1a, 0xd6, 0xb9, 0x5c, 0x2e, 0x96, 0x61, 0xdc, 0x61, 0x81, 0x03, 0xb9, 0x01,
- 0x04, 0x76, 0x49, 0x9e, 0x25, 0x17, 0xcf, 0x72, 0xfc, 0x49, 0xe5, 0xb4, 0x92, 0x28, 0x66, 0x89,
- 0x51, 0x39, 0x31, 0x29, 0xd8, 0xa6, 0x72, 0x72, 0x90, 0x93,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xb1, 0x65, 0x1f, 0x67, 0xcb, 0x3e, 0xd3, 0xdd, 0x38, 0xbe, 0xd5, 0xea,
- 0xd4, 0x77, 0x5a, 0x6b, 0x0d, 0xf6, 0x3b, 0xb7, 0x6c, 0x74, 0xf7, 0x78, 0xa3, 0xbe, 0xb9, 0x76,
- 0xf6, 0xfc, 0xf1, 0xa4, 0x9f, 0xc4, 0xfd, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x51, 0x2c, 0x45,
- 0xc2, 0x2d, 0x57, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20190205_c823c79e/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20190205_c823c79e/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto2_20190205_c823c79e/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160225_2fc053c5/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160225_2fc053c5/test.pb.go
deleted file mode 100644
index 7fde665cd5..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160225_2fc053c5/test.pb.go
+++ /dev/null
@@ -1,1187 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go.
-// source: proto3_20160225_2fc053c5/test.proto
-// DO NOT EDIT!
-
-/*
-Package proto3_20160225_2fc053c5 is a generated protocol buffer package.
-
-It is generated from these files:
-
- proto3_20160225_2fc053c5/test.proto
-
-It has these top-level messages:
-
- SiblingMessage
- Message
-*/
-package proto3_20160225_2fc053c5
-
-import proto "google.golang.org/protobuf/internal/protolegacy"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-const _ = proto.ProtoPackageIsVersion1
-
-type SiblingEnum int32
-
-const (
- SiblingEnum_ALPHA SiblingEnum = 0
- SiblingEnum_BRAVO SiblingEnum = 10
- SiblingEnum_CHARLIE SiblingEnum = 200
-)
-
-var SiblingEnum_name = map[int32]string{
- 0: "ALPHA",
- 10: "BRAVO",
- 200: "CHARLIE",
-}
-var SiblingEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 10,
- "CHARLIE": 200,
-}
-
-func (x SiblingEnum) String() string {
- return proto.EnumName(SiblingEnum_name, int32(x))
-}
-func (SiblingEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-
-type Message_ChildEnum int32
-
-const (
- Message_ALPHA Message_ChildEnum = 0
- Message_BRAVO Message_ChildEnum = 1
- Message_CHARLIE Message_ChildEnum = 2
-)
-
-var Message_ChildEnum_name = map[int32]string{
- 0: "ALPHA",
- 1: "BRAVO",
- 2: "CHARLIE",
-}
-var Message_ChildEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 1,
- "CHARLIE": 2,
-}
-
-func (x Message_ChildEnum) String() string {
- return proto.EnumName(Message_ChildEnum_name, int32(x))
-}
-func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
-
-type SiblingMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
- F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
-}
-
-func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
-func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
-func (*SiblingMessage) ProtoMessage() {}
-func (*SiblingMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-
-func (m *SiblingMessage) GetF3() *Message {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message struct {
- // Optional fields.
- OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
- OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
- OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
- OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
- OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
- OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
- OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
- OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
- OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
- OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
- OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
- OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"`
- OptionalChildEnum Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto3_20160225.Message_ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
- OptionalSiblingEnum SiblingEnum `protobuf:"varint,117,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto3_20160225.SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,200,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,201,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,203,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,204,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,206,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,209,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,212,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,215,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto3_20160225.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
- RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,217,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto3_20160225.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,300,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,301,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,302,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,303,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,304,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,305,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,306,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,307,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,308,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,309,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,310,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,311,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,312,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolString map[bool]string `protobuf:"bytes,313,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,314,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,315,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20160225.Message_ChildEnum"`
- MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,316,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,317,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20160225.SiblingEnum"`
- MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,318,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,319,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,320,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,321,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,322,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,323,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,324,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,325,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapStringBool map[string]bool `protobuf:"bytes,326,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- // Oneof fields.
- //
- // Types that are valid to be assigned to OneofUnion:
- // *Message_OneofBool
- // *Message_OneofInt32
- // *Message_OneofSint32
- // *Message_OneofUint32
- // *Message_OneofInt64
- // *Message_OneofSint64
- // *Message_OneofUint64
- // *Message_OneofFixed32
- // *Message_OneofSfixed32
- // *Message_OneofFloat
- // *Message_OneofFixed64
- // *Message_OneofSfixed64
- // *Message_OneofDouble
- // *Message_OneofString
- // *Message_OneofBytes
- // *Message_OneofChildEnum
- // *Message_OneofChildMessage
- // *Message_OneofSiblingEnum
- // *Message_OneofSiblingMessage
- // *Message_OneofString1
- // *Message_OneofString2
- // *Message_OneofString3
- OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
-}
-
-func (m *Message) Reset() { *m = Message{} }
-func (m *Message) String() string { return proto.CompactTextString(m) }
-func (*Message) ProtoMessage() {}
-func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
-
-type isMessage_OneofUnion interface{ isMessage_OneofUnion() }
-
-type Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,json=oneofBool,oneof"`
-}
-type Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,json=oneofInt32,oneof"`
-}
-type Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,402,opt,name=oneof_sint32,json=oneofSint32,oneof"`
-}
-type Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,oneof"`
-}
-type Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,404,opt,name=oneof_int64,json=oneofInt64,oneof"`
-}
-type Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,405,opt,name=oneof_sint64,json=oneofSint64,oneof"`
-}
-type Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,406,opt,name=oneof_uint64,json=oneofUint64,oneof"`
-}
-type Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,407,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
-}
-type Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,408,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
-}
-type Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,409,opt,name=oneof_float,json=oneofFloat,oneof"`
-}
-type Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,410,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
-}
-type Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,411,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
-}
-type Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,412,opt,name=oneof_double,json=oneofDouble,oneof"`
-}
-type Message_OneofString struct {
- OneofString string `protobuf:"bytes,413,opt,name=oneof_string,json=oneofString,oneof"`
-}
-type Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,414,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
-}
-type Message_OneofChildEnum struct {
- OneofChildEnum Message_ChildEnum `protobuf:"varint,415,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto3_20160225.Message_ChildEnum,oneof"`
-}
-type Message_OneofChildMessage struct {
- OneofChildMessage *Message_ChildMessage `protobuf:"bytes,416,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
-}
-type Message_OneofSiblingEnum struct {
- OneofSiblingEnum SiblingEnum `protobuf:"varint,417,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto3_20160225.SiblingEnum,oneof"`
-}
-type Message_OneofSiblingMessage struct {
- OneofSiblingMessage *SiblingMessage `protobuf:"bytes,418,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
-}
-type Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,419,opt,name=oneof_string1,json=oneofString1,oneof"`
-}
-type Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,420,opt,name=oneof_string2,json=oneofString2,oneof"`
-}
-type Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,421,opt,name=oneof_string3,json=oneofString3,oneof"`
-}
-
-func (*Message_OneofBool) isMessage_OneofUnion() {}
-func (*Message_OneofInt32) isMessage_OneofUnion() {}
-func (*Message_OneofSint32) isMessage_OneofUnion() {}
-func (*Message_OneofUint32) isMessage_OneofUnion() {}
-func (*Message_OneofInt64) isMessage_OneofUnion() {}
-func (*Message_OneofSint64) isMessage_OneofUnion() {}
-func (*Message_OneofUint64) isMessage_OneofUnion() {}
-func (*Message_OneofFixed32) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
-func (*Message_OneofFloat) isMessage_OneofUnion() {}
-func (*Message_OneofFixed64) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
-func (*Message_OneofDouble) isMessage_OneofUnion() {}
-func (*Message_OneofString) isMessage_OneofUnion() {}
-func (*Message_OneofBytes) isMessage_OneofUnion() {}
-func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
-func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
-func (*Message_OneofString1) isMessage_OneofUnion() {}
-func (*Message_OneofString2) isMessage_OneofUnion() {}
-func (*Message_OneofString3) isMessage_OneofUnion() {}
-
-func (m *Message) GetOneofUnion() isMessage_OneofUnion {
- if m != nil {
- return m.OneofUnion
- }
- return nil
-}
-
-func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.OptionalChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.OptionalSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
- if m != nil {
- return m.RepeatedChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
- if m != nil {
- return m.RepeatedSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBool() map[bool]bool {
- if m != nil {
- return m.MapBoolBool
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt32() map[bool]int32 {
- if m != nil {
- return m.MapBoolInt32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolUint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt64() map[bool]int64 {
- if m != nil {
- return m.MapBoolInt64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolUint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolFixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSfixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFloat() map[bool]float32 {
- if m != nil {
- return m.MapBoolFloat
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolFixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSfixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolDouble() map[bool]float64 {
- if m != nil {
- return m.MapBoolDouble
- }
- return nil
-}
-
-func (m *Message) GetMapBoolString() map[bool]string {
- if m != nil {
- return m.MapBoolString
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBytes() map[bool][]byte {
- if m != nil {
- return m.MapBoolBytes
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
- if m != nil {
- return m.MapBoolChildEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
- if m != nil {
- return m.MapBoolChildMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
- if m != nil {
- return m.MapBoolSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
- if m != nil {
- return m.MapBoolSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapInt32Bool() map[int32]bool {
- if m != nil {
- return m.MapInt32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint32Bool() map[int32]bool {
- if m != nil {
- return m.MapSint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint32Bool() map[uint32]bool {
- if m != nil {
- return m.MapUint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapInt64Bool() map[int64]bool {
- if m != nil {
- return m.MapInt64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint64Bool() map[int64]bool {
- if m != nil {
- return m.MapSint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint64Bool() map[uint64]bool {
- if m != nil {
- return m.MapUint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapFixed32Bool() map[uint32]bool {
- if m != nil {
- return m.MapFixed32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapStringBool() map[string]bool {
- if m != nil {
- return m.MapStringBool
- }
- return nil
-}
-
-func (m *Message) GetOneofBool() bool {
- if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (m *Message) GetOneofInt32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
- return x.OneofInt32
- }
- return 0
-}
-
-func (m *Message) GetOneofSint32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
- return x.OneofSint32
- }
- return 0
-}
-
-func (m *Message) GetOneofUint32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (m *Message) GetOneofInt64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
- return x.OneofInt64
- }
- return 0
-}
-
-func (m *Message) GetOneofSint64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
- return x.OneofSint64
- }
- return 0
-}
-
-func (m *Message) GetOneofUint64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
- return x.OneofFixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
- return x.OneofSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofFloat() float32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
- return x.OneofFixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
- return x.OneofSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofDouble() float64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (m *Message) GetOneofString() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (m *Message) GetOneofBytes() []byte {
- if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (m *Message) GetOneofChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
- return x.OneofChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
- return x.OneofChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
- return x.OneofSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
- return x.OneofSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofString1() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
- return x.OneofString1
- }
- return ""
-}
-
-func (m *Message) GetOneofString2() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
- return x.OneofString2
- }
- return ""
-}
-
-func (m *Message) GetOneofString3() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
- return x.OneofString3
- }
- return ""
-}
-
-// XXX_OneofFuncs is for the internal use of the proto package.
-func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
- return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
- (*Message_OneofBool)(nil),
- (*Message_OneofInt32)(nil),
- (*Message_OneofSint32)(nil),
- (*Message_OneofUint32)(nil),
- (*Message_OneofInt64)(nil),
- (*Message_OneofSint64)(nil),
- (*Message_OneofUint64)(nil),
- (*Message_OneofFixed32)(nil),
- (*Message_OneofSfixed32)(nil),
- (*Message_OneofFloat)(nil),
- (*Message_OneofFixed64)(nil),
- (*Message_OneofSfixed64)(nil),
- (*Message_OneofDouble)(nil),
- (*Message_OneofString)(nil),
- (*Message_OneofBytes)(nil),
- (*Message_OneofChildEnum)(nil),
- (*Message_OneofChildMessage)(nil),
- (*Message_OneofSiblingEnum)(nil),
- (*Message_OneofSiblingMessage)(nil),
- (*Message_OneofString1)(nil),
- (*Message_OneofString2)(nil),
- (*Message_OneofString3)(nil),
- }
-}
-
-func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- t := uint64(0)
- if x.OneofBool {
- t = 1
- }
- b.EncodeVarint(400<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofInt32:
- b.EncodeVarint(401<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- b.EncodeVarint(402<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofSint32))
- case *Message_OneofUint32:
- b.EncodeVarint(403<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- b.EncodeVarint(404<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- b.EncodeVarint(405<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofSint64))
- case *Message_OneofUint64:
- b.EncodeVarint(406<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- b.EncodeVarint(407<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofFixed32))
- case *Message_OneofSfixed32:
- b.EncodeVarint(408<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofSfixed32))
- case *Message_OneofFloat:
- b.EncodeVarint(409<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
- case *Message_OneofFixed64:
- b.EncodeVarint(410<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofFixed64))
- case *Message_OneofSfixed64:
- b.EncodeVarint(411<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofSfixed64))
- case *Message_OneofDouble:
- b.EncodeVarint(412<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDouble))
- case *Message_OneofString:
- b.EncodeVarint(413<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString)
- case *Message_OneofBytes:
- b.EncodeVarint(414<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofBytes)
- case *Message_OneofChildEnum:
- b.EncodeVarint(415<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- b.EncodeVarint(416<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
- return err
- }
- case *Message_OneofSiblingEnum:
- b.EncodeVarint(417<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- b.EncodeVarint(418<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
- return err
- }
- case *Message_OneofString1:
- b.EncodeVarint(419<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString1)
- case *Message_OneofString2:
- b.EncodeVarint(420<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString2)
- case *Message_OneofString3:
- b.EncodeVarint(421<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString3)
- case nil:
- default:
- return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
- }
- return nil
-}
-
-func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*Message)
- switch tag {
- case 400: // oneof_union.oneof_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofBool{x != 0}
- return true, err
- case 401: // oneof_union.oneof_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt32{int32(x)}
- return true, err
- case 402: // oneof_union.oneof_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofUnion = &Message_OneofSint32{int32(x)}
- return true, err
- case 403: // oneof_union.oneof_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint32{uint32(x)}
- return true, err
- case 404: // oneof_union.oneof_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt64{int64(x)}
- return true, err
- case 405: // oneof_union.oneof_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofUnion = &Message_OneofSint64{int64(x)}
- return true, err
- case 406: // oneof_union.oneof_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint64{x}
- return true, err
- case 407: // oneof_union.oneof_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFixed32{uint32(x)}
- return true, err
- case 408: // oneof_union.oneof_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofSfixed32{int32(x)}
- return true, err
- case 409: // oneof_union.oneof_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 410: // oneof_union.oneof_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofFixed64{x}
- return true, err
- case 411: // oneof_union.oneof_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofSfixed64{int64(x)}
- return true, err
- case 412: // oneof_union.oneof_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
- return true, err
- case 413: // oneof_union.oneof_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString{x}
- return true, err
- case 414: // oneof_union.oneof_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofUnion = &Message_OneofBytes{x}
- return true, err
- case 415: // oneof_union.oneof_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
- return true, err
- case 416: // oneof_union.oneof_child_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_ChildMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofChildMessage{msg}
- return true, err
- case 417: // oneof_union.oneof_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
- return true, err
- case 418: // oneof_union.oneof_sibling_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(SiblingMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofSiblingMessage{msg}
- return true, err
- case 419: // oneof_union.oneof_string1
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString1{x}
- return true, err
- case 420: // oneof_union.oneof_string2
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString2{x}
- return true, err
- case 421: // oneof_union.oneof_string3
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString3{x}
- return true, err
- default:
- return false, nil
- }
-}
-
-func _Message_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- n += proto.SizeVarint(400<<3 | proto.WireVarint)
- n += 1
- case *Message_OneofInt32:
- n += proto.SizeVarint(401<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- n += proto.SizeVarint(402<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
- case *Message_OneofUint32:
- n += proto.SizeVarint(403<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- n += proto.SizeVarint(404<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- n += proto.SizeVarint(405<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
- case *Message_OneofUint64:
- n += proto.SizeVarint(406<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- n += proto.SizeVarint(407<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofSfixed32:
- n += proto.SizeVarint(408<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofFloat:
- n += proto.SizeVarint(409<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofFixed64:
- n += proto.SizeVarint(410<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofSfixed64:
- n += proto.SizeVarint(411<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDouble:
- n += proto.SizeVarint(412<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofString:
- n += proto.SizeVarint(413<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString)))
- n += len(x.OneofString)
- case *Message_OneofBytes:
- n += proto.SizeVarint(414<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofBytes)))
- n += len(x.OneofBytes)
- case *Message_OneofChildEnum:
- n += proto.SizeVarint(415<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- s := proto.Size(x.OneofChildMessage)
- n += proto.SizeVarint(416<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofSiblingEnum:
- n += proto.SizeVarint(417<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- s := proto.Size(x.OneofSiblingMessage)
- n += proto.SizeVarint(418<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofString1:
- n += proto.SizeVarint(419<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString1)))
- n += len(x.OneofString1)
- case *Message_OneofString2:
- n += proto.SizeVarint(420<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString2)))
- n += len(x.OneofString2)
- case *Message_OneofString3:
- n += proto.SizeVarint(421<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString3)))
- n += len(x.OneofString3)
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
-}
-
-type Message_ChildMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
- F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
-}
-
-func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
-func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
-func (*Message_ChildMessage) ProtoMessage() {}
-func (*Message_ChildMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
-
-func (m *Message_ChildMessage) GetF3() *Message {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto3_20160225.SiblingMessage")
- proto.RegisterType((*Message)(nil), "google.golang.org.proto3_20160225.Message")
- proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto3_20160225.Message.ChildMessage")
- proto.RegisterEnum("google.golang.org.proto3_20160225.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
- proto.RegisterEnum("google.golang.org.proto3_20160225.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
-}
-
-var fileDescriptor0 = []byte{
- // 1946 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x9a, 0x57, 0x73, 0xdb, 0xca,
- 0x15, 0xc7, 0x09, 0x52, 0xc5, 0x5a, 0xb1, 0x82, 0x96, 0xb2, 0xa3, 0x27, 0x44, 0x76, 0x1c, 0xc4,
- 0xc9, 0x50, 0x16, 0x09, 0x23, 0x19, 0x27, 0xb1, 0x2d, 0xd9, 0x72, 0xe8, 0x8c, 0x9d, 0x78, 0xe0,
- 0x51, 0x1e, 0xf2, 0xa2, 0x50, 0x12, 0x48, 0xd3, 0x06, 0x09, 0x45, 0x24, 0x3d, 0xd1, 0xe4, 0xc1,
- 0x5f, 0x21, 0xf5, 0xf6, 0x5e, 0xde, 0x6e, 0xef, 0xbd, 0xfb, 0x8e, 0x6f, 0xef, 0xf5, 0xd3, 0xdc,
- 0x59, 0x1c, 0x6c, 0x03, 0x40, 0x93, 0x04, 0xe7, 0x3e, 0x78, 0x46, 0x3a, 0xfc, 0xef, 0xf9, 0xf1,
- 0x1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0xec, 0xd5,
- 0x97, 0x9a, 0xed, 0xae, 0xbd, 0xdb, 0xae, 0x39, 0xde, 0x5f, 0x4f, 0x78, 0xd6, 0xce, 0x92, 0x63,
- 0x37, 0x6a, 0x5b, 0x7b, 0x4b, 0xfd, 0xfe, 0xd0, 0x62, 0x73, 0x0a, 0x3e, 0xf9, 0x21, 0x00, 0x00,
- 0xff, 0xff, 0x64, 0x49, 0xbf, 0xf0, 0x8b, 0x21, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160225_2fc053c5/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160225_2fc053c5/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160225_2fc053c5/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/test.pb.go
deleted file mode 100644
index 6f426304c7..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/test.pb.go
+++ /dev/null
@@ -1,1187 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go.
-// source: proto3_20160519_a4ab9ec5/test.proto
-// DO NOT EDIT!
-
-/*
-Package proto3_20160519_a4ab9ec5 is a generated protocol buffer package.
-
-It is generated from these files:
-
- proto3_20160519_a4ab9ec5/test.proto
-
-It has these top-level messages:
-
- SiblingMessage
- Message
-*/
-package proto3_20160519_a4ab9ec5
-
-import proto "google.golang.org/protobuf/internal/protolegacy"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-const _ = proto.ProtoPackageIsVersion1
-
-type SiblingEnum int32
-
-const (
- SiblingEnum_ALPHA SiblingEnum = 0
- SiblingEnum_BRAVO SiblingEnum = 10
- SiblingEnum_CHARLIE SiblingEnum = 200
-)
-
-var SiblingEnum_name = map[int32]string{
- 0: "ALPHA",
- 10: "BRAVO",
- 200: "CHARLIE",
-}
-var SiblingEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 10,
- "CHARLIE": 200,
-}
-
-func (x SiblingEnum) String() string {
- return proto.EnumName(SiblingEnum_name, int32(x))
-}
-func (SiblingEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-
-type Message_ChildEnum int32
-
-const (
- Message_ALPHA Message_ChildEnum = 0
- Message_BRAVO Message_ChildEnum = 1
- Message_CHARLIE Message_ChildEnum = 2
-)
-
-var Message_ChildEnum_name = map[int32]string{
- 0: "ALPHA",
- 1: "BRAVO",
- 2: "CHARLIE",
-}
-var Message_ChildEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 1,
- "CHARLIE": 2,
-}
-
-func (x Message_ChildEnum) String() string {
- return proto.EnumName(Message_ChildEnum_name, int32(x))
-}
-func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
-
-type SiblingMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
- F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
-}
-
-func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
-func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
-func (*SiblingMessage) ProtoMessage() {}
-func (*SiblingMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-
-func (m *SiblingMessage) GetF3() *Message {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message struct {
- // Optional fields.
- OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
- OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
- OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
- OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
- OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
- OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
- OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
- OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
- OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
- OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
- OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
- OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"`
- OptionalChildEnum Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto3_20160519.Message_ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
- OptionalSiblingEnum SiblingEnum `protobuf:"varint,117,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto3_20160519.SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,200,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,201,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,203,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,204,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,206,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,209,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,212,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,215,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto3_20160519.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
- RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,217,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto3_20160519.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,300,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,301,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,302,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,303,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,304,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,305,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,306,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,307,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,308,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,309,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,310,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,311,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,312,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolString map[bool]string `protobuf:"bytes,313,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,314,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,315,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20160519.Message_ChildEnum"`
- MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,316,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,317,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20160519.SiblingEnum"`
- MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,318,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,319,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,320,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,321,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,322,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,323,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,324,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,325,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapStringBool map[string]bool `protobuf:"bytes,326,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- // Oneof fields.
- //
- // Types that are valid to be assigned to OneofUnion:
- // *Message_OneofBool
- // *Message_OneofInt32
- // *Message_OneofSint32
- // *Message_OneofUint32
- // *Message_OneofInt64
- // *Message_OneofSint64
- // *Message_OneofUint64
- // *Message_OneofFixed32
- // *Message_OneofSfixed32
- // *Message_OneofFloat
- // *Message_OneofFixed64
- // *Message_OneofSfixed64
- // *Message_OneofDouble
- // *Message_OneofString
- // *Message_OneofBytes
- // *Message_OneofChildEnum
- // *Message_OneofChildMessage
- // *Message_OneofSiblingEnum
- // *Message_OneofSiblingMessage
- // *Message_OneofString1
- // *Message_OneofString2
- // *Message_OneofString3
- OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
-}
-
-func (m *Message) Reset() { *m = Message{} }
-func (m *Message) String() string { return proto.CompactTextString(m) }
-func (*Message) ProtoMessage() {}
-func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
-
-type isMessage_OneofUnion interface{ isMessage_OneofUnion() }
-
-type Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,json=oneofBool,oneof"`
-}
-type Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,json=oneofInt32,oneof"`
-}
-type Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,402,opt,name=oneof_sint32,json=oneofSint32,oneof"`
-}
-type Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,oneof"`
-}
-type Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,404,opt,name=oneof_int64,json=oneofInt64,oneof"`
-}
-type Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,405,opt,name=oneof_sint64,json=oneofSint64,oneof"`
-}
-type Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,406,opt,name=oneof_uint64,json=oneofUint64,oneof"`
-}
-type Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,407,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
-}
-type Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,408,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
-}
-type Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,409,opt,name=oneof_float,json=oneofFloat,oneof"`
-}
-type Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,410,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
-}
-type Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,411,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
-}
-type Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,412,opt,name=oneof_double,json=oneofDouble,oneof"`
-}
-type Message_OneofString struct {
- OneofString string `protobuf:"bytes,413,opt,name=oneof_string,json=oneofString,oneof"`
-}
-type Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,414,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
-}
-type Message_OneofChildEnum struct {
- OneofChildEnum Message_ChildEnum `protobuf:"varint,415,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto3_20160519.Message_ChildEnum,oneof"`
-}
-type Message_OneofChildMessage struct {
- OneofChildMessage *Message_ChildMessage `protobuf:"bytes,416,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
-}
-type Message_OneofSiblingEnum struct {
- OneofSiblingEnum SiblingEnum `protobuf:"varint,417,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto3_20160519.SiblingEnum,oneof"`
-}
-type Message_OneofSiblingMessage struct {
- OneofSiblingMessage *SiblingMessage `protobuf:"bytes,418,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
-}
-type Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,419,opt,name=oneof_string1,json=oneofString1,oneof"`
-}
-type Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,420,opt,name=oneof_string2,json=oneofString2,oneof"`
-}
-type Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,421,opt,name=oneof_string3,json=oneofString3,oneof"`
-}
-
-func (*Message_OneofBool) isMessage_OneofUnion() {}
-func (*Message_OneofInt32) isMessage_OneofUnion() {}
-func (*Message_OneofSint32) isMessage_OneofUnion() {}
-func (*Message_OneofUint32) isMessage_OneofUnion() {}
-func (*Message_OneofInt64) isMessage_OneofUnion() {}
-func (*Message_OneofSint64) isMessage_OneofUnion() {}
-func (*Message_OneofUint64) isMessage_OneofUnion() {}
-func (*Message_OneofFixed32) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
-func (*Message_OneofFloat) isMessage_OneofUnion() {}
-func (*Message_OneofFixed64) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
-func (*Message_OneofDouble) isMessage_OneofUnion() {}
-func (*Message_OneofString) isMessage_OneofUnion() {}
-func (*Message_OneofBytes) isMessage_OneofUnion() {}
-func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
-func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
-func (*Message_OneofString1) isMessage_OneofUnion() {}
-func (*Message_OneofString2) isMessage_OneofUnion() {}
-func (*Message_OneofString3) isMessage_OneofUnion() {}
-
-func (m *Message) GetOneofUnion() isMessage_OneofUnion {
- if m != nil {
- return m.OneofUnion
- }
- return nil
-}
-
-func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.OptionalChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.OptionalSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
- if m != nil {
- return m.RepeatedChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
- if m != nil {
- return m.RepeatedSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBool() map[bool]bool {
- if m != nil {
- return m.MapBoolBool
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt32() map[bool]int32 {
- if m != nil {
- return m.MapBoolInt32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolUint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt64() map[bool]int64 {
- if m != nil {
- return m.MapBoolInt64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolUint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolFixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSfixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFloat() map[bool]float32 {
- if m != nil {
- return m.MapBoolFloat
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolFixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSfixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolDouble() map[bool]float64 {
- if m != nil {
- return m.MapBoolDouble
- }
- return nil
-}
-
-func (m *Message) GetMapBoolString() map[bool]string {
- if m != nil {
- return m.MapBoolString
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBytes() map[bool][]byte {
- if m != nil {
- return m.MapBoolBytes
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
- if m != nil {
- return m.MapBoolChildEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
- if m != nil {
- return m.MapBoolChildMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
- if m != nil {
- return m.MapBoolSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
- if m != nil {
- return m.MapBoolSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapInt32Bool() map[int32]bool {
- if m != nil {
- return m.MapInt32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint32Bool() map[int32]bool {
- if m != nil {
- return m.MapSint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint32Bool() map[uint32]bool {
- if m != nil {
- return m.MapUint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapInt64Bool() map[int64]bool {
- if m != nil {
- return m.MapInt64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint64Bool() map[int64]bool {
- if m != nil {
- return m.MapSint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint64Bool() map[uint64]bool {
- if m != nil {
- return m.MapUint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapFixed32Bool() map[uint32]bool {
- if m != nil {
- return m.MapFixed32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapStringBool() map[string]bool {
- if m != nil {
- return m.MapStringBool
- }
- return nil
-}
-
-func (m *Message) GetOneofBool() bool {
- if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (m *Message) GetOneofInt32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
- return x.OneofInt32
- }
- return 0
-}
-
-func (m *Message) GetOneofSint32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
- return x.OneofSint32
- }
- return 0
-}
-
-func (m *Message) GetOneofUint32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (m *Message) GetOneofInt64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
- return x.OneofInt64
- }
- return 0
-}
-
-func (m *Message) GetOneofSint64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
- return x.OneofSint64
- }
- return 0
-}
-
-func (m *Message) GetOneofUint64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
- return x.OneofFixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
- return x.OneofSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofFloat() float32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
- return x.OneofFixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
- return x.OneofSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofDouble() float64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (m *Message) GetOneofString() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (m *Message) GetOneofBytes() []byte {
- if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (m *Message) GetOneofChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
- return x.OneofChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
- return x.OneofChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
- return x.OneofSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
- return x.OneofSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofString1() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
- return x.OneofString1
- }
- return ""
-}
-
-func (m *Message) GetOneofString2() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
- return x.OneofString2
- }
- return ""
-}
-
-func (m *Message) GetOneofString3() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
- return x.OneofString3
- }
- return ""
-}
-
-// XXX_OneofFuncs is for the internal use of the proto package.
-func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
- return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
- (*Message_OneofBool)(nil),
- (*Message_OneofInt32)(nil),
- (*Message_OneofSint32)(nil),
- (*Message_OneofUint32)(nil),
- (*Message_OneofInt64)(nil),
- (*Message_OneofSint64)(nil),
- (*Message_OneofUint64)(nil),
- (*Message_OneofFixed32)(nil),
- (*Message_OneofSfixed32)(nil),
- (*Message_OneofFloat)(nil),
- (*Message_OneofFixed64)(nil),
- (*Message_OneofSfixed64)(nil),
- (*Message_OneofDouble)(nil),
- (*Message_OneofString)(nil),
- (*Message_OneofBytes)(nil),
- (*Message_OneofChildEnum)(nil),
- (*Message_OneofChildMessage)(nil),
- (*Message_OneofSiblingEnum)(nil),
- (*Message_OneofSiblingMessage)(nil),
- (*Message_OneofString1)(nil),
- (*Message_OneofString2)(nil),
- (*Message_OneofString3)(nil),
- }
-}
-
-func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- t := uint64(0)
- if x.OneofBool {
- t = 1
- }
- b.EncodeVarint(400<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofInt32:
- b.EncodeVarint(401<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- b.EncodeVarint(402<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofSint32))
- case *Message_OneofUint32:
- b.EncodeVarint(403<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- b.EncodeVarint(404<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- b.EncodeVarint(405<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofSint64))
- case *Message_OneofUint64:
- b.EncodeVarint(406<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- b.EncodeVarint(407<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofFixed32))
- case *Message_OneofSfixed32:
- b.EncodeVarint(408<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofSfixed32))
- case *Message_OneofFloat:
- b.EncodeVarint(409<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
- case *Message_OneofFixed64:
- b.EncodeVarint(410<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofFixed64))
- case *Message_OneofSfixed64:
- b.EncodeVarint(411<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofSfixed64))
- case *Message_OneofDouble:
- b.EncodeVarint(412<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDouble))
- case *Message_OneofString:
- b.EncodeVarint(413<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString)
- case *Message_OneofBytes:
- b.EncodeVarint(414<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofBytes)
- case *Message_OneofChildEnum:
- b.EncodeVarint(415<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- b.EncodeVarint(416<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
- return err
- }
- case *Message_OneofSiblingEnum:
- b.EncodeVarint(417<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- b.EncodeVarint(418<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
- return err
- }
- case *Message_OneofString1:
- b.EncodeVarint(419<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString1)
- case *Message_OneofString2:
- b.EncodeVarint(420<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString2)
- case *Message_OneofString3:
- b.EncodeVarint(421<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString3)
- case nil:
- default:
- return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
- }
- return nil
-}
-
-func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*Message)
- switch tag {
- case 400: // oneof_union.oneof_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofBool{x != 0}
- return true, err
- case 401: // oneof_union.oneof_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt32{int32(x)}
- return true, err
- case 402: // oneof_union.oneof_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofUnion = &Message_OneofSint32{int32(x)}
- return true, err
- case 403: // oneof_union.oneof_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint32{uint32(x)}
- return true, err
- case 404: // oneof_union.oneof_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt64{int64(x)}
- return true, err
- case 405: // oneof_union.oneof_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofUnion = &Message_OneofSint64{int64(x)}
- return true, err
- case 406: // oneof_union.oneof_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint64{x}
- return true, err
- case 407: // oneof_union.oneof_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFixed32{uint32(x)}
- return true, err
- case 408: // oneof_union.oneof_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofSfixed32{int32(x)}
- return true, err
- case 409: // oneof_union.oneof_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 410: // oneof_union.oneof_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofFixed64{x}
- return true, err
- case 411: // oneof_union.oneof_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofSfixed64{int64(x)}
- return true, err
- case 412: // oneof_union.oneof_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
- return true, err
- case 413: // oneof_union.oneof_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString{x}
- return true, err
- case 414: // oneof_union.oneof_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofUnion = &Message_OneofBytes{x}
- return true, err
- case 415: // oneof_union.oneof_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
- return true, err
- case 416: // oneof_union.oneof_child_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_ChildMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofChildMessage{msg}
- return true, err
- case 417: // oneof_union.oneof_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
- return true, err
- case 418: // oneof_union.oneof_sibling_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(SiblingMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofSiblingMessage{msg}
- return true, err
- case 419: // oneof_union.oneof_string1
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString1{x}
- return true, err
- case 420: // oneof_union.oneof_string2
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString2{x}
- return true, err
- case 421: // oneof_union.oneof_string3
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString3{x}
- return true, err
- default:
- return false, nil
- }
-}
-
-func _Message_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- n += proto.SizeVarint(400<<3 | proto.WireVarint)
- n += 1
- case *Message_OneofInt32:
- n += proto.SizeVarint(401<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- n += proto.SizeVarint(402<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
- case *Message_OneofUint32:
- n += proto.SizeVarint(403<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- n += proto.SizeVarint(404<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- n += proto.SizeVarint(405<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
- case *Message_OneofUint64:
- n += proto.SizeVarint(406<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- n += proto.SizeVarint(407<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofSfixed32:
- n += proto.SizeVarint(408<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofFloat:
- n += proto.SizeVarint(409<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofFixed64:
- n += proto.SizeVarint(410<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofSfixed64:
- n += proto.SizeVarint(411<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDouble:
- n += proto.SizeVarint(412<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofString:
- n += proto.SizeVarint(413<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString)))
- n += len(x.OneofString)
- case *Message_OneofBytes:
- n += proto.SizeVarint(414<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofBytes)))
- n += len(x.OneofBytes)
- case *Message_OneofChildEnum:
- n += proto.SizeVarint(415<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- s := proto.Size(x.OneofChildMessage)
- n += proto.SizeVarint(416<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofSiblingEnum:
- n += proto.SizeVarint(417<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- s := proto.Size(x.OneofSiblingMessage)
- n += proto.SizeVarint(418<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofString1:
- n += proto.SizeVarint(419<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString1)))
- n += len(x.OneofString1)
- case *Message_OneofString2:
- n += proto.SizeVarint(420<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString2)))
- n += len(x.OneofString2)
- case *Message_OneofString3:
- n += proto.SizeVarint(421<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString3)))
- n += len(x.OneofString3)
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
-}
-
-type Message_ChildMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
- F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
-}
-
-func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
-func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
-func (*Message_ChildMessage) ProtoMessage() {}
-func (*Message_ChildMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
-
-func (m *Message_ChildMessage) GetF3() *Message {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto3_20160519.SiblingMessage")
- proto.RegisterType((*Message)(nil), "google.golang.org.proto3_20160519.Message")
- proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto3_20160519.Message.ChildMessage")
- proto.RegisterEnum("google.golang.org.proto3_20160519.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
- proto.RegisterEnum("google.golang.org.proto3_20160519.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
-}
-
-var fileDescriptor0 = []byte{
- // 1947 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x9a, 0x57, 0x73, 0xdb, 0xca,
- 0x15, 0xc7, 0x09, 0x52, 0xc5, 0x5a, 0xb1, 0x82, 0x96, 0xb2, 0xa3, 0x27, 0x44, 0x76, 0x1c, 0xc4,
- 0xc9, 0x50, 0x26, 0x05, 0x23, 0xb1, 0x93, 0xd8, 0x96, 0x6c, 0x39, 0x74, 0xc6, 0x4e, 0x3c, 0xf0,
- 0x28, 0x0f, 0x79, 0x51, 0x48, 0x09, 0xa4, 0x69, 0x83, 0x84, 0x22, 0x92, 0x9e, 0x68, 0xf2, 0xe0,
- 0xaf, 0x90, 0xde, 0xeb, 0x2d, 0x6f, 0xb7, 0xf7, 0xde, 0x7d, 0xc7, 0xb7, 0xf7, 0xfa, 0x69, 0xee,
- 0x2c, 0x0e, 0xb6, 0x01, 0xa0, 0x49, 0x82, 0x73, 0x1f, 0x3c, 0x23, 0x1d, 0xfe, 0xf7, 0xfc, 0x78,
- 0x0e, 0xce, 0x9e, 0xb3, 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d5, 0x6f, 0xbd, 0xdf,
- 0x58, 0x69, 0x75, 0x7a, 0xf6, 0x5e, 0xa7, 0xe6, 0x78, 0x7f, 0x3d, 0xe1, 0x59, 0xbb, 0x2b, 0x8e,
- 0xdd, 0xac, 0x6d, 0xef, 0xaf, 0x0c, 0xfa, 0x43, 0x8b, 0xfa, 0x0c, 0x7c, 0xf2, 0x55, 0x00, 0x00,
- 0x00, 0xff, 0xff, 0xb9, 0x46, 0x32, 0x11, 0x8b, 0x21, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180125_92554152/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180125_92554152/test.pb.go
deleted file mode 100644
index 1cd6cc66c9..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180125_92554152/test.pb.go
+++ /dev/null
@@ -1,1456 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: proto3_20180125_92554152/test.proto
-
-/*
-Package proto3_20180125_92554152 is a generated protocol buffer package.
-
-It is generated from these files:
-
- proto3_20180125_92554152/test.proto
-
-It has these top-level messages:
-
- SiblingMessage
- Message
-*/
-package proto3_20180125_92554152
-
-import proto "google.golang.org/protobuf/internal/protolegacy"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-type SiblingEnum int32
-
-const (
- SiblingEnum_ALPHA SiblingEnum = 0
- SiblingEnum_BRAVO SiblingEnum = 10
- SiblingEnum_CHARLIE SiblingEnum = 200
-)
-
-var SiblingEnum_name = map[int32]string{
- 0: "ALPHA",
- 10: "BRAVO",
- 200: "CHARLIE",
-}
-var SiblingEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 10,
- "CHARLIE": 200,
-}
-
-func (x SiblingEnum) String() string {
- return proto.EnumName(SiblingEnum_name, int32(x))
-}
-func (SiblingEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-
-type Message_ChildEnum int32
-
-const (
- Message_ALPHA Message_ChildEnum = 0
- Message_BRAVO Message_ChildEnum = 1
- Message_CHARLIE Message_ChildEnum = 2
-)
-
-var Message_ChildEnum_name = map[int32]string{
- 0: "ALPHA",
- 1: "BRAVO",
- 2: "CHARLIE",
-}
-var Message_ChildEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 1,
- "CHARLIE": 2,
-}
-
-func (x Message_ChildEnum) String() string {
- return proto.EnumName(Message_ChildEnum_name, int32(x))
-}
-func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
-
-type SiblingMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
- F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
-}
-
-func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
-func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
-func (*SiblingMessage) ProtoMessage() {}
-func (*SiblingMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
-
-func (m *SiblingMessage) GetF1() string {
- if m != nil {
- return m.F1
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF2() []string {
- if m != nil {
- return m.F2
- }
- return nil
-}
-
-func (m *SiblingMessage) GetF3() *Message {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message struct {
- // Optional fields.
- OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
- OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
- OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
- OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
- OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
- OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
- OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
- OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
- OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
- OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
- OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
- OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"`
- OptionalChildEnum Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto3_20180125.Message_ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
- OptionalSiblingEnum SiblingEnum `protobuf:"varint,117,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto3_20180125.SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,200,rep,packed,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,201,rep,packed,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,packed,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,203,rep,packed,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,204,rep,packed,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,packed,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,206,rep,packed,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,packed,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,209,rep,packed,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,packed,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,212,rep,packed,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,215,rep,packed,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto3_20180125.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
- RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,217,rep,packed,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto3_20180125.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,300,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,301,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,302,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,303,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,304,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,305,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,306,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,307,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,308,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,309,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,310,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,311,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,312,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolString map[bool]string `protobuf:"bytes,313,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,314,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,315,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20180125.Message_ChildEnum"`
- MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,316,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,317,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20180125.SiblingEnum"`
- MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,318,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,319,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,320,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,321,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,322,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,323,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,324,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,325,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapStringBool map[string]bool `protobuf:"bytes,326,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- // Oneof fields.
- //
- // Types that are valid to be assigned to OneofUnion:
- // *Message_OneofBool
- // *Message_OneofInt32
- // *Message_OneofSint32
- // *Message_OneofUint32
- // *Message_OneofInt64
- // *Message_OneofSint64
- // *Message_OneofUint64
- // *Message_OneofFixed32
- // *Message_OneofSfixed32
- // *Message_OneofFloat
- // *Message_OneofFixed64
- // *Message_OneofSfixed64
- // *Message_OneofDouble
- // *Message_OneofString
- // *Message_OneofBytes
- // *Message_OneofChildEnum
- // *Message_OneofChildMessage
- // *Message_OneofSiblingEnum
- // *Message_OneofSiblingMessage
- // *Message_OneofString1
- // *Message_OneofString2
- // *Message_OneofString3
- OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
-}
-
-func (m *Message) Reset() { *m = Message{} }
-func (m *Message) String() string { return proto.CompactTextString(m) }
-func (*Message) ProtoMessage() {}
-func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
-
-type isMessage_OneofUnion interface{ isMessage_OneofUnion() }
-
-type Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,json=oneofBool,oneof"`
-}
-type Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,json=oneofInt32,oneof"`
-}
-type Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,402,opt,name=oneof_sint32,json=oneofSint32,oneof"`
-}
-type Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,oneof"`
-}
-type Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,404,opt,name=oneof_int64,json=oneofInt64,oneof"`
-}
-type Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,405,opt,name=oneof_sint64,json=oneofSint64,oneof"`
-}
-type Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,406,opt,name=oneof_uint64,json=oneofUint64,oneof"`
-}
-type Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,407,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
-}
-type Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,408,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
-}
-type Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,409,opt,name=oneof_float,json=oneofFloat,oneof"`
-}
-type Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,410,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
-}
-type Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,411,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
-}
-type Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,412,opt,name=oneof_double,json=oneofDouble,oneof"`
-}
-type Message_OneofString struct {
- OneofString string `protobuf:"bytes,413,opt,name=oneof_string,json=oneofString,oneof"`
-}
-type Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,414,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
-}
-type Message_OneofChildEnum struct {
- OneofChildEnum Message_ChildEnum `protobuf:"varint,415,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto3_20180125.Message_ChildEnum,oneof"`
-}
-type Message_OneofChildMessage struct {
- OneofChildMessage *Message_ChildMessage `protobuf:"bytes,416,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
-}
-type Message_OneofSiblingEnum struct {
- OneofSiblingEnum SiblingEnum `protobuf:"varint,417,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto3_20180125.SiblingEnum,oneof"`
-}
-type Message_OneofSiblingMessage struct {
- OneofSiblingMessage *SiblingMessage `protobuf:"bytes,418,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
-}
-type Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,419,opt,name=oneof_string1,json=oneofString1,oneof"`
-}
-type Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,420,opt,name=oneof_string2,json=oneofString2,oneof"`
-}
-type Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,421,opt,name=oneof_string3,json=oneofString3,oneof"`
-}
-
-func (*Message_OneofBool) isMessage_OneofUnion() {}
-func (*Message_OneofInt32) isMessage_OneofUnion() {}
-func (*Message_OneofSint32) isMessage_OneofUnion() {}
-func (*Message_OneofUint32) isMessage_OneofUnion() {}
-func (*Message_OneofInt64) isMessage_OneofUnion() {}
-func (*Message_OneofSint64) isMessage_OneofUnion() {}
-func (*Message_OneofUint64) isMessage_OneofUnion() {}
-func (*Message_OneofFixed32) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
-func (*Message_OneofFloat) isMessage_OneofUnion() {}
-func (*Message_OneofFixed64) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
-func (*Message_OneofDouble) isMessage_OneofUnion() {}
-func (*Message_OneofString) isMessage_OneofUnion() {}
-func (*Message_OneofBytes) isMessage_OneofUnion() {}
-func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
-func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
-func (*Message_OneofString1) isMessage_OneofUnion() {}
-func (*Message_OneofString2) isMessage_OneofUnion() {}
-func (*Message_OneofString3) isMessage_OneofUnion() {}
-
-func (m *Message) GetOneofUnion() isMessage_OneofUnion {
- if m != nil {
- return m.OneofUnion
- }
- return nil
-}
-
-func (m *Message) GetOptionalBool() bool {
- if m != nil {
- return m.OptionalBool
- }
- return false
-}
-
-func (m *Message) GetOptionalInt32() int32 {
- if m != nil {
- return m.OptionalInt32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint32() int32 {
- if m != nil {
- return m.OptionalSint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint32() uint32 {
- if m != nil {
- return m.OptionalUint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalInt64() int64 {
- if m != nil {
- return m.OptionalInt64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint64() int64 {
- if m != nil {
- return m.OptionalSint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint64() uint64 {
- if m != nil {
- return m.OptionalUint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed32() uint32 {
- if m != nil {
- return m.OptionalFixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed32() int32 {
- if m != nil {
- return m.OptionalSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalFloat() float32 {
- if m != nil {
- return m.OptionalFloat
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed64() uint64 {
- if m != nil {
- return m.OptionalFixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed64() int64 {
- if m != nil {
- return m.OptionalSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalDouble() float64 {
- if m != nil {
- return m.OptionalDouble
- }
- return 0
-}
-
-func (m *Message) GetOptionalString() string {
- if m != nil {
- return m.OptionalString
- }
- return ""
-}
-
-func (m *Message) GetOptionalBytes() []byte {
- if m != nil {
- return m.OptionalBytes
- }
- return nil
-}
-
-func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
- if m != nil {
- return m.OptionalChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.OptionalChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
- if m != nil {
- return m.OptionalSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.OptionalSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBool() []bool {
- if m != nil {
- return m.RepeatedBool
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt32() []int32 {
- if m != nil {
- return m.RepeatedInt32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint32() []int32 {
- if m != nil {
- return m.RepeatedSint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint32() []uint32 {
- if m != nil {
- return m.RepeatedUint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt64() []int64 {
- if m != nil {
- return m.RepeatedInt64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint64() []int64 {
- if m != nil {
- return m.RepeatedSint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint64() []uint64 {
- if m != nil {
- return m.RepeatedUint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed32() []uint32 {
- if m != nil {
- return m.RepeatedFixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed32() []int32 {
- if m != nil {
- return m.RepeatedSfixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFloat() []float32 {
- if m != nil {
- return m.RepeatedFloat
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed64() []uint64 {
- if m != nil {
- return m.RepeatedFixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed64() []int64 {
- if m != nil {
- return m.RepeatedSfixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedDouble() []float64 {
- if m != nil {
- return m.RepeatedDouble
- }
- return nil
-}
-
-func (m *Message) GetRepeatedString() []string {
- if m != nil {
- return m.RepeatedString
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBytes() [][]byte {
- if m != nil {
- return m.RepeatedBytes
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
- if m != nil {
- return m.RepeatedChildEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
- if m != nil {
- return m.RepeatedChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
- if m != nil {
- return m.RepeatedSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
- if m != nil {
- return m.RepeatedSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBool() map[bool]bool {
- if m != nil {
- return m.MapBoolBool
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt32() map[bool]int32 {
- if m != nil {
- return m.MapBoolInt32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolUint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt64() map[bool]int64 {
- if m != nil {
- return m.MapBoolInt64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolUint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolFixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSfixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFloat() map[bool]float32 {
- if m != nil {
- return m.MapBoolFloat
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolFixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSfixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolDouble() map[bool]float64 {
- if m != nil {
- return m.MapBoolDouble
- }
- return nil
-}
-
-func (m *Message) GetMapBoolString() map[bool]string {
- if m != nil {
- return m.MapBoolString
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBytes() map[bool][]byte {
- if m != nil {
- return m.MapBoolBytes
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
- if m != nil {
- return m.MapBoolChildEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
- if m != nil {
- return m.MapBoolChildMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
- if m != nil {
- return m.MapBoolSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
- if m != nil {
- return m.MapBoolSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapInt32Bool() map[int32]bool {
- if m != nil {
- return m.MapInt32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint32Bool() map[int32]bool {
- if m != nil {
- return m.MapSint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint32Bool() map[uint32]bool {
- if m != nil {
- return m.MapUint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapInt64Bool() map[int64]bool {
- if m != nil {
- return m.MapInt64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint64Bool() map[int64]bool {
- if m != nil {
- return m.MapSint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint64Bool() map[uint64]bool {
- if m != nil {
- return m.MapUint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapFixed32Bool() map[uint32]bool {
- if m != nil {
- return m.MapFixed32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapStringBool() map[string]bool {
- if m != nil {
- return m.MapStringBool
- }
- return nil
-}
-
-func (m *Message) GetOneofBool() bool {
- if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (m *Message) GetOneofInt32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
- return x.OneofInt32
- }
- return 0
-}
-
-func (m *Message) GetOneofSint32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
- return x.OneofSint32
- }
- return 0
-}
-
-func (m *Message) GetOneofUint32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (m *Message) GetOneofInt64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
- return x.OneofInt64
- }
- return 0
-}
-
-func (m *Message) GetOneofSint64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
- return x.OneofSint64
- }
- return 0
-}
-
-func (m *Message) GetOneofUint64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
- return x.OneofFixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
- return x.OneofSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofFloat() float32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
- return x.OneofFixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
- return x.OneofSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofDouble() float64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (m *Message) GetOneofString() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (m *Message) GetOneofBytes() []byte {
- if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (m *Message) GetOneofChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
- return x.OneofChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
- return x.OneofChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
- return x.OneofSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
- return x.OneofSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofString1() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
- return x.OneofString1
- }
- return ""
-}
-
-func (m *Message) GetOneofString2() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
- return x.OneofString2
- }
- return ""
-}
-
-func (m *Message) GetOneofString3() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
- return x.OneofString3
- }
- return ""
-}
-
-// XXX_OneofFuncs is for the internal use of the proto package.
-func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
- return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
- (*Message_OneofBool)(nil),
- (*Message_OneofInt32)(nil),
- (*Message_OneofSint32)(nil),
- (*Message_OneofUint32)(nil),
- (*Message_OneofInt64)(nil),
- (*Message_OneofSint64)(nil),
- (*Message_OneofUint64)(nil),
- (*Message_OneofFixed32)(nil),
- (*Message_OneofSfixed32)(nil),
- (*Message_OneofFloat)(nil),
- (*Message_OneofFixed64)(nil),
- (*Message_OneofSfixed64)(nil),
- (*Message_OneofDouble)(nil),
- (*Message_OneofString)(nil),
- (*Message_OneofBytes)(nil),
- (*Message_OneofChildEnum)(nil),
- (*Message_OneofChildMessage)(nil),
- (*Message_OneofSiblingEnum)(nil),
- (*Message_OneofSiblingMessage)(nil),
- (*Message_OneofString1)(nil),
- (*Message_OneofString2)(nil),
- (*Message_OneofString3)(nil),
- }
-}
-
-func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- t := uint64(0)
- if x.OneofBool {
- t = 1
- }
- b.EncodeVarint(400<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofInt32:
- b.EncodeVarint(401<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- b.EncodeVarint(402<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofSint32))
- case *Message_OneofUint32:
- b.EncodeVarint(403<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- b.EncodeVarint(404<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- b.EncodeVarint(405<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofSint64))
- case *Message_OneofUint64:
- b.EncodeVarint(406<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- b.EncodeVarint(407<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofFixed32))
- case *Message_OneofSfixed32:
- b.EncodeVarint(408<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofSfixed32))
- case *Message_OneofFloat:
- b.EncodeVarint(409<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
- case *Message_OneofFixed64:
- b.EncodeVarint(410<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofFixed64))
- case *Message_OneofSfixed64:
- b.EncodeVarint(411<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofSfixed64))
- case *Message_OneofDouble:
- b.EncodeVarint(412<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDouble))
- case *Message_OneofString:
- b.EncodeVarint(413<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString)
- case *Message_OneofBytes:
- b.EncodeVarint(414<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofBytes)
- case *Message_OneofChildEnum:
- b.EncodeVarint(415<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- b.EncodeVarint(416<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
- return err
- }
- case *Message_OneofSiblingEnum:
- b.EncodeVarint(417<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- b.EncodeVarint(418<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
- return err
- }
- case *Message_OneofString1:
- b.EncodeVarint(419<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString1)
- case *Message_OneofString2:
- b.EncodeVarint(420<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString2)
- case *Message_OneofString3:
- b.EncodeVarint(421<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString3)
- case nil:
- default:
- return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
- }
- return nil
-}
-
-func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*Message)
- switch tag {
- case 400: // oneof_union.oneof_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofBool{x != 0}
- return true, err
- case 401: // oneof_union.oneof_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt32{int32(x)}
- return true, err
- case 402: // oneof_union.oneof_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofUnion = &Message_OneofSint32{int32(x)}
- return true, err
- case 403: // oneof_union.oneof_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint32{uint32(x)}
- return true, err
- case 404: // oneof_union.oneof_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt64{int64(x)}
- return true, err
- case 405: // oneof_union.oneof_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofUnion = &Message_OneofSint64{int64(x)}
- return true, err
- case 406: // oneof_union.oneof_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint64{x}
- return true, err
- case 407: // oneof_union.oneof_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFixed32{uint32(x)}
- return true, err
- case 408: // oneof_union.oneof_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofSfixed32{int32(x)}
- return true, err
- case 409: // oneof_union.oneof_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 410: // oneof_union.oneof_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofFixed64{x}
- return true, err
- case 411: // oneof_union.oneof_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofSfixed64{int64(x)}
- return true, err
- case 412: // oneof_union.oneof_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
- return true, err
- case 413: // oneof_union.oneof_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString{x}
- return true, err
- case 414: // oneof_union.oneof_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofUnion = &Message_OneofBytes{x}
- return true, err
- case 415: // oneof_union.oneof_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
- return true, err
- case 416: // oneof_union.oneof_child_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_ChildMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofChildMessage{msg}
- return true, err
- case 417: // oneof_union.oneof_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
- return true, err
- case 418: // oneof_union.oneof_sibling_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(SiblingMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofSiblingMessage{msg}
- return true, err
- case 419: // oneof_union.oneof_string1
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString1{x}
- return true, err
- case 420: // oneof_union.oneof_string2
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString2{x}
- return true, err
- case 421: // oneof_union.oneof_string3
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString3{x}
- return true, err
- default:
- return false, nil
- }
-}
-
-func _Message_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- n += proto.SizeVarint(400<<3 | proto.WireVarint)
- n += 1
- case *Message_OneofInt32:
- n += proto.SizeVarint(401<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- n += proto.SizeVarint(402<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
- case *Message_OneofUint32:
- n += proto.SizeVarint(403<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- n += proto.SizeVarint(404<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- n += proto.SizeVarint(405<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
- case *Message_OneofUint64:
- n += proto.SizeVarint(406<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- n += proto.SizeVarint(407<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofSfixed32:
- n += proto.SizeVarint(408<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofFloat:
- n += proto.SizeVarint(409<<3 | proto.WireFixed32)
- n += 4
- case *Message_OneofFixed64:
- n += proto.SizeVarint(410<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofSfixed64:
- n += proto.SizeVarint(411<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofDouble:
- n += proto.SizeVarint(412<<3 | proto.WireFixed64)
- n += 8
- case *Message_OneofString:
- n += proto.SizeVarint(413<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString)))
- n += len(x.OneofString)
- case *Message_OneofBytes:
- n += proto.SizeVarint(414<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofBytes)))
- n += len(x.OneofBytes)
- case *Message_OneofChildEnum:
- n += proto.SizeVarint(415<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- s := proto.Size(x.OneofChildMessage)
- n += proto.SizeVarint(416<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofSiblingEnum:
- n += proto.SizeVarint(417<<3 | proto.WireVarint)
- n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- s := proto.Size(x.OneofSiblingMessage)
- n += proto.SizeVarint(418<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofString1:
- n += proto.SizeVarint(419<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString1)))
- n += len(x.OneofString1)
- case *Message_OneofString2:
- n += proto.SizeVarint(420<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString2)))
- n += len(x.OneofString2)
- case *Message_OneofString3:
- n += proto.SizeVarint(421<<3 | proto.WireBytes)
- n += proto.SizeVarint(uint64(len(x.OneofString3)))
- n += len(x.OneofString3)
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
-}
-
-type Message_ChildMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
- F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
-}
-
-func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
-func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
-func (*Message_ChildMessage) ProtoMessage() {}
-func (*Message_ChildMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
-
-func (m *Message_ChildMessage) GetF1() string {
- if m != nil {
- return m.F1
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF2() []string {
- if m != nil {
- return m.F2
- }
- return nil
-}
-
-func (m *Message_ChildMessage) GetF3() *Message {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto3_20180125.SiblingMessage")
- proto.RegisterType((*Message)(nil), "google.golang.org.proto3_20180125.Message")
- proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto3_20180125.Message.ChildMessage")
- proto.RegisterEnum("google.golang.org.proto3_20180125.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
- proto.RegisterEnum("google.golang.org.proto3_20180125.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
-}
-
-func init() { proto.RegisterFile("proto3_20180125_92554152/test.proto", fileDescriptor0) }
-
-var fileDescriptor0 = []byte{
- // 1947 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x9a, 0x59, 0x73, 0xdb, 0xc8,
- 0x11, 0xc7, 0x09, 0x52, 0x87, 0x35, 0xe2, 0x09, 0x5a, 0xca, 0x94, 0x9e, 0x10, 0xd9, 0x71, 0x10,
- 0x27, 0x45, 0x99, 0x14, 0x84, 0x38, 0x4e, 0x62, 0x5b, 0xb2, 0xe5, 0xd0, 0x29, 0x3b, 0x71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 0xb8, 0x66, 0xad, 0xfe, 0xe6, 0xd7, 0x79,
- 0x45, 0x9d, 0x45, 0xd3, 0x67, 0xaa, 0xab, 0xd6, 0x85, 0xf3, 0xeb, 0xf9, 0xe4, 0x5a, 0x86, 0x1e,
- 0x57, 0x7b, 0xed, 0xa6, 0xdb, 0x3e, 0x5a, 0x46, 0xb3, 0xe2, 0xc1, 0x2b, 0xca, 0x01, 0x52, 0xd3,
- 0xdc, 0xc1, 0x2d, 0x65, 0xed, 0xd2, 0x6f, 0x7f, 0x15, 0xaa, 0xdf, 0x25, 0xaf, 0x7e, 0xb7, 0x7a,
- 0xf5, 0xa5, 0x66, 0xbb, 0x6b, 0xef, 0xb5, 0x6b, 0x8e, 0xf7, 0xd7, 0x13, 0x9e, 0xb5, 0xb3, 0xe4,
- 0xd8, 0x8d, 0xda, 0xf6, 0xfe, 0x52, 0xbf, 0x3f, 0xb4, 0xd8, 0x9a, 0x82, 0x4f, 0xbe, 0x09, 0x00,
- 0x00, 0xff, 0xff, 0x64, 0xfb, 0xb5, 0x25, 0x8b, 0x21, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180125_92554152/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180125_92554152/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180125_92554152/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180430_b4deda09/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180430_b4deda09/test.pb.go
deleted file mode 100644
index cd2631ade6..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180430_b4deda09/test.pb.go
+++ /dev/null
@@ -1,1545 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: proto3_20180430_b4deda09/test.proto
-
-package proto3_20180430_b4deda09 // import "google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180430_b4deda09"
-
-import proto "google.golang.org/protobuf/internal/protolegacy"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-type SiblingEnum int32
-
-const (
- SiblingEnum_ALPHA SiblingEnum = 0
- SiblingEnum_BRAVO SiblingEnum = 10
- SiblingEnum_CHARLIE SiblingEnum = 200
-)
-
-var SiblingEnum_name = map[int32]string{
- 0: "ALPHA",
- 10: "BRAVO",
- 200: "CHARLIE",
-}
-var SiblingEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 10,
- "CHARLIE": 200,
-}
-
-func (x SiblingEnum) String() string {
- return proto.EnumName(SiblingEnum_name, int32(x))
-}
-func (SiblingEnum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_test_b39f8dbfc888d45a, []int{0}
-}
-
-type Message_ChildEnum int32
-
-const (
- Message_ALPHA Message_ChildEnum = 0
- Message_BRAVO Message_ChildEnum = 1
- Message_CHARLIE Message_ChildEnum = 2
-)
-
-var Message_ChildEnum_name = map[int32]string{
- 0: "ALPHA",
- 1: "BRAVO",
- 2: "CHARLIE",
-}
-var Message_ChildEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 1,
- "CHARLIE": 2,
-}
-
-func (x Message_ChildEnum) String() string {
- return proto.EnumName(Message_ChildEnum_name, int32(x))
-}
-func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_test_b39f8dbfc888d45a, []int{1, 0}
-}
-
-type SiblingMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
- F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
-func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
-func (*SiblingMessage) ProtoMessage() {}
-func (*SiblingMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_b39f8dbfc888d45a, []int{0}
-}
-func (m *SiblingMessage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SiblingMessage.Unmarshal(m, b)
-}
-func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SiblingMessage.Marshal(b, m, deterministic)
-}
-func (dst *SiblingMessage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SiblingMessage.Merge(dst, src)
-}
-func (m *SiblingMessage) XXX_Size() int {
- return xxx_messageInfo_SiblingMessage.Size(m)
-}
-func (m *SiblingMessage) XXX_DiscardUnknown() {
- xxx_messageInfo_SiblingMessage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SiblingMessage proto.InternalMessageInfo
-
-func (m *SiblingMessage) GetF1() string {
- if m != nil {
- return m.F1
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF2() []string {
- if m != nil {
- return m.F2
- }
- return nil
-}
-
-func (m *SiblingMessage) GetF3() *Message {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message struct {
- // Optional fields.
- OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
- OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
- OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
- OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
- OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
- OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
- OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
- OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
- OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
- OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
- OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
- OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"`
- OptionalChildEnum Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto3_20180430.Message_ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"`
- OptionalSiblingEnum SiblingEnum `protobuf:"varint,117,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto3_20180430.SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,200,rep,packed,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,201,rep,packed,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,packed,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,203,rep,packed,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,204,rep,packed,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,packed,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,206,rep,packed,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,packed,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,209,rep,packed,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,packed,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,212,rep,packed,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,215,rep,packed,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto3_20180430.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"`
- RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,217,rep,packed,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto3_20180430.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,300,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,301,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,302,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,303,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,304,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,305,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,306,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,307,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,308,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,309,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,310,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,311,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,312,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolString map[bool]string `protobuf:"bytes,313,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,314,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,315,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20180430.Message_ChildEnum"`
- MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,316,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,317,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20180430.SiblingEnum"`
- MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,318,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,319,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,320,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,321,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,322,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,323,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,324,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,325,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapStringBool map[string]bool `protobuf:"bytes,326,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- // Oneof fields.
- //
- // Types that are valid to be assigned to OneofUnion:
- // *Message_OneofBool
- // *Message_OneofInt32
- // *Message_OneofSint32
- // *Message_OneofUint32
- // *Message_OneofInt64
- // *Message_OneofSint64
- // *Message_OneofUint64
- // *Message_OneofFixed32
- // *Message_OneofSfixed32
- // *Message_OneofFloat
- // *Message_OneofFixed64
- // *Message_OneofSfixed64
- // *Message_OneofDouble
- // *Message_OneofString
- // *Message_OneofBytes
- // *Message_OneofChildEnum
- // *Message_OneofChildMessage
- // *Message_OneofSiblingEnum
- // *Message_OneofSiblingMessage
- // *Message_OneofString1
- // *Message_OneofString2
- // *Message_OneofString3
- OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message) Reset() { *m = Message{} }
-func (m *Message) String() string { return proto.CompactTextString(m) }
-func (*Message) ProtoMessage() {}
-func (*Message) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_b39f8dbfc888d45a, []int{1}
-}
-func (m *Message) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message.Unmarshal(m, b)
-}
-func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message.Marshal(b, m, deterministic)
-}
-func (dst *Message) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message.Merge(dst, src)
-}
-func (m *Message) XXX_Size() int {
- return xxx_messageInfo_Message.Size(m)
-}
-func (m *Message) XXX_DiscardUnknown() {
- xxx_messageInfo_Message.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message proto.InternalMessageInfo
-
-type isMessage_OneofUnion interface {
- isMessage_OneofUnion()
-}
-
-type Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,json=oneofBool,oneof"`
-}
-type Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,json=oneofInt32,oneof"`
-}
-type Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,402,opt,name=oneof_sint32,json=oneofSint32,oneof"`
-}
-type Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,oneof"`
-}
-type Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,404,opt,name=oneof_int64,json=oneofInt64,oneof"`
-}
-type Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,405,opt,name=oneof_sint64,json=oneofSint64,oneof"`
-}
-type Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,406,opt,name=oneof_uint64,json=oneofUint64,oneof"`
-}
-type Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,407,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
-}
-type Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,408,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
-}
-type Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,409,opt,name=oneof_float,json=oneofFloat,oneof"`
-}
-type Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,410,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
-}
-type Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,411,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
-}
-type Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,412,opt,name=oneof_double,json=oneofDouble,oneof"`
-}
-type Message_OneofString struct {
- OneofString string `protobuf:"bytes,413,opt,name=oneof_string,json=oneofString,oneof"`
-}
-type Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,414,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
-}
-type Message_OneofChildEnum struct {
- OneofChildEnum Message_ChildEnum `protobuf:"varint,415,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto3_20180430.Message_ChildEnum,oneof"`
-}
-type Message_OneofChildMessage struct {
- OneofChildMessage *Message_ChildMessage `protobuf:"bytes,416,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
-}
-type Message_OneofSiblingEnum struct {
- OneofSiblingEnum SiblingEnum `protobuf:"varint,417,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto3_20180430.SiblingEnum,oneof"`
-}
-type Message_OneofSiblingMessage struct {
- OneofSiblingMessage *SiblingMessage `protobuf:"bytes,418,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
-}
-type Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,419,opt,name=oneof_string1,json=oneofString1,oneof"`
-}
-type Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,420,opt,name=oneof_string2,json=oneofString2,oneof"`
-}
-type Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,421,opt,name=oneof_string3,json=oneofString3,oneof"`
-}
-
-func (*Message_OneofBool) isMessage_OneofUnion() {}
-func (*Message_OneofInt32) isMessage_OneofUnion() {}
-func (*Message_OneofSint32) isMessage_OneofUnion() {}
-func (*Message_OneofUint32) isMessage_OneofUnion() {}
-func (*Message_OneofInt64) isMessage_OneofUnion() {}
-func (*Message_OneofSint64) isMessage_OneofUnion() {}
-func (*Message_OneofUint64) isMessage_OneofUnion() {}
-func (*Message_OneofFixed32) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
-func (*Message_OneofFloat) isMessage_OneofUnion() {}
-func (*Message_OneofFixed64) isMessage_OneofUnion() {}
-func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
-func (*Message_OneofDouble) isMessage_OneofUnion() {}
-func (*Message_OneofString) isMessage_OneofUnion() {}
-func (*Message_OneofBytes) isMessage_OneofUnion() {}
-func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
-func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
-func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
-func (*Message_OneofString1) isMessage_OneofUnion() {}
-func (*Message_OneofString2) isMessage_OneofUnion() {}
-func (*Message_OneofString3) isMessage_OneofUnion() {}
-
-func (m *Message) GetOneofUnion() isMessage_OneofUnion {
- if m != nil {
- return m.OneofUnion
- }
- return nil
-}
-
-func (m *Message) GetOptionalBool() bool {
- if m != nil {
- return m.OptionalBool
- }
- return false
-}
-
-func (m *Message) GetOptionalInt32() int32 {
- if m != nil {
- return m.OptionalInt32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint32() int32 {
- if m != nil {
- return m.OptionalSint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint32() uint32 {
- if m != nil {
- return m.OptionalUint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalInt64() int64 {
- if m != nil {
- return m.OptionalInt64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint64() int64 {
- if m != nil {
- return m.OptionalSint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint64() uint64 {
- if m != nil {
- return m.OptionalUint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed32() uint32 {
- if m != nil {
- return m.OptionalFixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed32() int32 {
- if m != nil {
- return m.OptionalSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalFloat() float32 {
- if m != nil {
- return m.OptionalFloat
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed64() uint64 {
- if m != nil {
- return m.OptionalFixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed64() int64 {
- if m != nil {
- return m.OptionalSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalDouble() float64 {
- if m != nil {
- return m.OptionalDouble
- }
- return 0
-}
-
-func (m *Message) GetOptionalString() string {
- if m != nil {
- return m.OptionalString
- }
- return ""
-}
-
-func (m *Message) GetOptionalBytes() []byte {
- if m != nil {
- return m.OptionalBytes
- }
- return nil
-}
-
-func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
- if m != nil {
- return m.OptionalChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.OptionalChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
- if m != nil {
- return m.OptionalSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.OptionalSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBool() []bool {
- if m != nil {
- return m.RepeatedBool
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt32() []int32 {
- if m != nil {
- return m.RepeatedInt32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint32() []int32 {
- if m != nil {
- return m.RepeatedSint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint32() []uint32 {
- if m != nil {
- return m.RepeatedUint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt64() []int64 {
- if m != nil {
- return m.RepeatedInt64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint64() []int64 {
- if m != nil {
- return m.RepeatedSint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint64() []uint64 {
- if m != nil {
- return m.RepeatedUint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed32() []uint32 {
- if m != nil {
- return m.RepeatedFixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed32() []int32 {
- if m != nil {
- return m.RepeatedSfixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFloat() []float32 {
- if m != nil {
- return m.RepeatedFloat
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed64() []uint64 {
- if m != nil {
- return m.RepeatedFixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed64() []int64 {
- if m != nil {
- return m.RepeatedSfixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedDouble() []float64 {
- if m != nil {
- return m.RepeatedDouble
- }
- return nil
-}
-
-func (m *Message) GetRepeatedString() []string {
- if m != nil {
- return m.RepeatedString
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBytes() [][]byte {
- if m != nil {
- return m.RepeatedBytes
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
- if m != nil {
- return m.RepeatedChildEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
- if m != nil {
- return m.RepeatedChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
- if m != nil {
- return m.RepeatedSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
- if m != nil {
- return m.RepeatedSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBool() map[bool]bool {
- if m != nil {
- return m.MapBoolBool
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt32() map[bool]int32 {
- if m != nil {
- return m.MapBoolInt32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolUint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt64() map[bool]int64 {
- if m != nil {
- return m.MapBoolInt64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolUint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolFixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSfixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFloat() map[bool]float32 {
- if m != nil {
- return m.MapBoolFloat
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolFixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSfixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolDouble() map[bool]float64 {
- if m != nil {
- return m.MapBoolDouble
- }
- return nil
-}
-
-func (m *Message) GetMapBoolString() map[bool]string {
- if m != nil {
- return m.MapBoolString
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBytes() map[bool][]byte {
- if m != nil {
- return m.MapBoolBytes
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
- if m != nil {
- return m.MapBoolChildEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
- if m != nil {
- return m.MapBoolChildMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
- if m != nil {
- return m.MapBoolSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
- if m != nil {
- return m.MapBoolSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapInt32Bool() map[int32]bool {
- if m != nil {
- return m.MapInt32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint32Bool() map[int32]bool {
- if m != nil {
- return m.MapSint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint32Bool() map[uint32]bool {
- if m != nil {
- return m.MapUint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapInt64Bool() map[int64]bool {
- if m != nil {
- return m.MapInt64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint64Bool() map[int64]bool {
- if m != nil {
- return m.MapSint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint64Bool() map[uint64]bool {
- if m != nil {
- return m.MapUint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapFixed32Bool() map[uint32]bool {
- if m != nil {
- return m.MapFixed32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapStringBool() map[string]bool {
- if m != nil {
- return m.MapStringBool
- }
- return nil
-}
-
-func (m *Message) GetOneofBool() bool {
- if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (m *Message) GetOneofInt32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
- return x.OneofInt32
- }
- return 0
-}
-
-func (m *Message) GetOneofSint32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
- return x.OneofSint32
- }
- return 0
-}
-
-func (m *Message) GetOneofUint32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (m *Message) GetOneofInt64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
- return x.OneofInt64
- }
- return 0
-}
-
-func (m *Message) GetOneofSint64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
- return x.OneofSint64
- }
- return 0
-}
-
-func (m *Message) GetOneofUint64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
- return x.OneofFixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
- return x.OneofSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofFloat() float32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
- return x.OneofFixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
- return x.OneofSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofDouble() float64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (m *Message) GetOneofString() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (m *Message) GetOneofBytes() []byte {
- if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (m *Message) GetOneofChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
- return x.OneofChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
- return x.OneofChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
- return x.OneofSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
- return x.OneofSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofString1() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
- return x.OneofString1
- }
- return ""
-}
-
-func (m *Message) GetOneofString2() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
- return x.OneofString2
- }
- return ""
-}
-
-func (m *Message) GetOneofString3() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
- return x.OneofString3
- }
- return ""
-}
-
-// XXX_OneofFuncs is for the internal use of the proto package.
-func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
- return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
- (*Message_OneofBool)(nil),
- (*Message_OneofInt32)(nil),
- (*Message_OneofSint32)(nil),
- (*Message_OneofUint32)(nil),
- (*Message_OneofInt64)(nil),
- (*Message_OneofSint64)(nil),
- (*Message_OneofUint64)(nil),
- (*Message_OneofFixed32)(nil),
- (*Message_OneofSfixed32)(nil),
- (*Message_OneofFloat)(nil),
- (*Message_OneofFixed64)(nil),
- (*Message_OneofSfixed64)(nil),
- (*Message_OneofDouble)(nil),
- (*Message_OneofString)(nil),
- (*Message_OneofBytes)(nil),
- (*Message_OneofChildEnum)(nil),
- (*Message_OneofChildMessage)(nil),
- (*Message_OneofSiblingEnum)(nil),
- (*Message_OneofSiblingMessage)(nil),
- (*Message_OneofString1)(nil),
- (*Message_OneofString2)(nil),
- (*Message_OneofString3)(nil),
- }
-}
-
-func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- t := uint64(0)
- if x.OneofBool {
- t = 1
- }
- b.EncodeVarint(400<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofInt32:
- b.EncodeVarint(401<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- b.EncodeVarint(402<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofSint32))
- case *Message_OneofUint32:
- b.EncodeVarint(403<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- b.EncodeVarint(404<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- b.EncodeVarint(405<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofSint64))
- case *Message_OneofUint64:
- b.EncodeVarint(406<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- b.EncodeVarint(407<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofFixed32))
- case *Message_OneofSfixed32:
- b.EncodeVarint(408<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofSfixed32))
- case *Message_OneofFloat:
- b.EncodeVarint(409<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
- case *Message_OneofFixed64:
- b.EncodeVarint(410<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofFixed64))
- case *Message_OneofSfixed64:
- b.EncodeVarint(411<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofSfixed64))
- case *Message_OneofDouble:
- b.EncodeVarint(412<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDouble))
- case *Message_OneofString:
- b.EncodeVarint(413<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString)
- case *Message_OneofBytes:
- b.EncodeVarint(414<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofBytes)
- case *Message_OneofChildEnum:
- b.EncodeVarint(415<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- b.EncodeVarint(416<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
- return err
- }
- case *Message_OneofSiblingEnum:
- b.EncodeVarint(417<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- b.EncodeVarint(418<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
- return err
- }
- case *Message_OneofString1:
- b.EncodeVarint(419<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString1)
- case *Message_OneofString2:
- b.EncodeVarint(420<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString2)
- case *Message_OneofString3:
- b.EncodeVarint(421<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString3)
- case nil:
- default:
- return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
- }
- return nil
-}
-
-func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*Message)
- switch tag {
- case 400: // oneof_union.oneof_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofBool{x != 0}
- return true, err
- case 401: // oneof_union.oneof_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt32{int32(x)}
- return true, err
- case 402: // oneof_union.oneof_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofUnion = &Message_OneofSint32{int32(x)}
- return true, err
- case 403: // oneof_union.oneof_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint32{uint32(x)}
- return true, err
- case 404: // oneof_union.oneof_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt64{int64(x)}
- return true, err
- case 405: // oneof_union.oneof_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofUnion = &Message_OneofSint64{int64(x)}
- return true, err
- case 406: // oneof_union.oneof_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint64{x}
- return true, err
- case 407: // oneof_union.oneof_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFixed32{uint32(x)}
- return true, err
- case 408: // oneof_union.oneof_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofSfixed32{int32(x)}
- return true, err
- case 409: // oneof_union.oneof_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 410: // oneof_union.oneof_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofFixed64{x}
- return true, err
- case 411: // oneof_union.oneof_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofSfixed64{int64(x)}
- return true, err
- case 412: // oneof_union.oneof_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
- return true, err
- case 413: // oneof_union.oneof_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString{x}
- return true, err
- case 414: // oneof_union.oneof_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofUnion = &Message_OneofBytes{x}
- return true, err
- case 415: // oneof_union.oneof_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
- return true, err
- case 416: // oneof_union.oneof_child_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_ChildMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofChildMessage{msg}
- return true, err
- case 417: // oneof_union.oneof_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
- return true, err
- case 418: // oneof_union.oneof_sibling_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(SiblingMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofSiblingMessage{msg}
- return true, err
- case 419: // oneof_union.oneof_string1
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString1{x}
- return true, err
- case 420: // oneof_union.oneof_string2
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString2{x}
- return true, err
- case 421: // oneof_union.oneof_string3
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString3{x}
- return true, err
- default:
- return false, nil
- }
-}
-
-func _Message_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- n += 2 // tag and wire
- n += 1
- case *Message_OneofInt32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
- case *Message_OneofUint32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
- case *Message_OneofUint64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofSfixed32:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofFloat:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofFixed64:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofSfixed64:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofDouble:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofString:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString)))
- n += len(x.OneofString)
- case *Message_OneofBytes:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofBytes)))
- n += len(x.OneofBytes)
- case *Message_OneofChildEnum:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- s := proto.Size(x.OneofChildMessage)
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofSiblingEnum:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- s := proto.Size(x.OneofSiblingMessage)
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofString1:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString1)))
- n += len(x.OneofString1)
- case *Message_OneofString2:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString2)))
- n += len(x.OneofString2)
- case *Message_OneofString3:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString3)))
- n += len(x.OneofString3)
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
-}
-
-type Message_ChildMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"`
- F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
-func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
-func (*Message_ChildMessage) ProtoMessage() {}
-func (*Message_ChildMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_b39f8dbfc888d45a, []int{1, 0}
-}
-func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_ChildMessage.Unmarshal(m, b)
-}
-func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_ChildMessage.Marshal(b, m, deterministic)
-}
-func (dst *Message_ChildMessage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_ChildMessage.Merge(dst, src)
-}
-func (m *Message_ChildMessage) XXX_Size() int {
- return xxx_messageInfo_Message_ChildMessage.Size(m)
-}
-func (m *Message_ChildMessage) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_ChildMessage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_ChildMessage proto.InternalMessageInfo
-
-func (m *Message_ChildMessage) GetF1() string {
- if m != nil {
- return m.F1
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF2() []string {
- if m != nil {
- return m.F2
- }
- return nil
-}
-
-func (m *Message_ChildMessage) GetF3() *Message {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto3_20180430.SiblingMessage")
- proto.RegisterType((*Message)(nil), "google.golang.org.proto3_20180430.Message")
- proto.RegisterMapType((map[bool]bool)(nil), "google.golang.org.proto3_20180430.Message.MapBoolBoolEntry")
- proto.RegisterMapType((map[bool][]byte)(nil), "google.golang.org.proto3_20180430.Message.MapBoolBytesEntry")
- proto.RegisterMapType((map[bool]Message_ChildEnum)(nil), "google.golang.org.proto3_20180430.Message.MapBoolChildEnumEntry")
- proto.RegisterMapType((map[bool]*Message_ChildMessage)(nil), "google.golang.org.proto3_20180430.Message.MapBoolChildMessageEntry")
- proto.RegisterMapType((map[bool]float64)(nil), "google.golang.org.proto3_20180430.Message.MapBoolDoubleEntry")
- proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto3_20180430.Message.MapBoolFixed32Entry")
- proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto3_20180430.Message.MapBoolFixed64Entry")
- proto.RegisterMapType((map[bool]float32)(nil), "google.golang.org.proto3_20180430.Message.MapBoolFloatEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20180430.Message.MapBoolInt32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20180430.Message.MapBoolInt64Entry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20180430.Message.MapBoolSfixed32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20180430.Message.MapBoolSfixed64Entry")
- proto.RegisterMapType((map[bool]SiblingEnum)(nil), "google.golang.org.proto3_20180430.Message.MapBoolSiblingEnumEntry")
- proto.RegisterMapType((map[bool]*SiblingMessage)(nil), "google.golang.org.proto3_20180430.Message.MapBoolSiblingMessageEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20180430.Message.MapBoolSint32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20180430.Message.MapBoolSint64Entry")
- proto.RegisterMapType((map[bool]string)(nil), "google.golang.org.proto3_20180430.Message.MapBoolStringEntry")
- proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto3_20180430.Message.MapBoolUint32Entry")
- proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto3_20180430.Message.MapBoolUint64Entry")
- proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto3_20180430.Message.MapFixed32BoolEntry")
- proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto3_20180430.Message.MapInt32BoolEntry")
- proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto3_20180430.Message.MapInt64BoolEntry")
- proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto3_20180430.Message.MapSint32BoolEntry")
- proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto3_20180430.Message.MapSint64BoolEntry")
- proto.RegisterMapType((map[string]bool)(nil), "google.golang.org.proto3_20180430.Message.MapStringBoolEntry")
- proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto3_20180430.Message.MapUint32BoolEntry")
- proto.RegisterMapType((map[uint64]bool)(nil), "google.golang.org.proto3_20180430.Message.MapUint64BoolEntry")
- proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto3_20180430.Message.ChildMessage")
- proto.RegisterEnum("google.golang.org.proto3_20180430.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
- proto.RegisterEnum("google.golang.org.proto3_20180430.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
-}
-
-func init() {
- proto.RegisterFile("proto3_20180430_b4deda09/test.proto", fileDescriptor_test_b39f8dbfc888d45a)
-}
-
-var fileDescriptor_test_b39f8dbfc888d45a = []byte{
- // 1946 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x9a, 0x57, 0x73, 0xdb, 0xca,
- 0x15, 0xc7, 0x09, 0x52, 0xc5, 0x5a, 0xb1, 0x82, 0x96, 0xb2, 0xa3, 0x27, 0x44, 0x76, 0x1c, 0xc4,
- 0xc9, 0x50, 0x12, 0xb9, 0x83, 0x38, 0x4e, 0x62, 0x5b, 0xb2, 0xe5, 0xd0, 0x19, 0x3b, 0xf1, 0xc0,
- 0xa3, 0x3c, 0xe4, 0x45, 0x21, 0x45, 0x90, 0xa6, 0x0d, 0x12, 0x8a, 0x48, 0x7a, 0xa2, 0xc9, 0x83,
- 0xbf, 0x42, 0x7a, 0xef, 0xe5, 0x2d, 0xbd, 0xf7, 0xee, 0x8c, 0xd3, 0xcb, 0xed, 0xf7, 0xd3, 0xdc,
- 0x59, 0x1c, 0x6c, 0x03, 0x40, 0x93, 0x04, 0xe7, 0x3e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0xfd, 0x6e, 0xf9, 0xf5, 0xdb, 0x1c, 0xb5,
- 0xb7, 0xba, 0xfd, 0xa1, 0x73, 0xd2, 0x6f, 0xb8, 0xfe, 0x5f, 0x4f, 0xf8, 0xd6, 0xc1, 0x96, 0xeb,
- 0x74, 0x1a, 0x47, 0xa7, 0x5b, 0xe3, 0xfe, 0xd0, 0xa2, 0xb9, 0x04, 0x9f, 0xbc, 0x16, 0x00, 0x00,
- 0xff, 0xff, 0xc9, 0x66, 0x05, 0xd3, 0x8b, 0x21, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180430_b4deda09/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180430_b4deda09/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180430_b4deda09/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180814_aa810b61/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180814_aa810b61/test.pb.go
deleted file mode 100644
index 97e40899f9..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180814_aa810b61/test.pb.go
+++ /dev/null
@@ -1,1587 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: proto3_20180814_aa810b61/test.proto
-
-package proto3_20180814_aa810b61 // import "google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180814_aa810b61"
-
-import proto "google.golang.org/protobuf/internal/protolegacy"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-type SiblingEnum int32
-
-const (
- SiblingEnum_ALPHA SiblingEnum = 0
- SiblingEnum_BRAVO SiblingEnum = 10
- SiblingEnum_CHARLIE SiblingEnum = 200
-)
-
-var SiblingEnum_name = map[int32]string{
- 0: "ALPHA",
- 10: "BRAVO",
- 200: "CHARLIE",
-}
-var SiblingEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 10,
- "CHARLIE": 200,
-}
-
-func (x SiblingEnum) String() string {
- return proto.EnumName(SiblingEnum_name, int32(x))
-}
-func (SiblingEnum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_test_14f9d28b9a7006c3, []int{0}
-}
-
-type Message_ChildEnum int32
-
-const (
- Message_ALPHA Message_ChildEnum = 0
- Message_BRAVO Message_ChildEnum = 1
- Message_CHARLIE Message_ChildEnum = 2
-)
-
-var Message_ChildEnum_name = map[int32]string{
- 0: "ALPHA",
- 1: "BRAVO",
- 2: "CHARLIE",
-}
-var Message_ChildEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 1,
- "CHARLIE": 2,
-}
-
-func (x Message_ChildEnum) String() string {
- return proto.EnumName(Message_ChildEnum_name, int32(x))
-}
-func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_test_14f9d28b9a7006c3, []int{1, 0}
-}
-
-type SiblingMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2,proto3" json:"f2,omitempty"`
- F3 *Message `protobuf:"bytes,3,opt,name=f3,proto3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
-func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
-func (*SiblingMessage) ProtoMessage() {}
-func (*SiblingMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_14f9d28b9a7006c3, []int{0}
-}
-func (m *SiblingMessage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SiblingMessage.Unmarshal(m, b)
-}
-func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SiblingMessage.Marshal(b, m, deterministic)
-}
-func (dst *SiblingMessage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SiblingMessage.Merge(dst, src)
-}
-func (m *SiblingMessage) XXX_Size() int {
- return xxx_messageInfo_SiblingMessage.Size(m)
-}
-func (m *SiblingMessage) XXX_DiscardUnknown() {
- xxx_messageInfo_SiblingMessage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SiblingMessage proto.InternalMessageInfo
-
-func (m *SiblingMessage) GetF1() string {
- if m != nil {
- return m.F1
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF2() []string {
- if m != nil {
- return m.F2
- }
- return nil
-}
-
-func (m *SiblingMessage) GetF3() *Message {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message struct {
- // Optional fields.
- OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool,proto3" json:"optional_bool,omitempty"`
- OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32,proto3" json:"optional_int32,omitempty"`
- OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32,proto3" json:"optional_sint32,omitempty"`
- OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32,proto3" json:"optional_uint32,omitempty"`
- OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64,proto3" json:"optional_int64,omitempty"`
- OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64,proto3" json:"optional_sint64,omitempty"`
- OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64,proto3" json:"optional_uint64,omitempty"`
- OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32,proto3" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32,proto3" json:"optional_sfixed32,omitempty"`
- OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat,proto3" json:"optional_float,omitempty"`
- OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64,proto3" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64,proto3" json:"optional_sfixed64,omitempty"`
- OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble,proto3" json:"optional_double,omitempty"`
- OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"`
- OptionalChildEnum Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,proto3,enum=google.golang.org.proto3_20180814.Message_ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage,proto3" json:"optional_child_message,omitempty"`
- OptionalSiblingEnum SiblingEnum `protobuf:"varint,117,opt,name=optional_sibling_enum,json=optionalSiblingEnum,proto3,enum=google.golang.org.proto3_20180814.SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage,proto3" json:"optional_sibling_message,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,200,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,201,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,203,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,204,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,206,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,209,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,212,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,215,rep,packed,name=repeated_child_enum,json=repeatedChildEnum,proto3,enum=google.golang.org.proto3_20180814.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage,proto3" json:"repeated_child_message,omitempty"`
- RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,217,rep,packed,name=repeated_sibling_enum,json=repeatedSiblingEnum,proto3,enum=google.golang.org.proto3_20180814.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage,proto3" json:"repeated_sibling_message,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,300,rep,name=map_bool_bool,json=mapBoolBool,proto3" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,301,rep,name=map_bool_int32,json=mapBoolInt32,proto3" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,302,rep,name=map_bool_sint32,json=mapBoolSint32,proto3" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"zigzag32,2,opt,name=value,proto3"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,303,rep,name=map_bool_uint32,json=mapBoolUint32,proto3" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,304,rep,name=map_bool_int64,json=mapBoolInt64,proto3" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,305,rep,name=map_bool_sint64,json=mapBoolSint64,proto3" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"zigzag64,2,opt,name=value,proto3"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,306,rep,name=map_bool_uint64,json=mapBoolUint64,proto3" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,307,rep,name=map_bool_fixed32,json=mapBoolFixed32,proto3" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,308,rep,name=map_bool_sfixed32,json=mapBoolSfixed32,proto3" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,309,rep,name=map_bool_float,json=mapBoolFloat,proto3" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,310,rep,name=map_bool_fixed64,json=mapBoolFixed64,proto3" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,311,rep,name=map_bool_sfixed64,json=mapBoolSfixed64,proto3" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,312,rep,name=map_bool_double,json=mapBoolDouble,proto3" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- MapBoolString map[bool]string `protobuf:"bytes,313,rep,name=map_bool_string,json=mapBoolString,proto3" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,314,rep,name=map_bool_bytes,json=mapBoolBytes,proto3" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,315,rep,name=map_bool_child_enum,json=mapBoolChildEnum,proto3" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.golang.org.proto3_20180814.Message_ChildEnum"`
- MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,316,rep,name=map_bool_child_message,json=mapBoolChildMessage,proto3" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,317,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum,proto3" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.golang.org.proto3_20180814.SiblingEnum"`
- MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,318,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage,proto3" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,319,rep,name=map_int32_bool,json=mapInt32Bool,proto3" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,320,rep,name=map_sint32_bool,json=mapSint32Bool,proto3" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,321,rep,name=map_uint32_bool,json=mapUint32Bool,proto3" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,322,rep,name=map_int64_bool,json=mapInt64Bool,proto3" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,323,rep,name=map_sint64_bool,json=mapSint64Bool,proto3" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,324,rep,name=map_uint64_bool,json=mapUint64Bool,proto3" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,325,rep,name=map_fixed32_bool,json=mapFixed32Bool,proto3" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapStringBool map[string]bool `protobuf:"bytes,326,rep,name=map_string_bool,json=mapStringBool,proto3" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- // Oneof fields.
- //
- // Types that are valid to be assigned to OneofUnion:
- // *Message_OneofBool
- // *Message_OneofInt32
- // *Message_OneofSint32
- // *Message_OneofUint32
- // *Message_OneofInt64
- // *Message_OneofSint64
- // *Message_OneofUint64
- // *Message_OneofFixed32
- // *Message_OneofSfixed32
- // *Message_OneofFloat
- // *Message_OneofFixed64
- // *Message_OneofSfixed64
- // *Message_OneofDouble
- // *Message_OneofString
- // *Message_OneofBytes
- // *Message_OneofChildEnum
- // *Message_OneofChildMessage
- // *Message_OneofSiblingEnum
- // *Message_OneofSiblingMessage
- // *Message_OneofString1
- // *Message_OneofString2
- // *Message_OneofString3
- OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message) Reset() { *m = Message{} }
-func (m *Message) String() string { return proto.CompactTextString(m) }
-func (*Message) ProtoMessage() {}
-func (*Message) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_14f9d28b9a7006c3, []int{1}
-}
-func (m *Message) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message.Unmarshal(m, b)
-}
-func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message.Marshal(b, m, deterministic)
-}
-func (dst *Message) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message.Merge(dst, src)
-}
-func (m *Message) XXX_Size() int {
- return xxx_messageInfo_Message.Size(m)
-}
-func (m *Message) XXX_DiscardUnknown() {
- xxx_messageInfo_Message.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message proto.InternalMessageInfo
-
-func (m *Message) GetOptionalBool() bool {
- if m != nil {
- return m.OptionalBool
- }
- return false
-}
-
-func (m *Message) GetOptionalInt32() int32 {
- if m != nil {
- return m.OptionalInt32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint32() int32 {
- if m != nil {
- return m.OptionalSint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint32() uint32 {
- if m != nil {
- return m.OptionalUint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalInt64() int64 {
- if m != nil {
- return m.OptionalInt64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint64() int64 {
- if m != nil {
- return m.OptionalSint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint64() uint64 {
- if m != nil {
- return m.OptionalUint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed32() uint32 {
- if m != nil {
- return m.OptionalFixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed32() int32 {
- if m != nil {
- return m.OptionalSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalFloat() float32 {
- if m != nil {
- return m.OptionalFloat
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed64() uint64 {
- if m != nil {
- return m.OptionalFixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed64() int64 {
- if m != nil {
- return m.OptionalSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalDouble() float64 {
- if m != nil {
- return m.OptionalDouble
- }
- return 0
-}
-
-func (m *Message) GetOptionalString() string {
- if m != nil {
- return m.OptionalString
- }
- return ""
-}
-
-func (m *Message) GetOptionalBytes() []byte {
- if m != nil {
- return m.OptionalBytes
- }
- return nil
-}
-
-func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
- if m != nil {
- return m.OptionalChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.OptionalChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
- if m != nil {
- return m.OptionalSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.OptionalSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBool() []bool {
- if m != nil {
- return m.RepeatedBool
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt32() []int32 {
- if m != nil {
- return m.RepeatedInt32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint32() []int32 {
- if m != nil {
- return m.RepeatedSint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint32() []uint32 {
- if m != nil {
- return m.RepeatedUint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt64() []int64 {
- if m != nil {
- return m.RepeatedInt64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint64() []int64 {
- if m != nil {
- return m.RepeatedSint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint64() []uint64 {
- if m != nil {
- return m.RepeatedUint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed32() []uint32 {
- if m != nil {
- return m.RepeatedFixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed32() []int32 {
- if m != nil {
- return m.RepeatedSfixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFloat() []float32 {
- if m != nil {
- return m.RepeatedFloat
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed64() []uint64 {
- if m != nil {
- return m.RepeatedFixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed64() []int64 {
- if m != nil {
- return m.RepeatedSfixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedDouble() []float64 {
- if m != nil {
- return m.RepeatedDouble
- }
- return nil
-}
-
-func (m *Message) GetRepeatedString() []string {
- if m != nil {
- return m.RepeatedString
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBytes() [][]byte {
- if m != nil {
- return m.RepeatedBytes
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
- if m != nil {
- return m.RepeatedChildEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
- if m != nil {
- return m.RepeatedChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
- if m != nil {
- return m.RepeatedSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
- if m != nil {
- return m.RepeatedSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBool() map[bool]bool {
- if m != nil {
- return m.MapBoolBool
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt32() map[bool]int32 {
- if m != nil {
- return m.MapBoolInt32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolUint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt64() map[bool]int64 {
- if m != nil {
- return m.MapBoolInt64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolUint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolFixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSfixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFloat() map[bool]float32 {
- if m != nil {
- return m.MapBoolFloat
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolFixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSfixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolDouble() map[bool]float64 {
- if m != nil {
- return m.MapBoolDouble
- }
- return nil
-}
-
-func (m *Message) GetMapBoolString() map[bool]string {
- if m != nil {
- return m.MapBoolString
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBytes() map[bool][]byte {
- if m != nil {
- return m.MapBoolBytes
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
- if m != nil {
- return m.MapBoolChildEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
- if m != nil {
- return m.MapBoolChildMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
- if m != nil {
- return m.MapBoolSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
- if m != nil {
- return m.MapBoolSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapInt32Bool() map[int32]bool {
- if m != nil {
- return m.MapInt32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint32Bool() map[int32]bool {
- if m != nil {
- return m.MapSint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint32Bool() map[uint32]bool {
- if m != nil {
- return m.MapUint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapInt64Bool() map[int64]bool {
- if m != nil {
- return m.MapInt64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint64Bool() map[int64]bool {
- if m != nil {
- return m.MapSint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint64Bool() map[uint64]bool {
- if m != nil {
- return m.MapUint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapFixed32Bool() map[uint32]bool {
- if m != nil {
- return m.MapFixed32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapStringBool() map[string]bool {
- if m != nil {
- return m.MapStringBool
- }
- return nil
-}
-
-type isMessage_OneofUnion interface {
- isMessage_OneofUnion()
-}
-
-type Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,json=oneofBool,proto3,oneof"`
-}
-
-type Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,json=oneofInt32,proto3,oneof"`
-}
-
-type Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,402,opt,name=oneof_sint32,json=oneofSint32,proto3,oneof"`
-}
-
-type Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"`
-}
-
-type Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,404,opt,name=oneof_int64,json=oneofInt64,proto3,oneof"`
-}
-
-type Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,405,opt,name=oneof_sint64,json=oneofSint64,proto3,oneof"`
-}
-
-type Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,406,opt,name=oneof_uint64,json=oneofUint64,proto3,oneof"`
-}
-
-type Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,407,opt,name=oneof_fixed32,json=oneofFixed32,proto3,oneof"`
-}
-
-type Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,408,opt,name=oneof_sfixed32,json=oneofSfixed32,proto3,oneof"`
-}
-
-type Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,409,opt,name=oneof_float,json=oneofFloat,proto3,oneof"`
-}
-
-type Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,410,opt,name=oneof_fixed64,json=oneofFixed64,proto3,oneof"`
-}
-
-type Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,411,opt,name=oneof_sfixed64,json=oneofSfixed64,proto3,oneof"`
-}
-
-type Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,412,opt,name=oneof_double,json=oneofDouble,proto3,oneof"`
-}
-
-type Message_OneofString struct {
- OneofString string `protobuf:"bytes,413,opt,name=oneof_string,json=oneofString,proto3,oneof"`
-}
-
-type Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,414,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
-}
-
-type Message_OneofChildEnum struct {
- OneofChildEnum Message_ChildEnum `protobuf:"varint,415,opt,name=oneof_child_enum,json=oneofChildEnum,proto3,enum=google.golang.org.proto3_20180814.Message_ChildEnum,oneof"`
-}
-
-type Message_OneofChildMessage struct {
- OneofChildMessage *Message_ChildMessage `protobuf:"bytes,416,opt,name=oneof_child_message,json=oneofChildMessage,proto3,oneof"`
-}
-
-type Message_OneofSiblingEnum struct {
- OneofSiblingEnum SiblingEnum `protobuf:"varint,417,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,proto3,enum=google.golang.org.proto3_20180814.SiblingEnum,oneof"`
-}
-
-type Message_OneofSiblingMessage struct {
- OneofSiblingMessage *SiblingMessage `protobuf:"bytes,418,opt,name=oneof_sibling_message,json=oneofSiblingMessage,proto3,oneof"`
-}
-
-type Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,419,opt,name=oneof_string1,json=oneofString1,proto3,oneof"`
-}
-
-type Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,420,opt,name=oneof_string2,json=oneofString2,proto3,oneof"`
-}
-
-type Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,421,opt,name=oneof_string3,json=oneofString3,proto3,oneof"`
-}
-
-func (*Message_OneofBool) isMessage_OneofUnion() {}
-
-func (*Message_OneofInt32) isMessage_OneofUnion() {}
-
-func (*Message_OneofSint32) isMessage_OneofUnion() {}
-
-func (*Message_OneofUint32) isMessage_OneofUnion() {}
-
-func (*Message_OneofInt64) isMessage_OneofUnion() {}
-
-func (*Message_OneofSint64) isMessage_OneofUnion() {}
-
-func (*Message_OneofUint64) isMessage_OneofUnion() {}
-
-func (*Message_OneofFixed32) isMessage_OneofUnion() {}
-
-func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
-
-func (*Message_OneofFloat) isMessage_OneofUnion() {}
-
-func (*Message_OneofFixed64) isMessage_OneofUnion() {}
-
-func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
-
-func (*Message_OneofDouble) isMessage_OneofUnion() {}
-
-func (*Message_OneofString) isMessage_OneofUnion() {}
-
-func (*Message_OneofBytes) isMessage_OneofUnion() {}
-
-func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
-
-func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
-
-func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
-
-func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
-
-func (*Message_OneofString1) isMessage_OneofUnion() {}
-
-func (*Message_OneofString2) isMessage_OneofUnion() {}
-
-func (*Message_OneofString3) isMessage_OneofUnion() {}
-
-func (m *Message) GetOneofUnion() isMessage_OneofUnion {
- if m != nil {
- return m.OneofUnion
- }
- return nil
-}
-
-func (m *Message) GetOneofBool() bool {
- if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (m *Message) GetOneofInt32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
- return x.OneofInt32
- }
- return 0
-}
-
-func (m *Message) GetOneofSint32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
- return x.OneofSint32
- }
- return 0
-}
-
-func (m *Message) GetOneofUint32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (m *Message) GetOneofInt64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
- return x.OneofInt64
- }
- return 0
-}
-
-func (m *Message) GetOneofSint64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
- return x.OneofSint64
- }
- return 0
-}
-
-func (m *Message) GetOneofUint64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
- return x.OneofFixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
- return x.OneofSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofFloat() float32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
- return x.OneofFixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
- return x.OneofSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofDouble() float64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (m *Message) GetOneofString() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (m *Message) GetOneofBytes() []byte {
- if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (m *Message) GetOneofChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
- return x.OneofChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
- return x.OneofChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
- return x.OneofSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
- return x.OneofSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofString1() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
- return x.OneofString1
- }
- return ""
-}
-
-func (m *Message) GetOneofString2() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
- return x.OneofString2
- }
- return ""
-}
-
-func (m *Message) GetOneofString3() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
- return x.OneofString3
- }
- return ""
-}
-
-// XXX_OneofFuncs is for the internal use of the proto package.
-func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
- return _Message_OneofMarshaler, _Message_OneofUnmarshaler, _Message_OneofSizer, []interface{}{
- (*Message_OneofBool)(nil),
- (*Message_OneofInt32)(nil),
- (*Message_OneofSint32)(nil),
- (*Message_OneofUint32)(nil),
- (*Message_OneofInt64)(nil),
- (*Message_OneofSint64)(nil),
- (*Message_OneofUint64)(nil),
- (*Message_OneofFixed32)(nil),
- (*Message_OneofSfixed32)(nil),
- (*Message_OneofFloat)(nil),
- (*Message_OneofFixed64)(nil),
- (*Message_OneofSfixed64)(nil),
- (*Message_OneofDouble)(nil),
- (*Message_OneofString)(nil),
- (*Message_OneofBytes)(nil),
- (*Message_OneofChildEnum)(nil),
- (*Message_OneofChildMessage)(nil),
- (*Message_OneofSiblingEnum)(nil),
- (*Message_OneofSiblingMessage)(nil),
- (*Message_OneofString1)(nil),
- (*Message_OneofString2)(nil),
- (*Message_OneofString3)(nil),
- }
-}
-
-func _Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- t := uint64(0)
- if x.OneofBool {
- t = 1
- }
- b.EncodeVarint(400<<3 | proto.WireVarint)
- b.EncodeVarint(t)
- case *Message_OneofInt32:
- b.EncodeVarint(401<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- b.EncodeVarint(402<<3 | proto.WireVarint)
- b.EncodeZigzag32(uint64(x.OneofSint32))
- case *Message_OneofUint32:
- b.EncodeVarint(403<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- b.EncodeVarint(404<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- b.EncodeVarint(405<<3 | proto.WireVarint)
- b.EncodeZigzag64(uint64(x.OneofSint64))
- case *Message_OneofUint64:
- b.EncodeVarint(406<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- b.EncodeVarint(407<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofFixed32))
- case *Message_OneofSfixed32:
- b.EncodeVarint(408<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(x.OneofSfixed32))
- case *Message_OneofFloat:
- b.EncodeVarint(409<<3 | proto.WireFixed32)
- b.EncodeFixed32(uint64(math.Float32bits(x.OneofFloat)))
- case *Message_OneofFixed64:
- b.EncodeVarint(410<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofFixed64))
- case *Message_OneofSfixed64:
- b.EncodeVarint(411<<3 | proto.WireFixed64)
- b.EncodeFixed64(uint64(x.OneofSfixed64))
- case *Message_OneofDouble:
- b.EncodeVarint(412<<3 | proto.WireFixed64)
- b.EncodeFixed64(math.Float64bits(x.OneofDouble))
- case *Message_OneofString:
- b.EncodeVarint(413<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString)
- case *Message_OneofBytes:
- b.EncodeVarint(414<<3 | proto.WireBytes)
- b.EncodeRawBytes(x.OneofBytes)
- case *Message_OneofChildEnum:
- b.EncodeVarint(415<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- b.EncodeVarint(416<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofChildMessage); err != nil {
- return err
- }
- case *Message_OneofSiblingEnum:
- b.EncodeVarint(417<<3 | proto.WireVarint)
- b.EncodeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- b.EncodeVarint(418<<3 | proto.WireBytes)
- if err := b.EncodeMessage(x.OneofSiblingMessage); err != nil {
- return err
- }
- case *Message_OneofString1:
- b.EncodeVarint(419<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString1)
- case *Message_OneofString2:
- b.EncodeVarint(420<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString2)
- case *Message_OneofString3:
- b.EncodeVarint(421<<3 | proto.WireBytes)
- b.EncodeStringBytes(x.OneofString3)
- case nil:
- default:
- return fmt.Errorf("Message.OneofUnion has unexpected type %T", x)
- }
- return nil
-}
-
-func _Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
- m := msg.(*Message)
- switch tag {
- case 400: // oneof_union.oneof_bool
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofBool{x != 0}
- return true, err
- case 401: // oneof_union.oneof_int32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt32{int32(x)}
- return true, err
- case 402: // oneof_union.oneof_sint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag32()
- m.OneofUnion = &Message_OneofSint32{int32(x)}
- return true, err
- case 403: // oneof_union.oneof_uint32
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint32{uint32(x)}
- return true, err
- case 404: // oneof_union.oneof_int64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofInt64{int64(x)}
- return true, err
- case 405: // oneof_union.oneof_sint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeZigzag64()
- m.OneofUnion = &Message_OneofSint64{int64(x)}
- return true, err
- case 406: // oneof_union.oneof_uint64
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofUint64{x}
- return true, err
- case 407: // oneof_union.oneof_fixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFixed32{uint32(x)}
- return true, err
- case 408: // oneof_union.oneof_sfixed32
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofSfixed32{int32(x)}
- return true, err
- case 409: // oneof_union.oneof_float
- if wire != proto.WireFixed32 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed32()
- m.OneofUnion = &Message_OneofFloat{math.Float32frombits(uint32(x))}
- return true, err
- case 410: // oneof_union.oneof_fixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofFixed64{x}
- return true, err
- case 411: // oneof_union.oneof_sfixed64
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofSfixed64{int64(x)}
- return true, err
- case 412: // oneof_union.oneof_double
- if wire != proto.WireFixed64 {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeFixed64()
- m.OneofUnion = &Message_OneofDouble{math.Float64frombits(x)}
- return true, err
- case 413: // oneof_union.oneof_string
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString{x}
- return true, err
- case 414: // oneof_union.oneof_bytes
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeRawBytes(true)
- m.OneofUnion = &Message_OneofBytes{x}
- return true, err
- case 415: // oneof_union.oneof_child_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofChildEnum{Message_ChildEnum(x)}
- return true, err
- case 416: // oneof_union.oneof_child_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(Message_ChildMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofChildMessage{msg}
- return true, err
- case 417: // oneof_union.oneof_sibling_enum
- if wire != proto.WireVarint {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeVarint()
- m.OneofUnion = &Message_OneofSiblingEnum{SiblingEnum(x)}
- return true, err
- case 418: // oneof_union.oneof_sibling_message
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- msg := new(SiblingMessage)
- err := b.DecodeMessage(msg)
- m.OneofUnion = &Message_OneofSiblingMessage{msg}
- return true, err
- case 419: // oneof_union.oneof_string1
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString1{x}
- return true, err
- case 420: // oneof_union.oneof_string2
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString2{x}
- return true, err
- case 421: // oneof_union.oneof_string3
- if wire != proto.WireBytes {
- return true, proto.ErrInternalBadWireType
- }
- x, err := b.DecodeStringBytes()
- m.OneofUnion = &Message_OneofString3{x}
- return true, err
- default:
- return false, nil
- }
-}
-
-func _Message_OneofSizer(msg proto.Message) (n int) {
- m := msg.(*Message)
- // oneof_union
- switch x := m.OneofUnion.(type) {
- case *Message_OneofBool:
- n += 2 // tag and wire
- n += 1
- case *Message_OneofInt32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofInt32))
- case *Message_OneofSint32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64((uint32(x.OneofSint32) << 1) ^ uint32((int32(x.OneofSint32) >> 31))))
- case *Message_OneofUint32:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofUint32))
- case *Message_OneofInt64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofInt64))
- case *Message_OneofSint64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(uint64(x.OneofSint64<<1) ^ uint64((int64(x.OneofSint64) >> 63))))
- case *Message_OneofUint64:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofUint64))
- case *Message_OneofFixed32:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofSfixed32:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofFloat:
- n += 2 // tag and wire
- n += 4
- case *Message_OneofFixed64:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofSfixed64:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofDouble:
- n += 2 // tag and wire
- n += 8
- case *Message_OneofString:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString)))
- n += len(x.OneofString)
- case *Message_OneofBytes:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofBytes)))
- n += len(x.OneofBytes)
- case *Message_OneofChildEnum:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofChildEnum))
- case *Message_OneofChildMessage:
- s := proto.Size(x.OneofChildMessage)
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofSiblingEnum:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(x.OneofSiblingEnum))
- case *Message_OneofSiblingMessage:
- s := proto.Size(x.OneofSiblingMessage)
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(s))
- n += s
- case *Message_OneofString1:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString1)))
- n += len(x.OneofString1)
- case *Message_OneofString2:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString2)))
- n += len(x.OneofString2)
- case *Message_OneofString3:
- n += 2 // tag and wire
- n += proto.SizeVarint(uint64(len(x.OneofString3)))
- n += len(x.OneofString3)
- case nil:
- default:
- panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
- }
- return n
-}
-
-type Message_ChildMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2,proto3" json:"f2,omitempty"`
- F3 *Message `protobuf:"bytes,3,opt,name=f3,proto3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
-func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
-func (*Message_ChildMessage) ProtoMessage() {}
-func (*Message_ChildMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_test_14f9d28b9a7006c3, []int{1, 0}
-}
-func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_ChildMessage.Unmarshal(m, b)
-}
-func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_ChildMessage.Marshal(b, m, deterministic)
-}
-func (dst *Message_ChildMessage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_ChildMessage.Merge(dst, src)
-}
-func (m *Message_ChildMessage) XXX_Size() int {
- return xxx_messageInfo_Message_ChildMessage.Size(m)
-}
-func (m *Message_ChildMessage) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_ChildMessage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_ChildMessage proto.InternalMessageInfo
-
-func (m *Message_ChildMessage) GetF1() string {
- if m != nil {
- return m.F1
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF2() []string {
- if m != nil {
- return m.F2
- }
- return nil
-}
-
-func (m *Message_ChildMessage) GetF3() *Message {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto3_20180814.SiblingMessage")
- proto.RegisterType((*Message)(nil), "google.golang.org.proto3_20180814.Message")
- proto.RegisterMapType((map[bool]bool)(nil), "google.golang.org.proto3_20180814.Message.MapBoolBoolEntry")
- proto.RegisterMapType((map[bool][]byte)(nil), "google.golang.org.proto3_20180814.Message.MapBoolBytesEntry")
- proto.RegisterMapType((map[bool]Message_ChildEnum)(nil), "google.golang.org.proto3_20180814.Message.MapBoolChildEnumEntry")
- proto.RegisterMapType((map[bool]*Message_ChildMessage)(nil), "google.golang.org.proto3_20180814.Message.MapBoolChildMessageEntry")
- proto.RegisterMapType((map[bool]float64)(nil), "google.golang.org.proto3_20180814.Message.MapBoolDoubleEntry")
- proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto3_20180814.Message.MapBoolFixed32Entry")
- proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto3_20180814.Message.MapBoolFixed64Entry")
- proto.RegisterMapType((map[bool]float32)(nil), "google.golang.org.proto3_20180814.Message.MapBoolFloatEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20180814.Message.MapBoolInt32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20180814.Message.MapBoolInt64Entry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20180814.Message.MapBoolSfixed32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20180814.Message.MapBoolSfixed64Entry")
- proto.RegisterMapType((map[bool]SiblingEnum)(nil), "google.golang.org.proto3_20180814.Message.MapBoolSiblingEnumEntry")
- proto.RegisterMapType((map[bool]*SiblingMessage)(nil), "google.golang.org.proto3_20180814.Message.MapBoolSiblingMessageEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20180814.Message.MapBoolSint32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20180814.Message.MapBoolSint64Entry")
- proto.RegisterMapType((map[bool]string)(nil), "google.golang.org.proto3_20180814.Message.MapBoolStringEntry")
- proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto3_20180814.Message.MapBoolUint32Entry")
- proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto3_20180814.Message.MapBoolUint64Entry")
- proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto3_20180814.Message.MapFixed32BoolEntry")
- proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto3_20180814.Message.MapInt32BoolEntry")
- proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto3_20180814.Message.MapInt64BoolEntry")
- proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto3_20180814.Message.MapSint32BoolEntry")
- proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto3_20180814.Message.MapSint64BoolEntry")
- proto.RegisterMapType((map[string]bool)(nil), "google.golang.org.proto3_20180814.Message.MapStringBoolEntry")
- proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto3_20180814.Message.MapUint32BoolEntry")
- proto.RegisterMapType((map[uint64]bool)(nil), "google.golang.org.proto3_20180814.Message.MapUint64BoolEntry")
- proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto3_20180814.Message.ChildMessage")
- proto.RegisterEnum("google.golang.org.proto3_20180814.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
- proto.RegisterEnum("google.golang.org.proto3_20180814.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
-}
-
-func init() {
- proto.RegisterFile("proto3_20180814_aa810b61/test.proto", fileDescriptor_test_14f9d28b9a7006c3)
-}
-
-var fileDescriptor_test_14f9d28b9a7006c3 = []byte{
- // 1946 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x9a, 0x57, 0x73, 0xdb, 0xca,
- 0x15, 0xc7, 0x09, 0x52, 0xc5, 0x5a, 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1d, 0xa2, 0x87, 0xb9, 0x21, 0x1e, 0x96, 0x4b, 0x68, 0x8e, 0x1f, 0x02, 0xe7, 0xd0, 0xf4,
- 0xfa, 0xc5, 0xcb, 0xd5, 0xf5, 0x7c, 0x82, 0xfc, 0xb8, 0x61, 0xad, 0xff, 0xf2, 0x17, 0x79, 0x45,
- 0x9d, 0x47, 0xb3, 0x67, 0xab, 0xeb, 0xd6, 0xc5, 0x0b, 0x9b, 0xf9, 0xe4, 0x46, 0x86, 0x1e, 0x57,
- 0xfb, 0x9d, 0x96, 0xdb, 0x39, 0x5e, 0x46, 0xf3, 0xe2, 0xc1, 0x2b, 0xca, 0x01, 0x52, 0xd3, 0xdc,
- 0xc1, 0x6d, 0x65, 0xe3, 0xf2, 0xaf, 0x7e, 0x1e, 0xaa, 0xdf, 0x15, 0xaf, 0x7e, 0xeb, 0xfd, 0xc6,
- 0x4a, 0xab, 0xd3, 0xb3, 0xf7, 0x3b, 0x35, 0xc7, 0xfb, 0xeb, 0x09, 0xcf, 0xda, 0x5d, 0x71, 0xec,
- 0x66, 0x6d, 0xe7, 0x60, 0x65, 0xd0, 0x1f, 0x5a, 0xd4, 0x67, 0xe0, 0x93, 0xaf, 0x03, 0x00, 0x00,
- 0xff, 0xff, 0xe8, 0x29, 0x22, 0xf1, 0x8b, 0x21, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180814_aa810b61/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180814_aa810b61/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20180814_aa810b61/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20190205_c823c79e/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20190205_c823c79e/test.pb.go
deleted file mode 100644
index 250836c4f0..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20190205_c823c79e/test.pb.go
+++ /dev/null
@@ -1,1262 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: proto3_20190205_c823c79e/test.proto
-
-package proto3_20190205_c823c79e
-
-import (
- fmt "fmt"
- math "math"
-
- proto "google.golang.org/protobuf/internal/protolegacy"
-)
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
-
-type SiblingEnum int32
-
-const (
- SiblingEnum_ALPHA SiblingEnum = 0
- SiblingEnum_BRAVO SiblingEnum = 10
- SiblingEnum_CHARLIE SiblingEnum = 200
-)
-
-var SiblingEnum_name = map[int32]string{
- 0: "ALPHA",
- 10: "BRAVO",
- 200: "CHARLIE",
-}
-
-var SiblingEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 10,
- "CHARLIE": 200,
-}
-
-func (x SiblingEnum) String() string {
- return proto.EnumName(SiblingEnum_name, int32(x))
-}
-
-func (SiblingEnum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_95cd555ff3d1bc43, []int{0}
-}
-
-type Message_ChildEnum int32
-
-const (
- Message_ALPHA Message_ChildEnum = 0
- Message_BRAVO Message_ChildEnum = 1
- Message_CHARLIE Message_ChildEnum = 2
-)
-
-var Message_ChildEnum_name = map[int32]string{
- 0: "ALPHA",
- 1: "BRAVO",
- 2: "CHARLIE",
-}
-
-var Message_ChildEnum_value = map[string]int32{
- "ALPHA": 0,
- "BRAVO": 1,
- "CHARLIE": 2,
-}
-
-func (x Message_ChildEnum) String() string {
- return proto.EnumName(Message_ChildEnum_name, int32(x))
-}
-
-func (Message_ChildEnum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_95cd555ff3d1bc43, []int{1, 0}
-}
-
-type SiblingMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2,proto3" json:"f2,omitempty"`
- F3 *Message `protobuf:"bytes,3,opt,name=f3,proto3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SiblingMessage) Reset() { *m = SiblingMessage{} }
-func (m *SiblingMessage) String() string { return proto.CompactTextString(m) }
-func (*SiblingMessage) ProtoMessage() {}
-func (*SiblingMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_95cd555ff3d1bc43, []int{0}
-}
-
-func (m *SiblingMessage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SiblingMessage.Unmarshal(m, b)
-}
-func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SiblingMessage.Marshal(b, m, deterministic)
-}
-func (m *SiblingMessage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SiblingMessage.Merge(m, src)
-}
-func (m *SiblingMessage) XXX_Size() int {
- return xxx_messageInfo_SiblingMessage.Size(m)
-}
-func (m *SiblingMessage) XXX_DiscardUnknown() {
- xxx_messageInfo_SiblingMessage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SiblingMessage proto.InternalMessageInfo
-
-func (m *SiblingMessage) GetF1() string {
- if m != nil {
- return m.F1
- }
- return ""
-}
-
-func (m *SiblingMessage) GetF2() []string {
- if m != nil {
- return m.F2
- }
- return nil
-}
-
-func (m *SiblingMessage) GetF3() *Message {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-type Message struct {
- // Optional fields.
- OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool,proto3" json:"optional_bool,omitempty"`
- OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32,proto3" json:"optional_int32,omitempty"`
- OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32,proto3" json:"optional_sint32,omitempty"`
- OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32,proto3" json:"optional_uint32,omitempty"`
- OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64,proto3" json:"optional_int64,omitempty"`
- OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64,proto3" json:"optional_sint64,omitempty"`
- OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64,proto3" json:"optional_uint64,omitempty"`
- OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32,proto3" json:"optional_fixed32,omitempty"`
- OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32,proto3" json:"optional_sfixed32,omitempty"`
- OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat,proto3" json:"optional_float,omitempty"`
- OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64,proto3" json:"optional_fixed64,omitempty"`
- OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64,proto3" json:"optional_sfixed64,omitempty"`
- OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble,proto3" json:"optional_double,omitempty"`
- OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"`
- OptionalChildEnum Message_ChildEnum `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,proto3,enum=google.golang.org.proto3_20190205.Message_ChildEnum" json:"optional_child_enum,omitempty"`
- OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage,proto3" json:"optional_child_message,omitempty"`
- OptionalSiblingEnum SiblingEnum `protobuf:"varint,117,opt,name=optional_sibling_enum,json=optionalSiblingEnum,proto3,enum=google.golang.org.proto3_20190205.SiblingEnum" json:"optional_sibling_enum,omitempty"`
- OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage,proto3" json:"optional_sibling_message,omitempty"`
- // Repeated fields.
- RepeatedBool []bool `protobuf:"varint,200,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,201,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,203,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,204,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,206,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,209,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,212,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"`
- RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
- RepeatedChildEnum []Message_ChildEnum `protobuf:"varint,215,rep,packed,name=repeated_child_enum,json=repeatedChildEnum,proto3,enum=google.golang.org.proto3_20190205.Message_ChildEnum" json:"repeated_child_enum,omitempty"`
- RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage,proto3" json:"repeated_child_message,omitempty"`
- RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,217,rep,packed,name=repeated_sibling_enum,json=repeatedSiblingEnum,proto3,enum=google.golang.org.proto3_20190205.SiblingEnum" json:"repeated_sibling_enum,omitempty"`
- RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage,proto3" json:"repeated_sibling_message,omitempty"`
- // Map fields.
- MapBoolBool map[bool]bool `protobuf:"bytes,300,rep,name=map_bool_bool,json=mapBoolBool,proto3" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolInt32 map[bool]int32 `protobuf:"bytes,301,rep,name=map_bool_int32,json=mapBoolInt32,proto3" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolSint32 map[bool]int32 `protobuf:"bytes,302,rep,name=map_bool_sint32,json=mapBoolSint32,proto3" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"zigzag32,2,opt,name=value,proto3"`
- MapBoolUint32 map[bool]uint32 `protobuf:"bytes,303,rep,name=map_bool_uint32,json=mapBoolUint32,proto3" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolInt64 map[bool]int64 `protobuf:"bytes,304,rep,name=map_bool_int64,json=mapBoolInt64,proto3" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolSint64 map[bool]int64 `protobuf:"bytes,305,rep,name=map_bool_sint64,json=mapBoolSint64,proto3" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"zigzag64,2,opt,name=value,proto3"`
- MapBoolUint64 map[bool]uint64 `protobuf:"bytes,306,rep,name=map_bool_uint64,json=mapBoolUint64,proto3" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,307,rep,name=map_bool_fixed32,json=mapBoolFixed32,proto3" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
- MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,308,rep,name=map_bool_sfixed32,json=mapBoolSfixed32,proto3" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
- MapBoolFloat map[bool]float32 `protobuf:"bytes,309,rep,name=map_bool_float,json=mapBoolFloat,proto3" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
- MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,310,rep,name=map_bool_fixed64,json=mapBoolFixed64,proto3" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,311,rep,name=map_bool_sfixed64,json=mapBoolSfixed64,proto3" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- MapBoolDouble map[bool]float64 `protobuf:"bytes,312,rep,name=map_bool_double,json=mapBoolDouble,proto3" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- MapBoolString map[bool]string `protobuf:"bytes,313,rep,name=map_bool_string,json=mapBoolString,proto3" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapBoolBytes map[bool][]byte `protobuf:"bytes,314,rep,name=map_bool_bytes,json=mapBoolBytes,proto3" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,315,rep,name=map_bool_child_enum,json=mapBoolChildEnum,proto3" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.golang.org.proto3_20190205.Message_ChildEnum"`
- MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,316,rep,name=map_bool_child_message,json=mapBoolChildMessage,proto3" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,317,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum,proto3" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=google.golang.org.proto3_20190205.SiblingEnum"`
- MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,318,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage,proto3" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapInt32Bool map[int32]bool `protobuf:"bytes,319,rep,name=map_int32_bool,json=mapInt32Bool,proto3" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapSint32Bool map[int32]bool `protobuf:"bytes,320,rep,name=map_sint32_bool,json=mapSint32Bool,proto3" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapUint32Bool map[uint32]bool `protobuf:"bytes,321,rep,name=map_uint32_bool,json=mapUint32Bool,proto3" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapInt64Bool map[int64]bool `protobuf:"bytes,322,rep,name=map_int64_bool,json=mapInt64Bool,proto3" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapSint64Bool map[int64]bool `protobuf:"bytes,323,rep,name=map_sint64_bool,json=mapSint64Bool,proto3" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapUint64Bool map[uint64]bool `protobuf:"bytes,324,rep,name=map_uint64_bool,json=mapUint64Bool,proto3" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapFixed32Bool map[uint32]bool `protobuf:"bytes,325,rep,name=map_fixed32_bool,json=mapFixed32Bool,proto3" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapStringBool map[string]bool `protobuf:"bytes,326,rep,name=map_string_bool,json=mapStringBool,proto3" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- // Oneof fields.
- //
- // Types that are valid to be assigned to OneofUnion:
- // *Message_OneofBool
- // *Message_OneofInt32
- // *Message_OneofSint32
- // *Message_OneofUint32
- // *Message_OneofInt64
- // *Message_OneofSint64
- // *Message_OneofUint64
- // *Message_OneofFixed32
- // *Message_OneofSfixed32
- // *Message_OneofFloat
- // *Message_OneofFixed64
- // *Message_OneofSfixed64
- // *Message_OneofDouble
- // *Message_OneofString
- // *Message_OneofBytes
- // *Message_OneofChildEnum
- // *Message_OneofChildMessage
- // *Message_OneofSiblingEnum
- // *Message_OneofSiblingMessage
- // *Message_OneofString1
- // *Message_OneofString2
- // *Message_OneofString3
- OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message) Reset() { *m = Message{} }
-func (m *Message) String() string { return proto.CompactTextString(m) }
-func (*Message) ProtoMessage() {}
-func (*Message) Descriptor() ([]byte, []int) {
- return fileDescriptor_95cd555ff3d1bc43, []int{1}
-}
-
-func (m *Message) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message.Unmarshal(m, b)
-}
-func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message.Marshal(b, m, deterministic)
-}
-func (m *Message) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message.Merge(m, src)
-}
-func (m *Message) XXX_Size() int {
- return xxx_messageInfo_Message.Size(m)
-}
-func (m *Message) XXX_DiscardUnknown() {
- xxx_messageInfo_Message.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message proto.InternalMessageInfo
-
-func (m *Message) GetOptionalBool() bool {
- if m != nil {
- return m.OptionalBool
- }
- return false
-}
-
-func (m *Message) GetOptionalInt32() int32 {
- if m != nil {
- return m.OptionalInt32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint32() int32 {
- if m != nil {
- return m.OptionalSint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint32() uint32 {
- if m != nil {
- return m.OptionalUint32
- }
- return 0
-}
-
-func (m *Message) GetOptionalInt64() int64 {
- if m != nil {
- return m.OptionalInt64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSint64() int64 {
- if m != nil {
- return m.OptionalSint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalUint64() uint64 {
- if m != nil {
- return m.OptionalUint64
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed32() uint32 {
- if m != nil {
- return m.OptionalFixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed32() int32 {
- if m != nil {
- return m.OptionalSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOptionalFloat() float32 {
- if m != nil {
- return m.OptionalFloat
- }
- return 0
-}
-
-func (m *Message) GetOptionalFixed64() uint64 {
- if m != nil {
- return m.OptionalFixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalSfixed64() int64 {
- if m != nil {
- return m.OptionalSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOptionalDouble() float64 {
- if m != nil {
- return m.OptionalDouble
- }
- return 0
-}
-
-func (m *Message) GetOptionalString() string {
- if m != nil {
- return m.OptionalString
- }
- return ""
-}
-
-func (m *Message) GetOptionalBytes() []byte {
- if m != nil {
- return m.OptionalBytes
- }
- return nil
-}
-
-func (m *Message) GetOptionalChildEnum() Message_ChildEnum {
- if m != nil {
- return m.OptionalChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOptionalChildMessage() *Message_ChildMessage {
- if m != nil {
- return m.OptionalChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOptionalSiblingEnum() SiblingEnum {
- if m != nil {
- return m.OptionalSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOptionalSiblingMessage() *SiblingMessage {
- if m != nil {
- return m.OptionalSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBool() []bool {
- if m != nil {
- return m.RepeatedBool
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt32() []int32 {
- if m != nil {
- return m.RepeatedInt32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint32() []int32 {
- if m != nil {
- return m.RepeatedSint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint32() []uint32 {
- if m != nil {
- return m.RepeatedUint32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedInt64() []int64 {
- if m != nil {
- return m.RepeatedInt64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSint64() []int64 {
- if m != nil {
- return m.RepeatedSint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedUint64() []uint64 {
- if m != nil {
- return m.RepeatedUint64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed32() []uint32 {
- if m != nil {
- return m.RepeatedFixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed32() []int32 {
- if m != nil {
- return m.RepeatedSfixed32
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFloat() []float32 {
- if m != nil {
- return m.RepeatedFloat
- }
- return nil
-}
-
-func (m *Message) GetRepeatedFixed64() []uint64 {
- if m != nil {
- return m.RepeatedFixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSfixed64() []int64 {
- if m != nil {
- return m.RepeatedSfixed64
- }
- return nil
-}
-
-func (m *Message) GetRepeatedDouble() []float64 {
- if m != nil {
- return m.RepeatedDouble
- }
- return nil
-}
-
-func (m *Message) GetRepeatedString() []string {
- if m != nil {
- return m.RepeatedString
- }
- return nil
-}
-
-func (m *Message) GetRepeatedBytes() [][]byte {
- if m != nil {
- return m.RepeatedBytes
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum {
- if m != nil {
- return m.RepeatedChildEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage {
- if m != nil {
- return m.RepeatedChildMessage
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum {
- if m != nil {
- return m.RepeatedSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage {
- if m != nil {
- return m.RepeatedSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBool() map[bool]bool {
- if m != nil {
- return m.MapBoolBool
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt32() map[bool]int32 {
- if m != nil {
- return m.MapBoolInt32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolUint32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolInt64() map[bool]int64 {
- if m != nil {
- return m.MapBoolInt64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSint64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolUint64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolUint64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed32() map[bool]uint32 {
- if m != nil {
- return m.MapBoolFixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed32() map[bool]int32 {
- if m != nil {
- return m.MapBoolSfixed32
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFloat() map[bool]float32 {
- if m != nil {
- return m.MapBoolFloat
- }
- return nil
-}
-
-func (m *Message) GetMapBoolFixed64() map[bool]uint64 {
- if m != nil {
- return m.MapBoolFixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSfixed64() map[bool]int64 {
- if m != nil {
- return m.MapBoolSfixed64
- }
- return nil
-}
-
-func (m *Message) GetMapBoolDouble() map[bool]float64 {
- if m != nil {
- return m.MapBoolDouble
- }
- return nil
-}
-
-func (m *Message) GetMapBoolString() map[bool]string {
- if m != nil {
- return m.MapBoolString
- }
- return nil
-}
-
-func (m *Message) GetMapBoolBytes() map[bool][]byte {
- if m != nil {
- return m.MapBoolBytes
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum {
- if m != nil {
- return m.MapBoolChildEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage {
- if m != nil {
- return m.MapBoolChildMessage
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum {
- if m != nil {
- return m.MapBoolSiblingEnum
- }
- return nil
-}
-
-func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage {
- if m != nil {
- return m.MapBoolSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetMapInt32Bool() map[int32]bool {
- if m != nil {
- return m.MapInt32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint32Bool() map[int32]bool {
- if m != nil {
- return m.MapSint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint32Bool() map[uint32]bool {
- if m != nil {
- return m.MapUint32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapInt64Bool() map[int64]bool {
- if m != nil {
- return m.MapInt64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapSint64Bool() map[int64]bool {
- if m != nil {
- return m.MapSint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapUint64Bool() map[uint64]bool {
- if m != nil {
- return m.MapUint64Bool
- }
- return nil
-}
-
-func (m *Message) GetMapFixed32Bool() map[uint32]bool {
- if m != nil {
- return m.MapFixed32Bool
- }
- return nil
-}
-
-func (m *Message) GetMapStringBool() map[string]bool {
- if m != nil {
- return m.MapStringBool
- }
- return nil
-}
-
-type isMessage_OneofUnion interface {
- isMessage_OneofUnion()
-}
-
-type Message_OneofBool struct {
- OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,json=oneofBool,proto3,oneof"`
-}
-
-type Message_OneofInt32 struct {
- OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,json=oneofInt32,proto3,oneof"`
-}
-
-type Message_OneofSint32 struct {
- OneofSint32 int32 `protobuf:"zigzag32,402,opt,name=oneof_sint32,json=oneofSint32,proto3,oneof"`
-}
-
-type Message_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"`
-}
-
-type Message_OneofInt64 struct {
- OneofInt64 int64 `protobuf:"varint,404,opt,name=oneof_int64,json=oneofInt64,proto3,oneof"`
-}
-
-type Message_OneofSint64 struct {
- OneofSint64 int64 `protobuf:"zigzag64,405,opt,name=oneof_sint64,json=oneofSint64,proto3,oneof"`
-}
-
-type Message_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,406,opt,name=oneof_uint64,json=oneofUint64,proto3,oneof"`
-}
-
-type Message_OneofFixed32 struct {
- OneofFixed32 uint32 `protobuf:"fixed32,407,opt,name=oneof_fixed32,json=oneofFixed32,proto3,oneof"`
-}
-
-type Message_OneofSfixed32 struct {
- OneofSfixed32 int32 `protobuf:"fixed32,408,opt,name=oneof_sfixed32,json=oneofSfixed32,proto3,oneof"`
-}
-
-type Message_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,409,opt,name=oneof_float,json=oneofFloat,proto3,oneof"`
-}
-
-type Message_OneofFixed64 struct {
- OneofFixed64 uint64 `protobuf:"fixed64,410,opt,name=oneof_fixed64,json=oneofFixed64,proto3,oneof"`
-}
-
-type Message_OneofSfixed64 struct {
- OneofSfixed64 int64 `protobuf:"fixed64,411,opt,name=oneof_sfixed64,json=oneofSfixed64,proto3,oneof"`
-}
-
-type Message_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,412,opt,name=oneof_double,json=oneofDouble,proto3,oneof"`
-}
-
-type Message_OneofString struct {
- OneofString string `protobuf:"bytes,413,opt,name=oneof_string,json=oneofString,proto3,oneof"`
-}
-
-type Message_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,414,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
-}
-
-type Message_OneofChildEnum struct {
- OneofChildEnum Message_ChildEnum `protobuf:"varint,415,opt,name=oneof_child_enum,json=oneofChildEnum,proto3,enum=google.golang.org.proto3_20190205.Message_ChildEnum,oneof"`
-}
-
-type Message_OneofChildMessage struct {
- OneofChildMessage *Message_ChildMessage `protobuf:"bytes,416,opt,name=oneof_child_message,json=oneofChildMessage,proto3,oneof"`
-}
-
-type Message_OneofSiblingEnum struct {
- OneofSiblingEnum SiblingEnum `protobuf:"varint,417,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,proto3,enum=google.golang.org.proto3_20190205.SiblingEnum,oneof"`
-}
-
-type Message_OneofSiblingMessage struct {
- OneofSiblingMessage *SiblingMessage `protobuf:"bytes,418,opt,name=oneof_sibling_message,json=oneofSiblingMessage,proto3,oneof"`
-}
-
-type Message_OneofString1 struct {
- OneofString1 string `protobuf:"bytes,419,opt,name=oneof_string1,json=oneofString1,proto3,oneof"`
-}
-
-type Message_OneofString2 struct {
- OneofString2 string `protobuf:"bytes,420,opt,name=oneof_string2,json=oneofString2,proto3,oneof"`
-}
-
-type Message_OneofString3 struct {
- OneofString3 string `protobuf:"bytes,421,opt,name=oneof_string3,json=oneofString3,proto3,oneof"`
-}
-
-func (*Message_OneofBool) isMessage_OneofUnion() {}
-
-func (*Message_OneofInt32) isMessage_OneofUnion() {}
-
-func (*Message_OneofSint32) isMessage_OneofUnion() {}
-
-func (*Message_OneofUint32) isMessage_OneofUnion() {}
-
-func (*Message_OneofInt64) isMessage_OneofUnion() {}
-
-func (*Message_OneofSint64) isMessage_OneofUnion() {}
-
-func (*Message_OneofUint64) isMessage_OneofUnion() {}
-
-func (*Message_OneofFixed32) isMessage_OneofUnion() {}
-
-func (*Message_OneofSfixed32) isMessage_OneofUnion() {}
-
-func (*Message_OneofFloat) isMessage_OneofUnion() {}
-
-func (*Message_OneofFixed64) isMessage_OneofUnion() {}
-
-func (*Message_OneofSfixed64) isMessage_OneofUnion() {}
-
-func (*Message_OneofDouble) isMessage_OneofUnion() {}
-
-func (*Message_OneofString) isMessage_OneofUnion() {}
-
-func (*Message_OneofBytes) isMessage_OneofUnion() {}
-
-func (*Message_OneofChildEnum) isMessage_OneofUnion() {}
-
-func (*Message_OneofChildMessage) isMessage_OneofUnion() {}
-
-func (*Message_OneofSiblingEnum) isMessage_OneofUnion() {}
-
-func (*Message_OneofSiblingMessage) isMessage_OneofUnion() {}
-
-func (*Message_OneofString1) isMessage_OneofUnion() {}
-
-func (*Message_OneofString2) isMessage_OneofUnion() {}
-
-func (*Message_OneofString3) isMessage_OneofUnion() {}
-
-func (m *Message) GetOneofUnion() isMessage_OneofUnion {
- if m != nil {
- return m.OneofUnion
- }
- return nil
-}
-
-func (m *Message) GetOneofBool() bool {
- if x, ok := m.GetOneofUnion().(*Message_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (m *Message) GetOneofInt32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt32); ok {
- return x.OneofInt32
- }
- return 0
-}
-
-func (m *Message) GetOneofSint32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint32); ok {
- return x.OneofSint32
- }
- return 0
-}
-
-func (m *Message) GetOneofUint32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (m *Message) GetOneofInt64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofInt64); ok {
- return x.OneofInt64
- }
- return 0
-}
-
-func (m *Message) GetOneofSint64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSint64); ok {
- return x.OneofSint64
- }
- return 0
-}
-
-func (m *Message) GetOneofUint64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed32() uint32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed32); ok {
- return x.OneofFixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed32() int32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed32); ok {
- return x.OneofSfixed32
- }
- return 0
-}
-
-func (m *Message) GetOneofFloat() float32 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (m *Message) GetOneofFixed64() uint64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofFixed64); ok {
- return x.OneofFixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofSfixed64() int64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofSfixed64); ok {
- return x.OneofSfixed64
- }
- return 0
-}
-
-func (m *Message) GetOneofDouble() float64 {
- if x, ok := m.GetOneofUnion().(*Message_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (m *Message) GetOneofString() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (m *Message) GetOneofBytes() []byte {
- if x, ok := m.GetOneofUnion().(*Message_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (m *Message) GetOneofChildEnum() Message_ChildEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildEnum); ok {
- return x.OneofChildEnum
- }
- return Message_ALPHA
-}
-
-func (m *Message) GetOneofChildMessage() *Message_ChildMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofChildMessage); ok {
- return x.OneofChildMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofSiblingEnum() SiblingEnum {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingEnum); ok {
- return x.OneofSiblingEnum
- }
- return SiblingEnum_ALPHA
-}
-
-func (m *Message) GetOneofSiblingMessage() *SiblingMessage {
- if x, ok := m.GetOneofUnion().(*Message_OneofSiblingMessage); ok {
- return x.OneofSiblingMessage
- }
- return nil
-}
-
-func (m *Message) GetOneofString1() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString1); ok {
- return x.OneofString1
- }
- return ""
-}
-
-func (m *Message) GetOneofString2() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString2); ok {
- return x.OneofString2
- }
- return ""
-}
-
-func (m *Message) GetOneofString3() string {
- if x, ok := m.GetOneofUnion().(*Message_OneofString3); ok {
- return x.OneofString3
- }
- return ""
-}
-
-// XXX_OneofWrappers is for the internal use of the proto package.
-func (*Message) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*Message_OneofBool)(nil),
- (*Message_OneofInt32)(nil),
- (*Message_OneofSint32)(nil),
- (*Message_OneofUint32)(nil),
- (*Message_OneofInt64)(nil),
- (*Message_OneofSint64)(nil),
- (*Message_OneofUint64)(nil),
- (*Message_OneofFixed32)(nil),
- (*Message_OneofSfixed32)(nil),
- (*Message_OneofFloat)(nil),
- (*Message_OneofFixed64)(nil),
- (*Message_OneofSfixed64)(nil),
- (*Message_OneofDouble)(nil),
- (*Message_OneofString)(nil),
- (*Message_OneofBytes)(nil),
- (*Message_OneofChildEnum)(nil),
- (*Message_OneofChildMessage)(nil),
- (*Message_OneofSiblingEnum)(nil),
- (*Message_OneofSiblingMessage)(nil),
- (*Message_OneofString1)(nil),
- (*Message_OneofString2)(nil),
- (*Message_OneofString3)(nil),
- }
-}
-
-type Message_ChildMessage struct {
- F1 string `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
- F2 []string `protobuf:"bytes,2,rep,name=f2,proto3" json:"f2,omitempty"`
- F3 *Message `protobuf:"bytes,3,opt,name=f3,proto3" json:"f3,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Message_ChildMessage) Reset() { *m = Message_ChildMessage{} }
-func (m *Message_ChildMessage) String() string { return proto.CompactTextString(m) }
-func (*Message_ChildMessage) ProtoMessage() {}
-func (*Message_ChildMessage) Descriptor() ([]byte, []int) {
- return fileDescriptor_95cd555ff3d1bc43, []int{1, 0}
-}
-
-func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Message_ChildMessage.Unmarshal(m, b)
-}
-func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Message_ChildMessage.Marshal(b, m, deterministic)
-}
-func (m *Message_ChildMessage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Message_ChildMessage.Merge(m, src)
-}
-func (m *Message_ChildMessage) XXX_Size() int {
- return xxx_messageInfo_Message_ChildMessage.Size(m)
-}
-func (m *Message_ChildMessage) XXX_DiscardUnknown() {
- xxx_messageInfo_Message_ChildMessage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Message_ChildMessage proto.InternalMessageInfo
-
-func (m *Message_ChildMessage) GetF1() string {
- if m != nil {
- return m.F1
- }
- return ""
-}
-
-func (m *Message_ChildMessage) GetF2() []string {
- if m != nil {
- return m.F2
- }
- return nil
-}
-
-func (m *Message_ChildMessage) GetF3() *Message {
- if m != nil {
- return m.F3
- }
- return nil
-}
-
-func init() {
- proto.RegisterEnum("google.golang.org.proto3_20190205.SiblingEnum", SiblingEnum_name, SiblingEnum_value)
- proto.RegisterEnum("google.golang.org.proto3_20190205.Message_ChildEnum", Message_ChildEnum_name, Message_ChildEnum_value)
- proto.RegisterType((*SiblingMessage)(nil), "google.golang.org.proto3_20190205.SiblingMessage")
- proto.RegisterType((*Message)(nil), "google.golang.org.proto3_20190205.Message")
- proto.RegisterMapType((map[bool]bool)(nil), "google.golang.org.proto3_20190205.Message.MapBoolBoolEntry")
- proto.RegisterMapType((map[bool][]byte)(nil), "google.golang.org.proto3_20190205.Message.MapBoolBytesEntry")
- proto.RegisterMapType((map[bool]Message_ChildEnum)(nil), "google.golang.org.proto3_20190205.Message.MapBoolChildEnumEntry")
- proto.RegisterMapType((map[bool]*Message_ChildMessage)(nil), "google.golang.org.proto3_20190205.Message.MapBoolChildMessageEntry")
- proto.RegisterMapType((map[bool]float64)(nil), "google.golang.org.proto3_20190205.Message.MapBoolDoubleEntry")
- proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto3_20190205.Message.MapBoolFixed32Entry")
- proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto3_20190205.Message.MapBoolFixed64Entry")
- proto.RegisterMapType((map[bool]float32)(nil), "google.golang.org.proto3_20190205.Message.MapBoolFloatEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20190205.Message.MapBoolInt32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20190205.Message.MapBoolInt64Entry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20190205.Message.MapBoolSfixed32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20190205.Message.MapBoolSfixed64Entry")
- proto.RegisterMapType((map[bool]SiblingEnum)(nil), "google.golang.org.proto3_20190205.Message.MapBoolSiblingEnumEntry")
- proto.RegisterMapType((map[bool]*SiblingMessage)(nil), "google.golang.org.proto3_20190205.Message.MapBoolSiblingMessageEntry")
- proto.RegisterMapType((map[bool]int32)(nil), "google.golang.org.proto3_20190205.Message.MapBoolSint32Entry")
- proto.RegisterMapType((map[bool]int64)(nil), "google.golang.org.proto3_20190205.Message.MapBoolSint64Entry")
- proto.RegisterMapType((map[bool]string)(nil), "google.golang.org.proto3_20190205.Message.MapBoolStringEntry")
- proto.RegisterMapType((map[bool]uint32)(nil), "google.golang.org.proto3_20190205.Message.MapBoolUint32Entry")
- proto.RegisterMapType((map[bool]uint64)(nil), "google.golang.org.proto3_20190205.Message.MapBoolUint64Entry")
- proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto3_20190205.Message.MapFixed32BoolEntry")
- proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto3_20190205.Message.MapInt32BoolEntry")
- proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto3_20190205.Message.MapInt64BoolEntry")
- proto.RegisterMapType((map[int32]bool)(nil), "google.golang.org.proto3_20190205.Message.MapSint32BoolEntry")
- proto.RegisterMapType((map[int64]bool)(nil), "google.golang.org.proto3_20190205.Message.MapSint64BoolEntry")
- proto.RegisterMapType((map[string]bool)(nil), "google.golang.org.proto3_20190205.Message.MapStringBoolEntry")
- proto.RegisterMapType((map[uint32]bool)(nil), "google.golang.org.proto3_20190205.Message.MapUint32BoolEntry")
- proto.RegisterMapType((map[uint64]bool)(nil), "google.golang.org.proto3_20190205.Message.MapUint64BoolEntry")
- proto.RegisterType((*Message_ChildMessage)(nil), "google.golang.org.proto3_20190205.Message.ChildMessage")
-}
-
-func init() {
- proto.RegisterFile("proto3_20190205_c823c79e/test.proto", fileDescriptor_95cd555ff3d1bc43)
-}
-
-var fileDescriptor_95cd555ff3d1bc43 = []byte{
- // 1947 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x9a, 0x59, 0x73, 0xdb, 0xc8,
- 0x11, 0xc7, 0x09, 0x52, 0x87, 0x35, 0xe2, 0x09, 0x5a, 0xca, 0x94, 0x9e, 0x10, 0xd9, 0x71, 0x10,
- 0x27, 0x45, 0x59, 0x24, 0x02, 0x1f, 0x49, 0x6c, 0x4b, 0xb6, 0x1c, 0x3a, 0x65, 0x27, 0x2e, 0xb8,
- 0x94, 0x87, 0xbc, 0x28, 0x94, 0x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, 0x9d, 0x45, 0xd3, 0x67, 0xaa, 0x2b, 0xd6, 0x85, 0xf3, 0x6b, 0xf9, 0xe4, 0x6a, 0x86, 0x1e,
- 0x57, 0x7b, 0xed, 0xa6, 0xdb, 0x3e, 0xbc, 0x8c, 0x66, 0xc5, 0x83, 0x57, 0x94, 0x03, 0xa4, 0xa6,
- 0xb9, 0x83, 0x5b, 0xca, 0xea, 0xa5, 0xdf, 0xfd, 0x3a, 0x54, 0xbf, 0x4b, 0x5e, 0xfd, 0x6e, 0xf6,
- 0xea, 0x4b, 0xcd, 0x76, 0xd7, 0xde, 0x6d, 0xd7, 0x1c, 0xef, 0xaf, 0x27, 0x3c, 0x6b, 0x67, 0xc9,
- 0xb1, 0x1b, 0xb5, 0xad, 0xbd, 0xa5, 0x7e, 0x7f, 0x68, 0xb1, 0x39, 0x05, 0x9f, 0x7c, 0x1b, 0x00,
- 0x00, 0xff, 0xff, 0x57, 0xd9, 0x0f, 0xc0, 0x8b, 0x21, 0x00, 0x00,
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20190205_c823c79e/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20190205_c823c79e/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/proto3_20190205_c823c79e/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/legacy/ya.make
deleted file mode 100644
index fde6c74551..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/legacy/ya.make
+++ /dev/null
@@ -1,23 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(legacy.pb.go)
-
-END()
-
-RECURSE(
- bug1052
- proto2_20160225_2fc053c5
- proto2_20160519_a4ab9ec5
- proto2_20180125_92554152
- proto2_20180430_b4deda09
- proto2_20180814_aa810b61
- proto2_20190205_c823c79e
- proto3_20160225_2fc053c5
- proto3_20160519_a4ab9ec5
- proto3_20180125_92554152
- proto3_20180430_b4deda09
- proto3_20180814_aa810b61
- proto3_20190205_c823c79e
-)
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb/message_set.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb/message_set.pb.go
deleted file mode 100644
index 2769be53b2..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb/message_set.pb.go
+++ /dev/null
@@ -1,203 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/messageset/messagesetpb/message_set.proto
-
-package messagesetpb
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type MessageSet struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- extensionFields protoimpl.ExtensionFields
-}
-
-func (x *MessageSet) Reset() {
- *x = MessageSet{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *MessageSet) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MessageSet) ProtoMessage() {}
-
-func (x *MessageSet) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use MessageSet.ProtoReflect.Descriptor instead.
-func (*MessageSet) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescGZIP(), []int{0}
-}
-
-type MessageSetContainer struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- MessageSet *MessageSet `protobuf:"bytes,1,opt,name=message_set,json=messageSet" json:"message_set,omitempty"`
-}
-
-func (x *MessageSetContainer) Reset() {
- *x = MessageSetContainer{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *MessageSetContainer) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MessageSetContainer) ProtoMessage() {}
-
-func (x *MessageSetContainer) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use MessageSetContainer.ProtoReflect.Descriptor instead.
-func (*MessageSetContainer) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *MessageSetContainer) GetMessageSet() *MessageSet {
- if x != nil {
- return x.MessageSet
- }
- return nil
-}
-
-var File_internal_testprotos_messageset_messagesetpb_message_set_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDesc = []byte{
- 0x0a, 0x3d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74,
- 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x70, 0x62, 0x2f, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
- 0x18, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff,
- 0x07, 0x3a, 0x02, 0x08, 0x01, 0x22, 0x5c, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x0b,
- 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x52, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x53, 0x65, 0x74, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
- 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74,
- 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x70, 0x62,
-}
-
-var (
- file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescOnce sync.Once
- file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescData = file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDesc
-)
-
-func file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescGZIP() []byte {
- file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescData)
- })
- return file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescData
-}
-
-var file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_internal_testprotos_messageset_messagesetpb_message_set_proto_goTypes = []interface{}{
- (*MessageSet)(nil), // 0: goproto.proto.messageset.MessageSet
- (*MessageSetContainer)(nil), // 1: goproto.proto.messageset.MessageSetContainer
-}
-var file_internal_testprotos_messageset_messagesetpb_message_set_proto_depIdxs = []int32{
- 0, // 0: goproto.proto.messageset.MessageSetContainer.message_set:type_name -> goproto.proto.messageset.MessageSet
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_messageset_messagesetpb_message_set_proto_init() }
-func file_internal_testprotos_messageset_messagesetpb_message_set_proto_init() {
- if File_internal_testprotos_messageset_messagesetpb_message_set_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MessageSet); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- case 3:
- return &v.extensionFields
- default:
- return nil
- }
- }
- file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MessageSetContainer); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_messageset_messagesetpb_message_set_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_messageset_messagesetpb_message_set_proto_depIdxs,
- MessageInfos: file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes,
- }.Build()
- File_internal_testprotos_messageset_messagesetpb_message_set_proto = out.File
- file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDesc = nil
- file_internal_testprotos_messageset_messagesetpb_message_set_proto_goTypes = nil
- file_internal_testprotos_messageset_messagesetpb_message_set_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb/ya.make
deleted file mode 100644
index f42f20ea11..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(message_set.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/messageset/msetextpb/msetextpb.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/messageset/msetextpb/msetextpb.pb.go
deleted file mode 100644
index c9d2025930..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/messageset/msetextpb/msetextpb.pb.go
+++ /dev/null
@@ -1,425 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/messageset/msetextpb/msetextpb.proto
-
-package msetextpb
-
-import (
- messagesetpb "google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type Ext1 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Ext1Field1 *int32 `protobuf:"varint,1,opt,name=ext1_field1,json=ext1Field1" json:"ext1_field1,omitempty"`
- Ext1Field2 *int32 `protobuf:"varint,2,opt,name=ext1_field2,json=ext1Field2" json:"ext1_field2,omitempty"`
-}
-
-func (x *Ext1) Reset() {
- *x = Ext1{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Ext1) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Ext1) ProtoMessage() {}
-
-func (x *Ext1) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Ext1.ProtoReflect.Descriptor instead.
-func (*Ext1) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Ext1) GetExt1Field1() int32 {
- if x != nil && x.Ext1Field1 != nil {
- return *x.Ext1Field1
- }
- return 0
-}
-
-func (x *Ext1) GetExt1Field2() int32 {
- if x != nil && x.Ext1Field2 != nil {
- return *x.Ext1Field2
- }
- return 0
-}
-
-type Ext2 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Ext2Field1 *int32 `protobuf:"varint,1,opt,name=ext2_field1,json=ext2Field1" json:"ext2_field1,omitempty"`
-}
-
-func (x *Ext2) Reset() {
- *x = Ext2{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Ext2) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Ext2) ProtoMessage() {}
-
-func (x *Ext2) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Ext2.ProtoReflect.Descriptor instead.
-func (*Ext2) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *Ext2) GetExt2Field1() int32 {
- if x != nil && x.Ext2Field1 != nil {
- return *x.Ext2Field1
- }
- return 0
-}
-
-type ExtRequired struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RequiredField1 *int32 `protobuf:"varint,1,req,name=required_field1,json=requiredField1" json:"required_field1,omitempty"`
-}
-
-func (x *ExtRequired) Reset() {
- *x = ExtRequired{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ExtRequired) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ExtRequired) ProtoMessage() {}
-
-func (x *ExtRequired) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ExtRequired.ProtoReflect.Descriptor instead.
-func (*ExtRequired) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *ExtRequired) GetRequiredField1() int32 {
- if x != nil && x.RequiredField1 != nil {
- return *x.RequiredField1
- }
- return 0
-}
-
-type ExtLargeNumber struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *ExtLargeNumber) Reset() {
- *x = ExtLargeNumber{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ExtLargeNumber) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ExtLargeNumber) ProtoMessage() {}
-
-func (x *ExtLargeNumber) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ExtLargeNumber.ProtoReflect.Descriptor instead.
-func (*ExtLargeNumber) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{3}
-}
-
-var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*messagesetpb.MessageSet)(nil),
- ExtensionType: (*Ext1)(nil),
- Field: 1000,
- Name: "goproto.proto.messageset.Ext1.message_set_extension",
- Tag: "bytes,1000,opt,name=message_set_extension",
- Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto",
- },
- {
- ExtendedType: (*messagesetpb.MessageSet)(nil),
- ExtensionType: (*Ext2)(nil),
- Field: 1001,
- Name: "goproto.proto.messageset.Ext2.message_set_extension",
- Tag: "bytes,1001,opt,name=message_set_extension",
- Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto",
- },
- {
- ExtendedType: (*messagesetpb.MessageSet)(nil),
- ExtensionType: (*ExtRequired)(nil),
- Field: 1002,
- Name: "goproto.proto.messageset.ExtRequired.message_set_extension",
- Tag: "bytes,1002,opt,name=message_set_extension",
- Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto",
- },
- {
- ExtendedType: (*messagesetpb.MessageSet)(nil),
- ExtensionType: (*ExtLargeNumber)(nil),
- Field: 536870912,
- Name: "goproto.proto.messageset.ExtLargeNumber.message_set_extension",
- Tag: "bytes,536870912,opt,name=message_set_extension",
- Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto",
- },
-}
-
-// Extension fields to messagesetpb.MessageSet.
-var (
- // optional goproto.proto.messageset.Ext1 message_set_extension = 1000;
- E_Ext1_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[0]
- // optional goproto.proto.messageset.Ext2 message_set_extension = 1001;
- E_Ext2_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[1]
- // optional goproto.proto.messageset.ExtRequired message_set_extension = 1002;
- E_ExtRequired_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[2]
- // optional goproto.proto.messageset.ExtLargeNumber message_set_extension = 536870912;
- E_ExtLargeNumber_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[3] // 1<<29
-)
-
-var File_internal_testprotos_messageset_msetextpb_msetextpb_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDesc = []byte{
- 0x0a, 0x38, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74,
- 0x2f, 0x6d, 0x73, 0x65, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x2f, 0x6d, 0x73, 0x65, 0x74, 0x65,
- 0x78, 0x74, 0x70, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x73, 0x65, 0x74, 0x1a, 0x3d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74,
- 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x73, 0x65, 0x74, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x70,
- 0x62, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x01, 0x0a, 0x04, 0x45, 0x78, 0x74, 0x31, 0x12, 0x1f, 0x0a, 0x0b,
- 0x65, 0x78, 0x74, 0x31, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x05, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x31, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x12, 0x1f, 0x0a,
- 0x0b, 0x65, 0x78, 0x74, 0x31, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x31, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x32, 0x79,
- 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
- 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0xe8, 0x07,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e,
- 0x45, 0x78, 0x74, 0x31, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74,
- 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa2, 0x01, 0x0a, 0x04, 0x45, 0x78,
- 0x74, 0x32, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x32, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
- 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x32, 0x46, 0x69, 0x65,
- 0x6c, 0x64, 0x31, 0x32, 0x79, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73,
- 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67,
- 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
- 0x65, 0x74, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x73, 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x32, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xb9,
- 0x01, 0x0a, 0x0b, 0x45, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x27,
- 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
- 0x31, 0x18, 0x01, 0x20, 0x02, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
- 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x32, 0x80, 0x01, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
- 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x52, 0x65, 0x71,
- 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65,
- 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x99, 0x01, 0x0a, 0x0e, 0x45,
- 0x78, 0x74, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0x86, 0x01,
- 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
- 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x80, 0x80,
- 0x80, 0x80, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
- 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65,
- 0x72, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x45, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65,
- 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x73, 0x65, 0x74, 0x2f, 0x6d, 0x73, 0x65, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62,
-}
-
-var (
- file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescOnce sync.Once
- file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescData = file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDesc
-)
-
-func file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP() []byte {
- file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescData)
- })
- return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescData
-}
-
-var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
-var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_goTypes = []interface{}{
- (*Ext1)(nil), // 0: goproto.proto.messageset.Ext1
- (*Ext2)(nil), // 1: goproto.proto.messageset.Ext2
- (*ExtRequired)(nil), // 2: goproto.proto.messageset.ExtRequired
- (*ExtLargeNumber)(nil), // 3: goproto.proto.messageset.ExtLargeNumber
- (*messagesetpb.MessageSet)(nil), // 4: goproto.proto.messageset.MessageSet
-}
-var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_depIdxs = []int32{
- 4, // 0: goproto.proto.messageset.Ext1.message_set_extension:extendee -> goproto.proto.messageset.MessageSet
- 4, // 1: goproto.proto.messageset.Ext2.message_set_extension:extendee -> goproto.proto.messageset.MessageSet
- 4, // 2: goproto.proto.messageset.ExtRequired.message_set_extension:extendee -> goproto.proto.messageset.MessageSet
- 4, // 3: goproto.proto.messageset.ExtLargeNumber.message_set_extension:extendee -> goproto.proto.messageset.MessageSet
- 0, // 4: goproto.proto.messageset.Ext1.message_set_extension:type_name -> goproto.proto.messageset.Ext1
- 1, // 5: goproto.proto.messageset.Ext2.message_set_extension:type_name -> goproto.proto.messageset.Ext2
- 2, // 6: goproto.proto.messageset.ExtRequired.message_set_extension:type_name -> goproto.proto.messageset.ExtRequired
- 3, // 7: goproto.proto.messageset.ExtLargeNumber.message_set_extension:type_name -> goproto.proto.messageset.ExtLargeNumber
- 8, // [8:8] is the sub-list for method output_type
- 8, // [8:8] is the sub-list for method input_type
- 4, // [4:8] is the sub-list for extension type_name
- 0, // [0:4] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_messageset_msetextpb_msetextpb_proto_init() }
-func file_internal_testprotos_messageset_msetextpb_msetextpb_proto_init() {
- if File_internal_testprotos_messageset_msetextpb_msetextpb_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Ext1); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Ext2); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ExtRequired); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ExtLargeNumber); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 4,
- NumExtensions: 4,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_depIdxs,
- MessageInfos: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes,
- ExtensionInfos: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes,
- }.Build()
- File_internal_testprotos_messageset_msetextpb_msetextpb_proto = out.File
- file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDesc = nil
- file_internal_testprotos_messageset_msetextpb_msetextpb_proto_goTypes = nil
- file_internal_testprotos_messageset_msetextpb_msetextpb_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/messageset/msetextpb/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/messageset/msetextpb/ya.make
deleted file mode 100644
index cc42f77f28..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/messageset/msetextpb/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(msetextpb.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/news/news.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/news/news.pb.go
deleted file mode 100644
index bb728a69af..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/news/news.pb.go
+++ /dev/null
@@ -1,421 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/news/news.proto
-
-package news
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- anypb "google.golang.org/protobuf/types/known/anypb"
- timestamppb "google.golang.org/protobuf/types/known/timestamppb"
- reflect "reflect"
- sync "sync"
-)
-
-type Article_Status int32
-
-const (
- Article_DRAFT Article_Status = 0
- Article_PUBLISHED Article_Status = 1
- Article_REVOKED Article_Status = 2
-)
-
-// Enum value maps for Article_Status.
-var (
- Article_Status_name = map[int32]string{
- 0: "DRAFT",
- 1: "PUBLISHED",
- 2: "REVOKED",
- }
- Article_Status_value = map[string]int32{
- "DRAFT": 0,
- "PUBLISHED": 1,
- "REVOKED": 2,
- }
-)
-
-func (x Article_Status) Enum() *Article_Status {
- p := new(Article_Status)
- *p = x
- return p
-}
-
-func (x Article_Status) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Article_Status) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_news_news_proto_enumTypes[0].Descriptor()
-}
-
-func (Article_Status) Type() protoreflect.EnumType {
- return &file_internal_testprotos_news_news_proto_enumTypes[0]
-}
-
-func (x Article_Status) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use Article_Status.Descriptor instead.
-func (Article_Status) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_news_news_proto_rawDescGZIP(), []int{0, 0}
-}
-
-type Article struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Author string `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"`
- Date *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
- Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
- Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
- Status Article_Status `protobuf:"varint,8,opt,name=status,proto3,enum=google.golang.org.Article_Status" json:"status,omitempty"`
- Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
- Attachments []*anypb.Any `protobuf:"bytes,6,rep,name=attachments,proto3" json:"attachments,omitempty"`
-}
-
-func (x *Article) Reset() {
- *x = Article{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_news_news_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Article) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Article) ProtoMessage() {}
-
-func (x *Article) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_news_news_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Article.ProtoReflect.Descriptor instead.
-func (*Article) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_news_news_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Article) GetAuthor() string {
- if x != nil {
- return x.Author
- }
- return ""
-}
-
-func (x *Article) GetDate() *timestamppb.Timestamp {
- if x != nil {
- return x.Date
- }
- return nil
-}
-
-func (x *Article) GetTitle() string {
- if x != nil {
- return x.Title
- }
- return ""
-}
-
-func (x *Article) GetContent() string {
- if x != nil {
- return x.Content
- }
- return ""
-}
-
-func (x *Article) GetStatus() Article_Status {
- if x != nil {
- return x.Status
- }
- return Article_DRAFT
-}
-
-func (x *Article) GetTags() []string {
- if x != nil {
- return x.Tags
- }
- return nil
-}
-
-func (x *Article) GetAttachments() []*anypb.Any {
- if x != nil {
- return x.Attachments
- }
- return nil
-}
-
-type BinaryAttachment struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
-}
-
-func (x *BinaryAttachment) Reset() {
- *x = BinaryAttachment{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_news_news_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *BinaryAttachment) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*BinaryAttachment) ProtoMessage() {}
-
-func (x *BinaryAttachment) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_news_news_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use BinaryAttachment.ProtoReflect.Descriptor instead.
-func (*BinaryAttachment) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_news_news_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *BinaryAttachment) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *BinaryAttachment) GetData() []byte {
- if x != nil {
- return x.Data
- }
- return nil
-}
-
-type KeyValueAttachment struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Data map[string]string `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
-}
-
-func (x *KeyValueAttachment) Reset() {
- *x = KeyValueAttachment{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_news_news_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *KeyValueAttachment) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*KeyValueAttachment) ProtoMessage() {}
-
-func (x *KeyValueAttachment) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_news_news_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use KeyValueAttachment.ProtoReflect.Descriptor instead.
-func (*KeyValueAttachment) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_news_news_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *KeyValueAttachment) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *KeyValueAttachment) GetData() map[string]string {
- if x != nil {
- return x.Data
- }
- return nil
-}
-
-var File_internal_testprotos_news_news_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_news_news_proto_rawDesc = []byte{
- 0x0a, 0x23, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6e, 0x65, 0x77, 0x73, 0x2f, 0x6e, 0x65, 0x77, 0x73, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
- 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x02, 0x0a, 0x07, 0x41, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65,
- 0x12, 0x16, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
- 0x6d, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c,
- 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18,
- 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x41, 0x72, 0x74,
- 0x69, 0x63, 0x6c, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61,
- 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
- 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x36, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63,
- 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41,
- 0x6e, 0x79, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22,
- 0x2f, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x52, 0x41,
- 0x46, 0x54, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45,
- 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x44, 0x10, 0x02,
- 0x22, 0x3a, 0x0a, 0x10, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68,
- 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xa6, 0x01, 0x0a,
- 0x12, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d,
- 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
- 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
- 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c,
- 0x75, 0x65, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x61, 0x74,
- 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09,
- 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73,
- 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6e, 0x65, 0x77, 0x73, 0x62, 0x06, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_internal_testprotos_news_news_proto_rawDescOnce sync.Once
- file_internal_testprotos_news_news_proto_rawDescData = file_internal_testprotos_news_news_proto_rawDesc
-)
-
-func file_internal_testprotos_news_news_proto_rawDescGZIP() []byte {
- file_internal_testprotos_news_news_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_news_news_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_news_news_proto_rawDescData)
- })
- return file_internal_testprotos_news_news_proto_rawDescData
-}
-
-var file_internal_testprotos_news_news_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_internal_testprotos_news_news_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
-var file_internal_testprotos_news_news_proto_goTypes = []interface{}{
- (Article_Status)(0), // 0: google.golang.org.Article.Status
- (*Article)(nil), // 1: google.golang.org.Article
- (*BinaryAttachment)(nil), // 2: google.golang.org.BinaryAttachment
- (*KeyValueAttachment)(nil), // 3: google.golang.org.KeyValueAttachment
- nil, // 4: google.golang.org.KeyValueAttachment.DataEntry
- (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
- (*anypb.Any)(nil), // 6: google.protobuf.Any
-}
-var file_internal_testprotos_news_news_proto_depIdxs = []int32{
- 5, // 0: google.golang.org.Article.date:type_name -> google.protobuf.Timestamp
- 0, // 1: google.golang.org.Article.status:type_name -> google.golang.org.Article.Status
- 6, // 2: google.golang.org.Article.attachments:type_name -> google.protobuf.Any
- 4, // 3: google.golang.org.KeyValueAttachment.data:type_name -> google.golang.org.KeyValueAttachment.DataEntry
- 4, // [4:4] is the sub-list for method output_type
- 4, // [4:4] is the sub-list for method input_type
- 4, // [4:4] is the sub-list for extension type_name
- 4, // [4:4] is the sub-list for extension extendee
- 0, // [0:4] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_news_news_proto_init() }
-func file_internal_testprotos_news_news_proto_init() {
- if File_internal_testprotos_news_news_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_news_news_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Article); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_news_news_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BinaryAttachment); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_news_news_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*KeyValueAttachment); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_news_news_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 4,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_news_news_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_news_news_proto_depIdxs,
- EnumInfos: file_internal_testprotos_news_news_proto_enumTypes,
- MessageInfos: file_internal_testprotos_news_news_proto_msgTypes,
- }.Build()
- File_internal_testprotos_news_news_proto = out.File
- file_internal_testprotos_news_news_proto_rawDesc = nil
- file_internal_testprotos_news_news_proto_goTypes = nil
- file_internal_testprotos_news_news_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/news/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/news/ya.make
deleted file mode 100644
index 193c7d9c29..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/news/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(news.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/order/order.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/order/order.pb.go
deleted file mode 100644
index b62ef95199..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/order/order.pb.go
+++ /dev/null
@@ -1,250 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Messages in this file are used to test wire encoding order.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/order/order.proto
-
-package order
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type Message struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- extensionFields protoimpl.ExtensionFields
-
- Field_2 *string `protobuf:"bytes,2,opt,name=field_2,json=field2" json:"field_2,omitempty"`
- Field_1 *string `protobuf:"bytes,1,opt,name=field_1,json=field1" json:"field_1,omitempty"`
- // Types that are assignable to Oneof_1:
- //
- // *Message_Field_10
- Oneof_1 isMessage_Oneof_1 `protobuf_oneof:"oneof_1"`
- Field_20 *string `protobuf:"bytes,20,opt,name=field_20,json=field20" json:"field_20,omitempty"`
-}
-
-func (x *Message) Reset() {
- *x = Message{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_order_order_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Message) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Message) ProtoMessage() {}
-
-func (x *Message) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_order_order_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Message.ProtoReflect.Descriptor instead.
-func (*Message) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_order_order_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Message) GetField_2() string {
- if x != nil && x.Field_2 != nil {
- return *x.Field_2
- }
- return ""
-}
-
-func (x *Message) GetField_1() string {
- if x != nil && x.Field_1 != nil {
- return *x.Field_1
- }
- return ""
-}
-
-func (m *Message) GetOneof_1() isMessage_Oneof_1 {
- if m != nil {
- return m.Oneof_1
- }
- return nil
-}
-
-func (x *Message) GetField_10() string {
- if x, ok := x.GetOneof_1().(*Message_Field_10); ok {
- return x.Field_10
- }
- return ""
-}
-
-func (x *Message) GetField_20() string {
- if x != nil && x.Field_20 != nil {
- return *x.Field_20
- }
- return ""
-}
-
-type isMessage_Oneof_1 interface {
- isMessage_Oneof_1()
-}
-
-type Message_Field_10 struct {
- Field_10 string `protobuf:"bytes,10,opt,name=field_10,json=field10,oneof"`
-}
-
-func (*Message_Field_10) isMessage_Oneof_1() {}
-
-var file_internal_testprotos_order_order_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 30,
- Name: "goproto.proto.order.field_30",
- Tag: "bytes,30,opt,name=field_30",
- Filename: "internal/testprotos/order/order.proto",
- },
- {
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 31,
- Name: "goproto.proto.order.field_31",
- Tag: "bytes,31,opt,name=field_31",
- Filename: "internal/testprotos/order/order.proto",
- },
- {
- ExtendedType: (*Message)(nil),
- ExtensionType: (*string)(nil),
- Field: 32,
- Name: "goproto.proto.order.field_32",
- Tag: "bytes,32,opt,name=field_32",
- Filename: "internal/testprotos/order/order.proto",
- },
-}
-
-// Extension fields to Message.
-var (
- // optional string field_30 = 30;
- E_Field_30 = &file_internal_testprotos_order_order_proto_extTypes[0]
- // optional string field_31 = 31;
- E_Field_31 = &file_internal_testprotos_order_order_proto_extTypes[1]
- // optional string field_32 = 32;
- E_Field_32 = &file_internal_testprotos_order_order_proto_extTypes[2]
-)
-
-var File_internal_testprotos_order_order_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_order_order_proto_rawDesc = []byte{
- 0x0a, 0x25, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2f, 0x6f, 0x72, 0x64, 0x65,
- 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x84, 0x01, 0x0a,
- 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c,
- 0x64, 0x5f, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64,
- 0x32, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x31, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x12, 0x1b, 0x0a, 0x08, 0x66, 0x69,
- 0x65, 0x6c, 0x64, 0x5f, 0x31, 0x30, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07,
- 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x30, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64,
- 0x5f, 0x32, 0x30, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64,
- 0x32, 0x30, 0x2a, 0x04, 0x08, 0x1e, 0x10, 0x29, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x6e, 0x65, 0x6f,
- 0x66, 0x5f, 0x31, 0x3a, 0x37, 0x0a, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x33, 0x30, 0x12,
- 0x1c, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x1e, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x33, 0x30, 0x3a, 0x37, 0x0a, 0x08,
- 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x33, 0x31, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x4d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69,
- 0x65, 0x6c, 0x64, 0x33, 0x31, 0x3a, 0x37, 0x0a, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x33,
- 0x32, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
- 0x20, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x33, 0x32, 0x42, 0x36,
- 0x5a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
- 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74,
- 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
- 0x2f, 0x6f, 0x72, 0x64, 0x65, 0x72,
-}
-
-var (
- file_internal_testprotos_order_order_proto_rawDescOnce sync.Once
- file_internal_testprotos_order_order_proto_rawDescData = file_internal_testprotos_order_order_proto_rawDesc
-)
-
-func file_internal_testprotos_order_order_proto_rawDescGZIP() []byte {
- file_internal_testprotos_order_order_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_order_order_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_order_order_proto_rawDescData)
- })
- return file_internal_testprotos_order_order_proto_rawDescData
-}
-
-var file_internal_testprotos_order_order_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_internal_testprotos_order_order_proto_goTypes = []interface{}{
- (*Message)(nil), // 0: goproto.proto.order.Message
-}
-var file_internal_testprotos_order_order_proto_depIdxs = []int32{
- 0, // 0: goproto.proto.order.field_30:extendee -> goproto.proto.order.Message
- 0, // 1: goproto.proto.order.field_31:extendee -> goproto.proto.order.Message
- 0, // 2: goproto.proto.order.field_32:extendee -> goproto.proto.order.Message
- 3, // [3:3] is the sub-list for method output_type
- 3, // [3:3] is the sub-list for method input_type
- 3, // [3:3] is the sub-list for extension type_name
- 0, // [0:3] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_order_order_proto_init() }
-func file_internal_testprotos_order_order_proto_init() {
- if File_internal_testprotos_order_order_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_order_order_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Message); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- case 3:
- return &v.extensionFields
- default:
- return nil
- }
- }
- }
- file_internal_testprotos_order_order_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*Message_Field_10)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_order_order_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 3,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_order_order_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_order_order_proto_depIdxs,
- MessageInfos: file_internal_testprotos_order_order_proto_msgTypes,
- ExtensionInfos: file_internal_testprotos_order_order_proto_extTypes,
- }.Build()
- File_internal_testprotos_order_order_proto = out.File
- file_internal_testprotos_order_order_proto_rawDesc = nil
- file_internal_testprotos_order_order_proto_goTypes = nil
- file_internal_testprotos_order_order_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/order/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/order/ya.make
deleted file mode 100644
index c8c543e5a1..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/order/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(order.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/registry/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/registry/test.pb.go
deleted file mode 100644
index c2613c7010..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/registry/test.pb.go
+++ /dev/null
@@ -1,573 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Different proto type definitions for testing the Types registry.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/registry/test.proto
-
-package registry
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type Enum1 int32
-
-const (
- Enum1_ONE Enum1 = 1
-)
-
-// Enum value maps for Enum1.
-var (
- Enum1_name = map[int32]string{
- 1: "ONE",
- }
- Enum1_value = map[string]int32{
- "ONE": 1,
- }
-)
-
-func (x Enum1) Enum() *Enum1 {
- p := new(Enum1)
- *p = x
- return p
-}
-
-func (x Enum1) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Enum1) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_registry_test_proto_enumTypes[0].Descriptor()
-}
-
-func (Enum1) Type() protoreflect.EnumType {
- return &file_internal_testprotos_registry_test_proto_enumTypes[0]
-}
-
-func (x Enum1) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *Enum1) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = Enum1(num)
- return nil
-}
-
-// Deprecated: Use Enum1.Descriptor instead.
-func (Enum1) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{0}
-}
-
-type Enum2 int32
-
-const (
- Enum2_UNO Enum2 = 1
-)
-
-// Enum value maps for Enum2.
-var (
- Enum2_name = map[int32]string{
- 1: "UNO",
- }
- Enum2_value = map[string]int32{
- "UNO": 1,
- }
-)
-
-func (x Enum2) Enum() *Enum2 {
- p := new(Enum2)
- *p = x
- return p
-}
-
-func (x Enum2) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Enum2) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_registry_test_proto_enumTypes[1].Descriptor()
-}
-
-func (Enum2) Type() protoreflect.EnumType {
- return &file_internal_testprotos_registry_test_proto_enumTypes[1]
-}
-
-func (x Enum2) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *Enum2) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = Enum2(num)
- return nil
-}
-
-// Deprecated: Use Enum2.Descriptor instead.
-func (Enum2) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{1}
-}
-
-type Enum3 int32
-
-const (
- Enum3_YI Enum3 = 1
-)
-
-// Enum value maps for Enum3.
-var (
- Enum3_name = map[int32]string{
- 1: "YI",
- }
- Enum3_value = map[string]int32{
- "YI": 1,
- }
-)
-
-func (x Enum3) Enum() *Enum3 {
- p := new(Enum3)
- *p = x
- return p
-}
-
-func (x Enum3) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Enum3) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_registry_test_proto_enumTypes[2].Descriptor()
-}
-
-func (Enum3) Type() protoreflect.EnumType {
- return &file_internal_testprotos_registry_test_proto_enumTypes[2]
-}
-
-func (x Enum3) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *Enum3) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = Enum3(num)
- return nil
-}
-
-// Deprecated: Use Enum3.Descriptor instead.
-func (Enum3) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{2}
-}
-
-type Message1 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- extensionFields protoimpl.ExtensionFields
-}
-
-func (x *Message1) Reset() {
- *x = Message1{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_registry_test_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Message1) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Message1) ProtoMessage() {}
-
-func (x *Message1) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_registry_test_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Message1.ProtoReflect.Descriptor instead.
-func (*Message1) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{0}
-}
-
-type Message2 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *Message2) Reset() {
- *x = Message2{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_registry_test_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Message2) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Message2) ProtoMessage() {}
-
-func (x *Message2) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_registry_test_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Message2.ProtoReflect.Descriptor instead.
-func (*Message2) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{1}
-}
-
-type Message3 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *Message3) Reset() {
- *x = Message3{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_registry_test_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Message3) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Message3) ProtoMessage() {}
-
-func (x *Message3) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_registry_test_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Message3.ProtoReflect.Descriptor instead.
-func (*Message3) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{2}
-}
-
-type Message4 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- BoolField *bool `protobuf:"varint,30,opt,name=bool_field,json=boolField" json:"bool_field,omitempty"`
-}
-
-func (x *Message4) Reset() {
- *x = Message4{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_registry_test_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Message4) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Message4) ProtoMessage() {}
-
-func (x *Message4) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_registry_test_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Message4.ProtoReflect.Descriptor instead.
-func (*Message4) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *Message4) GetBoolField() bool {
- if x != nil && x.BoolField != nil {
- return *x.BoolField
- }
- return false
-}
-
-var file_internal_testprotos_registry_test_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*Message1)(nil),
- ExtensionType: (*string)(nil),
- Field: 11,
- Name: "testprotos.string_field",
- Tag: "bytes,11,opt,name=string_field",
- Filename: "internal/testprotos/registry/test.proto",
- },
- {
- ExtendedType: (*Message1)(nil),
- ExtensionType: (*Enum1)(nil),
- Field: 12,
- Name: "testprotos.enum_field",
- Tag: "varint,12,opt,name=enum_field,enum=testprotos.Enum1",
- Filename: "internal/testprotos/registry/test.proto",
- },
- {
- ExtendedType: (*Message1)(nil),
- ExtensionType: (*Message2)(nil),
- Field: 13,
- Name: "testprotos.message_field",
- Tag: "bytes,13,opt,name=message_field",
- Filename: "internal/testprotos/registry/test.proto",
- },
- {
- ExtendedType: (*Message1)(nil),
- ExtensionType: (*Message2)(nil),
- Field: 21,
- Name: "testprotos.Message4.message_field",
- Tag: "bytes,21,opt,name=message_field",
- Filename: "internal/testprotos/registry/test.proto",
- },
- {
- ExtendedType: (*Message1)(nil),
- ExtensionType: (*Enum1)(nil),
- Field: 22,
- Name: "testprotos.Message4.enum_field",
- Tag: "varint,22,opt,name=enum_field,enum=testprotos.Enum1",
- Filename: "internal/testprotos/registry/test.proto",
- },
- {
- ExtendedType: (*Message1)(nil),
- ExtensionType: (*string)(nil),
- Field: 23,
- Name: "testprotos.Message4.string_field",
- Tag: "bytes,23,opt,name=string_field",
- Filename: "internal/testprotos/registry/test.proto",
- },
-}
-
-// Extension fields to Message1.
-var (
- // optional string string_field = 11;
- E_StringField = &file_internal_testprotos_registry_test_proto_extTypes[0]
- // optional testprotos.Enum1 enum_field = 12;
- E_EnumField = &file_internal_testprotos_registry_test_proto_extTypes[1]
- // optional testprotos.Message2 message_field = 13;
- E_MessageField = &file_internal_testprotos_registry_test_proto_extTypes[2]
- // optional testprotos.Message2 message_field = 21;
- E_Message4_MessageField = &file_internal_testprotos_registry_test_proto_extTypes[3]
- // optional testprotos.Enum1 enum_field = 22;
- E_Message4_EnumField = &file_internal_testprotos_registry_test_proto_extTypes[4]
- // optional string string_field = 23;
- E_Message4_StringField = &file_internal_testprotos_registry_test_proto_extTypes[5]
-)
-
-var File_internal_testprotos_registry_test_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_registry_test_proto_rawDesc = []byte{
- 0x0a, 0x27, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x74,
- 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x22, 0x14, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x31, 0x2a, 0x08, 0x08, 0x0a, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x0a, 0x0a, 0x08, 0x4d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x22, 0x0a, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x33, 0x22, 0xfb, 0x01, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x34,
- 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x1e,
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32,
- 0x4f, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
- 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x32, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64,
- 0x32, 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14,
- 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x31, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x74, 0x65, 0x73,
- 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x52, 0x09, 0x65,
- 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x37, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x17,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x65, 0x6c,
- 0x64, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e,
- 0x45, 0x10, 0x01, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x12, 0x07, 0x0a, 0x03,
- 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x2a, 0x0f, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x33, 0x12, 0x06,
- 0x0a, 0x02, 0x59, 0x49, 0x10, 0x01, 0x3a, 0x37, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
- 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x0b, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a,
- 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x31, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x52, 0x09, 0x65, 0x6e,
- 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x4f, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x0d,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f,
- 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73,
- 0x74, 0x72, 0x79,
-}
-
-var (
- file_internal_testprotos_registry_test_proto_rawDescOnce sync.Once
- file_internal_testprotos_registry_test_proto_rawDescData = file_internal_testprotos_registry_test_proto_rawDesc
-)
-
-func file_internal_testprotos_registry_test_proto_rawDescGZIP() []byte {
- file_internal_testprotos_registry_test_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_registry_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_registry_test_proto_rawDescData)
- })
- return file_internal_testprotos_registry_test_proto_rawDescData
-}
-
-var file_internal_testprotos_registry_test_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
-var file_internal_testprotos_registry_test_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
-var file_internal_testprotos_registry_test_proto_goTypes = []interface{}{
- (Enum1)(0), // 0: testprotos.Enum1
- (Enum2)(0), // 1: testprotos.Enum2
- (Enum3)(0), // 2: testprotos.Enum3
- (*Message1)(nil), // 3: testprotos.Message1
- (*Message2)(nil), // 4: testprotos.Message2
- (*Message3)(nil), // 5: testprotos.Message3
- (*Message4)(nil), // 6: testprotos.Message4
-}
-var file_internal_testprotos_registry_test_proto_depIdxs = []int32{
- 3, // 0: testprotos.string_field:extendee -> testprotos.Message1
- 3, // 1: testprotos.enum_field:extendee -> testprotos.Message1
- 3, // 2: testprotos.message_field:extendee -> testprotos.Message1
- 3, // 3: testprotos.Message4.message_field:extendee -> testprotos.Message1
- 3, // 4: testprotos.Message4.enum_field:extendee -> testprotos.Message1
- 3, // 5: testprotos.Message4.string_field:extendee -> testprotos.Message1
- 0, // 6: testprotos.enum_field:type_name -> testprotos.Enum1
- 4, // 7: testprotos.message_field:type_name -> testprotos.Message2
- 4, // 8: testprotos.Message4.message_field:type_name -> testprotos.Message2
- 0, // 9: testprotos.Message4.enum_field:type_name -> testprotos.Enum1
- 10, // [10:10] is the sub-list for method output_type
- 10, // [10:10] is the sub-list for method input_type
- 6, // [6:10] is the sub-list for extension type_name
- 0, // [0:6] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_registry_test_proto_init() }
-func file_internal_testprotos_registry_test_proto_init() {
- if File_internal_testprotos_registry_test_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_registry_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Message1); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- case 3:
- return &v.extensionFields
- default:
- return nil
- }
- }
- file_internal_testprotos_registry_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Message2); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_registry_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Message3); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_registry_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Message4); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_registry_test_proto_rawDesc,
- NumEnums: 3,
- NumMessages: 4,
- NumExtensions: 6,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_registry_test_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_registry_test_proto_depIdxs,
- EnumInfos: file_internal_testprotos_registry_test_proto_enumTypes,
- MessageInfos: file_internal_testprotos_registry_test_proto_msgTypes,
- ExtensionInfos: file_internal_testprotos_registry_test_proto_extTypes,
- }.Build()
- File_internal_testprotos_registry_test_proto = out.File
- file_internal_testprotos_registry_test_proto_rawDesc = nil
- file_internal_testprotos_registry_test_proto_goTypes = nil
- file_internal_testprotos_registry_test_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/registry/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/registry/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/registry/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/required/required.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/required/required.pb.go
deleted file mode 100644
index 065fcbf5ed..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/required/required.pb.go
+++ /dev/null
@@ -1,1121 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/required/required.proto
-
-package required
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type Int32 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *int32 `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *Int32) Reset() {
- *x = Int32{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Int32) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Int32) ProtoMessage() {}
-
-func (x *Int32) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Int32.ProtoReflect.Descriptor instead.
-func (*Int32) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Int32) GetV() int32 {
- if x != nil && x.V != nil {
- return *x.V
- }
- return 0
-}
-
-type Int64 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *int64 `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *Int64) Reset() {
- *x = Int64{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Int64) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Int64) ProtoMessage() {}
-
-func (x *Int64) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Int64.ProtoReflect.Descriptor instead.
-func (*Int64) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *Int64) GetV() int64 {
- if x != nil && x.V != nil {
- return *x.V
- }
- return 0
-}
-
-type Uint32 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *uint32 `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *Uint32) Reset() {
- *x = Uint32{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Uint32) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Uint32) ProtoMessage() {}
-
-func (x *Uint32) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Uint32.ProtoReflect.Descriptor instead.
-func (*Uint32) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *Uint32) GetV() uint32 {
- if x != nil && x.V != nil {
- return *x.V
- }
- return 0
-}
-
-type Uint64 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *uint64 `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *Uint64) Reset() {
- *x = Uint64{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Uint64) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Uint64) ProtoMessage() {}
-
-func (x *Uint64) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Uint64.ProtoReflect.Descriptor instead.
-func (*Uint64) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *Uint64) GetV() uint64 {
- if x != nil && x.V != nil {
- return *x.V
- }
- return 0
-}
-
-type Sint32 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *int32 `protobuf:"zigzag32,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *Sint32) Reset() {
- *x = Sint32{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Sint32) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Sint32) ProtoMessage() {}
-
-func (x *Sint32) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Sint32.ProtoReflect.Descriptor instead.
-func (*Sint32) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{4}
-}
-
-func (x *Sint32) GetV() int32 {
- if x != nil && x.V != nil {
- return *x.V
- }
- return 0
-}
-
-type Sint64 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *int64 `protobuf:"zigzag64,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *Sint64) Reset() {
- *x = Sint64{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Sint64) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Sint64) ProtoMessage() {}
-
-func (x *Sint64) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Sint64.ProtoReflect.Descriptor instead.
-func (*Sint64) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *Sint64) GetV() int64 {
- if x != nil && x.V != nil {
- return *x.V
- }
- return 0
-}
-
-type Fixed32 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *uint32 `protobuf:"fixed32,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *Fixed32) Reset() {
- *x = Fixed32{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Fixed32) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Fixed32) ProtoMessage() {}
-
-func (x *Fixed32) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Fixed32.ProtoReflect.Descriptor instead.
-func (*Fixed32) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{6}
-}
-
-func (x *Fixed32) GetV() uint32 {
- if x != nil && x.V != nil {
- return *x.V
- }
- return 0
-}
-
-type Fixed64 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *uint64 `protobuf:"fixed64,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *Fixed64) Reset() {
- *x = Fixed64{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Fixed64) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Fixed64) ProtoMessage() {}
-
-func (x *Fixed64) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Fixed64.ProtoReflect.Descriptor instead.
-func (*Fixed64) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{7}
-}
-
-func (x *Fixed64) GetV() uint64 {
- if x != nil && x.V != nil {
- return *x.V
- }
- return 0
-}
-
-type Float struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *float32 `protobuf:"fixed32,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *Float) Reset() {
- *x = Float{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Float) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Float) ProtoMessage() {}
-
-func (x *Float) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Float.ProtoReflect.Descriptor instead.
-func (*Float) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{8}
-}
-
-func (x *Float) GetV() float32 {
- if x != nil && x.V != nil {
- return *x.V
- }
- return 0
-}
-
-type Double struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *float64 `protobuf:"fixed64,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *Double) Reset() {
- *x = Double{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Double) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Double) ProtoMessage() {}
-
-func (x *Double) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Double.ProtoReflect.Descriptor instead.
-func (*Double) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{9}
-}
-
-func (x *Double) GetV() float64 {
- if x != nil && x.V != nil {
- return *x.V
- }
- return 0
-}
-
-type Bool struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *bool `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *Bool) Reset() {
- *x = Bool{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Bool) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Bool) ProtoMessage() {}
-
-func (x *Bool) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Bool.ProtoReflect.Descriptor instead.
-func (*Bool) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{10}
-}
-
-func (x *Bool) GetV() bool {
- if x != nil && x.V != nil {
- return *x.V
- }
- return false
-}
-
-type String struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *string `protobuf:"bytes,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *String) Reset() {
- *x = String{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *String) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*String) ProtoMessage() {}
-
-func (x *String) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use String.ProtoReflect.Descriptor instead.
-func (*String) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{11}
-}
-
-func (x *String) GetV() string {
- if x != nil && x.V != nil {
- return *x.V
- }
- return ""
-}
-
-type Bytes struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V []byte `protobuf:"bytes,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *Bytes) Reset() {
- *x = Bytes{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Bytes) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Bytes) ProtoMessage() {}
-
-func (x *Bytes) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Bytes.ProtoReflect.Descriptor instead.
-func (*Bytes) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{12}
-}
-
-func (x *Bytes) GetV() []byte {
- if x != nil {
- return x.V
- }
- return nil
-}
-
-type Message struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *Message_M `protobuf:"bytes,1,req,name=v" json:"v,omitempty"`
-}
-
-func (x *Message) Reset() {
- *x = Message{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Message) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Message) ProtoMessage() {}
-
-func (x *Message) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Message.ProtoReflect.Descriptor instead.
-func (*Message) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{13}
-}
-
-func (x *Message) GetV() *Message_M {
- if x != nil {
- return x.V
- }
- return nil
-}
-
-type Group struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Group *Group_Group `protobuf:"group,1,req,name=Group,json=group" json:"group,omitempty"`
-}
-
-func (x *Group) Reset() {
- *x = Group{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Group) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Group) ProtoMessage() {}
-
-func (x *Group) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Group.ProtoReflect.Descriptor instead.
-func (*Group) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{14}
-}
-
-func (x *Group) GetGroup() *Group_Group {
- if x != nil {
- return x.Group
- }
- return nil
-}
-
-type Message_M struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *Message_M) Reset() {
- *x = Message_M{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Message_M) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Message_M) ProtoMessage() {}
-
-func (x *Message_M) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Message_M.ProtoReflect.Descriptor instead.
-func (*Message_M) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{13, 0}
-}
-
-type Group_Group struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- V *int32 `protobuf:"varint,1,opt,name=v" json:"v,omitempty"`
-}
-
-func (x *Group_Group) Reset() {
- *x = Group_Group{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Group_Group) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Group_Group) ProtoMessage() {}
-
-func (x *Group_Group) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_required_required_proto_msgTypes[16]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Group_Group.ProtoReflect.Descriptor instead.
-func (*Group_Group) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_required_required_proto_rawDescGZIP(), []int{14, 0}
-}
-
-func (x *Group_Group) GetV() int32 {
- if x != nil && x.V != nil {
- return *x.V
- }
- return 0
-}
-
-var File_internal_testprotos_required_required_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_required_required_proto_rawDesc = []byte{
- 0x0a, 0x2b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x2f, 0x72,
- 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67,
- 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73,
- 0x74, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0x15, 0x0a, 0x05, 0x49, 0x6e, 0x74,
- 0x33, 0x32, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x05, 0x52, 0x01, 0x76,
- 0x22, 0x15, 0x0a, 0x05, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01,
- 0x20, 0x02, 0x28, 0x03, 0x52, 0x01, 0x76, 0x22, 0x16, 0x0a, 0x06, 0x55, 0x69, 0x6e, 0x74, 0x33,
- 0x32, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x01, 0x76, 0x22,
- 0x16, 0x0a, 0x06, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01,
- 0x20, 0x02, 0x28, 0x04, 0x52, 0x01, 0x76, 0x22, 0x16, 0x0a, 0x06, 0x53, 0x69, 0x6e, 0x74, 0x33,
- 0x32, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x11, 0x52, 0x01, 0x76, 0x22,
- 0x16, 0x0a, 0x06, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01,
- 0x20, 0x02, 0x28, 0x12, 0x52, 0x01, 0x76, 0x22, 0x17, 0x0a, 0x07, 0x46, 0x69, 0x78, 0x65, 0x64,
- 0x33, 0x32, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x07, 0x52, 0x01, 0x76,
- 0x22, 0x17, 0x0a, 0x07, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x0c, 0x0a, 0x01, 0x76,
- 0x18, 0x01, 0x20, 0x02, 0x28, 0x06, 0x52, 0x01, 0x76, 0x22, 0x15, 0x0a, 0x05, 0x46, 0x6c, 0x6f,
- 0x61, 0x74, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x02, 0x52, 0x01, 0x76,
- 0x22, 0x16, 0x0a, 0x06, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18,
- 0x01, 0x20, 0x02, 0x28, 0x01, 0x52, 0x01, 0x76, 0x22, 0x14, 0x0a, 0x04, 0x42, 0x6f, 0x6f, 0x6c,
- 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x01, 0x76, 0x22, 0x16,
- 0x0a, 0x06, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20,
- 0x02, 0x28, 0x09, 0x52, 0x01, 0x76, 0x22, 0x15, 0x0a, 0x05, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12,
- 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x01, 0x76, 0x22, 0x43, 0x0a,
- 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x33, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20,
- 0x02, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
- 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x52, 0x01, 0x76, 0x1a, 0x03, 0x0a,
- 0x01, 0x4d, 0x22, 0x5d, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3d, 0x0a, 0x05, 0x67,
- 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0a, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72,
- 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x72,
- 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x15, 0x0a, 0x05, 0x47, 0x72,
- 0x6f, 0x75, 0x70, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01,
- 0x76, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
- 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
- 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x73, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
-}
-
-var (
- file_internal_testprotos_required_required_proto_rawDescOnce sync.Once
- file_internal_testprotos_required_required_proto_rawDescData = file_internal_testprotos_required_required_proto_rawDesc
-)
-
-func file_internal_testprotos_required_required_proto_rawDescGZIP() []byte {
- file_internal_testprotos_required_required_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_required_required_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_required_required_proto_rawDescData)
- })
- return file_internal_testprotos_required_required_proto_rawDescData
-}
-
-var file_internal_testprotos_required_required_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
-var file_internal_testprotos_required_required_proto_goTypes = []interface{}{
- (*Int32)(nil), // 0: goproto.proto.testrequired.Int32
- (*Int64)(nil), // 1: goproto.proto.testrequired.Int64
- (*Uint32)(nil), // 2: goproto.proto.testrequired.Uint32
- (*Uint64)(nil), // 3: goproto.proto.testrequired.Uint64
- (*Sint32)(nil), // 4: goproto.proto.testrequired.Sint32
- (*Sint64)(nil), // 5: goproto.proto.testrequired.Sint64
- (*Fixed32)(nil), // 6: goproto.proto.testrequired.Fixed32
- (*Fixed64)(nil), // 7: goproto.proto.testrequired.Fixed64
- (*Float)(nil), // 8: goproto.proto.testrequired.Float
- (*Double)(nil), // 9: goproto.proto.testrequired.Double
- (*Bool)(nil), // 10: goproto.proto.testrequired.Bool
- (*String)(nil), // 11: goproto.proto.testrequired.String
- (*Bytes)(nil), // 12: goproto.proto.testrequired.Bytes
- (*Message)(nil), // 13: goproto.proto.testrequired.Message
- (*Group)(nil), // 14: goproto.proto.testrequired.Group
- (*Message_M)(nil), // 15: goproto.proto.testrequired.Message.M
- (*Group_Group)(nil), // 16: goproto.proto.testrequired.Group.Group
-}
-var file_internal_testprotos_required_required_proto_depIdxs = []int32{
- 15, // 0: goproto.proto.testrequired.Message.v:type_name -> goproto.proto.testrequired.Message.M
- 16, // 1: goproto.proto.testrequired.Group.group:type_name -> goproto.proto.testrequired.Group.Group
- 2, // [2:2] is the sub-list for method output_type
- 2, // [2:2] is the sub-list for method input_type
- 2, // [2:2] is the sub-list for extension type_name
- 2, // [2:2] is the sub-list for extension extendee
- 0, // [0:2] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_required_required_proto_init() }
-func file_internal_testprotos_required_required_proto_init() {
- if File_internal_testprotos_required_required_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_required_required_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Int32); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Int64); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Uint32); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Uint64); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Sint32); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Sint64); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Fixed32); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Fixed64); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Float); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Double); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Bool); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*String); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Bytes); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Message); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Group); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Message_M); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_required_required_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Group_Group); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_required_required_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 17,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_required_required_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_required_required_proto_depIdxs,
- MessageInfos: file_internal_testprotos_required_required_proto_msgTypes,
- }.Build()
- File_internal_testprotos_required_required_proto = out.File
- file_internal_testprotos_required_required_proto_rawDesc = nil
- file_internal_testprotos_required_required_proto_goTypes = nil
- file_internal_testprotos_required_required_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/required/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/required/ya.make
deleted file mode 100644
index b04255bfa6..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/required/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(required.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/test/ext.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/test/ext.pb.go
deleted file mode 100644
index 194b4c5279..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/test/ext.pb.go
+++ /dev/null
@@ -1,90 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/test/ext.proto
-
-package test
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
-)
-
-var file_internal_testprotos_test_ext_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*int32)(nil),
- Field: 2000,
- Name: "goproto.proto.test.foreign_int32_extension",
- Tag: "varint,2000,opt,name=foreign_int32_extension",
- Filename: "internal/testprotos/test/ext.proto",
- },
-}
-
-// Extension fields to TestAllExtensions.
-var (
- // optional int32 foreign_int32_extension = 2000;
- E_ForeignInt32Extension = &file_internal_testprotos_test_ext_proto_extTypes[0]
-)
-
-var File_internal_testprotos_test_ext_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_test_ext_proto_rawDesc = []byte{
- 0x0a, 0x22, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
- 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65,
- 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x5e, 0x0a,
- 0x17, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x65,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65,
- 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
- 0xd0, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x49,
- 0x6e, 0x74, 0x33, 0x32, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x35, 0x5a,
- 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
- 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65,
- 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f,
- 0x74, 0x65, 0x73, 0x74,
-}
-
-var file_internal_testprotos_test_ext_proto_goTypes = []interface{}{
- (*TestAllExtensions)(nil), // 0: goproto.proto.test.TestAllExtensions
-}
-var file_internal_testprotos_test_ext_proto_depIdxs = []int32{
- 0, // 0: goproto.proto.test.foreign_int32_extension:extendee -> goproto.proto.test.TestAllExtensions
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 0, // [0:1] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_test_ext_proto_init() }
-func file_internal_testprotos_test_ext_proto_init() {
- if File_internal_testprotos_test_ext_proto != nil {
- return
- }
- file_internal_testprotos_test_test_proto_init()
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_test_ext_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 0,
- NumExtensions: 1,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_test_ext_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_test_ext_proto_depIdxs,
- ExtensionInfos: file_internal_testprotos_test_ext_proto_extTypes,
- }.Build()
- File_internal_testprotos_test_ext_proto = out.File
- file_internal_testprotos_test_ext_proto_rawDesc = nil
- file_internal_testprotos_test_ext_proto_goTypes = nil
- file_internal_testprotos_test_ext_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/test/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/test/test.pb.go
deleted file mode 100644
index a828a515dc..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/test/test.pb.go
+++ /dev/null
@@ -1,5413 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/test/test.proto
-
-package test
-
-import (
- enums "google.golang.org/protobuf/internal/testprotos/enums"
- proto "google.golang.org/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type ForeignEnum int32
-
-const (
- ForeignEnum_FOREIGN_FOO ForeignEnum = 4
- ForeignEnum_FOREIGN_BAR ForeignEnum = 5
- ForeignEnum_FOREIGN_BAZ ForeignEnum = 6
-)
-
-// Enum value maps for ForeignEnum.
-var (
- ForeignEnum_name = map[int32]string{
- 4: "FOREIGN_FOO",
- 5: "FOREIGN_BAR",
- 6: "FOREIGN_BAZ",
- }
- ForeignEnum_value = map[string]int32{
- "FOREIGN_FOO": 4,
- "FOREIGN_BAR": 5,
- "FOREIGN_BAZ": 6,
- }
-)
-
-func (x ForeignEnum) Enum() *ForeignEnum {
- p := new(ForeignEnum)
- *p = x
- return p
-}
-
-func (x ForeignEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_test_test_proto_enumTypes[0].Descriptor()
-}
-
-func (ForeignEnum) Type() protoreflect.EnumType {
- return &file_internal_testprotos_test_test_proto_enumTypes[0]
-}
-
-func (x ForeignEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *ForeignEnum) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = ForeignEnum(num)
- return nil
-}
-
-// Deprecated: Use ForeignEnum.Descriptor instead.
-func (ForeignEnum) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{0}
-}
-
-type TestReservedEnumFields int32
-
-const (
- TestReservedEnumFields_RESERVED_ENUM TestReservedEnumFields = 0
-)
-
-// Enum value maps for TestReservedEnumFields.
-var (
- TestReservedEnumFields_name = map[int32]string{
- 0: "RESERVED_ENUM",
- }
- TestReservedEnumFields_value = map[string]int32{
- "RESERVED_ENUM": 0,
- }
-)
-
-func (x TestReservedEnumFields) Enum() *TestReservedEnumFields {
- p := new(TestReservedEnumFields)
- *p = x
- return p
-}
-
-func (x TestReservedEnumFields) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (TestReservedEnumFields) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_test_test_proto_enumTypes[1].Descriptor()
-}
-
-func (TestReservedEnumFields) Type() protoreflect.EnumType {
- return &file_internal_testprotos_test_test_proto_enumTypes[1]
-}
-
-func (x TestReservedEnumFields) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *TestReservedEnumFields) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = TestReservedEnumFields(num)
- return nil
-}
-
-// Deprecated: Use TestReservedEnumFields.Descriptor instead.
-func (TestReservedEnumFields) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{1}
-}
-
-type TestAllTypes_NestedEnum int32
-
-const (
- TestAllTypes_FOO TestAllTypes_NestedEnum = 0
- TestAllTypes_BAR TestAllTypes_NestedEnum = 1
- TestAllTypes_BAZ TestAllTypes_NestedEnum = 2
- TestAllTypes_NEG TestAllTypes_NestedEnum = -1 // Intentionally negative.
-)
-
-// Enum value maps for TestAllTypes_NestedEnum.
-var (
- TestAllTypes_NestedEnum_name = map[int32]string{
- 0: "FOO",
- 1: "BAR",
- 2: "BAZ",
- -1: "NEG",
- }
- TestAllTypes_NestedEnum_value = map[string]int32{
- "FOO": 0,
- "BAR": 1,
- "BAZ": 2,
- "NEG": -1,
- }
-)
-
-func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum {
- p := new(TestAllTypes_NestedEnum)
- *p = x
- return p
-}
-
-func (x TestAllTypes_NestedEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_test_test_proto_enumTypes[2].Descriptor()
-}
-
-func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType {
- return &file_internal_testprotos_test_test_proto_enumTypes[2]
-}
-
-func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *TestAllTypes_NestedEnum) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = TestAllTypes_NestedEnum(num)
- return nil
-}
-
-// Deprecated: Use TestAllTypes_NestedEnum.Descriptor instead.
-func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{0, 0}
-}
-
-// Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
-type TestDeprecatedMessage_DeprecatedEnum int32
-
-const (
- // Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
- TestDeprecatedMessage_DEPRECATED TestDeprecatedMessage_DeprecatedEnum = 0
-)
-
-// Enum value maps for TestDeprecatedMessage_DeprecatedEnum.
-var (
- TestDeprecatedMessage_DeprecatedEnum_name = map[int32]string{
- 0: "DEPRECATED",
- }
- TestDeprecatedMessage_DeprecatedEnum_value = map[string]int32{
- "DEPRECATED": 0,
- }
-)
-
-func (x TestDeprecatedMessage_DeprecatedEnum) Enum() *TestDeprecatedMessage_DeprecatedEnum {
- p := new(TestDeprecatedMessage_DeprecatedEnum)
- *p = x
- return p
-}
-
-func (x TestDeprecatedMessage_DeprecatedEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (TestDeprecatedMessage_DeprecatedEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_test_test_proto_enumTypes[3].Descriptor()
-}
-
-func (TestDeprecatedMessage_DeprecatedEnum) Type() protoreflect.EnumType {
- return &file_internal_testprotos_test_test_proto_enumTypes[3]
-}
-
-func (x TestDeprecatedMessage_DeprecatedEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *TestDeprecatedMessage_DeprecatedEnum) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = TestDeprecatedMessage_DeprecatedEnum(num)
- return nil
-}
-
-// Deprecated: Use TestDeprecatedMessage_DeprecatedEnum.Descriptor instead.
-func (TestDeprecatedMessage_DeprecatedEnum) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{1, 0}
-}
-
-type TestAllTypes struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptionalInt32 *int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
- OptionalInt64 *int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
- OptionalUint32 *uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
- OptionalUint64 *uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
- OptionalSint32 *int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
- OptionalSint64 *int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
- OptionalFixed32 *uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
- OptionalFixed64 *uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
- OptionalSfixed32 *int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
- OptionalSfixed64 *int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
- OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
- OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
- OptionalBool *bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
- OptionalString *string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
- Optionalgroup *TestAllTypes_OptionalGroup `protobuf:"group,16,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
- OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
- OptionalForeignMessage *ForeignMessage `protobuf:"bytes,19,opt,name=optional_foreign_message,json=optionalForeignMessage" json:"optional_foreign_message,omitempty"`
- OptionalImportMessage *ImportMessage `protobuf:"bytes,20,opt,name=optional_import_message,json=optionalImportMessage" json:"optional_import_message,omitempty"`
- OptionalNestedEnum *TestAllTypes_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"optional_nested_enum,omitempty"`
- OptionalForeignEnum *ForeignEnum `protobuf:"varint,22,opt,name=optional_foreign_enum,json=optionalForeignEnum,enum=goproto.proto.test.ForeignEnum" json:"optional_foreign_enum,omitempty"`
- OptionalImportEnum *ImportEnum `protobuf:"varint,23,opt,name=optional_import_enum,json=optionalImportEnum,enum=goproto.proto.test.ImportEnum" json:"optional_import_enum,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,34,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,41,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,42,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
- RepeatedBool []bool `protobuf:"varint,43,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
- RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
- Repeatedgroup []*TestAllTypes_RepeatedGroup `protobuf:"group,46,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
- RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"`
- RepeatedForeignMessage []*ForeignMessage `protobuf:"bytes,49,rep,name=repeated_foreign_message,json=repeatedForeignMessage" json:"repeated_foreign_message,omitempty"`
- RepeatedImportmessage []*ImportMessage `protobuf:"bytes,50,rep,name=repeated_importmessage,json=repeatedImportmessage" json:"repeated_importmessage,omitempty"`
- RepeatedNestedEnum []TestAllTypes_NestedEnum `protobuf:"varint,51,rep,name=repeated_nested_enum,json=repeatedNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"repeated_nested_enum,omitempty"`
- RepeatedForeignEnum []ForeignEnum `protobuf:"varint,52,rep,name=repeated_foreign_enum,json=repeatedForeignEnum,enum=goproto.proto.test.ForeignEnum" json:"repeated_foreign_enum,omitempty"`
- RepeatedImportenum []ImportEnum `protobuf:"varint,53,rep,name=repeated_importenum,json=repeatedImportenum,enum=goproto.proto.test.ImportEnum" json:"repeated_importenum,omitempty"`
- MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapInt64Int64 map[int64]int64 `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint32Uint32 map[uint32]uint32 `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapUint64Uint64 map[uint64]uint64 `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapSint32Sint32 map[int32]int32 `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
- MapSint64Sint64 map[int64]int64 `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
- MapFixed32Fixed32 map[uint32]uint32 `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapFixed64Fixed64 map[uint64]uint64 `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapSfixed32Sfixed32 map[int32]int32 `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapSfixed64Sfixed64 map[int64]int64 `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapInt32Float map[int32]float32 `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
- MapInt32Double map[int32]float64 `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
- MapBoolBool map[bool]bool `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- MapStringString map[string]string `protobuf:"bytes,69,rep,name=map_string_string,json=mapStringString" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapStringBytes map[string][]byte `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- MapStringNestedEnum map[string]TestAllTypes_NestedEnum `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=goproto.proto.test.TestAllTypes_NestedEnum"`
- // Singular with defaults
- DefaultInt32 *int32 `protobuf:"varint,81,opt,name=default_int32,json=defaultInt32,def=81" json:"default_int32,omitempty"`
- DefaultInt64 *int64 `protobuf:"varint,82,opt,name=default_int64,json=defaultInt64,def=82" json:"default_int64,omitempty"`
- DefaultUint32 *uint32 `protobuf:"varint,83,opt,name=default_uint32,json=defaultUint32,def=83" json:"default_uint32,omitempty"`
- DefaultUint64 *uint64 `protobuf:"varint,84,opt,name=default_uint64,json=defaultUint64,def=84" json:"default_uint64,omitempty"`
- DefaultSint32 *int32 `protobuf:"zigzag32,85,opt,name=default_sint32,json=defaultSint32,def=-85" json:"default_sint32,omitempty"`
- DefaultSint64 *int64 `protobuf:"zigzag64,86,opt,name=default_sint64,json=defaultSint64,def=86" json:"default_sint64,omitempty"`
- DefaultFixed32 *uint32 `protobuf:"fixed32,87,opt,name=default_fixed32,json=defaultFixed32,def=87" json:"default_fixed32,omitempty"`
- DefaultFixed64 *uint64 `protobuf:"fixed64,88,opt,name=default_fixed64,json=defaultFixed64,def=88" json:"default_fixed64,omitempty"`
- DefaultSfixed32 *int32 `protobuf:"fixed32,89,opt,name=default_sfixed32,json=defaultSfixed32,def=89" json:"default_sfixed32,omitempty"`
- DefaultSfixed64 *int64 `protobuf:"fixed64,80,opt,name=default_sfixed64,json=defaultSfixed64,def=-90" json:"default_sfixed64,omitempty"`
- DefaultFloat *float32 `protobuf:"fixed32,91,opt,name=default_float,json=defaultFloat,def=91.5" json:"default_float,omitempty"`
- DefaultDouble *float64 `protobuf:"fixed64,92,opt,name=default_double,json=defaultDouble,def=92000" json:"default_double,omitempty"`
- DefaultBool *bool `protobuf:"varint,93,opt,name=default_bool,json=defaultBool,def=1" json:"default_bool,omitempty"`
- DefaultString *string `protobuf:"bytes,94,opt,name=default_string,json=defaultString,def=hello" json:"default_string,omitempty"`
- DefaultBytes []byte `protobuf:"bytes,95,opt,name=default_bytes,json=defaultBytes,def=world" json:"default_bytes,omitempty"`
- DefaultNestedEnum *TestAllTypes_NestedEnum `protobuf:"varint,96,opt,name=default_nested_enum,json=defaultNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum,def=1" json:"default_nested_enum,omitempty"`
- DefaultForeignEnum *ForeignEnum `protobuf:"varint,97,opt,name=default_foreign_enum,json=defaultForeignEnum,enum=goproto.proto.test.ForeignEnum,def=5" json:"default_foreign_enum,omitempty"`
- // Types that are assignable to OneofField:
- //
- // *TestAllTypes_OneofUint32
- // *TestAllTypes_OneofNestedMessage
- // *TestAllTypes_OneofString
- // *TestAllTypes_OneofBytes
- // *TestAllTypes_OneofBool
- // *TestAllTypes_OneofUint64
- // *TestAllTypes_OneofFloat
- // *TestAllTypes_OneofDouble
- // *TestAllTypes_OneofEnum
- // *TestAllTypes_Oneofgroup
- OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"`
- // A oneof with exactly one field.
- //
- // Types that are assignable to OneofOptional:
- //
- // *TestAllTypes_OneofOptionalUint32
- OneofOptional isTestAllTypes_OneofOptional `protobuf_oneof:"oneof_optional"`
-}
-
-// Default values for TestAllTypes fields.
-const (
- Default_TestAllTypes_DefaultInt32 = int32(81)
- Default_TestAllTypes_DefaultInt64 = int64(82)
- Default_TestAllTypes_DefaultUint32 = uint32(83)
- Default_TestAllTypes_DefaultUint64 = uint64(84)
- Default_TestAllTypes_DefaultSint32 = int32(-85)
- Default_TestAllTypes_DefaultSint64 = int64(86)
- Default_TestAllTypes_DefaultFixed32 = uint32(87)
- Default_TestAllTypes_DefaultFixed64 = uint64(88)
- Default_TestAllTypes_DefaultSfixed32 = int32(89)
- Default_TestAllTypes_DefaultSfixed64 = int64(-90)
- Default_TestAllTypes_DefaultFloat = float32(91.5)
- Default_TestAllTypes_DefaultDouble = float64(92000)
- Default_TestAllTypes_DefaultBool = bool(true)
- Default_TestAllTypes_DefaultString = string("hello")
- Default_TestAllTypes_DefaultNestedEnum = TestAllTypes_BAR
- Default_TestAllTypes_DefaultForeignEnum = ForeignEnum_FOREIGN_BAR
-)
-
-// Default values for TestAllTypes fields.
-var (
- Default_TestAllTypes_DefaultBytes = []byte("world")
-)
-
-func (x *TestAllTypes) Reset() {
- *x = TestAllTypes{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestAllTypes) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestAllTypes) ProtoMessage() {}
-
-func (x *TestAllTypes) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestAllTypes.ProtoReflect.Descriptor instead.
-func (*TestAllTypes) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *TestAllTypes) GetOptionalInt32() int32 {
- if x != nil && x.OptionalInt32 != nil {
- return *x.OptionalInt32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalInt64() int64 {
- if x != nil && x.OptionalInt64 != nil {
- return *x.OptionalInt64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalUint32() uint32 {
- if x != nil && x.OptionalUint32 != nil {
- return *x.OptionalUint32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalUint64() uint64 {
- if x != nil && x.OptionalUint64 != nil {
- return *x.OptionalUint64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalSint32() int32 {
- if x != nil && x.OptionalSint32 != nil {
- return *x.OptionalSint32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalSint64() int64 {
- if x != nil && x.OptionalSint64 != nil {
- return *x.OptionalSint64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalFixed32() uint32 {
- if x != nil && x.OptionalFixed32 != nil {
- return *x.OptionalFixed32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalFixed64() uint64 {
- if x != nil && x.OptionalFixed64 != nil {
- return *x.OptionalFixed64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalSfixed32() int32 {
- if x != nil && x.OptionalSfixed32 != nil {
- return *x.OptionalSfixed32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalSfixed64() int64 {
- if x != nil && x.OptionalSfixed64 != nil {
- return *x.OptionalSfixed64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalFloat() float32 {
- if x != nil && x.OptionalFloat != nil {
- return *x.OptionalFloat
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalDouble() float64 {
- if x != nil && x.OptionalDouble != nil {
- return *x.OptionalDouble
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalBool() bool {
- if x != nil && x.OptionalBool != nil {
- return *x.OptionalBool
- }
- return false
-}
-
-func (x *TestAllTypes) GetOptionalString() string {
- if x != nil && x.OptionalString != nil {
- return *x.OptionalString
- }
- return ""
-}
-
-func (x *TestAllTypes) GetOptionalBytes() []byte {
- if x != nil {
- return x.OptionalBytes
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOptionalgroup() *TestAllTypes_OptionalGroup {
- if x != nil {
- return x.Optionalgroup
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage {
- if x != nil {
- return x.OptionalNestedMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage {
- if x != nil {
- return x.OptionalForeignMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOptionalImportMessage() *ImportMessage {
- if x != nil {
- return x.OptionalImportMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum {
- if x != nil && x.OptionalNestedEnum != nil {
- return *x.OptionalNestedEnum
- }
- return TestAllTypes_FOO
-}
-
-func (x *TestAllTypes) GetOptionalForeignEnum() ForeignEnum {
- if x != nil && x.OptionalForeignEnum != nil {
- return *x.OptionalForeignEnum
- }
- return ForeignEnum_FOREIGN_FOO
-}
-
-func (x *TestAllTypes) GetOptionalImportEnum() ImportEnum {
- if x != nil && x.OptionalImportEnum != nil {
- return *x.OptionalImportEnum
- }
- return ImportEnum_IMPORT_ZERO
-}
-
-func (x *TestAllTypes) GetRepeatedInt32() []int32 {
- if x != nil {
- return x.RepeatedInt32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedInt64() []int64 {
- if x != nil {
- return x.RepeatedInt64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedUint32() []uint32 {
- if x != nil {
- return x.RepeatedUint32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedUint64() []uint64 {
- if x != nil {
- return x.RepeatedUint64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedSint32() []int32 {
- if x != nil {
- return x.RepeatedSint32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedSint64() []int64 {
- if x != nil {
- return x.RepeatedSint64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedFixed32() []uint32 {
- if x != nil {
- return x.RepeatedFixed32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedFixed64() []uint64 {
- if x != nil {
- return x.RepeatedFixed64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedSfixed32() []int32 {
- if x != nil {
- return x.RepeatedSfixed32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedSfixed64() []int64 {
- if x != nil {
- return x.RepeatedSfixed64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedFloat() []float32 {
- if x != nil {
- return x.RepeatedFloat
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedDouble() []float64 {
- if x != nil {
- return x.RepeatedDouble
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedBool() []bool {
- if x != nil {
- return x.RepeatedBool
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedString() []string {
- if x != nil {
- return x.RepeatedString
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedBytes() [][]byte {
- if x != nil {
- return x.RepeatedBytes
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedgroup() []*TestAllTypes_RepeatedGroup {
- if x != nil {
- return x.Repeatedgroup
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage {
- if x != nil {
- return x.RepeatedNestedMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage {
- if x != nil {
- return x.RepeatedForeignMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedImportmessage() []*ImportMessage {
- if x != nil {
- return x.RepeatedImportmessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum {
- if x != nil {
- return x.RepeatedNestedEnum
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedForeignEnum() []ForeignEnum {
- if x != nil {
- return x.RepeatedForeignEnum
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedImportenum() []ImportEnum {
- if x != nil {
- return x.RepeatedImportenum
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapInt32Int32() map[int32]int32 {
- if x != nil {
- return x.MapInt32Int32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapInt64Int64() map[int64]int64 {
- if x != nil {
- return x.MapInt64Int64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32 {
- if x != nil {
- return x.MapUint32Uint32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64 {
- if x != nil {
- return x.MapUint64Uint64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapSint32Sint32() map[int32]int32 {
- if x != nil {
- return x.MapSint32Sint32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapSint64Sint64() map[int64]int64 {
- if x != nil {
- return x.MapSint64Sint64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32 {
- if x != nil {
- return x.MapFixed32Fixed32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64 {
- if x != nil {
- return x.MapFixed64Fixed64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32 {
- if x != nil {
- return x.MapSfixed32Sfixed32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64 {
- if x != nil {
- return x.MapSfixed64Sfixed64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapInt32Float() map[int32]float32 {
- if x != nil {
- return x.MapInt32Float
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapInt32Double() map[int32]float64 {
- if x != nil {
- return x.MapInt32Double
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapBoolBool() map[bool]bool {
- if x != nil {
- return x.MapBoolBool
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapStringString() map[string]string {
- if x != nil {
- return x.MapStringString
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapStringBytes() map[string][]byte {
- if x != nil {
- return x.MapStringBytes
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage {
- if x != nil {
- return x.MapStringNestedMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum {
- if x != nil {
- return x.MapStringNestedEnum
- }
- return nil
-}
-
-func (x *TestAllTypes) GetDefaultInt32() int32 {
- if x != nil && x.DefaultInt32 != nil {
- return *x.DefaultInt32
- }
- return Default_TestAllTypes_DefaultInt32
-}
-
-func (x *TestAllTypes) GetDefaultInt64() int64 {
- if x != nil && x.DefaultInt64 != nil {
- return *x.DefaultInt64
- }
- return Default_TestAllTypes_DefaultInt64
-}
-
-func (x *TestAllTypes) GetDefaultUint32() uint32 {
- if x != nil && x.DefaultUint32 != nil {
- return *x.DefaultUint32
- }
- return Default_TestAllTypes_DefaultUint32
-}
-
-func (x *TestAllTypes) GetDefaultUint64() uint64 {
- if x != nil && x.DefaultUint64 != nil {
- return *x.DefaultUint64
- }
- return Default_TestAllTypes_DefaultUint64
-}
-
-func (x *TestAllTypes) GetDefaultSint32() int32 {
- if x != nil && x.DefaultSint32 != nil {
- return *x.DefaultSint32
- }
- return Default_TestAllTypes_DefaultSint32
-}
-
-func (x *TestAllTypes) GetDefaultSint64() int64 {
- if x != nil && x.DefaultSint64 != nil {
- return *x.DefaultSint64
- }
- return Default_TestAllTypes_DefaultSint64
-}
-
-func (x *TestAllTypes) GetDefaultFixed32() uint32 {
- if x != nil && x.DefaultFixed32 != nil {
- return *x.DefaultFixed32
- }
- return Default_TestAllTypes_DefaultFixed32
-}
-
-func (x *TestAllTypes) GetDefaultFixed64() uint64 {
- if x != nil && x.DefaultFixed64 != nil {
- return *x.DefaultFixed64
- }
- return Default_TestAllTypes_DefaultFixed64
-}
-
-func (x *TestAllTypes) GetDefaultSfixed32() int32 {
- if x != nil && x.DefaultSfixed32 != nil {
- return *x.DefaultSfixed32
- }
- return Default_TestAllTypes_DefaultSfixed32
-}
-
-func (x *TestAllTypes) GetDefaultSfixed64() int64 {
- if x != nil && x.DefaultSfixed64 != nil {
- return *x.DefaultSfixed64
- }
- return Default_TestAllTypes_DefaultSfixed64
-}
-
-func (x *TestAllTypes) GetDefaultFloat() float32 {
- if x != nil && x.DefaultFloat != nil {
- return *x.DefaultFloat
- }
- return Default_TestAllTypes_DefaultFloat
-}
-
-func (x *TestAllTypes) GetDefaultDouble() float64 {
- if x != nil && x.DefaultDouble != nil {
- return *x.DefaultDouble
- }
- return Default_TestAllTypes_DefaultDouble
-}
-
-func (x *TestAllTypes) GetDefaultBool() bool {
- if x != nil && x.DefaultBool != nil {
- return *x.DefaultBool
- }
- return Default_TestAllTypes_DefaultBool
-}
-
-func (x *TestAllTypes) GetDefaultString() string {
- if x != nil && x.DefaultString != nil {
- return *x.DefaultString
- }
- return Default_TestAllTypes_DefaultString
-}
-
-func (x *TestAllTypes) GetDefaultBytes() []byte {
- if x != nil && x.DefaultBytes != nil {
- return x.DefaultBytes
- }
- return append([]byte(nil), Default_TestAllTypes_DefaultBytes...)
-}
-
-func (x *TestAllTypes) GetDefaultNestedEnum() TestAllTypes_NestedEnum {
- if x != nil && x.DefaultNestedEnum != nil {
- return *x.DefaultNestedEnum
- }
- return Default_TestAllTypes_DefaultNestedEnum
-}
-
-func (x *TestAllTypes) GetDefaultForeignEnum() ForeignEnum {
- if x != nil && x.DefaultForeignEnum != nil {
- return *x.DefaultForeignEnum
- }
- return Default_TestAllTypes_DefaultForeignEnum
-}
-
-func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField {
- if m != nil {
- return m.OneofField
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOneofUint32() uint32 {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofNestedMessage); ok {
- return x.OneofNestedMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOneofString() string {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (x *TestAllTypes) GetOneofBytes() []byte {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOneofBool() bool {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (x *TestAllTypes) GetOneofUint64() uint64 {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOneofFloat() float32 {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOneofDouble() float64 {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofEnum); ok {
- return x.OneofEnum
- }
- return TestAllTypes_FOO
-}
-
-func (x *TestAllTypes) GetOneofgroup() *TestAllTypes_OneofGroup {
- if x, ok := x.GetOneofField().(*TestAllTypes_Oneofgroup); ok {
- return x.Oneofgroup
- }
- return nil
-}
-
-func (m *TestAllTypes) GetOneofOptional() isTestAllTypes_OneofOptional {
- if m != nil {
- return m.OneofOptional
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOneofOptionalUint32() uint32 {
- if x, ok := x.GetOneofOptional().(*TestAllTypes_OneofOptionalUint32); ok {
- return x.OneofOptionalUint32
- }
- return 0
-}
-
-type isTestAllTypes_OneofField interface {
- isTestAllTypes_OneofField()
-}
-
-type TestAllTypes_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"`
-}
-
-type TestAllTypes_OneofNestedMessage struct {
- OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"`
-}
-
-type TestAllTypes_OneofString struct {
- OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"`
-}
-
-type TestAllTypes_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,oneof"`
-}
-
-type TestAllTypes_OneofBool struct {
- OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"`
-}
-
-type TestAllTypes_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"`
-}
-
-type TestAllTypes_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"`
-}
-
-type TestAllTypes_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"`
-}
-
-type TestAllTypes_OneofEnum struct {
- OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum,oneof"`
-}
-
-type TestAllTypes_Oneofgroup struct {
- Oneofgroup *TestAllTypes_OneofGroup `protobuf:"group,121,opt,name=OneofGroup,json=oneofgroup,oneof"`
-}
-
-func (*TestAllTypes_OneofUint32) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofNestedMessage) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofString) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofBytes) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofBool) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofUint64) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofFloat) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofDouble) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofEnum) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_Oneofgroup) isTestAllTypes_OneofField() {}
-
-type isTestAllTypes_OneofOptional interface {
- isTestAllTypes_OneofOptional()
-}
-
-type TestAllTypes_OneofOptionalUint32 struct {
- OneofOptionalUint32 uint32 `protobuf:"varint,120,opt,name=oneof_optional_uint32,json=oneofOptionalUint32,oneof"`
-}
-
-func (*TestAllTypes_OneofOptionalUint32) isTestAllTypes_OneofOptional() {}
-
-// Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
-type TestDeprecatedMessage struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
- DeprecatedInt32 *int32 `protobuf:"varint,1,opt,name=deprecated_int32,json=deprecatedInt32" json:"deprecated_int32,omitempty"`
- // Types that are assignable to DeprecatedOneof:
- //
- // *TestDeprecatedMessage_DeprecatedOneofField
- DeprecatedOneof isTestDeprecatedMessage_DeprecatedOneof `protobuf_oneof:"deprecated_oneof"`
-}
-
-func (x *TestDeprecatedMessage) Reset() {
- *x = TestDeprecatedMessage{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestDeprecatedMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestDeprecatedMessage) ProtoMessage() {}
-
-func (x *TestDeprecatedMessage) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestDeprecatedMessage.ProtoReflect.Descriptor instead.
-func (*TestDeprecatedMessage) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{1}
-}
-
-// Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
-func (x *TestDeprecatedMessage) GetDeprecatedInt32() int32 {
- if x != nil && x.DeprecatedInt32 != nil {
- return *x.DeprecatedInt32
- }
- return 0
-}
-
-func (m *TestDeprecatedMessage) GetDeprecatedOneof() isTestDeprecatedMessage_DeprecatedOneof {
- if m != nil {
- return m.DeprecatedOneof
- }
- return nil
-}
-
-// Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
-func (x *TestDeprecatedMessage) GetDeprecatedOneofField() int32 {
- if x, ok := x.GetDeprecatedOneof().(*TestDeprecatedMessage_DeprecatedOneofField); ok {
- return x.DeprecatedOneofField
- }
- return 0
-}
-
-type isTestDeprecatedMessage_DeprecatedOneof interface {
- isTestDeprecatedMessage_DeprecatedOneof()
-}
-
-type TestDeprecatedMessage_DeprecatedOneofField struct {
- // Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
- DeprecatedOneofField int32 `protobuf:"varint,2,opt,name=deprecated_oneof_field,json=deprecatedOneofField,oneof"`
-}
-
-func (*TestDeprecatedMessage_DeprecatedOneofField) isTestDeprecatedMessage_DeprecatedOneof() {}
-
-type ForeignMessage struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- C *int32 `protobuf:"varint,1,opt,name=c" json:"c,omitempty"`
- D *int32 `protobuf:"varint,2,opt,name=d" json:"d,omitempty"`
-}
-
-func (x *ForeignMessage) Reset() {
- *x = ForeignMessage{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ForeignMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ForeignMessage) ProtoMessage() {}
-
-func (x *ForeignMessage) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ForeignMessage.ProtoReflect.Descriptor instead.
-func (*ForeignMessage) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *ForeignMessage) GetC() int32 {
- if x != nil && x.C != nil {
- return *x.C
- }
- return 0
-}
-
-func (x *ForeignMessage) GetD() int32 {
- if x != nil && x.D != nil {
- return *x.D
- }
- return 0
-}
-
-type TestReservedFields struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *TestReservedFields) Reset() {
- *x = TestReservedFields{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestReservedFields) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestReservedFields) ProtoMessage() {}
-
-func (x *TestReservedFields) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestReservedFields.ProtoReflect.Descriptor instead.
-func (*TestReservedFields) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{3}
-}
-
-type TestAllExtensions struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- extensionFields protoimpl.ExtensionFields
-}
-
-func (x *TestAllExtensions) Reset() {
- *x = TestAllExtensions{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestAllExtensions) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestAllExtensions) ProtoMessage() {}
-
-func (x *TestAllExtensions) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestAllExtensions.ProtoReflect.Descriptor instead.
-func (*TestAllExtensions) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{4}
-}
-
-type OptionalGroup struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
- SameFieldNumber *int32 `protobuf:"varint,16,opt,name=same_field_number,json=sameFieldNumber" json:"same_field_number,omitempty"`
- OptionalNestedMessage *TestAllExtensions_NestedMessage `protobuf:"bytes,1000,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
-}
-
-func (x *OptionalGroup) Reset() {
- *x = OptionalGroup{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *OptionalGroup) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*OptionalGroup) ProtoMessage() {}
-
-func (x *OptionalGroup) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use OptionalGroup.ProtoReflect.Descriptor instead.
-func (*OptionalGroup) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *OptionalGroup) GetA() int32 {
- if x != nil && x.A != nil {
- return *x.A
- }
- return 0
-}
-
-func (x *OptionalGroup) GetSameFieldNumber() int32 {
- if x != nil && x.SameFieldNumber != nil {
- return *x.SameFieldNumber
- }
- return 0
-}
-
-func (x *OptionalGroup) GetOptionalNestedMessage() *TestAllExtensions_NestedMessage {
- if x != nil {
- return x.OptionalNestedMessage
- }
- return nil
-}
-
-type RepeatedGroup struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
- OptionalNestedMessage *TestAllExtensions_NestedMessage `protobuf:"bytes,1001,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
-}
-
-func (x *RepeatedGroup) Reset() {
- *x = RepeatedGroup{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RepeatedGroup) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RepeatedGroup) ProtoMessage() {}
-
-func (x *RepeatedGroup) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RepeatedGroup.ProtoReflect.Descriptor instead.
-func (*RepeatedGroup) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{6}
-}
-
-func (x *RepeatedGroup) GetA() int32 {
- if x != nil && x.A != nil {
- return *x.A
- }
- return 0
-}
-
-func (x *RepeatedGroup) GetOptionalNestedMessage() *TestAllExtensions_NestedMessage {
- if x != nil {
- return x.OptionalNestedMessage
- }
- return nil
-}
-
-type TestNestedExtension struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *TestNestedExtension) Reset() {
- *x = TestNestedExtension{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestNestedExtension) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestNestedExtension) ProtoMessage() {}
-
-func (x *TestNestedExtension) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestNestedExtension.ProtoReflect.Descriptor instead.
-func (*TestNestedExtension) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{7}
-}
-
-type TestRequired struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RequiredField *int32 `protobuf:"varint,1,req,name=required_field,json=requiredField" json:"required_field,omitempty"`
-}
-
-func (x *TestRequired) Reset() {
- *x = TestRequired{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestRequired) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestRequired) ProtoMessage() {}
-
-func (x *TestRequired) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestRequired.ProtoReflect.Descriptor instead.
-func (*TestRequired) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{8}
-}
-
-func (x *TestRequired) GetRequiredField() int32 {
- if x != nil && x.RequiredField != nil {
- return *x.RequiredField
- }
- return 0
-}
-
-type TestRequiredForeign struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptionalMessage *TestRequired `protobuf:"bytes,1,opt,name=optional_message,json=optionalMessage" json:"optional_message,omitempty"`
- RepeatedMessage []*TestRequired `protobuf:"bytes,2,rep,name=repeated_message,json=repeatedMessage" json:"repeated_message,omitempty"`
- MapMessage map[int32]*TestRequired `protobuf:"bytes,3,rep,name=map_message,json=mapMessage" json:"map_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- // Types that are assignable to OneofField:
- //
- // *TestRequiredForeign_OneofMessage
- OneofField isTestRequiredForeign_OneofField `protobuf_oneof:"oneof_field"`
-}
-
-func (x *TestRequiredForeign) Reset() {
- *x = TestRequiredForeign{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestRequiredForeign) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestRequiredForeign) ProtoMessage() {}
-
-func (x *TestRequiredForeign) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestRequiredForeign.ProtoReflect.Descriptor instead.
-func (*TestRequiredForeign) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{9}
-}
-
-func (x *TestRequiredForeign) GetOptionalMessage() *TestRequired {
- if x != nil {
- return x.OptionalMessage
- }
- return nil
-}
-
-func (x *TestRequiredForeign) GetRepeatedMessage() []*TestRequired {
- if x != nil {
- return x.RepeatedMessage
- }
- return nil
-}
-
-func (x *TestRequiredForeign) GetMapMessage() map[int32]*TestRequired {
- if x != nil {
- return x.MapMessage
- }
- return nil
-}
-
-func (m *TestRequiredForeign) GetOneofField() isTestRequiredForeign_OneofField {
- if m != nil {
- return m.OneofField
- }
- return nil
-}
-
-func (x *TestRequiredForeign) GetOneofMessage() *TestRequired {
- if x, ok := x.GetOneofField().(*TestRequiredForeign_OneofMessage); ok {
- return x.OneofMessage
- }
- return nil
-}
-
-type isTestRequiredForeign_OneofField interface {
- isTestRequiredForeign_OneofField()
-}
-
-type TestRequiredForeign_OneofMessage struct {
- OneofMessage *TestRequired `protobuf:"bytes,4,opt,name=oneof_message,json=oneofMessage,oneof"`
-}
-
-func (*TestRequiredForeign_OneofMessage) isTestRequiredForeign_OneofField() {}
-
-type TestRequiredGroupFields struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Optionalgroup *TestRequiredGroupFields_OptionalGroup `protobuf:"group,1,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
- Repeatedgroup []*TestRequiredGroupFields_RepeatedGroup `protobuf:"group,3,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
-}
-
-func (x *TestRequiredGroupFields) Reset() {
- *x = TestRequiredGroupFields{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestRequiredGroupFields) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestRequiredGroupFields) ProtoMessage() {}
-
-func (x *TestRequiredGroupFields) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestRequiredGroupFields.ProtoReflect.Descriptor instead.
-func (*TestRequiredGroupFields) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{10}
-}
-
-func (x *TestRequiredGroupFields) GetOptionalgroup() *TestRequiredGroupFields_OptionalGroup {
- if x != nil {
- return x.Optionalgroup
- }
- return nil
-}
-
-func (x *TestRequiredGroupFields) GetRepeatedgroup() []*TestRequiredGroupFields_RepeatedGroup {
- if x != nil {
- return x.Repeatedgroup
- }
- return nil
-}
-
-type TestWeak struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- weakFields protoimpl.WeakFields
- unknownFields protoimpl.UnknownFields
-
- XXX_weak_WeakMessage1 struct{} `protobuf:"bytes,1,opt,name=weak_message1,json=weakMessage1,weak=goproto.proto.test.weak.WeakImportMessage1" json:"weak_message1,omitempty"`
- XXX_weak_WeakMessage2 struct{} `protobuf:"bytes,2,opt,name=weak_message2,json=weakMessage2,weak=goproto.proto.test.weak.WeakImportMessage2" json:"weak_message2,omitempty"`
-}
-
-func (x *TestWeak) Reset() {
- *x = TestWeak{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestWeak) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestWeak) ProtoMessage() {}
-
-func (x *TestWeak) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestWeak.ProtoReflect.Descriptor instead.
-func (*TestWeak) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{11}
-}
-
-func (x *TestWeak) GetWeakMessage1() proto.Message {
- var w protoimpl.WeakFields
- if x != nil {
- w = x.weakFields
- }
- return protoimpl.X.GetWeak(w, 1, "goproto.proto.test.weak.WeakImportMessage1")
-}
-
-func (x *TestWeak) GetWeakMessage2() proto.Message {
- var w protoimpl.WeakFields
- if x != nil {
- w = x.weakFields
- }
- return protoimpl.X.GetWeak(w, 2, "goproto.proto.test.weak.WeakImportMessage2")
-}
-
-func (x *TestWeak) SetWeakMessage1(v proto.Message) {
- var w *protoimpl.WeakFields
- if x != nil {
- w = &x.weakFields
- }
- protoimpl.X.SetWeak(w, 1, "goproto.proto.test.weak.WeakImportMessage1", v)
-}
-
-func (x *TestWeak) SetWeakMessage2(v proto.Message) {
- var w *protoimpl.WeakFields
- if x != nil {
- w = &x.weakFields
- }
- protoimpl.X.SetWeak(w, 2, "goproto.proto.test.weak.WeakImportMessage2", v)
-}
-
-type TestPackedTypes struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- PackedInt32 []int32 `protobuf:"varint,90,rep,packed,name=packed_int32,json=packedInt32" json:"packed_int32,omitempty"`
- PackedInt64 []int64 `protobuf:"varint,91,rep,packed,name=packed_int64,json=packedInt64" json:"packed_int64,omitempty"`
- PackedUint32 []uint32 `protobuf:"varint,92,rep,packed,name=packed_uint32,json=packedUint32" json:"packed_uint32,omitempty"`
- PackedUint64 []uint64 `protobuf:"varint,93,rep,packed,name=packed_uint64,json=packedUint64" json:"packed_uint64,omitempty"`
- PackedSint32 []int32 `protobuf:"zigzag32,94,rep,packed,name=packed_sint32,json=packedSint32" json:"packed_sint32,omitempty"`
- PackedSint64 []int64 `protobuf:"zigzag64,95,rep,packed,name=packed_sint64,json=packedSint64" json:"packed_sint64,omitempty"`
- PackedFixed32 []uint32 `protobuf:"fixed32,96,rep,packed,name=packed_fixed32,json=packedFixed32" json:"packed_fixed32,omitempty"`
- PackedFixed64 []uint64 `protobuf:"fixed64,97,rep,packed,name=packed_fixed64,json=packedFixed64" json:"packed_fixed64,omitempty"`
- PackedSfixed32 []int32 `protobuf:"fixed32,98,rep,packed,name=packed_sfixed32,json=packedSfixed32" json:"packed_sfixed32,omitempty"`
- PackedSfixed64 []int64 `protobuf:"fixed64,99,rep,packed,name=packed_sfixed64,json=packedSfixed64" json:"packed_sfixed64,omitempty"`
- PackedFloat []float32 `protobuf:"fixed32,100,rep,packed,name=packed_float,json=packedFloat" json:"packed_float,omitempty"`
- PackedDouble []float64 `protobuf:"fixed64,101,rep,packed,name=packed_double,json=packedDouble" json:"packed_double,omitempty"`
- PackedBool []bool `protobuf:"varint,102,rep,packed,name=packed_bool,json=packedBool" json:"packed_bool,omitempty"`
- PackedEnum []ForeignEnum `protobuf:"varint,103,rep,packed,name=packed_enum,json=packedEnum,enum=goproto.proto.test.ForeignEnum" json:"packed_enum,omitempty"`
-}
-
-func (x *TestPackedTypes) Reset() {
- *x = TestPackedTypes{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestPackedTypes) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestPackedTypes) ProtoMessage() {}
-
-func (x *TestPackedTypes) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestPackedTypes.ProtoReflect.Descriptor instead.
-func (*TestPackedTypes) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{12}
-}
-
-func (x *TestPackedTypes) GetPackedInt32() []int32 {
- if x != nil {
- return x.PackedInt32
- }
- return nil
-}
-
-func (x *TestPackedTypes) GetPackedInt64() []int64 {
- if x != nil {
- return x.PackedInt64
- }
- return nil
-}
-
-func (x *TestPackedTypes) GetPackedUint32() []uint32 {
- if x != nil {
- return x.PackedUint32
- }
- return nil
-}
-
-func (x *TestPackedTypes) GetPackedUint64() []uint64 {
- if x != nil {
- return x.PackedUint64
- }
- return nil
-}
-
-func (x *TestPackedTypes) GetPackedSint32() []int32 {
- if x != nil {
- return x.PackedSint32
- }
- return nil
-}
-
-func (x *TestPackedTypes) GetPackedSint64() []int64 {
- if x != nil {
- return x.PackedSint64
- }
- return nil
-}
-
-func (x *TestPackedTypes) GetPackedFixed32() []uint32 {
- if x != nil {
- return x.PackedFixed32
- }
- return nil
-}
-
-func (x *TestPackedTypes) GetPackedFixed64() []uint64 {
- if x != nil {
- return x.PackedFixed64
- }
- return nil
-}
-
-func (x *TestPackedTypes) GetPackedSfixed32() []int32 {
- if x != nil {
- return x.PackedSfixed32
- }
- return nil
-}
-
-func (x *TestPackedTypes) GetPackedSfixed64() []int64 {
- if x != nil {
- return x.PackedSfixed64
- }
- return nil
-}
-
-func (x *TestPackedTypes) GetPackedFloat() []float32 {
- if x != nil {
- return x.PackedFloat
- }
- return nil
-}
-
-func (x *TestPackedTypes) GetPackedDouble() []float64 {
- if x != nil {
- return x.PackedDouble
- }
- return nil
-}
-
-func (x *TestPackedTypes) GetPackedBool() []bool {
- if x != nil {
- return x.PackedBool
- }
- return nil
-}
-
-func (x *TestPackedTypes) GetPackedEnum() []ForeignEnum {
- if x != nil {
- return x.PackedEnum
- }
- return nil
-}
-
-type TestUnpackedTypes struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- UnpackedInt32 []int32 `protobuf:"varint,90,rep,name=unpacked_int32,json=unpackedInt32" json:"unpacked_int32,omitempty"`
- UnpackedInt64 []int64 `protobuf:"varint,91,rep,name=unpacked_int64,json=unpackedInt64" json:"unpacked_int64,omitempty"`
- UnpackedUint32 []uint32 `protobuf:"varint,92,rep,name=unpacked_uint32,json=unpackedUint32" json:"unpacked_uint32,omitempty"`
- UnpackedUint64 []uint64 `protobuf:"varint,93,rep,name=unpacked_uint64,json=unpackedUint64" json:"unpacked_uint64,omitempty"`
- UnpackedSint32 []int32 `protobuf:"zigzag32,94,rep,name=unpacked_sint32,json=unpackedSint32" json:"unpacked_sint32,omitempty"`
- UnpackedSint64 []int64 `protobuf:"zigzag64,95,rep,name=unpacked_sint64,json=unpackedSint64" json:"unpacked_sint64,omitempty"`
- UnpackedFixed32 []uint32 `protobuf:"fixed32,96,rep,name=unpacked_fixed32,json=unpackedFixed32" json:"unpacked_fixed32,omitempty"`
- UnpackedFixed64 []uint64 `protobuf:"fixed64,97,rep,name=unpacked_fixed64,json=unpackedFixed64" json:"unpacked_fixed64,omitempty"`
- UnpackedSfixed32 []int32 `protobuf:"fixed32,98,rep,name=unpacked_sfixed32,json=unpackedSfixed32" json:"unpacked_sfixed32,omitempty"`
- UnpackedSfixed64 []int64 `protobuf:"fixed64,99,rep,name=unpacked_sfixed64,json=unpackedSfixed64" json:"unpacked_sfixed64,omitempty"`
- UnpackedFloat []float32 `protobuf:"fixed32,100,rep,name=unpacked_float,json=unpackedFloat" json:"unpacked_float,omitempty"`
- UnpackedDouble []float64 `protobuf:"fixed64,101,rep,name=unpacked_double,json=unpackedDouble" json:"unpacked_double,omitempty"`
- UnpackedBool []bool `protobuf:"varint,102,rep,name=unpacked_bool,json=unpackedBool" json:"unpacked_bool,omitempty"`
- UnpackedEnum []ForeignEnum `protobuf:"varint,103,rep,name=unpacked_enum,json=unpackedEnum,enum=goproto.proto.test.ForeignEnum" json:"unpacked_enum,omitempty"`
-}
-
-func (x *TestUnpackedTypes) Reset() {
- *x = TestUnpackedTypes{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestUnpackedTypes) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestUnpackedTypes) ProtoMessage() {}
-
-func (x *TestUnpackedTypes) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestUnpackedTypes.ProtoReflect.Descriptor instead.
-func (*TestUnpackedTypes) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{13}
-}
-
-func (x *TestUnpackedTypes) GetUnpackedInt32() []int32 {
- if x != nil {
- return x.UnpackedInt32
- }
- return nil
-}
-
-func (x *TestUnpackedTypes) GetUnpackedInt64() []int64 {
- if x != nil {
- return x.UnpackedInt64
- }
- return nil
-}
-
-func (x *TestUnpackedTypes) GetUnpackedUint32() []uint32 {
- if x != nil {
- return x.UnpackedUint32
- }
- return nil
-}
-
-func (x *TestUnpackedTypes) GetUnpackedUint64() []uint64 {
- if x != nil {
- return x.UnpackedUint64
- }
- return nil
-}
-
-func (x *TestUnpackedTypes) GetUnpackedSint32() []int32 {
- if x != nil {
- return x.UnpackedSint32
- }
- return nil
-}
-
-func (x *TestUnpackedTypes) GetUnpackedSint64() []int64 {
- if x != nil {
- return x.UnpackedSint64
- }
- return nil
-}
-
-func (x *TestUnpackedTypes) GetUnpackedFixed32() []uint32 {
- if x != nil {
- return x.UnpackedFixed32
- }
- return nil
-}
-
-func (x *TestUnpackedTypes) GetUnpackedFixed64() []uint64 {
- if x != nil {
- return x.UnpackedFixed64
- }
- return nil
-}
-
-func (x *TestUnpackedTypes) GetUnpackedSfixed32() []int32 {
- if x != nil {
- return x.UnpackedSfixed32
- }
- return nil
-}
-
-func (x *TestUnpackedTypes) GetUnpackedSfixed64() []int64 {
- if x != nil {
- return x.UnpackedSfixed64
- }
- return nil
-}
-
-func (x *TestUnpackedTypes) GetUnpackedFloat() []float32 {
- if x != nil {
- return x.UnpackedFloat
- }
- return nil
-}
-
-func (x *TestUnpackedTypes) GetUnpackedDouble() []float64 {
- if x != nil {
- return x.UnpackedDouble
- }
- return nil
-}
-
-func (x *TestUnpackedTypes) GetUnpackedBool() []bool {
- if x != nil {
- return x.UnpackedBool
- }
- return nil
-}
-
-func (x *TestUnpackedTypes) GetUnpackedEnum() []ForeignEnum {
- if x != nil {
- return x.UnpackedEnum
- }
- return nil
-}
-
-type TestPackedExtensions struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- extensionFields protoimpl.ExtensionFields
-}
-
-func (x *TestPackedExtensions) Reset() {
- *x = TestPackedExtensions{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestPackedExtensions) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestPackedExtensions) ProtoMessage() {}
-
-func (x *TestPackedExtensions) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestPackedExtensions.ProtoReflect.Descriptor instead.
-func (*TestPackedExtensions) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{14}
-}
-
-type TestUnpackedExtensions struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- extensionFields protoimpl.ExtensionFields
-}
-
-func (x *TestUnpackedExtensions) Reset() {
- *x = TestUnpackedExtensions{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestUnpackedExtensions) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestUnpackedExtensions) ProtoMessage() {}
-
-func (x *TestUnpackedExtensions) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestUnpackedExtensions.ProtoReflect.Descriptor instead.
-func (*TestUnpackedExtensions) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{15}
-}
-
-// Test that RPC services work.
-type FooRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *FooRequest) Reset() {
- *x = FooRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *FooRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FooRequest) ProtoMessage() {}
-
-func (x *FooRequest) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[16]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FooRequest.ProtoReflect.Descriptor instead.
-func (*FooRequest) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{16}
-}
-
-type FooResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *FooResponse) Reset() {
- *x = FooResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *FooResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FooResponse) ProtoMessage() {}
-
-func (x *FooResponse) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[17]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FooResponse.ProtoReflect.Descriptor instead.
-func (*FooResponse) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{17}
-}
-
-type WeirdDefault struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- WeirdDefault []byte `protobuf:"bytes,1,opt,name=weird_default,json=weirdDefault,def=hello, \\\"world!\\\"\\ndead\\336\\255\\276\\357beef\x60" json:"weird_default,omitempty"`
-}
-
-// Default values for WeirdDefault fields.
-var (
- Default_WeirdDefault_WeirdDefault = []byte("hello, \"world!\"\ndeadÞ­\xbe\xefbeef`")
-)
-
-func (x *WeirdDefault) Reset() {
- *x = WeirdDefault{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *WeirdDefault) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*WeirdDefault) ProtoMessage() {}
-
-func (x *WeirdDefault) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[18]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use WeirdDefault.ProtoReflect.Descriptor instead.
-func (*WeirdDefault) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{18}
-}
-
-func (x *WeirdDefault) GetWeirdDefault() []byte {
- if x != nil && x.WeirdDefault != nil {
- return x.WeirdDefault
- }
- return append([]byte(nil), Default_WeirdDefault_WeirdDefault...)
-}
-
-type RemoteDefault struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Default *enums.Enum `protobuf:"varint,1,opt,name=default,enum=goproto.proto.enums.Enum" json:"default,omitempty"`
- Zero *enums.Enum `protobuf:"varint,2,opt,name=zero,enum=goproto.proto.enums.Enum,def=0" json:"zero,omitempty"`
- One *enums.Enum `protobuf:"varint,3,opt,name=one,enum=goproto.proto.enums.Enum,def=1" json:"one,omitempty"`
- Elevent *enums.Enum `protobuf:"varint,4,opt,name=elevent,enum=goproto.proto.enums.Enum,def=11" json:"elevent,omitempty"`
- Seventeen *enums.Enum `protobuf:"varint,5,opt,name=seventeen,enum=goproto.proto.enums.Enum,def=17" json:"seventeen,omitempty"`
- Thirtyseven *enums.Enum `protobuf:"varint,6,opt,name=thirtyseven,enum=goproto.proto.enums.Enum,def=37" json:"thirtyseven,omitempty"`
- Sixtyseven *enums.Enum `protobuf:"varint,7,opt,name=sixtyseven,enum=goproto.proto.enums.Enum,def=67" json:"sixtyseven,omitempty"`
- Negative *enums.Enum `protobuf:"varint,8,opt,name=negative,enum=goproto.proto.enums.Enum,def=-1" json:"negative,omitempty"`
-}
-
-// Default values for RemoteDefault fields.
-const (
- Default_RemoteDefault_Zero = enums.Enum(0) // enums.Enum_ZERO
- Default_RemoteDefault_One = enums.Enum(1) // enums.Enum_ONE
- Default_RemoteDefault_Elevent = enums.Enum(11) // enums.Enum_ELEVENT
- Default_RemoteDefault_Seventeen = enums.Enum(17) // enums.Enum_SEVENTEEN
- Default_RemoteDefault_Thirtyseven = enums.Enum(37) // enums.Enum_THIRTYSEVEN
- Default_RemoteDefault_Sixtyseven = enums.Enum(67) // enums.Enum_SIXTYSEVEN
- Default_RemoteDefault_Negative = enums.Enum(-1) // enums.Enum_NEGATIVE
-)
-
-func (x *RemoteDefault) Reset() {
- *x = RemoteDefault{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *RemoteDefault) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RemoteDefault) ProtoMessage() {}
-
-func (x *RemoteDefault) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[19]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RemoteDefault.ProtoReflect.Descriptor instead.
-func (*RemoteDefault) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{19}
-}
-
-func (x *RemoteDefault) GetDefault() enums.Enum {
- if x != nil && x.Default != nil {
- return *x.Default
- }
- return enums.Enum(1337)
-}
-
-func (x *RemoteDefault) GetZero() enums.Enum {
- if x != nil && x.Zero != nil {
- return *x.Zero
- }
- return Default_RemoteDefault_Zero
-}
-
-func (x *RemoteDefault) GetOne() enums.Enum {
- if x != nil && x.One != nil {
- return *x.One
- }
- return Default_RemoteDefault_One
-}
-
-func (x *RemoteDefault) GetElevent() enums.Enum {
- if x != nil && x.Elevent != nil {
- return *x.Elevent
- }
- return Default_RemoteDefault_Elevent
-}
-
-func (x *RemoteDefault) GetSeventeen() enums.Enum {
- if x != nil && x.Seventeen != nil {
- return *x.Seventeen
- }
- return Default_RemoteDefault_Seventeen
-}
-
-func (x *RemoteDefault) GetThirtyseven() enums.Enum {
- if x != nil && x.Thirtyseven != nil {
- return *x.Thirtyseven
- }
- return Default_RemoteDefault_Thirtyseven
-}
-
-func (x *RemoteDefault) GetSixtyseven() enums.Enum {
- if x != nil && x.Sixtyseven != nil {
- return *x.Sixtyseven
- }
- return Default_RemoteDefault_Sixtyseven
-}
-
-func (x *RemoteDefault) GetNegative() enums.Enum {
- if x != nil && x.Negative != nil {
- return *x.Negative
- }
- return Default_RemoteDefault_Negative
-}
-
-type TestAllTypes_NestedMessage struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
- Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"`
-}
-
-func (x *TestAllTypes_NestedMessage) Reset() {
- *x = TestAllTypes_NestedMessage{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestAllTypes_NestedMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestAllTypes_NestedMessage) ProtoMessage() {}
-
-func (x *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[20]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead.
-func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (x *TestAllTypes_NestedMessage) GetA() int32 {
- if x != nil && x.A != nil {
- return *x.A
- }
- return 0
-}
-
-func (x *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes {
- if x != nil {
- return x.Corecursive
- }
- return nil
-}
-
-type TestAllTypes_OptionalGroup struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
- OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,1000,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
- SameFieldNumber *int32 `protobuf:"varint,16,opt,name=same_field_number,json=sameFieldNumber" json:"same_field_number,omitempty"`
-}
-
-func (x *TestAllTypes_OptionalGroup) Reset() {
- *x = TestAllTypes_OptionalGroup{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestAllTypes_OptionalGroup) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestAllTypes_OptionalGroup) ProtoMessage() {}
-
-func (x *TestAllTypes_OptionalGroup) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[21]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestAllTypes_OptionalGroup.ProtoReflect.Descriptor instead.
-func (*TestAllTypes_OptionalGroup) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{0, 1}
-}
-
-func (x *TestAllTypes_OptionalGroup) GetA() int32 {
- if x != nil && x.A != nil {
- return *x.A
- }
- return 0
-}
-
-func (x *TestAllTypes_OptionalGroup) GetOptionalNestedMessage() *TestAllTypes_NestedMessage {
- if x != nil {
- return x.OptionalNestedMessage
- }
- return nil
-}
-
-func (x *TestAllTypes_OptionalGroup) GetSameFieldNumber() int32 {
- if x != nil && x.SameFieldNumber != nil {
- return *x.SameFieldNumber
- }
- return 0
-}
-
-type TestAllTypes_RepeatedGroup struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
- OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,1001,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
-}
-
-func (x *TestAllTypes_RepeatedGroup) Reset() {
- *x = TestAllTypes_RepeatedGroup{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestAllTypes_RepeatedGroup) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestAllTypes_RepeatedGroup) ProtoMessage() {}
-
-func (x *TestAllTypes_RepeatedGroup) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[22]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestAllTypes_RepeatedGroup.ProtoReflect.Descriptor instead.
-func (*TestAllTypes_RepeatedGroup) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{0, 2}
-}
-
-func (x *TestAllTypes_RepeatedGroup) GetA() int32 {
- if x != nil && x.A != nil {
- return *x.A
- }
- return 0
-}
-
-func (x *TestAllTypes_RepeatedGroup) GetOptionalNestedMessage() *TestAllTypes_NestedMessage {
- if x != nil {
- return x.OptionalNestedMessage
- }
- return nil
-}
-
-type TestAllTypes_OneofGroup struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
- B *int32 `protobuf:"varint,2,opt,name=b" json:"b,omitempty"`
-}
-
-func (x *TestAllTypes_OneofGroup) Reset() {
- *x = TestAllTypes_OneofGroup{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[40]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestAllTypes_OneofGroup) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestAllTypes_OneofGroup) ProtoMessage() {}
-
-func (x *TestAllTypes_OneofGroup) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[40]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestAllTypes_OneofGroup.ProtoReflect.Descriptor instead.
-func (*TestAllTypes_OneofGroup) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{0, 20}
-}
-
-func (x *TestAllTypes_OneofGroup) GetA() int32 {
- if x != nil && x.A != nil {
- return *x.A
- }
- return 0
-}
-
-func (x *TestAllTypes_OneofGroup) GetB() int32 {
- if x != nil && x.B != nil {
- return *x.B
- }
- return 0
-}
-
-type TestAllExtensions_NestedMessage struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
- Corecursive *TestAllExtensions `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"`
-}
-
-func (x *TestAllExtensions_NestedMessage) Reset() {
- *x = TestAllExtensions_NestedMessage{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[41]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestAllExtensions_NestedMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestAllExtensions_NestedMessage) ProtoMessage() {}
-
-func (x *TestAllExtensions_NestedMessage) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[41]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestAllExtensions_NestedMessage.ProtoReflect.Descriptor instead.
-func (*TestAllExtensions_NestedMessage) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{4, 0}
-}
-
-func (x *TestAllExtensions_NestedMessage) GetA() int32 {
- if x != nil && x.A != nil {
- return *x.A
- }
- return 0
-}
-
-func (x *TestAllExtensions_NestedMessage) GetCorecursive() *TestAllExtensions {
- if x != nil {
- return x.Corecursive
- }
- return nil
-}
-
-type TestRequiredGroupFields_OptionalGroup struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- A *int32 `protobuf:"varint,2,req,name=a" json:"a,omitempty"`
-}
-
-func (x *TestRequiredGroupFields_OptionalGroup) Reset() {
- *x = TestRequiredGroupFields_OptionalGroup{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[43]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestRequiredGroupFields_OptionalGroup) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestRequiredGroupFields_OptionalGroup) ProtoMessage() {}
-
-func (x *TestRequiredGroupFields_OptionalGroup) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[43]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestRequiredGroupFields_OptionalGroup.ProtoReflect.Descriptor instead.
-func (*TestRequiredGroupFields_OptionalGroup) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{10, 0}
-}
-
-func (x *TestRequiredGroupFields_OptionalGroup) GetA() int32 {
- if x != nil && x.A != nil {
- return *x.A
- }
- return 0
-}
-
-type TestRequiredGroupFields_RepeatedGroup struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- A *int32 `protobuf:"varint,4,req,name=a" json:"a,omitempty"`
-}
-
-func (x *TestRequiredGroupFields_RepeatedGroup) Reset() {
- *x = TestRequiredGroupFields_RepeatedGroup{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[44]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestRequiredGroupFields_RepeatedGroup) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestRequiredGroupFields_RepeatedGroup) ProtoMessage() {}
-
-func (x *TestRequiredGroupFields_RepeatedGroup) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_proto_msgTypes[44]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestRequiredGroupFields_RepeatedGroup.ProtoReflect.Descriptor instead.
-func (*TestRequiredGroupFields_RepeatedGroup) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_proto_rawDescGZIP(), []int{10, 1}
-}
-
-func (x *TestRequiredGroupFields_RepeatedGroup) GetA() int32 {
- if x != nil && x.A != nil {
- return *x.A
- }
- return 0
-}
-
-var file_internal_testprotos_test_test_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*int32)(nil),
- Field: 1,
- Name: "goproto.proto.test.optional_int32",
- Tag: "varint,1,opt,name=optional_int32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*int64)(nil),
- Field: 2,
- Name: "goproto.proto.test.optional_int64",
- Tag: "varint,2,opt,name=optional_int64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 3,
- Name: "goproto.proto.test.optional_uint32",
- Tag: "varint,3,opt,name=optional_uint32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 4,
- Name: "goproto.proto.test.optional_uint64",
- Tag: "varint,4,opt,name=optional_uint64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*int32)(nil),
- Field: 5,
- Name: "goproto.proto.test.optional_sint32",
- Tag: "zigzag32,5,opt,name=optional_sint32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*int64)(nil),
- Field: 6,
- Name: "goproto.proto.test.optional_sint64",
- Tag: "zigzag64,6,opt,name=optional_sint64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 7,
- Name: "goproto.proto.test.optional_fixed32",
- Tag: "fixed32,7,opt,name=optional_fixed32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 8,
- Name: "goproto.proto.test.optional_fixed64",
- Tag: "fixed64,8,opt,name=optional_fixed64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*int32)(nil),
- Field: 9,
- Name: "goproto.proto.test.optional_sfixed32",
- Tag: "fixed32,9,opt,name=optional_sfixed32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*int64)(nil),
- Field: 10,
- Name: "goproto.proto.test.optional_sfixed64",
- Tag: "fixed64,10,opt,name=optional_sfixed64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*float32)(nil),
- Field: 11,
- Name: "goproto.proto.test.optional_float",
- Tag: "fixed32,11,opt,name=optional_float",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*float64)(nil),
- Field: 12,
- Name: "goproto.proto.test.optional_double",
- Tag: "fixed64,12,opt,name=optional_double",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 13,
- Name: "goproto.proto.test.optional_bool",
- Tag: "varint,13,opt,name=optional_bool",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*string)(nil),
- Field: 14,
- Name: "goproto.proto.test.optional_string",
- Tag: "bytes,14,opt,name=optional_string",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 15,
- Name: "goproto.proto.test.optional_bytes",
- Tag: "bytes,15,opt,name=optional_bytes",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*OptionalGroup)(nil),
- Field: 16,
- Name: "goproto.proto.test.optionalgroup",
- Tag: "group,16,opt,name=OptionalGroup",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*TestAllExtensions_NestedMessage)(nil),
- Field: 18,
- Name: "goproto.proto.test.optional_nested_message",
- Tag: "bytes,18,opt,name=optional_nested_message",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*TestAllTypes_NestedEnum)(nil),
- Field: 21,
- Name: "goproto.proto.test.optional_nested_enum",
- Tag: "varint,21,opt,name=optional_nested_enum,enum=goproto.proto.test.TestAllTypes_NestedEnum",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 31,
- Name: "goproto.proto.test.repeated_int32",
- Tag: "varint,31,rep,name=repeated_int32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 32,
- Name: "goproto.proto.test.repeated_int64",
- Tag: "varint,32,rep,name=repeated_int64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 33,
- Name: "goproto.proto.test.repeated_uint32",
- Tag: "varint,33,rep,name=repeated_uint32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 34,
- Name: "goproto.proto.test.repeated_uint64",
- Tag: "varint,34,rep,name=repeated_uint64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 35,
- Name: "goproto.proto.test.repeated_sint32",
- Tag: "zigzag32,35,rep,name=repeated_sint32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 36,
- Name: "goproto.proto.test.repeated_sint64",
- Tag: "zigzag64,36,rep,name=repeated_sint64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 37,
- Name: "goproto.proto.test.repeated_fixed32",
- Tag: "fixed32,37,rep,name=repeated_fixed32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 38,
- Name: "goproto.proto.test.repeated_fixed64",
- Tag: "fixed64,38,rep,name=repeated_fixed64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 39,
- Name: "goproto.proto.test.repeated_sfixed32",
- Tag: "fixed32,39,rep,name=repeated_sfixed32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 40,
- Name: "goproto.proto.test.repeated_sfixed64",
- Tag: "fixed64,40,rep,name=repeated_sfixed64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]float32)(nil),
- Field: 41,
- Name: "goproto.proto.test.repeated_float",
- Tag: "fixed32,41,rep,name=repeated_float",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]float64)(nil),
- Field: 42,
- Name: "goproto.proto.test.repeated_double",
- Tag: "fixed64,42,rep,name=repeated_double",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]bool)(nil),
- Field: 43,
- Name: "goproto.proto.test.repeated_bool",
- Tag: "varint,43,rep,name=repeated_bool",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]string)(nil),
- Field: 44,
- Name: "goproto.proto.test.repeated_string",
- Tag: "bytes,44,rep,name=repeated_string",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([][]byte)(nil),
- Field: 45,
- Name: "goproto.proto.test.repeated_bytes",
- Tag: "bytes,45,rep,name=repeated_bytes",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]*RepeatedGroup)(nil),
- Field: 46,
- Name: "goproto.proto.test.repeatedgroup",
- Tag: "group,46,rep,name=RepeatedGroup",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]*TestAllExtensions_NestedMessage)(nil),
- Field: 48,
- Name: "goproto.proto.test.repeated_nested_message",
- Tag: "bytes,48,rep,name=repeated_nested_message",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]TestAllTypes_NestedEnum)(nil),
- Field: 51,
- Name: "goproto.proto.test.repeated_nested_enum",
- Tag: "varint,51,rep,name=repeated_nested_enum,enum=goproto.proto.test.TestAllTypes_NestedEnum",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*int32)(nil),
- Field: 81,
- Name: "goproto.proto.test.default_int32",
- Tag: "varint,81,opt,name=default_int32,def=81",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*int64)(nil),
- Field: 82,
- Name: "goproto.proto.test.default_int64",
- Tag: "varint,82,opt,name=default_int64,def=82",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 83,
- Name: "goproto.proto.test.default_uint32",
- Tag: "varint,83,opt,name=default_uint32,def=83",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 84,
- Name: "goproto.proto.test.default_uint64",
- Tag: "varint,84,opt,name=default_uint64,def=84",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*int32)(nil),
- Field: 85,
- Name: "goproto.proto.test.default_sint32",
- Tag: "zigzag32,85,opt,name=default_sint32,def=-85",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*int64)(nil),
- Field: 86,
- Name: "goproto.proto.test.default_sint64",
- Tag: "zigzag64,86,opt,name=default_sint64,def=86",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 87,
- Name: "goproto.proto.test.default_fixed32",
- Tag: "fixed32,87,opt,name=default_fixed32,def=87",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 88,
- Name: "goproto.proto.test.default_fixed64",
- Tag: "fixed64,88,opt,name=default_fixed64,def=88",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*int32)(nil),
- Field: 89,
- Name: "goproto.proto.test.default_sfixed32",
- Tag: "fixed32,89,opt,name=default_sfixed32,def=89",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*int64)(nil),
- Field: 80,
- Name: "goproto.proto.test.default_sfixed64",
- Tag: "fixed64,80,opt,name=default_sfixed64,def=-90",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*float32)(nil),
- Field: 91,
- Name: "goproto.proto.test.default_float",
- Tag: "fixed32,91,opt,name=default_float,def=91.5",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*float64)(nil),
- Field: 92,
- Name: "goproto.proto.test.default_double",
- Tag: "fixed64,92,opt,name=default_double,def=92000",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 93,
- Name: "goproto.proto.test.default_bool",
- Tag: "varint,93,opt,name=default_bool,def=1",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*string)(nil),
- Field: 94,
- Name: "goproto.proto.test.default_string",
- Tag: "bytes,94,opt,name=default_string,def=hello",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 95,
- Name: "goproto.proto.test.default_bytes",
- Tag: "bytes,95,opt,name=default_bytes,def=world",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 90,
- Name: "goproto.proto.test.packed_int32",
- Tag: "varint,90,rep,packed,name=packed_int32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 91,
- Name: "goproto.proto.test.packed_int64",
- Tag: "varint,91,rep,packed,name=packed_int64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 92,
- Name: "goproto.proto.test.packed_uint32",
- Tag: "varint,92,rep,packed,name=packed_uint32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 93,
- Name: "goproto.proto.test.packed_uint64",
- Tag: "varint,93,rep,packed,name=packed_uint64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 94,
- Name: "goproto.proto.test.packed_sint32",
- Tag: "zigzag32,94,rep,packed,name=packed_sint32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 95,
- Name: "goproto.proto.test.packed_sint64",
- Tag: "zigzag64,95,rep,packed,name=packed_sint64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 96,
- Name: "goproto.proto.test.packed_fixed32",
- Tag: "fixed32,96,rep,packed,name=packed_fixed32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 97,
- Name: "goproto.proto.test.packed_fixed64",
- Tag: "fixed64,97,rep,packed,name=packed_fixed64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 98,
- Name: "goproto.proto.test.packed_sfixed32",
- Tag: "fixed32,98,rep,packed,name=packed_sfixed32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 99,
- Name: "goproto.proto.test.packed_sfixed64",
- Tag: "fixed64,99,rep,packed,name=packed_sfixed64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]float32)(nil),
- Field: 100,
- Name: "goproto.proto.test.packed_float",
- Tag: "fixed32,100,rep,packed,name=packed_float",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]float64)(nil),
- Field: 101,
- Name: "goproto.proto.test.packed_double",
- Tag: "fixed64,101,rep,packed,name=packed_double",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]bool)(nil),
- Field: 102,
- Name: "goproto.proto.test.packed_bool",
- Tag: "varint,102,rep,packed,name=packed_bool",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestPackedExtensions)(nil),
- ExtensionType: ([]ForeignEnum)(nil),
- Field: 103,
- Name: "goproto.proto.test.packed_enum",
- Tag: "varint,103,rep,packed,name=packed_enum,enum=goproto.proto.test.ForeignEnum",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 90,
- Name: "goproto.proto.test.unpacked_int32",
- Tag: "varint,90,rep,name=unpacked_int32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 91,
- Name: "goproto.proto.test.unpacked_int64",
- Tag: "varint,91,rep,name=unpacked_int64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 92,
- Name: "goproto.proto.test.unpacked_uint32",
- Tag: "varint,92,rep,name=unpacked_uint32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 93,
- Name: "goproto.proto.test.unpacked_uint64",
- Tag: "varint,93,rep,name=unpacked_uint64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 94,
- Name: "goproto.proto.test.unpacked_sint32",
- Tag: "zigzag32,94,rep,name=unpacked_sint32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 95,
- Name: "goproto.proto.test.unpacked_sint64",
- Tag: "zigzag64,95,rep,name=unpacked_sint64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 96,
- Name: "goproto.proto.test.unpacked_fixed32",
- Tag: "fixed32,96,rep,name=unpacked_fixed32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]uint64)(nil),
- Field: 97,
- Name: "goproto.proto.test.unpacked_fixed64",
- Tag: "fixed64,97,rep,name=unpacked_fixed64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]int32)(nil),
- Field: 98,
- Name: "goproto.proto.test.unpacked_sfixed32",
- Tag: "fixed32,98,rep,name=unpacked_sfixed32",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]int64)(nil),
- Field: 99,
- Name: "goproto.proto.test.unpacked_sfixed64",
- Tag: "fixed64,99,rep,name=unpacked_sfixed64",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]float32)(nil),
- Field: 100,
- Name: "goproto.proto.test.unpacked_float",
- Tag: "fixed32,100,rep,name=unpacked_float",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]float64)(nil),
- Field: 101,
- Name: "goproto.proto.test.unpacked_double",
- Tag: "fixed64,101,rep,name=unpacked_double",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]bool)(nil),
- Field: 102,
- Name: "goproto.proto.test.unpacked_bool",
- Tag: "varint,102,rep,name=unpacked_bool",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestUnpackedExtensions)(nil),
- ExtensionType: ([]ForeignEnum)(nil),
- Field: 103,
- Name: "goproto.proto.test.unpacked_enum",
- Tag: "varint,103,rep,name=unpacked_enum,enum=goproto.proto.test.ForeignEnum",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*string)(nil),
- Field: 1003,
- Name: "goproto.proto.test.TestNestedExtension.nested_string_extension",
- Tag: "bytes,1003,opt,name=nested_string_extension",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: (*TestRequired)(nil),
- Field: 1000,
- Name: "goproto.proto.test.TestRequired.single",
- Tag: "bytes,1000,opt,name=single",
- Filename: "internal/testprotos/test/test.proto",
- },
- {
- ExtendedType: (*TestAllExtensions)(nil),
- ExtensionType: ([]*TestRequired)(nil),
- Field: 1001,
- Name: "goproto.proto.test.TestRequired.multi",
- Tag: "bytes,1001,rep,name=multi",
- Filename: "internal/testprotos/test/test.proto",
- },
-}
-
-// Extension fields to TestAllExtensions.
-var (
- // optional int32 optional_int32 = 1;
- E_OptionalInt32 = &file_internal_testprotos_test_test_proto_extTypes[0]
- // optional int64 optional_int64 = 2;
- E_OptionalInt64 = &file_internal_testprotos_test_test_proto_extTypes[1]
- // optional uint32 optional_uint32 = 3;
- E_OptionalUint32 = &file_internal_testprotos_test_test_proto_extTypes[2]
- // optional uint64 optional_uint64 = 4;
- E_OptionalUint64 = &file_internal_testprotos_test_test_proto_extTypes[3]
- // optional sint32 optional_sint32 = 5;
- E_OptionalSint32 = &file_internal_testprotos_test_test_proto_extTypes[4]
- // optional sint64 optional_sint64 = 6;
- E_OptionalSint64 = &file_internal_testprotos_test_test_proto_extTypes[5]
- // optional fixed32 optional_fixed32 = 7;
- E_OptionalFixed32 = &file_internal_testprotos_test_test_proto_extTypes[6]
- // optional fixed64 optional_fixed64 = 8;
- E_OptionalFixed64 = &file_internal_testprotos_test_test_proto_extTypes[7]
- // optional sfixed32 optional_sfixed32 = 9;
- E_OptionalSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[8]
- // optional sfixed64 optional_sfixed64 = 10;
- E_OptionalSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[9]
- // optional float optional_float = 11;
- E_OptionalFloat = &file_internal_testprotos_test_test_proto_extTypes[10]
- // optional double optional_double = 12;
- E_OptionalDouble = &file_internal_testprotos_test_test_proto_extTypes[11]
- // optional bool optional_bool = 13;
- E_OptionalBool = &file_internal_testprotos_test_test_proto_extTypes[12]
- // optional string optional_string = 14;
- E_OptionalString = &file_internal_testprotos_test_test_proto_extTypes[13]
- // optional bytes optional_bytes = 15;
- E_OptionalBytes = &file_internal_testprotos_test_test_proto_extTypes[14]
- // optional goproto.proto.test.OptionalGroup optionalgroup = 16;
- E_Optionalgroup = &file_internal_testprotos_test_test_proto_extTypes[15]
- // optional goproto.proto.test.TestAllExtensions.NestedMessage optional_nested_message = 18;
- E_OptionalNestedMessage = &file_internal_testprotos_test_test_proto_extTypes[16]
- // optional goproto.proto.test.TestAllTypes.NestedEnum optional_nested_enum = 21;
- E_OptionalNestedEnum = &file_internal_testprotos_test_test_proto_extTypes[17]
- // repeated int32 repeated_int32 = 31;
- E_RepeatedInt32 = &file_internal_testprotos_test_test_proto_extTypes[18]
- // repeated int64 repeated_int64 = 32;
- E_RepeatedInt64 = &file_internal_testprotos_test_test_proto_extTypes[19]
- // repeated uint32 repeated_uint32 = 33;
- E_RepeatedUint32 = &file_internal_testprotos_test_test_proto_extTypes[20]
- // repeated uint64 repeated_uint64 = 34;
- E_RepeatedUint64 = &file_internal_testprotos_test_test_proto_extTypes[21]
- // repeated sint32 repeated_sint32 = 35;
- E_RepeatedSint32 = &file_internal_testprotos_test_test_proto_extTypes[22]
- // repeated sint64 repeated_sint64 = 36;
- E_RepeatedSint64 = &file_internal_testprotos_test_test_proto_extTypes[23]
- // repeated fixed32 repeated_fixed32 = 37;
- E_RepeatedFixed32 = &file_internal_testprotos_test_test_proto_extTypes[24]
- // repeated fixed64 repeated_fixed64 = 38;
- E_RepeatedFixed64 = &file_internal_testprotos_test_test_proto_extTypes[25]
- // repeated sfixed32 repeated_sfixed32 = 39;
- E_RepeatedSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[26]
- // repeated sfixed64 repeated_sfixed64 = 40;
- E_RepeatedSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[27]
- // repeated float repeated_float = 41;
- E_RepeatedFloat = &file_internal_testprotos_test_test_proto_extTypes[28]
- // repeated double repeated_double = 42;
- E_RepeatedDouble = &file_internal_testprotos_test_test_proto_extTypes[29]
- // repeated bool repeated_bool = 43;
- E_RepeatedBool = &file_internal_testprotos_test_test_proto_extTypes[30]
- // repeated string repeated_string = 44;
- E_RepeatedString = &file_internal_testprotos_test_test_proto_extTypes[31]
- // repeated bytes repeated_bytes = 45;
- E_RepeatedBytes = &file_internal_testprotos_test_test_proto_extTypes[32]
- // repeated goproto.proto.test.RepeatedGroup repeatedgroup = 46;
- E_Repeatedgroup = &file_internal_testprotos_test_test_proto_extTypes[33]
- // repeated goproto.proto.test.TestAllExtensions.NestedMessage repeated_nested_message = 48;
- E_RepeatedNestedMessage = &file_internal_testprotos_test_test_proto_extTypes[34]
- // repeated goproto.proto.test.TestAllTypes.NestedEnum repeated_nested_enum = 51;
- E_RepeatedNestedEnum = &file_internal_testprotos_test_test_proto_extTypes[35]
- // optional int32 default_int32 = 81;
- E_DefaultInt32 = &file_internal_testprotos_test_test_proto_extTypes[36]
- // optional int64 default_int64 = 82;
- E_DefaultInt64 = &file_internal_testprotos_test_test_proto_extTypes[37]
- // optional uint32 default_uint32 = 83;
- E_DefaultUint32 = &file_internal_testprotos_test_test_proto_extTypes[38]
- // optional uint64 default_uint64 = 84;
- E_DefaultUint64 = &file_internal_testprotos_test_test_proto_extTypes[39]
- // optional sint32 default_sint32 = 85;
- E_DefaultSint32 = &file_internal_testprotos_test_test_proto_extTypes[40]
- // optional sint64 default_sint64 = 86;
- E_DefaultSint64 = &file_internal_testprotos_test_test_proto_extTypes[41]
- // optional fixed32 default_fixed32 = 87;
- E_DefaultFixed32 = &file_internal_testprotos_test_test_proto_extTypes[42]
- // optional fixed64 default_fixed64 = 88;
- E_DefaultFixed64 = &file_internal_testprotos_test_test_proto_extTypes[43]
- // optional sfixed32 default_sfixed32 = 89;
- E_DefaultSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[44]
- // optional sfixed64 default_sfixed64 = 80;
- E_DefaultSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[45]
- // optional float default_float = 91;
- E_DefaultFloat = &file_internal_testprotos_test_test_proto_extTypes[46]
- // optional double default_double = 92;
- E_DefaultDouble = &file_internal_testprotos_test_test_proto_extTypes[47]
- // optional bool default_bool = 93;
- E_DefaultBool = &file_internal_testprotos_test_test_proto_extTypes[48]
- // optional string default_string = 94;
- E_DefaultString = &file_internal_testprotos_test_test_proto_extTypes[49]
- // optional bytes default_bytes = 95;
- E_DefaultBytes = &file_internal_testprotos_test_test_proto_extTypes[50]
- // optional string nested_string_extension = 1003;
- E_TestNestedExtension_NestedStringExtension = &file_internal_testprotos_test_test_proto_extTypes[79]
- // optional goproto.proto.test.TestRequired single = 1000;
- E_TestRequired_Single = &file_internal_testprotos_test_test_proto_extTypes[80]
- // repeated goproto.proto.test.TestRequired multi = 1001;
- E_TestRequired_Multi = &file_internal_testprotos_test_test_proto_extTypes[81]
-)
-
-// Extension fields to TestPackedExtensions.
-var (
- // repeated int32 packed_int32 = 90;
- E_PackedInt32 = &file_internal_testprotos_test_test_proto_extTypes[51]
- // repeated int64 packed_int64 = 91;
- E_PackedInt64 = &file_internal_testprotos_test_test_proto_extTypes[52]
- // repeated uint32 packed_uint32 = 92;
- E_PackedUint32 = &file_internal_testprotos_test_test_proto_extTypes[53]
- // repeated uint64 packed_uint64 = 93;
- E_PackedUint64 = &file_internal_testprotos_test_test_proto_extTypes[54]
- // repeated sint32 packed_sint32 = 94;
- E_PackedSint32 = &file_internal_testprotos_test_test_proto_extTypes[55]
- // repeated sint64 packed_sint64 = 95;
- E_PackedSint64 = &file_internal_testprotos_test_test_proto_extTypes[56]
- // repeated fixed32 packed_fixed32 = 96;
- E_PackedFixed32 = &file_internal_testprotos_test_test_proto_extTypes[57]
- // repeated fixed64 packed_fixed64 = 97;
- E_PackedFixed64 = &file_internal_testprotos_test_test_proto_extTypes[58]
- // repeated sfixed32 packed_sfixed32 = 98;
- E_PackedSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[59]
- // repeated sfixed64 packed_sfixed64 = 99;
- E_PackedSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[60]
- // repeated float packed_float = 100;
- E_PackedFloat = &file_internal_testprotos_test_test_proto_extTypes[61]
- // repeated double packed_double = 101;
- E_PackedDouble = &file_internal_testprotos_test_test_proto_extTypes[62]
- // repeated bool packed_bool = 102;
- E_PackedBool = &file_internal_testprotos_test_test_proto_extTypes[63]
- // repeated goproto.proto.test.ForeignEnum packed_enum = 103;
- E_PackedEnum = &file_internal_testprotos_test_test_proto_extTypes[64]
-)
-
-// Extension fields to TestUnpackedExtensions.
-var (
- // repeated int32 unpacked_int32 = 90;
- E_UnpackedInt32 = &file_internal_testprotos_test_test_proto_extTypes[65]
- // repeated int64 unpacked_int64 = 91;
- E_UnpackedInt64 = &file_internal_testprotos_test_test_proto_extTypes[66]
- // repeated uint32 unpacked_uint32 = 92;
- E_UnpackedUint32 = &file_internal_testprotos_test_test_proto_extTypes[67]
- // repeated uint64 unpacked_uint64 = 93;
- E_UnpackedUint64 = &file_internal_testprotos_test_test_proto_extTypes[68]
- // repeated sint32 unpacked_sint32 = 94;
- E_UnpackedSint32 = &file_internal_testprotos_test_test_proto_extTypes[69]
- // repeated sint64 unpacked_sint64 = 95;
- E_UnpackedSint64 = &file_internal_testprotos_test_test_proto_extTypes[70]
- // repeated fixed32 unpacked_fixed32 = 96;
- E_UnpackedFixed32 = &file_internal_testprotos_test_test_proto_extTypes[71]
- // repeated fixed64 unpacked_fixed64 = 97;
- E_UnpackedFixed64 = &file_internal_testprotos_test_test_proto_extTypes[72]
- // repeated sfixed32 unpacked_sfixed32 = 98;
- E_UnpackedSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[73]
- // repeated sfixed64 unpacked_sfixed64 = 99;
- E_UnpackedSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[74]
- // repeated float unpacked_float = 100;
- E_UnpackedFloat = &file_internal_testprotos_test_test_proto_extTypes[75]
- // repeated double unpacked_double = 101;
- E_UnpackedDouble = &file_internal_testprotos_test_test_proto_extTypes[76]
- // repeated bool unpacked_bool = 102;
- E_UnpackedBool = &file_internal_testprotos_test_test_proto_extTypes[77]
- // repeated goproto.proto.test.ForeignEnum unpacked_enum = 103;
- E_UnpackedEnum = &file_internal_testprotos_test_test_proto_extTypes[78]
-)
-
-var File_internal_testprotos_test_test_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_test_test_proto_rawDesc = []byte{
- 0x0a, 0x23, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x69, 0x6e, 0x74, 0x65, 0x72,
- 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x65,
- 0x6e, 0x75, 0x6d, 0x73, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x1a, 0x2a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f,
- 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c,
- 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
- 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65,
- 0x73, 0x74, 0x2f, 0x77, 0x65, 0x61, 0x6b, 0x31, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x77, 0x65,
- 0x61, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
- 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65,
- 0x73, 0x74, 0x2f, 0x77, 0x65, 0x61, 0x6b, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x77, 0x65,
- 0x61, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x3a, 0x0a, 0x0c, 0x54, 0x65, 0x73,
- 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x05, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x33, 0x32,
- 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74,
- 0x36, 0x34, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d,
- 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32,
- 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x69, 0x6e,
- 0x74, 0x36, 0x34, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x11, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x6e, 0x74,
- 0x33, 0x32, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73,
- 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0e, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x29, 0x0a, 0x10, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46,
- 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x08, 0x20, 0x01, 0x28, 0x06,
- 0x52, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36,
- 0x34, 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x66,
- 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x10, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x2b,
- 0x0a, 0x11, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65,
- 0x64, 0x36, 0x34, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x10, 0x52, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x25, 0x0a, 0x0e, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x0b, 0x20,
- 0x01, 0x28, 0x02, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x6c, 0x6f,
- 0x61, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x64,
- 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x0d, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x6f, 0x6f, 0x6c,
- 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x72,
- 0x69, 0x6e, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28,
- 0x0c, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x79, 0x74, 0x65, 0x73,
- 0x12, 0x54, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x67, 0x72, 0x6f, 0x75,
- 0x70, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73,
- 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x66, 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73,
- 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x5c,
- 0x0a, 0x18, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69,
- 0x67, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x52, 0x16, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x6f,
- 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x59, 0x0a, 0x17,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f,
- 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e,
- 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65,
- 0x73, 0x74, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x5d, 0x0a, 0x14, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18,
- 0x15, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41,
- 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e,
- 0x75, 0x6d, 0x52, 0x12, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4e, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x53, 0x0a, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18,
- 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69,
- 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x13, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x50, 0x0a, 0x14, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65,
- 0x6e, 0x75, 0x6d, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49,
- 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x12, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x25, 0x0a,
- 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18,
- 0x1f, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x49,
- 0x6e, 0x74, 0x33, 0x32, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x20, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0d, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0f, 0x72,
- 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x21,
- 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x55, 0x69,
- 0x6e, 0x74, 0x33, 0x32, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x22, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x72,
- 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a,
- 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32,
- 0x18, 0x23, 0x20, 0x03, 0x28, 0x11, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x24, 0x20, 0x03, 0x28, 0x12, 0x52,
- 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12,
- 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65,
- 0x64, 0x33, 0x32, 0x18, 0x25, 0x20, 0x03, 0x28, 0x07, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61,
- 0x74, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x26,
- 0x20, 0x03, 0x28, 0x06, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69,
- 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65,
- 0x64, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x27, 0x20, 0x03, 0x28, 0x0f,
- 0x52, 0x10, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64,
- 0x33, 0x32, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73,
- 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x28, 0x20, 0x03, 0x28, 0x10, 0x52, 0x10, 0x72,
- 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12,
- 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x6c, 0x6f, 0x61,
- 0x74, 0x18, 0x29, 0x20, 0x03, 0x28, 0x02, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65,
- 0x64, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x2a, 0x20, 0x03, 0x28, 0x01, 0x52,
- 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
- 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x6f, 0x6f, 0x6c,
- 0x18, 0x2b, 0x20, 0x03, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x2c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x72,
- 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x0a,
- 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18,
- 0x2d, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42,
- 0x79, 0x74, 0x65, 0x73, 0x12, 0x54, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x2e, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x2e, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x52, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0d, 0x72, 0x65, 0x70,
- 0x65, 0x61, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x66, 0x0a, 0x17, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x30, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x15, 0x72, 0x65, 0x70,
- 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x12, 0x5c, 0x0a, 0x18, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66,
- 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x31,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67,
- 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x16, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x12, 0x58, 0x0a, 0x16, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x70,
- 0x6f, 0x72, 0x74, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x32, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x52, 0x15, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x70,
- 0x6f, 0x72, 0x74, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x5d, 0x0a, 0x14, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e,
- 0x75, 0x6d, 0x18, 0x33, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65,
- 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
- 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x12, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e,
- 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x53, 0x0a, 0x15, 0x72, 0x65, 0x70,
- 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x65, 0x6e,
- 0x75, 0x6d, 0x18, 0x34, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f,
- 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x13, 0x72, 0x65, 0x70, 0x65, 0x61,
- 0x74, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x4f,
- 0x0a, 0x13, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72,
- 0x74, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x35, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x12, 0x72, 0x65, 0x70,
- 0x65, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x6e, 0x75, 0x6d, 0x12,
- 0x5b, 0x0a, 0x0f, 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x69, 0x6e, 0x74,
- 0x33, 0x32, 0x18, 0x38, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65,
- 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x49, 0x6e,
- 0x74, 0x33, 0x32, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6d,
- 0x61, 0x70, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x5b, 0x0a, 0x0f,
- 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
- 0x39, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41,
- 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x36, 0x34,
- 0x49, 0x6e, 0x74, 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6d, 0x61, 0x70, 0x49,
- 0x6e, 0x74, 0x36, 0x34, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x61, 0x0a, 0x11, 0x6d, 0x61, 0x70,
- 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x3a,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c,
- 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32,
- 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x6d, 0x61, 0x70,
- 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x61, 0x0a, 0x11,
- 0x6d, 0x61, 0x70, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36,
- 0x34, 0x18, 0x3b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73,
- 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x55, 0x69, 0x6e,
- 0x74, 0x36, 0x34, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f,
- 0x6d, 0x61, 0x70, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12,
- 0x61, 0x0a, 0x11, 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x73, 0x69,
- 0x6e, 0x74, 0x33, 0x32, 0x18, 0x3c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e,
- 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70,
- 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x52, 0x0f, 0x6d, 0x61, 0x70, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x53, 0x69, 0x6e, 0x74,
- 0x33, 0x32, 0x12, 0x61, 0x0a, 0x11, 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34,
- 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x3d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e,
- 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65,
- 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e,
- 0x4d, 0x61, 0x70, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x45,
- 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x6d, 0x61, 0x70, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x53,
- 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x67, 0x0a, 0x13, 0x6d, 0x61, 0x70, 0x5f, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x33, 0x32, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x3e, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54,
- 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x46,
- 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x6d, 0x61, 0x70,
- 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x67,
- 0x0a, 0x13, 0x6d, 0x61, 0x70, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x5f, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61,
- 0x70, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x45,
- 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x6d, 0x61, 0x70, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
- 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x6d, 0x0a, 0x15, 0x6d, 0x61, 0x70, 0x5f, 0x73,
- 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
- 0x18, 0x40, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74,
- 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x53, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x33, 0x32, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x52, 0x13, 0x6d, 0x61, 0x70, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x53, 0x66,
- 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x6d, 0x0a, 0x15, 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x66,
- 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18,
- 0x41, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41,
- 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x53, 0x66, 0x69, 0x78, 0x65,
- 0x64, 0x36, 0x34, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x52, 0x13, 0x6d, 0x61, 0x70, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x53, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x5b, 0x0a, 0x0f, 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x6e, 0x74,
- 0x33, 0x32, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x42, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73,
- 0x2e, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x45, 0x6e,
- 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x46, 0x6c, 0x6f,
- 0x61, 0x74, 0x12, 0x5e, 0x0a, 0x10, 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f,
- 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x43, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67,
- 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73,
- 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d,
- 0x61, 0x70, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x45, 0x6e, 0x74,
- 0x72, 0x79, 0x52, 0x0e, 0x6d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x44, 0x6f, 0x75, 0x62,
- 0x6c, 0x65, 0x12, 0x55, 0x0a, 0x0d, 0x6d, 0x61, 0x70, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x62,
- 0x6f, 0x6f, 0x6c, 0x18, 0x44, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54,
- 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x42,
- 0x6f, 0x6f, 0x6c, 0x42, 0x6f, 0x6f, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x6d, 0x61,
- 0x70, 0x42, 0x6f, 0x6f, 0x6c, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x61, 0x0a, 0x11, 0x6d, 0x61, 0x70,
- 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x45,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c,
- 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
- 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x6d, 0x61, 0x70,
- 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x5e, 0x0a, 0x10,
- 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
- 0x18, 0x46, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74,
- 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x42, 0x79, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x6d, 0x61,
- 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x77, 0x0a, 0x19,
- 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65,
- 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x47, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x3c, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65,
- 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4e, 0x65, 0x73, 0x74, 0x65,
- 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x16, 0x6d,
- 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x6e, 0x0a, 0x16, 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x74, 0x72,
- 0x69, 0x6e, 0x67, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18,
- 0x49, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41,
- 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e,
- 0x67, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x52, 0x13, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4e, 0x65, 0x73, 0x74, 0x65,
- 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x27, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
- 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x51, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x02, 0x38, 0x31,
- 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x27,
- 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
- 0x52, 0x20, 0x01, 0x28, 0x03, 0x3a, 0x02, 0x38, 0x32, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75,
- 0x6c, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x29, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75,
- 0x6c, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x53, 0x20, 0x01, 0x28, 0x0d, 0x3a,
- 0x02, 0x38, 0x33, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x55, 0x69, 0x6e, 0x74,
- 0x33, 0x32, 0x12, 0x29, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x75, 0x69,
- 0x6e, 0x74, 0x36, 0x34, 0x18, 0x54, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x02, 0x38, 0x34, 0x52, 0x0d,
- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x2a, 0x0a,
- 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18,
- 0x55, 0x20, 0x01, 0x28, 0x11, 0x3a, 0x03, 0x2d, 0x38, 0x35, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x29, 0x0a, 0x0e, 0x64, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x56, 0x20, 0x01, 0x28,
- 0x12, 0x3a, 0x02, 0x38, 0x36, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x69,
- 0x6e, 0x74, 0x36, 0x34, 0x12, 0x2b, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f,
- 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x57, 0x20, 0x01, 0x28, 0x07, 0x3a, 0x02, 0x38,
- 0x37, 0x52, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33,
- 0x32, 0x12, 0x2b, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x36, 0x34, 0x18, 0x58, 0x20, 0x01, 0x28, 0x06, 0x3a, 0x02, 0x38, 0x38, 0x52, 0x0e,
- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x2d,
- 0x0a, 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64,
- 0x33, 0x32, 0x18, 0x59, 0x20, 0x01, 0x28, 0x0f, 0x3a, 0x02, 0x38, 0x39, 0x52, 0x0f, 0x64, 0x65,
- 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x2e, 0x0a,
- 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36,
- 0x34, 0x18, 0x50, 0x20, 0x01, 0x28, 0x10, 0x3a, 0x03, 0x2d, 0x39, 0x30, 0x52, 0x0f, 0x64, 0x65,
- 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x29, 0x0a,
- 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x5b,
- 0x20, 0x01, 0x28, 0x02, 0x3a, 0x04, 0x39, 0x31, 0x2e, 0x35, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x2c, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x5c, 0x20, 0x01, 0x28, 0x01,
- 0x3a, 0x05, 0x39, 0x32, 0x30, 0x30, 0x30, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
- 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x27, 0x0a, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,
- 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x5d, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, 0x72,
- 0x75, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12,
- 0x2c, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
- 0x67, 0x18, 0x5e, 0x20, 0x01, 0x28, 0x09, 0x3a, 0x05, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x0d,
- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a,
- 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x5f,
- 0x20, 0x01, 0x28, 0x0c, 0x3a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x0c, 0x64, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x60, 0x0a, 0x13, 0x64, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
- 0x18, 0x60, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74,
- 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45,
- 0x6e, 0x75, 0x6d, 0x3a, 0x03, 0x42, 0x41, 0x52, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,
- 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x5e, 0x0a, 0x14, 0x64,
- 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x65,
- 0x6e, 0x75, 0x6d, 0x18, 0x61, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x46,
- 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x0b, 0x46, 0x4f, 0x52, 0x45,
- 0x49, 0x47, 0x4e, 0x5f, 0x42, 0x41, 0x52, 0x52, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
- 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0c, 0x6f,
- 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x6f, 0x20, 0x01, 0x28,
- 0x0d, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32,
- 0x12, 0x62, 0x0a, 0x14, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
- 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x70, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73,
- 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00,
- 0x52, 0x12, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x73, 0x74,
- 0x72, 0x69, 0x6e, 0x67, 0x18, 0x71, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e,
- 0x65, 0x6f, 0x66, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x0a, 0x0b, 0x6f, 0x6e, 0x65,
- 0x6f, 0x66, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x72, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00,
- 0x52, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0a,
- 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x73, 0x20, 0x01, 0x28, 0x08,
- 0x48, 0x00, 0x52, 0x09, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x23, 0x0a,
- 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x74, 0x20,
- 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x55, 0x69, 0x6e, 0x74,
- 0x36, 0x34, 0x12, 0x21, 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x66, 0x6c, 0x6f, 0x61,
- 0x74, 0x18, 0x75, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66,
- 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x23, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x64,
- 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x76, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x6f,
- 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x4c, 0x0a, 0x0a, 0x6f, 0x6e,
- 0x65, 0x6f, 0x66, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x77, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73,
- 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x00, 0x52, 0x09, 0x6f,
- 0x6e, 0x65, 0x6f, 0x66, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x4d, 0x0a, 0x0a, 0x6f, 0x6e, 0x65, 0x6f,
- 0x66, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x79, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x2b, 0x2e, 0x67,
- 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73,
- 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4f,
- 0x6e, 0x65, 0x6f, 0x66, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x6e, 0x65,
- 0x6f, 0x66, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x34, 0x0a, 0x15, 0x6f, 0x6e, 0x65, 0x6f, 0x66,
- 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
- 0x18, 0x78, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x13, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x1a, 0x61, 0x0a,
- 0x0d, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0c,
- 0x0a, 0x01, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x61, 0x12, 0x42, 0x0a, 0x0b,
- 0x63, 0x6f, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79,
- 0x70, 0x65, 0x73, 0x52, 0x0b, 0x63, 0x6f, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65,
- 0x1a, 0xb2, 0x01, 0x0a, 0x0d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x47, 0x72, 0x6f,
- 0x75, 0x70, 0x12, 0x0c, 0x0a, 0x01, 0x61, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x61,
- 0x12, 0x67, 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x65, 0x73,
- 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0xe8, 0x07, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54,
- 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4e, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x61, 0x6d,
- 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x10,
- 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4e,
- 0x75, 0x6d, 0x62, 0x65, 0x72, 0x1a, 0x86, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0c, 0x0a, 0x01, 0x61, 0x18, 0x2f, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x01, 0x61, 0x12, 0x67, 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73,
- 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x40,
- 0x0a, 0x12, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x45,
- 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
- 0x1a, 0x40, 0x0a, 0x12, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x49, 0x6e, 0x74, 0x36,
- 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
- 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x4d, 0x61, 0x70, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x55,
- 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
- 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x4d, 0x61, 0x70, 0x55, 0x69, 0x6e,
- 0x74, 0x36, 0x34, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
- 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79,
- 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x4d, 0x61,
- 0x70, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74,
- 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52,
- 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x11, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42,
- 0x0a, 0x14, 0x4d, 0x61, 0x70, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x53, 0x69, 0x6e, 0x74, 0x36,
- 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x12, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
- 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
- 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
- 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x07, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
- 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x07, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, 0x4d, 0x61, 0x70, 0x46,
- 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x45, 0x6e, 0x74,
- 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x06, 0x52,
- 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x06, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x46,
- 0x0a, 0x18, 0x4d, 0x61, 0x70, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x53, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
- 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x46, 0x0a, 0x18, 0x4d, 0x61, 0x70, 0x53, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x36, 0x34, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x45, 0x6e, 0x74,
- 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x10, 0x52,
- 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x10, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40,
- 0x0a, 0x12, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x45,
- 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
- 0x1a, 0x41, 0x0a, 0x13, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x44, 0x6f, 0x75, 0x62,
- 0x6c, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
- 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x4d, 0x61, 0x70, 0x42, 0x6f, 0x6f, 0x6c, 0x42, 0x6f,
- 0x6f, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
- 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
- 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
- 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
- 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x41, 0x0a, 0x13, 0x4d, 0x61, 0x70, 0x53, 0x74,
- 0x72, 0x69, 0x6e, 0x67, 0x42, 0x79, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
- 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
- 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x79, 0x0a, 0x1b, 0x4d, 0x61,
- 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e,
- 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73,
- 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x73, 0x0a, 0x18, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
- 0x6b, 0x65, 0x79, 0x12, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54,
- 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x28, 0x0a, 0x0a, 0x4f, 0x6e,
- 0x65, 0x6f, 0x66, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0c, 0x0a, 0x01, 0x61, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x05, 0x52, 0x01, 0x61, 0x12, 0x0c, 0x0a, 0x01, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x05, 0x52, 0x01, 0x62, 0x22, 0x39, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e,
- 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x46, 0x4f, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x42,
- 0x41, 0x52, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x42, 0x41, 0x5a, 0x10, 0x02, 0x12, 0x10, 0x0a,
- 0x03, 0x4e, 0x45, 0x47, 0x10, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x42,
- 0x0d, 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x10,
- 0x0a, 0x0e, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x22, 0xc4, 0x01, 0x0a, 0x15, 0x54, 0x65, 0x73, 0x74, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
- 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2d, 0x0a, 0x10, 0x64, 0x65,
- 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x05, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63,
- 0x61, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x3a, 0x0a, 0x16, 0x64, 0x65, 0x70,
- 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x66, 0x69,
- 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52,
- 0x14, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x65, 0x6f, 0x66,
- 0x46, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x28, 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
- 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x0a, 0x44, 0x45, 0x50, 0x52, 0x45,
- 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x00, 0x1a, 0x02, 0x08, 0x01, 0x1a, 0x02, 0x18, 0x01, 0x3a,
- 0x02, 0x18, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
- 0x64, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x22, 0x2c, 0x0a, 0x0e, 0x46, 0x6f, 0x72, 0x65, 0x69,
- 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x63, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x63, 0x12, 0x0c, 0x0a, 0x01, 0x64, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x01, 0x64, 0x22, 0x30, 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73,
- 0x65, 0x72, 0x76, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10,
- 0x03, 0x4a, 0x04, 0x08, 0x0f, 0x10, 0x10, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0c, 0x52, 0x03, 0x62,
- 0x61, 0x72, 0x52, 0x03, 0x62, 0x61, 0x7a, 0x22, 0x85, 0x01, 0x0a, 0x11, 0x54, 0x65, 0x73, 0x74,
- 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x66, 0x0a,
- 0x0d, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0c,
- 0x0a, 0x01, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x61, 0x12, 0x47, 0x0a, 0x0b,
- 0x63, 0x6f, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x63, 0x6f, 0x72, 0x65, 0x63, 0x75,
- 0x72, 0x73, 0x69, 0x76, 0x65, 0x2a, 0x08, 0x08, 0x01, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22,
- 0xb7, 0x01, 0x0a, 0x0d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x47, 0x72, 0x6f, 0x75,
- 0x70, 0x12, 0x0c, 0x0a, 0x01, 0x61, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x61, 0x12,
- 0x2a, 0x0a, 0x11, 0x73, 0x61, 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6e, 0x75,
- 0x6d, 0x62, 0x65, 0x72, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x61, 0x6d, 0x65,
- 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x6c, 0x0a, 0x17, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0xe8, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e,
- 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65,
- 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
- 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4e, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x0d, 0x52, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0c, 0x0a, 0x01, 0x61,
- 0x18, 0x2f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x61, 0x12, 0x6c, 0x0a, 0x17, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
- 0x6e, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x75, 0x0a, 0x13, 0x54, 0x65, 0x73, 0x74, 0x4e,
- 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x5e,
- 0x0a, 0x17, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f,
- 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54,
- 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0xeb, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53,
- 0x74, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xf7,
- 0x01, 0x0a, 0x0c, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12,
- 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c,
- 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
- 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x60, 0x0a, 0x06, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65,
- 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe8, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
- 0x52, 0x06, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x32, 0x5e, 0x0a, 0x05, 0x6d, 0x75, 0x6c, 0x74,
- 0x69, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe9, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x20, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
- 0x64, 0x52, 0x05, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x22, 0xc2, 0x03, 0x0a, 0x13, 0x54, 0x65, 0x73,
- 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e,
- 0x12, 0x4b, 0x0a, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e,
- 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0f, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4b, 0x0a,
- 0x10, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73,
- 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61,
- 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x58, 0x0a, 0x0b, 0x6d, 0x61,
- 0x70, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x37, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
- 0x64, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x2e, 0x4d, 0x61, 0x70, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6d, 0x61, 0x70, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x12, 0x47, 0x0a, 0x0d, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52,
- 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x5f, 0x0a,
- 0x0f, 0x4d, 0x61, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b,
- 0x65, 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69,
- 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0d,
- 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x99, 0x02,
- 0x0a, 0x17, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x47, 0x72,
- 0x6f, 0x75, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x5f, 0x0a, 0x0d, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0a,
- 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
- 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x2e, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0d, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x5f, 0x0a, 0x0d, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28,
- 0x0a, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69,
- 0x72, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x2e, 0x52,
- 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0d, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x1d, 0x0a, 0x0d, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0c, 0x0a, 0x01,
- 0x61, 0x18, 0x02, 0x20, 0x02, 0x28, 0x05, 0x52, 0x01, 0x61, 0x1a, 0x1d, 0x0a, 0x0d, 0x52, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0c, 0x0a, 0x01, 0x61,
- 0x18, 0x04, 0x20, 0x02, 0x28, 0x05, 0x52, 0x01, 0x61, 0x22, 0xb6, 0x01, 0x0a, 0x08, 0x54, 0x65,
- 0x73, 0x74, 0x57, 0x65, 0x61, 0x6b, 0x12, 0x54, 0x0a, 0x0d, 0x77, 0x65, 0x61, 0x6b, 0x5f, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
- 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65,
- 0x73, 0x74, 0x2e, 0x77, 0x65, 0x61, 0x6b, 0x2e, 0x57, 0x65, 0x61, 0x6b, 0x49, 0x6d, 0x70, 0x6f,
- 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x42, 0x02, 0x50, 0x01, 0x52, 0x0c,
- 0x77, 0x65, 0x61, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x12, 0x54, 0x0a, 0x0d,
- 0x77, 0x65, 0x61, 0x6b, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x77, 0x65, 0x61, 0x6b, 0x2e, 0x57, 0x65,
- 0x61, 0x6b, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32,
- 0x42, 0x02, 0x50, 0x01, 0x52, 0x0c, 0x77, 0x65, 0x61, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x32, 0x22, 0xee, 0x04, 0x0a, 0x0f, 0x54, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65,
- 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x5a, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x01,
- 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x25, 0x0a,
- 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x5b, 0x20,
- 0x03, 0x28, 0x03, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x49,
- 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x75,
- 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x5c, 0x20, 0x03, 0x28, 0x0d, 0x42, 0x02, 0x10, 0x01, 0x52,
- 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x27, 0x0a,
- 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x5d,
- 0x20, 0x03, 0x28, 0x04, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x5e, 0x20, 0x03, 0x28, 0x11, 0x42, 0x02, 0x10,
- 0x01, 0x52, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
- 0x27, 0x0a, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34,
- 0x18, 0x5f, 0x20, 0x03, 0x28, 0x12, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x70, 0x61, 0x63, 0x6b,
- 0x65, 0x64, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x29, 0x0a, 0x0e, 0x70, 0x61, 0x63, 0x6b,
- 0x65, 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x60, 0x20, 0x03, 0x28, 0x07,
- 0x42, 0x02, 0x10, 0x01, 0x52, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65,
- 0x64, 0x33, 0x32, 0x12, 0x29, 0x0a, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x61, 0x20, 0x03, 0x28, 0x06, 0x42, 0x02, 0x10, 0x01, 0x52,
- 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x2b,
- 0x0a, 0x0f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33,
- 0x32, 0x18, 0x62, 0x20, 0x03, 0x28, 0x0f, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0e, 0x70, 0x61, 0x63,
- 0x6b, 0x65, 0x64, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x2b, 0x0a, 0x0f, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x63,
- 0x20, 0x03, 0x28, 0x10, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x25, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b,
- 0x65, 0x64, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x64, 0x20, 0x03, 0x28, 0x02, 0x42, 0x02,
- 0x10, 0x01, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12,
- 0x27, 0x0a, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65,
- 0x18, 0x65, 0x20, 0x03, 0x28, 0x01, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x70, 0x61, 0x63, 0x6b,
- 0x65, 0x64, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0b, 0x70, 0x61, 0x63, 0x6b,
- 0x65, 0x64, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x66, 0x20, 0x03, 0x28, 0x08, 0x42, 0x02, 0x10,
- 0x01, 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x44, 0x0a,
- 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x67, 0x20, 0x03,
- 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45,
- 0x6e, 0x75, 0x6d, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45,
- 0x6e, 0x75, 0x6d, 0x22, 0xa8, 0x05, 0x0a, 0x11, 0x54, 0x65, 0x73, 0x74, 0x55, 0x6e, 0x70, 0x61,
- 0x63, 0x6b, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x0e, 0x75, 0x6e, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x5a, 0x20, 0x03, 0x28,
- 0x05, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0d, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x49,
- 0x6e, 0x74, 0x33, 0x32, 0x12, 0x29, 0x0a, 0x0e, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x5b, 0x20, 0x03, 0x28, 0x03, 0x42, 0x02, 0x10, 0x00,
- 0x52, 0x0d, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
- 0x2b, 0x0a, 0x0f, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x6e, 0x74,
- 0x33, 0x32, 0x18, 0x5c, 0x20, 0x03, 0x28, 0x0d, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0e, 0x75, 0x6e,
- 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x2b, 0x0a, 0x0f,
- 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
- 0x5d, 0x20, 0x03, 0x28, 0x04, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0e, 0x75, 0x6e, 0x70, 0x61, 0x63,
- 0x6b, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x2b, 0x0a, 0x0f, 0x75, 0x6e, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x5e, 0x20, 0x03,
- 0x28, 0x11, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0e, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x2b, 0x0a, 0x0f, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b,
- 0x65, 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x5f, 0x20, 0x03, 0x28, 0x12, 0x42,
- 0x02, 0x10, 0x00, 0x52, 0x0e, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x53, 0x69, 0x6e,
- 0x74, 0x36, 0x34, 0x12, 0x2d, 0x0a, 0x10, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f,
- 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x60, 0x20, 0x03, 0x28, 0x07, 0x42, 0x02, 0x10,
- 0x00, 0x52, 0x0f, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65, 0x64,
- 0x33, 0x32, 0x12, 0x2d, 0x0a, 0x10, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x66,
- 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x61, 0x20, 0x03, 0x28, 0x06, 0x42, 0x02, 0x10, 0x00,
- 0x52, 0x0f, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36,
- 0x34, 0x12, 0x2f, 0x0a, 0x11, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x73, 0x66,
- 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x62, 0x20, 0x03, 0x28, 0x0f, 0x42, 0x02, 0x10, 0x00,
- 0x52, 0x10, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64,
- 0x33, 0x32, 0x12, 0x2f, 0x0a, 0x11, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x73,
- 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x63, 0x20, 0x03, 0x28, 0x10, 0x42, 0x02, 0x10,
- 0x00, 0x52, 0x10, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x53, 0x66, 0x69, 0x78, 0x65,
- 0x64, 0x36, 0x34, 0x12, 0x29, 0x0a, 0x0e, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f,
- 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x64, 0x20, 0x03, 0x28, 0x02, 0x42, 0x02, 0x10, 0x00, 0x52,
- 0x0d, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x2b,
- 0x0a, 0x0f, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c,
- 0x65, 0x18, 0x65, 0x20, 0x03, 0x28, 0x01, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0e, 0x75, 0x6e, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x27, 0x0a, 0x0d, 0x75,
- 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x66, 0x20, 0x03,
- 0x28, 0x08, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0c, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x48, 0x0a, 0x0d, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x67, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x42, 0x02, 0x10, 0x00,
- 0x52, 0x0c, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22, 0x20,
- 0x0a, 0x14, 0x54, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2a, 0x08, 0x08, 0x01, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02,
- 0x22, 0x22, 0x0a, 0x16, 0x54, 0x65, 0x73, 0x74, 0x55, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2a, 0x08, 0x08, 0x01, 0x10, 0x80,
- 0x80, 0x80, 0x80, 0x02, 0x22, 0x0c, 0x0a, 0x0a, 0x46, 0x6f, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x22, 0x0d, 0x0a, 0x0b, 0x46, 0x6f, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x22, 0x61, 0x0a, 0x0c, 0x57, 0x65, 0x69, 0x72, 0x64, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c,
- 0x74, 0x12, 0x51, 0x0a, 0x0d, 0x77, 0x65, 0x69, 0x72, 0x64, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75,
- 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x3a, 0x2c, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2c,
- 0x20, 0x5c, 0x22, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x21, 0x5c, 0x22, 0x5c, 0x6e, 0x64, 0x65, 0x61,
- 0x64, 0x5c, 0x33, 0x33, 0x36, 0x5c, 0x32, 0x35, 0x35, 0x5c, 0x32, 0x37, 0x36, 0x5c, 0x33, 0x35,
- 0x37, 0x62, 0x65, 0x65, 0x66, 0x60, 0x52, 0x0c, 0x77, 0x65, 0x69, 0x72, 0x64, 0x44, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x22, 0xff, 0x03, 0x0a, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44,
- 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x33, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,
- 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x45, 0x6e,
- 0x75, 0x6d, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x33, 0x0a, 0x04, 0x7a,
- 0x65, 0x72, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e,
- 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x04, 0x5a, 0x45, 0x52, 0x4f, 0x52, 0x04, 0x7a, 0x65, 0x72, 0x6f,
- 0x12, 0x30, 0x0a, 0x03, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e,
- 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x6e,
- 0x75, 0x6d, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x03, 0x4f, 0x4e, 0x45, 0x52, 0x03, 0x6f,
- 0x6e, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x65, 0x6c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x07,
- 0x45, 0x4c, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x52, 0x07, 0x65, 0x6c, 0x65, 0x76, 0x65, 0x6e, 0x74,
- 0x12, 0x42, 0x0a, 0x09, 0x73, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x65, 0x65, 0x6e, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x09,
- 0x53, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x45, 0x45, 0x4e, 0x52, 0x09, 0x73, 0x65, 0x76, 0x65, 0x6e,
- 0x74, 0x65, 0x65, 0x6e, 0x12, 0x48, 0x0a, 0x0b, 0x74, 0x68, 0x69, 0x72, 0x74, 0x79, 0x73, 0x65,
- 0x76, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e,
- 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x0b, 0x54, 0x48, 0x49, 0x52, 0x54, 0x59, 0x53, 0x45, 0x56, 0x45,
- 0x4e, 0x52, 0x0b, 0x74, 0x68, 0x69, 0x72, 0x74, 0x79, 0x73, 0x65, 0x76, 0x65, 0x6e, 0x12, 0x45,
- 0x0a, 0x0a, 0x73, 0x69, 0x78, 0x74, 0x79, 0x73, 0x65, 0x76, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x0a, 0x53,
- 0x49, 0x58, 0x54, 0x59, 0x53, 0x45, 0x56, 0x45, 0x4e, 0x52, 0x0a, 0x73, 0x69, 0x78, 0x74, 0x79,
- 0x73, 0x65, 0x76, 0x65, 0x6e, 0x12, 0x3f, 0x0a, 0x08, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76,
- 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x45, 0x6e,
- 0x75, 0x6d, 0x3a, 0x08, 0x4e, 0x45, 0x47, 0x41, 0x54, 0x49, 0x56, 0x45, 0x52, 0x08, 0x6e, 0x65,
- 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x2a, 0x40, 0x0a, 0x0b, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67,
- 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x0a, 0x0b, 0x46, 0x4f, 0x52, 0x45, 0x49, 0x47, 0x4e,
- 0x5f, 0x46, 0x4f, 0x4f, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x46, 0x4f, 0x52, 0x45, 0x49, 0x47,
- 0x4e, 0x5f, 0x42, 0x41, 0x52, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x46, 0x4f, 0x52, 0x45, 0x49,
- 0x47, 0x4e, 0x5f, 0x42, 0x41, 0x5a, 0x10, 0x06, 0x2a, 0x47, 0x0a, 0x16, 0x54, 0x65, 0x73, 0x74,
- 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c,
- 0x64, 0x73, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, 0x44, 0x5f, 0x45,
- 0x4e, 0x55, 0x4d, 0x10, 0x00, 0x22, 0x04, 0x08, 0x02, 0x10, 0x02, 0x22, 0x04, 0x08, 0x0f, 0x10,
- 0x0f, 0x22, 0x04, 0x08, 0x09, 0x10, 0x0b, 0x2a, 0x03, 0x42, 0x41, 0x52, 0x2a, 0x03, 0x42, 0x41,
- 0x5a, 0x32, 0xa8, 0x01, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
- 0x65, 0x12, 0x46, 0x0a, 0x03, 0x46, 0x6f, 0x6f, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f,
- 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f,
- 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0a, 0x54, 0x65, 0x73,
- 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f, 0x6f,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f, 0x6f,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x32, 0x85, 0x01, 0x0a,
- 0x15, 0x54, 0x65, 0x73, 0x74, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x53,
- 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x67, 0x0a, 0x0a, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63,
- 0x61, 0x74, 0x65, 0x64, 0x12, 0x29, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x44, 0x65,
- 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a,
- 0x29, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
- 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x03, 0x88, 0x02, 0x01, 0x1a,
- 0x03, 0x88, 0x02, 0x01, 0x3a, 0x4c, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74,
- 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74,
- 0x33, 0x32, 0x3a, 0x4c, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69,
- 0x6e, 0x74, 0x36, 0x34, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c,
- 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34,
- 0x3a, 0x4e, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x69, 0x6e,
- 0x74, 0x33, 0x32, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c,
- 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d,
- 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32,
- 0x3a, 0x4e, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x69, 0x6e,
- 0x74, 0x36, 0x34, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c,
- 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04,
- 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34,
- 0x3a, 0x4e, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x6e,
- 0x74, 0x33, 0x32, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c,
- 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11,
- 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32,
- 0x3a, 0x4e, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x6e,
- 0x74, 0x36, 0x34, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c,
- 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12,
- 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34,
- 0x3a, 0x50, 0x0a, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x33, 0x32, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c,
- 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28,
- 0x07, 0x52, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x78, 0x65, 0x64,
- 0x33, 0x32, 0x3a, 0x50, 0x0a, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66,
- 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74,
- 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20,
- 0x01, 0x28, 0x06, 0x52, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x78,
- 0x65, 0x64, 0x36, 0x34, 0x3a, 0x52, 0x0a, 0x11, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54,
- 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0x09, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x3a, 0x52, 0x0a, 0x11, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x25, 0x2e,
- 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65,
- 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
- 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x10, 0x52, 0x10, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x3a, 0x4c, 0x0a, 0x0e,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x25,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x3a, 0x4e, 0x0a, 0x0f, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x25, 0x2e,
- 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65,
- 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
- 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x3a, 0x4a, 0x0a, 0x0d, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x25, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x42, 0x6f, 0x6f, 0x6c, 0x3a, 0x4e, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54,
- 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x4c, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65,
- 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
- 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42,
- 0x79, 0x74, 0x65, 0x73, 0x3a, 0x6e, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41,
- 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x10, 0x20, 0x01,
- 0x28, 0x0a, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x67,
- 0x72, 0x6f, 0x75, 0x70, 0x3a, 0x92, 0x01, 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e,
- 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65,
- 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
- 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4e, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x3a, 0x84, 0x01, 0x0a, 0x14, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e,
- 0x75, 0x6d, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x2b, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65,
- 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x12, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
- 0x3a, 0x4c, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74,
- 0x33, 0x32, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x05, 0x52,
- 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x3a, 0x4c,
- 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34,
- 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0d, 0x72,
- 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x3a, 0x4e, 0x0a, 0x0f,
- 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
- 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x3a, 0x4e, 0x0a, 0x0f,
- 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12,
- 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x22, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x3a, 0x4e, 0x0a, 0x0f,
- 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
- 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x23, 0x20, 0x03, 0x28, 0x11, 0x52, 0x0e, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x3a, 0x4e, 0x0a, 0x0f,
- 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12,
- 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x24, 0x20, 0x03, 0x28, 0x12, 0x52, 0x0e, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x3a, 0x50, 0x0a, 0x10,
- 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
- 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x25, 0x20, 0x03, 0x28, 0x07, 0x52, 0x0f, 0x72,
- 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x3a, 0x50,
- 0x0a, 0x10, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64,
- 0x36, 0x34, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x26, 0x20, 0x03, 0x28, 0x06, 0x52,
- 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
- 0x3a, 0x52, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41,
- 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x27, 0x20, 0x03,
- 0x28, 0x0f, 0x52, 0x10, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x33, 0x32, 0x3a, 0x52, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54,
- 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0x28, 0x20, 0x03, 0x28, 0x10, 0x52, 0x10, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x3a, 0x4c, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x65,
- 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e,
- 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0x29, 0x20, 0x03, 0x28, 0x02, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65,
- 0x64, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x3a, 0x4e, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54,
- 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0x2a, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x3a, 0x4a, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73,
- 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x2b,
- 0x20, 0x03, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6f,
- 0x6f, 0x6c, 0x3a, 0x4e, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73,
- 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41,
- 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x2c, 0x20, 0x03,
- 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x3a, 0x4c, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62,
- 0x79, 0x74, 0x65, 0x73, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c,
- 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x2d, 0x20, 0x03, 0x28,
- 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73,
- 0x3a, 0x6e, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75,
- 0x70, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x2e, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x21,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75,
- 0x70, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70,
- 0x3a, 0x92, 0x01, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x25, 0x2e, 0x67,
- 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73,
- 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
- 0x6f, 0x6e, 0x73, 0x18, 0x30, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54,
- 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
- 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x15,
- 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x3a, 0x84, 0x01, 0x0a, 0x14, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x25,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x33, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x12, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x4e, 0x0a, 0x0d,
- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x25, 0x2e,
- 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65,
- 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
- 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x51, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x02, 0x38, 0x31, 0x52, 0x0c,
- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x3a, 0x4e, 0x0a, 0x0d,
- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x25, 0x2e,
- 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65,
- 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
- 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x52, 0x20, 0x01, 0x28, 0x03, 0x3a, 0x02, 0x38, 0x32, 0x52, 0x0c,
- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x3a, 0x50, 0x0a, 0x0e,
- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x25,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x53, 0x20, 0x01, 0x28, 0x0d, 0x3a, 0x02, 0x38, 0x33, 0x52,
- 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x3a, 0x50,
- 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34,
- 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x54, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x02, 0x38,
- 0x34, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34,
- 0x3a, 0x51, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74,
- 0x33, 0x32, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x55, 0x20, 0x01, 0x28, 0x11, 0x3a,
- 0x03, 0x2d, 0x38, 0x35, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x69, 0x6e,
- 0x74, 0x33, 0x32, 0x3a, 0x50, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73,
- 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41,
- 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x56, 0x20, 0x01,
- 0x28, 0x12, 0x3a, 0x02, 0x38, 0x36, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53,
- 0x69, 0x6e, 0x74, 0x36, 0x34, 0x3a, 0x52, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
- 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65,
- 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
- 0x57, 0x20, 0x01, 0x28, 0x07, 0x3a, 0x02, 0x38, 0x37, 0x52, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75,
- 0x6c, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x3a, 0x52, 0x0a, 0x0f, 0x64, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x25, 0x2e, 0x67,
- 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73,
- 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
- 0x6f, 0x6e, 0x73, 0x18, 0x58, 0x20, 0x01, 0x28, 0x06, 0x3a, 0x02, 0x38, 0x38, 0x52, 0x0e, 0x64,
- 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x3a, 0x54, 0x0a,
- 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33,
- 0x32, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x59, 0x20, 0x01, 0x28, 0x0f, 0x3a, 0x02,
- 0x38, 0x39, 0x52, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65,
- 0x64, 0x33, 0x32, 0x3a, 0x55, 0x0a, 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73,
- 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73,
- 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x50,
- 0x20, 0x01, 0x28, 0x10, 0x3a, 0x03, 0x2d, 0x39, 0x30, 0x52, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75,
- 0x6c, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x3a, 0x50, 0x0a, 0x0d, 0x64, 0x65,
- 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x25, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0x5b, 0x20, 0x01, 0x28, 0x02, 0x3a, 0x04, 0x39, 0x31, 0x2e, 0x35, 0x52, 0x0c,
- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x3a, 0x53, 0x0a, 0x0e,
- 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x25,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x5c, 0x20, 0x01, 0x28, 0x01, 0x3a, 0x05, 0x39, 0x32, 0x30,
- 0x30, 0x30, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c,
- 0x65, 0x3a, 0x4e, 0x0a, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
- 0x6c, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x5d, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04,
- 0x74, 0x72, 0x75, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x6f, 0x6f,
- 0x6c, 0x3a, 0x53, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x74, 0x72,
- 0x69, 0x6e, 0x67, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c,
- 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x5e, 0x20, 0x01, 0x28, 0x09,
- 0x3a, 0x05, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
- 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x51, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,
- 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73,
- 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x5f,
- 0x20, 0x01, 0x28, 0x0c, 0x3a, 0x05, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x0c, 0x64, 0x65, 0x66,
- 0x61, 0x75, 0x6c, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x3a, 0x4f, 0x0a, 0x0c, 0x70, 0x61, 0x63,
- 0x6b, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54,
- 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
- 0x6f, 0x6e, 0x73, 0x18, 0x5a, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x3a, 0x4f, 0x0a, 0x0c, 0x70, 0x61,
- 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e,
- 0x54, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
- 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x5b, 0x20, 0x03, 0x28, 0x03, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0b,
- 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x3a, 0x51, 0x0a, 0x0d, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x28, 0x2e, 0x67,
- 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73,
- 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x5c, 0x20, 0x03, 0x28, 0x0d, 0x42, 0x02, 0x10, 0x01,
- 0x52, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x3a, 0x51,
- 0x0a, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12,
- 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x5d, 0x20, 0x03, 0x28, 0x04, 0x42,
- 0x02, 0x10, 0x01, 0x52, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x36,
- 0x34, 0x3a, 0x51, 0x0a, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x74,
- 0x33, 0x32, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b,
- 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x5e, 0x20, 0x03,
- 0x28, 0x11, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x53, 0x69,
- 0x6e, 0x74, 0x33, 0x32, 0x3a, 0x51, 0x0a, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x73,
- 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x50,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
- 0x5f, 0x20, 0x03, 0x28, 0x12, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65,
- 0x64, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x3a, 0x53, 0x0a, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x65,
- 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54,
- 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
- 0x6f, 0x6e, 0x73, 0x18, 0x60, 0x20, 0x03, 0x28, 0x07, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0d, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x3a, 0x53, 0x0a, 0x0e,
- 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x28,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x61, 0x20, 0x03, 0x28, 0x06, 0x42, 0x02,
- 0x10, 0x01, 0x52, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36,
- 0x34, 0x3a, 0x55, 0x0a, 0x0f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x73, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x33, 0x32, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x50, 0x61,
- 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x62,
- 0x20, 0x03, 0x28, 0x0f, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x3a, 0x55, 0x0a, 0x0f, 0x70, 0x61, 0x63, 0x6b,
- 0x65, 0x64, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x28, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x2e, 0x54, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x63, 0x20, 0x03, 0x28, 0x10, 0x42, 0x02, 0x10, 0x01, 0x52,
- 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x3a,
- 0x4f, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x12,
- 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x64, 0x20, 0x03, 0x28, 0x02, 0x42,
- 0x02, 0x10, 0x01, 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x6c, 0x6f, 0x61, 0x74,
- 0x3a, 0x51, 0x0a, 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c,
- 0x65, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65,
- 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x65, 0x20, 0x03, 0x28,
- 0x01, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x44, 0x6f, 0x75,
- 0x62, 0x6c, 0x65, 0x3a, 0x4d, 0x0a, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x62, 0x6f,
- 0x6f, 0x6c, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b,
- 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x66, 0x20, 0x03,
- 0x28, 0x08, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x6f,
- 0x6f, 0x6c, 0x3a, 0x6e, 0x0a, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75,
- 0x6d, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65,
- 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x67, 0x20, 0x03, 0x28,
- 0x0e, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e,
- 0x75, 0x6d, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x6e,
- 0x75, 0x6d, 0x3a, 0x55, 0x0a, 0x0e, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x69,
- 0x6e, 0x74, 0x33, 0x32, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55, 0x6e,
- 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0x5a, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0d, 0x75, 0x6e, 0x70, 0x61,
- 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x3a, 0x55, 0x0a, 0x0e, 0x75, 0x6e, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x2a, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x5b, 0x20, 0x03, 0x28, 0x03, 0x42, 0x02, 0x10,
- 0x00, 0x52, 0x0d, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x36, 0x34,
- 0x3a, 0x57, 0x0a, 0x0f, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x6e,
- 0x74, 0x33, 0x32, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55, 0x6e, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
- 0x5c, 0x20, 0x03, 0x28, 0x0d, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0e, 0x75, 0x6e, 0x70, 0x61, 0x63,
- 0x6b, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x3a, 0x57, 0x0a, 0x0f, 0x75, 0x6e, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x2a, 0x2e, 0x67,
- 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73,
- 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x5d, 0x20, 0x03, 0x28, 0x04, 0x42, 0x02,
- 0x10, 0x00, 0x52, 0x0e, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74,
- 0x36, 0x34, 0x3a, 0x57, 0x0a, 0x0f, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x73,
- 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55,
- 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0x5e, 0x20, 0x03, 0x28, 0x11, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0e, 0x75, 0x6e, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x3a, 0x57, 0x0a, 0x0f, 0x75,
- 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x2a,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x5f, 0x20, 0x03, 0x28, 0x12,
- 0x42, 0x02, 0x10, 0x00, 0x52, 0x0e, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x53, 0x69,
- 0x6e, 0x74, 0x36, 0x34, 0x3a, 0x59, 0x0a, 0x10, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65,
- 0x73, 0x74, 0x55, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
- 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x60, 0x20, 0x03, 0x28, 0x07, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0f,
- 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x3a,
- 0x59, 0x0a, 0x10, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65,
- 0x64, 0x36, 0x34, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55, 0x6e, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
- 0x61, 0x20, 0x03, 0x28, 0x06, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0f, 0x75, 0x6e, 0x70, 0x61, 0x63,
- 0x6b, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x3a, 0x5b, 0x0a, 0x11, 0x75, 0x6e,
- 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12,
- 0x2a, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65,
- 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x62, 0x20, 0x03, 0x28,
- 0x0f, 0x42, 0x02, 0x10, 0x00, 0x52, 0x10, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x53,
- 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x3a, 0x5b, 0x0a, 0x11, 0x75, 0x6e, 0x70, 0x61, 0x63,
- 0x6b, 0x65, 0x64, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x2a, 0x2e, 0x67,
- 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73,
- 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x63, 0x20, 0x03, 0x28, 0x10, 0x42, 0x02,
- 0x10, 0x00, 0x52, 0x10, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x53, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x36, 0x34, 0x3a, 0x55, 0x0a, 0x0e, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74,
- 0x55, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0x64, 0x20, 0x03, 0x28, 0x02, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0d, 0x75, 0x6e,
- 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x3a, 0x57, 0x0a, 0x0f, 0x75,
- 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x2a,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x65, 0x20, 0x03, 0x28, 0x01,
- 0x42, 0x02, 0x10, 0x00, 0x52, 0x0e, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x44, 0x6f,
- 0x75, 0x62, 0x6c, 0x65, 0x3a, 0x53, 0x0a, 0x0d, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x55,
- 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0x66, 0x20, 0x03, 0x28, 0x08, 0x42, 0x02, 0x10, 0x00, 0x52, 0x0c, 0x75, 0x6e, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x6f, 0x6f, 0x6c, 0x3a, 0x74, 0x0a, 0x0d, 0x75, 0x6e, 0x70,
- 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e,
- 0x54, 0x65, 0x73, 0x74, 0x55, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x67, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67,
- 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73,
- 0x74, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x42, 0x02, 0x10,
- 0x00, 0x52, 0x0c, 0x75, 0x6e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x42,
- 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
- 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x50, 0x02, 0x58, 0x03, 0x58, 0x04,
-}
-
-var (
- file_internal_testprotos_test_test_proto_rawDescOnce sync.Once
- file_internal_testprotos_test_test_proto_rawDescData = file_internal_testprotos_test_test_proto_rawDesc
-)
-
-func file_internal_testprotos_test_test_proto_rawDescGZIP() []byte {
- file_internal_testprotos_test_test_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_test_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_test_test_proto_rawDescData)
- })
- return file_internal_testprotos_test_test_proto_rawDescData
-}
-
-var file_internal_testprotos_test_test_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
-var file_internal_testprotos_test_test_proto_msgTypes = make([]protoimpl.MessageInfo, 45)
-var file_internal_testprotos_test_test_proto_goTypes = []interface{}{
- (ForeignEnum)(0), // 0: goproto.proto.test.ForeignEnum
- (TestReservedEnumFields)(0), // 1: goproto.proto.test.TestReservedEnumFields
- (TestAllTypes_NestedEnum)(0), // 2: goproto.proto.test.TestAllTypes.NestedEnum
- (TestDeprecatedMessage_DeprecatedEnum)(0), // 3: goproto.proto.test.TestDeprecatedMessage.DeprecatedEnum
- (*TestAllTypes)(nil), // 4: goproto.proto.test.TestAllTypes
- (*TestDeprecatedMessage)(nil), // 5: goproto.proto.test.TestDeprecatedMessage
- (*ForeignMessage)(nil), // 6: goproto.proto.test.ForeignMessage
- (*TestReservedFields)(nil), // 7: goproto.proto.test.TestReservedFields
- (*TestAllExtensions)(nil), // 8: goproto.proto.test.TestAllExtensions
- (*OptionalGroup)(nil), // 9: goproto.proto.test.OptionalGroup
- (*RepeatedGroup)(nil), // 10: goproto.proto.test.RepeatedGroup
- (*TestNestedExtension)(nil), // 11: goproto.proto.test.TestNestedExtension
- (*TestRequired)(nil), // 12: goproto.proto.test.TestRequired
- (*TestRequiredForeign)(nil), // 13: goproto.proto.test.TestRequiredForeign
- (*TestRequiredGroupFields)(nil), // 14: goproto.proto.test.TestRequiredGroupFields
- (*TestWeak)(nil), // 15: goproto.proto.test.TestWeak
- (*TestPackedTypes)(nil), // 16: goproto.proto.test.TestPackedTypes
- (*TestUnpackedTypes)(nil), // 17: goproto.proto.test.TestUnpackedTypes
- (*TestPackedExtensions)(nil), // 18: goproto.proto.test.TestPackedExtensions
- (*TestUnpackedExtensions)(nil), // 19: goproto.proto.test.TestUnpackedExtensions
- (*FooRequest)(nil), // 20: goproto.proto.test.FooRequest
- (*FooResponse)(nil), // 21: goproto.proto.test.FooResponse
- (*WeirdDefault)(nil), // 22: goproto.proto.test.WeirdDefault
- (*RemoteDefault)(nil), // 23: goproto.proto.test.RemoteDefault
- (*TestAllTypes_NestedMessage)(nil), // 24: goproto.proto.test.TestAllTypes.NestedMessage
- (*TestAllTypes_OptionalGroup)(nil), // 25: goproto.proto.test.TestAllTypes.OptionalGroup
- (*TestAllTypes_RepeatedGroup)(nil), // 26: goproto.proto.test.TestAllTypes.RepeatedGroup
- nil, // 27: goproto.proto.test.TestAllTypes.MapInt32Int32Entry
- nil, // 28: goproto.proto.test.TestAllTypes.MapInt64Int64Entry
- nil, // 29: goproto.proto.test.TestAllTypes.MapUint32Uint32Entry
- nil, // 30: goproto.proto.test.TestAllTypes.MapUint64Uint64Entry
- nil, // 31: goproto.proto.test.TestAllTypes.MapSint32Sint32Entry
- nil, // 32: goproto.proto.test.TestAllTypes.MapSint64Sint64Entry
- nil, // 33: goproto.proto.test.TestAllTypes.MapFixed32Fixed32Entry
- nil, // 34: goproto.proto.test.TestAllTypes.MapFixed64Fixed64Entry
- nil, // 35: goproto.proto.test.TestAllTypes.MapSfixed32Sfixed32Entry
- nil, // 36: goproto.proto.test.TestAllTypes.MapSfixed64Sfixed64Entry
- nil, // 37: goproto.proto.test.TestAllTypes.MapInt32FloatEntry
- nil, // 38: goproto.proto.test.TestAllTypes.MapInt32DoubleEntry
- nil, // 39: goproto.proto.test.TestAllTypes.MapBoolBoolEntry
- nil, // 40: goproto.proto.test.TestAllTypes.MapStringStringEntry
- nil, // 41: goproto.proto.test.TestAllTypes.MapStringBytesEntry
- nil, // 42: goproto.proto.test.TestAllTypes.MapStringNestedMessageEntry
- nil, // 43: goproto.proto.test.TestAllTypes.MapStringNestedEnumEntry
- (*TestAllTypes_OneofGroup)(nil), // 44: goproto.proto.test.TestAllTypes.OneofGroup
- (*TestAllExtensions_NestedMessage)(nil), // 45: goproto.proto.test.TestAllExtensions.NestedMessage
- nil, // 46: goproto.proto.test.TestRequiredForeign.MapMessageEntry
- (*TestRequiredGroupFields_OptionalGroup)(nil), // 47: goproto.proto.test.TestRequiredGroupFields.OptionalGroup
- (*TestRequiredGroupFields_RepeatedGroup)(nil), // 48: goproto.proto.test.TestRequiredGroupFields.RepeatedGroup
- (*ImportMessage)(nil), // 49: goproto.proto.test.ImportMessage
- (ImportEnum)(0), // 50: goproto.proto.test.ImportEnum
- (enums.Enum)(0), // 51: goproto.proto.enums.Enum
-}
-var file_internal_testprotos_test_test_proto_depIdxs = []int32{
- 25, // 0: goproto.proto.test.TestAllTypes.optionalgroup:type_name -> goproto.proto.test.TestAllTypes.OptionalGroup
- 24, // 1: goproto.proto.test.TestAllTypes.optional_nested_message:type_name -> goproto.proto.test.TestAllTypes.NestedMessage
- 6, // 2: goproto.proto.test.TestAllTypes.optional_foreign_message:type_name -> goproto.proto.test.ForeignMessage
- 49, // 3: goproto.proto.test.TestAllTypes.optional_import_message:type_name -> goproto.proto.test.ImportMessage
- 2, // 4: goproto.proto.test.TestAllTypes.optional_nested_enum:type_name -> goproto.proto.test.TestAllTypes.NestedEnum
- 0, // 5: goproto.proto.test.TestAllTypes.optional_foreign_enum:type_name -> goproto.proto.test.ForeignEnum
- 50, // 6: goproto.proto.test.TestAllTypes.optional_import_enum:type_name -> goproto.proto.test.ImportEnum
- 26, // 7: goproto.proto.test.TestAllTypes.repeatedgroup:type_name -> goproto.proto.test.TestAllTypes.RepeatedGroup
- 24, // 8: goproto.proto.test.TestAllTypes.repeated_nested_message:type_name -> goproto.proto.test.TestAllTypes.NestedMessage
- 6, // 9: goproto.proto.test.TestAllTypes.repeated_foreign_message:type_name -> goproto.proto.test.ForeignMessage
- 49, // 10: goproto.proto.test.TestAllTypes.repeated_importmessage:type_name -> goproto.proto.test.ImportMessage
- 2, // 11: goproto.proto.test.TestAllTypes.repeated_nested_enum:type_name -> goproto.proto.test.TestAllTypes.NestedEnum
- 0, // 12: goproto.proto.test.TestAllTypes.repeated_foreign_enum:type_name -> goproto.proto.test.ForeignEnum
- 50, // 13: goproto.proto.test.TestAllTypes.repeated_importenum:type_name -> goproto.proto.test.ImportEnum
- 27, // 14: goproto.proto.test.TestAllTypes.map_int32_int32:type_name -> goproto.proto.test.TestAllTypes.MapInt32Int32Entry
- 28, // 15: goproto.proto.test.TestAllTypes.map_int64_int64:type_name -> goproto.proto.test.TestAllTypes.MapInt64Int64Entry
- 29, // 16: goproto.proto.test.TestAllTypes.map_uint32_uint32:type_name -> goproto.proto.test.TestAllTypes.MapUint32Uint32Entry
- 30, // 17: goproto.proto.test.TestAllTypes.map_uint64_uint64:type_name -> goproto.proto.test.TestAllTypes.MapUint64Uint64Entry
- 31, // 18: goproto.proto.test.TestAllTypes.map_sint32_sint32:type_name -> goproto.proto.test.TestAllTypes.MapSint32Sint32Entry
- 32, // 19: goproto.proto.test.TestAllTypes.map_sint64_sint64:type_name -> goproto.proto.test.TestAllTypes.MapSint64Sint64Entry
- 33, // 20: goproto.proto.test.TestAllTypes.map_fixed32_fixed32:type_name -> goproto.proto.test.TestAllTypes.MapFixed32Fixed32Entry
- 34, // 21: goproto.proto.test.TestAllTypes.map_fixed64_fixed64:type_name -> goproto.proto.test.TestAllTypes.MapFixed64Fixed64Entry
- 35, // 22: goproto.proto.test.TestAllTypes.map_sfixed32_sfixed32:type_name -> goproto.proto.test.TestAllTypes.MapSfixed32Sfixed32Entry
- 36, // 23: goproto.proto.test.TestAllTypes.map_sfixed64_sfixed64:type_name -> goproto.proto.test.TestAllTypes.MapSfixed64Sfixed64Entry
- 37, // 24: goproto.proto.test.TestAllTypes.map_int32_float:type_name -> goproto.proto.test.TestAllTypes.MapInt32FloatEntry
- 38, // 25: goproto.proto.test.TestAllTypes.map_int32_double:type_name -> goproto.proto.test.TestAllTypes.MapInt32DoubleEntry
- 39, // 26: goproto.proto.test.TestAllTypes.map_bool_bool:type_name -> goproto.proto.test.TestAllTypes.MapBoolBoolEntry
- 40, // 27: goproto.proto.test.TestAllTypes.map_string_string:type_name -> goproto.proto.test.TestAllTypes.MapStringStringEntry
- 41, // 28: goproto.proto.test.TestAllTypes.map_string_bytes:type_name -> goproto.proto.test.TestAllTypes.MapStringBytesEntry
- 42, // 29: goproto.proto.test.TestAllTypes.map_string_nested_message:type_name -> goproto.proto.test.TestAllTypes.MapStringNestedMessageEntry
- 43, // 30: goproto.proto.test.TestAllTypes.map_string_nested_enum:type_name -> goproto.proto.test.TestAllTypes.MapStringNestedEnumEntry
- 2, // 31: goproto.proto.test.TestAllTypes.default_nested_enum:type_name -> goproto.proto.test.TestAllTypes.NestedEnum
- 0, // 32: goproto.proto.test.TestAllTypes.default_foreign_enum:type_name -> goproto.proto.test.ForeignEnum
- 24, // 33: goproto.proto.test.TestAllTypes.oneof_nested_message:type_name -> goproto.proto.test.TestAllTypes.NestedMessage
- 2, // 34: goproto.proto.test.TestAllTypes.oneof_enum:type_name -> goproto.proto.test.TestAllTypes.NestedEnum
- 44, // 35: goproto.proto.test.TestAllTypes.oneofgroup:type_name -> goproto.proto.test.TestAllTypes.OneofGroup
- 45, // 36: goproto.proto.test.OptionalGroup.optional_nested_message:type_name -> goproto.proto.test.TestAllExtensions.NestedMessage
- 45, // 37: goproto.proto.test.RepeatedGroup.optional_nested_message:type_name -> goproto.proto.test.TestAllExtensions.NestedMessage
- 12, // 38: goproto.proto.test.TestRequiredForeign.optional_message:type_name -> goproto.proto.test.TestRequired
- 12, // 39: goproto.proto.test.TestRequiredForeign.repeated_message:type_name -> goproto.proto.test.TestRequired
- 46, // 40: goproto.proto.test.TestRequiredForeign.map_message:type_name -> goproto.proto.test.TestRequiredForeign.MapMessageEntry
- 12, // 41: goproto.proto.test.TestRequiredForeign.oneof_message:type_name -> goproto.proto.test.TestRequired
- 47, // 42: goproto.proto.test.TestRequiredGroupFields.optionalgroup:type_name -> goproto.proto.test.TestRequiredGroupFields.OptionalGroup
- 48, // 43: goproto.proto.test.TestRequiredGroupFields.repeatedgroup:type_name -> goproto.proto.test.TestRequiredGroupFields.RepeatedGroup
- 0, // 44: goproto.proto.test.TestPackedTypes.packed_enum:type_name -> goproto.proto.test.ForeignEnum
- 0, // 45: goproto.proto.test.TestUnpackedTypes.unpacked_enum:type_name -> goproto.proto.test.ForeignEnum
- 51, // 46: goproto.proto.test.RemoteDefault.default:type_name -> goproto.proto.enums.Enum
- 51, // 47: goproto.proto.test.RemoteDefault.zero:type_name -> goproto.proto.enums.Enum
- 51, // 48: goproto.proto.test.RemoteDefault.one:type_name -> goproto.proto.enums.Enum
- 51, // 49: goproto.proto.test.RemoteDefault.elevent:type_name -> goproto.proto.enums.Enum
- 51, // 50: goproto.proto.test.RemoteDefault.seventeen:type_name -> goproto.proto.enums.Enum
- 51, // 51: goproto.proto.test.RemoteDefault.thirtyseven:type_name -> goproto.proto.enums.Enum
- 51, // 52: goproto.proto.test.RemoteDefault.sixtyseven:type_name -> goproto.proto.enums.Enum
- 51, // 53: goproto.proto.test.RemoteDefault.negative:type_name -> goproto.proto.enums.Enum
- 4, // 54: goproto.proto.test.TestAllTypes.NestedMessage.corecursive:type_name -> goproto.proto.test.TestAllTypes
- 24, // 55: goproto.proto.test.TestAllTypes.OptionalGroup.optional_nested_message:type_name -> goproto.proto.test.TestAllTypes.NestedMessage
- 24, // 56: goproto.proto.test.TestAllTypes.RepeatedGroup.optional_nested_message:type_name -> goproto.proto.test.TestAllTypes.NestedMessage
- 24, // 57: goproto.proto.test.TestAllTypes.MapStringNestedMessageEntry.value:type_name -> goproto.proto.test.TestAllTypes.NestedMessage
- 2, // 58: goproto.proto.test.TestAllTypes.MapStringNestedEnumEntry.value:type_name -> goproto.proto.test.TestAllTypes.NestedEnum
- 8, // 59: goproto.proto.test.TestAllExtensions.NestedMessage.corecursive:type_name -> goproto.proto.test.TestAllExtensions
- 12, // 60: goproto.proto.test.TestRequiredForeign.MapMessageEntry.value:type_name -> goproto.proto.test.TestRequired
- 8, // 61: goproto.proto.test.optional_int32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 62: goproto.proto.test.optional_int64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 63: goproto.proto.test.optional_uint32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 64: goproto.proto.test.optional_uint64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 65: goproto.proto.test.optional_sint32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 66: goproto.proto.test.optional_sint64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 67: goproto.proto.test.optional_fixed32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 68: goproto.proto.test.optional_fixed64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 69: goproto.proto.test.optional_sfixed32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 70: goproto.proto.test.optional_sfixed64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 71: goproto.proto.test.optional_float:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 72: goproto.proto.test.optional_double:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 73: goproto.proto.test.optional_bool:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 74: goproto.proto.test.optional_string:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 75: goproto.proto.test.optional_bytes:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 76: goproto.proto.test.optionalgroup:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 77: goproto.proto.test.optional_nested_message:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 78: goproto.proto.test.optional_nested_enum:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 79: goproto.proto.test.repeated_int32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 80: goproto.proto.test.repeated_int64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 81: goproto.proto.test.repeated_uint32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 82: goproto.proto.test.repeated_uint64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 83: goproto.proto.test.repeated_sint32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 84: goproto.proto.test.repeated_sint64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 85: goproto.proto.test.repeated_fixed32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 86: goproto.proto.test.repeated_fixed64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 87: goproto.proto.test.repeated_sfixed32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 88: goproto.proto.test.repeated_sfixed64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 89: goproto.proto.test.repeated_float:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 90: goproto.proto.test.repeated_double:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 91: goproto.proto.test.repeated_bool:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 92: goproto.proto.test.repeated_string:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 93: goproto.proto.test.repeated_bytes:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 94: goproto.proto.test.repeatedgroup:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 95: goproto.proto.test.repeated_nested_message:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 96: goproto.proto.test.repeated_nested_enum:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 97: goproto.proto.test.default_int32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 98: goproto.proto.test.default_int64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 99: goproto.proto.test.default_uint32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 100: goproto.proto.test.default_uint64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 101: goproto.proto.test.default_sint32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 102: goproto.proto.test.default_sint64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 103: goproto.proto.test.default_fixed32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 104: goproto.proto.test.default_fixed64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 105: goproto.proto.test.default_sfixed32:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 106: goproto.proto.test.default_sfixed64:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 107: goproto.proto.test.default_float:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 108: goproto.proto.test.default_double:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 109: goproto.proto.test.default_bool:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 110: goproto.proto.test.default_string:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 111: goproto.proto.test.default_bytes:extendee -> goproto.proto.test.TestAllExtensions
- 18, // 112: goproto.proto.test.packed_int32:extendee -> goproto.proto.test.TestPackedExtensions
- 18, // 113: goproto.proto.test.packed_int64:extendee -> goproto.proto.test.TestPackedExtensions
- 18, // 114: goproto.proto.test.packed_uint32:extendee -> goproto.proto.test.TestPackedExtensions
- 18, // 115: goproto.proto.test.packed_uint64:extendee -> goproto.proto.test.TestPackedExtensions
- 18, // 116: goproto.proto.test.packed_sint32:extendee -> goproto.proto.test.TestPackedExtensions
- 18, // 117: goproto.proto.test.packed_sint64:extendee -> goproto.proto.test.TestPackedExtensions
- 18, // 118: goproto.proto.test.packed_fixed32:extendee -> goproto.proto.test.TestPackedExtensions
- 18, // 119: goproto.proto.test.packed_fixed64:extendee -> goproto.proto.test.TestPackedExtensions
- 18, // 120: goproto.proto.test.packed_sfixed32:extendee -> goproto.proto.test.TestPackedExtensions
- 18, // 121: goproto.proto.test.packed_sfixed64:extendee -> goproto.proto.test.TestPackedExtensions
- 18, // 122: goproto.proto.test.packed_float:extendee -> goproto.proto.test.TestPackedExtensions
- 18, // 123: goproto.proto.test.packed_double:extendee -> goproto.proto.test.TestPackedExtensions
- 18, // 124: goproto.proto.test.packed_bool:extendee -> goproto.proto.test.TestPackedExtensions
- 18, // 125: goproto.proto.test.packed_enum:extendee -> goproto.proto.test.TestPackedExtensions
- 19, // 126: goproto.proto.test.unpacked_int32:extendee -> goproto.proto.test.TestUnpackedExtensions
- 19, // 127: goproto.proto.test.unpacked_int64:extendee -> goproto.proto.test.TestUnpackedExtensions
- 19, // 128: goproto.proto.test.unpacked_uint32:extendee -> goproto.proto.test.TestUnpackedExtensions
- 19, // 129: goproto.proto.test.unpacked_uint64:extendee -> goproto.proto.test.TestUnpackedExtensions
- 19, // 130: goproto.proto.test.unpacked_sint32:extendee -> goproto.proto.test.TestUnpackedExtensions
- 19, // 131: goproto.proto.test.unpacked_sint64:extendee -> goproto.proto.test.TestUnpackedExtensions
- 19, // 132: goproto.proto.test.unpacked_fixed32:extendee -> goproto.proto.test.TestUnpackedExtensions
- 19, // 133: goproto.proto.test.unpacked_fixed64:extendee -> goproto.proto.test.TestUnpackedExtensions
- 19, // 134: goproto.proto.test.unpacked_sfixed32:extendee -> goproto.proto.test.TestUnpackedExtensions
- 19, // 135: goproto.proto.test.unpacked_sfixed64:extendee -> goproto.proto.test.TestUnpackedExtensions
- 19, // 136: goproto.proto.test.unpacked_float:extendee -> goproto.proto.test.TestUnpackedExtensions
- 19, // 137: goproto.proto.test.unpacked_double:extendee -> goproto.proto.test.TestUnpackedExtensions
- 19, // 138: goproto.proto.test.unpacked_bool:extendee -> goproto.proto.test.TestUnpackedExtensions
- 19, // 139: goproto.proto.test.unpacked_enum:extendee -> goproto.proto.test.TestUnpackedExtensions
- 8, // 140: goproto.proto.test.TestNestedExtension.nested_string_extension:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 141: goproto.proto.test.TestRequired.single:extendee -> goproto.proto.test.TestAllExtensions
- 8, // 142: goproto.proto.test.TestRequired.multi:extendee -> goproto.proto.test.TestAllExtensions
- 9, // 143: goproto.proto.test.optionalgroup:type_name -> goproto.proto.test.OptionalGroup
- 45, // 144: goproto.proto.test.optional_nested_message:type_name -> goproto.proto.test.TestAllExtensions.NestedMessage
- 2, // 145: goproto.proto.test.optional_nested_enum:type_name -> goproto.proto.test.TestAllTypes.NestedEnum
- 10, // 146: goproto.proto.test.repeatedgroup:type_name -> goproto.proto.test.RepeatedGroup
- 45, // 147: goproto.proto.test.repeated_nested_message:type_name -> goproto.proto.test.TestAllExtensions.NestedMessage
- 2, // 148: goproto.proto.test.repeated_nested_enum:type_name -> goproto.proto.test.TestAllTypes.NestedEnum
- 0, // 149: goproto.proto.test.packed_enum:type_name -> goproto.proto.test.ForeignEnum
- 0, // 150: goproto.proto.test.unpacked_enum:type_name -> goproto.proto.test.ForeignEnum
- 12, // 151: goproto.proto.test.TestRequired.single:type_name -> goproto.proto.test.TestRequired
- 12, // 152: goproto.proto.test.TestRequired.multi:type_name -> goproto.proto.test.TestRequired
- 20, // 153: goproto.proto.test.TestService.Foo:input_type -> goproto.proto.test.FooRequest
- 20, // 154: goproto.proto.test.TestService.TestStream:input_type -> goproto.proto.test.FooRequest
- 5, // 155: goproto.proto.test.TestDeprecatedService.Deprecated:input_type -> goproto.proto.test.TestDeprecatedMessage
- 21, // 156: goproto.proto.test.TestService.Foo:output_type -> goproto.proto.test.FooResponse
- 21, // 157: goproto.proto.test.TestService.TestStream:output_type -> goproto.proto.test.FooResponse
- 5, // 158: goproto.proto.test.TestDeprecatedService.Deprecated:output_type -> goproto.proto.test.TestDeprecatedMessage
- 156, // [156:159] is the sub-list for method output_type
- 153, // [153:156] is the sub-list for method input_type
- 143, // [143:153] is the sub-list for extension type_name
- 61, // [61:143] is the sub-list for extension extendee
- 0, // [0:61] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_test_test_proto_init() }
-func file_internal_testprotos_test_test_proto_init() {
- if File_internal_testprotos_test_test_proto != nil {
- return
- }
- file_internal_testprotos_test_test_import_proto_init()
- file_internal_testprotos_test_test_public_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_test_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestAllTypes); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestDeprecatedMessage); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ForeignMessage); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestReservedFields); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestAllExtensions); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- case 3:
- return &v.extensionFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OptionalGroup); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RepeatedGroup); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestNestedExtension); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestRequired); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestRequiredForeign); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestRequiredGroupFields); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestWeak); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.weakFields
- case 3:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestPackedTypes); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestUnpackedTypes); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestPackedExtensions); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- case 3:
- return &v.extensionFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestUnpackedExtensions); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- case 3:
- return &v.extensionFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FooRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FooResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*WeirdDefault); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RemoteDefault); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestAllTypes_NestedMessage); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestAllTypes_OptionalGroup); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestAllTypes_RepeatedGroup); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestAllTypes_OneofGroup); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestAllExtensions_NestedMessage); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestRequiredGroupFields_OptionalGroup); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestRequiredGroupFields_RepeatedGroup); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_internal_testprotos_test_test_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*TestAllTypes_OneofUint32)(nil),
- (*TestAllTypes_OneofNestedMessage)(nil),
- (*TestAllTypes_OneofString)(nil),
- (*TestAllTypes_OneofBytes)(nil),
- (*TestAllTypes_OneofBool)(nil),
- (*TestAllTypes_OneofUint64)(nil),
- (*TestAllTypes_OneofFloat)(nil),
- (*TestAllTypes_OneofDouble)(nil),
- (*TestAllTypes_OneofEnum)(nil),
- (*TestAllTypes_Oneofgroup)(nil),
- (*TestAllTypes_OneofOptionalUint32)(nil),
- }
- file_internal_testprotos_test_test_proto_msgTypes[1].OneofWrappers = []interface{}{
- (*TestDeprecatedMessage_DeprecatedOneofField)(nil),
- }
- file_internal_testprotos_test_test_proto_msgTypes[9].OneofWrappers = []interface{}{
- (*TestRequiredForeign_OneofMessage)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_test_test_proto_rawDesc,
- NumEnums: 4,
- NumMessages: 45,
- NumExtensions: 82,
- NumServices: 2,
- },
- GoTypes: file_internal_testprotos_test_test_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_test_test_proto_depIdxs,
- EnumInfos: file_internal_testprotos_test_test_proto_enumTypes,
- MessageInfos: file_internal_testprotos_test_test_proto_msgTypes,
- ExtensionInfos: file_internal_testprotos_test_test_proto_extTypes,
- }.Build()
- File_internal_testprotos_test_test_proto = out.File
- file_internal_testprotos_test_test_proto_rawDesc = nil
- file_internal_testprotos_test_test_proto_goTypes = nil
- file_internal_testprotos_test_test_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/test/test_import.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/test/test_import.pb.go
deleted file mode 100644
index 6be93bdf91..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/test/test_import.pb.go
+++ /dev/null
@@ -1,188 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/test/test_import.proto
-
-package test
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type ImportEnum int32
-
-const (
- ImportEnum_IMPORT_ZERO ImportEnum = 0
-)
-
-// Enum value maps for ImportEnum.
-var (
- ImportEnum_name = map[int32]string{
- 0: "IMPORT_ZERO",
- }
- ImportEnum_value = map[string]int32{
- "IMPORT_ZERO": 0,
- }
-)
-
-func (x ImportEnum) Enum() *ImportEnum {
- p := new(ImportEnum)
- *p = x
- return p
-}
-
-func (x ImportEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (ImportEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_test_test_import_proto_enumTypes[0].Descriptor()
-}
-
-func (ImportEnum) Type() protoreflect.EnumType {
- return &file_internal_testprotos_test_test_import_proto_enumTypes[0]
-}
-
-func (x ImportEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *ImportEnum) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = ImportEnum(num)
- return nil
-}
-
-// Deprecated: Use ImportEnum.Descriptor instead.
-func (ImportEnum) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_import_proto_rawDescGZIP(), []int{0}
-}
-
-type ImportMessage struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *ImportMessage) Reset() {
- *x = ImportMessage{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_import_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ImportMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ImportMessage) ProtoMessage() {}
-
-func (x *ImportMessage) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_import_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ImportMessage.ProtoReflect.Descriptor instead.
-func (*ImportMessage) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_import_proto_rawDescGZIP(), []int{0}
-}
-
-var File_internal_testprotos_test_test_import_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_test_test_import_proto_rawDesc = []byte{
- 0x0a, 0x2a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f,
- 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x22, 0x0f, 0x0a, 0x0d, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x2a, 0x1d, 0x0a, 0x0a, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12,
- 0x0f, 0x0a, 0x0b, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00,
- 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
- 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69,
- 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
-}
-
-var (
- file_internal_testprotos_test_test_import_proto_rawDescOnce sync.Once
- file_internal_testprotos_test_test_import_proto_rawDescData = file_internal_testprotos_test_test_import_proto_rawDesc
-)
-
-func file_internal_testprotos_test_test_import_proto_rawDescGZIP() []byte {
- file_internal_testprotos_test_test_import_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_test_test_import_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_test_test_import_proto_rawDescData)
- })
- return file_internal_testprotos_test_test_import_proto_rawDescData
-}
-
-var file_internal_testprotos_test_test_import_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_internal_testprotos_test_test_import_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_internal_testprotos_test_test_import_proto_goTypes = []interface{}{
- (ImportEnum)(0), // 0: goproto.proto.test.ImportEnum
- (*ImportMessage)(nil), // 1: goproto.proto.test.ImportMessage
-}
-var file_internal_testprotos_test_test_import_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_test_test_import_proto_init() }
-func file_internal_testprotos_test_test_import_proto_init() {
- if File_internal_testprotos_test_test_import_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_test_test_import_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ImportMessage); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_test_test_import_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_test_test_import_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_test_test_import_proto_depIdxs,
- EnumInfos: file_internal_testprotos_test_test_import_proto_enumTypes,
- MessageInfos: file_internal_testprotos_test_test_import_proto_msgTypes,
- }.Build()
- File_internal_testprotos_test_test_import_proto = out.File
- file_internal_testprotos_test_test_import_proto_rawDesc = nil
- file_internal_testprotos_test_test_import_proto_goTypes = nil
- file_internal_testprotos_test_test_import_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/test/test_public.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/test/test_public.pb.go
deleted file mode 100644
index 19797ea1ab..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/test/test_public.pb.go
+++ /dev/null
@@ -1,130 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/test/test_public.proto
-
-package test
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type PublicImportMessage struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *PublicImportMessage) Reset() {
- *x = PublicImportMessage{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_test_public_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *PublicImportMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PublicImportMessage) ProtoMessage() {}
-
-func (x *PublicImportMessage) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_test_public_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use PublicImportMessage.ProtoReflect.Descriptor instead.
-func (*PublicImportMessage) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_test_public_proto_rawDescGZIP(), []int{0}
-}
-
-var File_internal_testprotos_test_test_public_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_test_test_public_proto_rawDesc = []byte{
- 0x0a, 0x2a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f,
- 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x22, 0x15, 0x0a, 0x13, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74,
- 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
-}
-
-var (
- file_internal_testprotos_test_test_public_proto_rawDescOnce sync.Once
- file_internal_testprotos_test_test_public_proto_rawDescData = file_internal_testprotos_test_test_public_proto_rawDesc
-)
-
-func file_internal_testprotos_test_test_public_proto_rawDescGZIP() []byte {
- file_internal_testprotos_test_test_public_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_test_test_public_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_test_test_public_proto_rawDescData)
- })
- return file_internal_testprotos_test_test_public_proto_rawDescData
-}
-
-var file_internal_testprotos_test_test_public_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_internal_testprotos_test_test_public_proto_goTypes = []interface{}{
- (*PublicImportMessage)(nil), // 0: goproto.proto.test.PublicImportMessage
-}
-var file_internal_testprotos_test_test_public_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_test_test_public_proto_init() }
-func file_internal_testprotos_test_test_public_proto_init() {
- if File_internal_testprotos_test_test_public_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_test_test_public_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PublicImportMessage); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_test_test_public_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_test_test_public_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_test_test_public_proto_depIdxs,
- MessageInfos: file_internal_testprotos_test_test_public_proto_msgTypes,
- }.Build()
- File_internal_testprotos_test_test_public_proto = out.File
- file_internal_testprotos_test_test_public_proto_rawDesc = nil
- file_internal_testprotos_test_test_public_proto_goTypes = nil
- file_internal_testprotos_test_test_public_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/test/weak1/test_weak.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/test/weak1/test_weak.pb.go
deleted file mode 100644
index 63203c529b..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/test/weak1/test_weak.pb.go
+++ /dev/null
@@ -1,141 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/test/weak1/test_weak.proto
-
-package weak1
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type WeakImportMessage1 struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- A *int32 `protobuf:"varint,1,req,name=a" json:"a,omitempty"`
-}
-
-func (x *WeakImportMessage1) Reset() {
- *x = WeakImportMessage1{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test_weak1_test_weak_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *WeakImportMessage1) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*WeakImportMessage1) ProtoMessage() {}
-
-func (x *WeakImportMessage1) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test_weak1_test_weak_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use WeakImportMessage1.ProtoReflect.Descriptor instead.
-func (*WeakImportMessage1) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test_weak1_test_weak_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *WeakImportMessage1) GetA() int32 {
- if x != nil && x.A != nil {
- return *x.A
- }
- return 0
-}
-
-var File_internal_testprotos_test_weak1_test_weak_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_test_weak1_test_weak_proto_rawDesc = []byte{
- 0x0a, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x77, 0x65, 0x61, 0x6b, 0x31,
- 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x77, 0x65, 0x61, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x12, 0x17, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x2e, 0x77, 0x65, 0x61, 0x6b, 0x22, 0x22, 0x0a, 0x12, 0x57, 0x65, 0x61,
- 0x6b, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x12,
- 0x0c, 0x0a, 0x01, 0x61, 0x18, 0x01, 0x20, 0x02, 0x28, 0x05, 0x52, 0x01, 0x61, 0x42, 0x3b, 0x5a,
- 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
- 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65,
- 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f,
- 0x74, 0x65, 0x73, 0x74, 0x2f, 0x77, 0x65, 0x61, 0x6b, 0x31,
-}
-
-var (
- file_internal_testprotos_test_weak1_test_weak_proto_rawDescOnce sync.Once
- file_internal_testprotos_test_weak1_test_weak_proto_rawDescData = file_internal_testprotos_test_weak1_test_weak_proto_rawDesc
-)
-
-func file_internal_testprotos_test_weak1_test_weak_proto_rawDescGZIP() []byte {
- file_internal_testprotos_test_weak1_test_weak_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_test_weak1_test_weak_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_test_weak1_test_weak_proto_rawDescData)
- })
- return file_internal_testprotos_test_weak1_test_weak_proto_rawDescData
-}
-
-var file_internal_testprotos_test_weak1_test_weak_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_internal_testprotos_test_weak1_test_weak_proto_goTypes = []interface{}{
- (*WeakImportMessage1)(nil), // 0: goproto.proto.test.weak.WeakImportMessage1
-}
-var file_internal_testprotos_test_weak1_test_weak_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_test_weak1_test_weak_proto_init() }
-func file_internal_testprotos_test_weak1_test_weak_proto_init() {
- if File_internal_testprotos_test_weak1_test_weak_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_test_weak1_test_weak_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*WeakImportMessage1); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_test_weak1_test_weak_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_test_weak1_test_weak_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_test_weak1_test_weak_proto_depIdxs,
- MessageInfos: file_internal_testprotos_test_weak1_test_weak_proto_msgTypes,
- }.Build()
- File_internal_testprotos_test_weak1_test_weak_proto = out.File
- file_internal_testprotos_test_weak1_test_weak_proto_rawDesc = nil
- file_internal_testprotos_test_weak1_test_weak_proto_goTypes = nil
- file_internal_testprotos_test_weak1_test_weak_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/test/weak1/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/test/weak1/ya.make
deleted file mode 100644
index 7586de092a..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/test/weak1/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test_weak.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/test/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/test/ya.make
deleted file mode 100644
index c65313d522..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/test/ya.make
+++ /dev/null
@@ -1,17 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(
- ext.pb.go
- test.pb.go
- test_import.pb.go
- test_public.pb.go
-)
-
-END()
-
-RECURSE(
- weak1
- weak2
-)
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/test3/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/test3/test.pb.go
deleted file mode 100644
index d2ff0bf282..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/test3/test.pb.go
+++ /dev/null
@@ -1,1717 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/test3/test.proto
-
-package test3
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type ForeignEnum int32
-
-const (
- ForeignEnum_FOREIGN_ZERO ForeignEnum = 0
- ForeignEnum_FOREIGN_FOO ForeignEnum = 4
- ForeignEnum_FOREIGN_BAR ForeignEnum = 5
- ForeignEnum_FOREIGN_BAZ ForeignEnum = 6
-)
-
-// Enum value maps for ForeignEnum.
-var (
- ForeignEnum_name = map[int32]string{
- 0: "FOREIGN_ZERO",
- 4: "FOREIGN_FOO",
- 5: "FOREIGN_BAR",
- 6: "FOREIGN_BAZ",
- }
- ForeignEnum_value = map[string]int32{
- "FOREIGN_ZERO": 0,
- "FOREIGN_FOO": 4,
- "FOREIGN_BAR": 5,
- "FOREIGN_BAZ": 6,
- }
-)
-
-func (x ForeignEnum) Enum() *ForeignEnum {
- p := new(ForeignEnum)
- *p = x
- return p
-}
-
-func (x ForeignEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_test3_test_proto_enumTypes[0].Descriptor()
-}
-
-func (ForeignEnum) Type() protoreflect.EnumType {
- return &file_internal_testprotos_test3_test_proto_enumTypes[0]
-}
-
-func (x ForeignEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use ForeignEnum.Descriptor instead.
-func (ForeignEnum) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_test3_test_proto_rawDescGZIP(), []int{0}
-}
-
-type TestAllTypes_NestedEnum int32
-
-const (
- TestAllTypes_FOO TestAllTypes_NestedEnum = 0
- TestAllTypes_BAR TestAllTypes_NestedEnum = 1
- TestAllTypes_BAZ TestAllTypes_NestedEnum = 2
- TestAllTypes_NEG TestAllTypes_NestedEnum = -1 // Intentionally negative.
-)
-
-// Enum value maps for TestAllTypes_NestedEnum.
-var (
- TestAllTypes_NestedEnum_name = map[int32]string{
- 0: "FOO",
- 1: "BAR",
- 2: "BAZ",
- -1: "NEG",
- }
- TestAllTypes_NestedEnum_value = map[string]int32{
- "FOO": 0,
- "BAR": 1,
- "BAZ": 2,
- "NEG": -1,
- }
-)
-
-func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum {
- p := new(TestAllTypes_NestedEnum)
- *p = x
- return p
-}
-
-func (x TestAllTypes_NestedEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_test3_test_proto_enumTypes[1].Descriptor()
-}
-
-func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType {
- return &file_internal_testprotos_test3_test_proto_enumTypes[1]
-}
-
-func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use TestAllTypes_NestedEnum.Descriptor instead.
-func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_test3_test_proto_rawDescGZIP(), []int{0, 0}
-}
-
-type TestAllTypes struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- SingularInt32 int32 `protobuf:"varint,81,opt,name=singular_int32,json=singularInt32,proto3" json:"singular_int32,omitempty"`
- SingularInt64 int64 `protobuf:"varint,82,opt,name=singular_int64,json=singularInt64,proto3" json:"singular_int64,omitempty"`
- SingularUint32 uint32 `protobuf:"varint,83,opt,name=singular_uint32,json=singularUint32,proto3" json:"singular_uint32,omitempty"`
- SingularUint64 uint64 `protobuf:"varint,84,opt,name=singular_uint64,json=singularUint64,proto3" json:"singular_uint64,omitempty"`
- SingularSint32 int32 `protobuf:"zigzag32,85,opt,name=singular_sint32,json=singularSint32,proto3" json:"singular_sint32,omitempty"`
- SingularSint64 int64 `protobuf:"zigzag64,86,opt,name=singular_sint64,json=singularSint64,proto3" json:"singular_sint64,omitempty"`
- SingularFixed32 uint32 `protobuf:"fixed32,87,opt,name=singular_fixed32,json=singularFixed32,proto3" json:"singular_fixed32,omitempty"`
- SingularFixed64 uint64 `protobuf:"fixed64,88,opt,name=singular_fixed64,json=singularFixed64,proto3" json:"singular_fixed64,omitempty"`
- SingularSfixed32 int32 `protobuf:"fixed32,89,opt,name=singular_sfixed32,json=singularSfixed32,proto3" json:"singular_sfixed32,omitempty"`
- SingularSfixed64 int64 `protobuf:"fixed64,90,opt,name=singular_sfixed64,json=singularSfixed64,proto3" json:"singular_sfixed64,omitempty"`
- SingularFloat float32 `protobuf:"fixed32,91,opt,name=singular_float,json=singularFloat,proto3" json:"singular_float,omitempty"`
- SingularDouble float64 `protobuf:"fixed64,92,opt,name=singular_double,json=singularDouble,proto3" json:"singular_double,omitempty"`
- SingularBool bool `protobuf:"varint,93,opt,name=singular_bool,json=singularBool,proto3" json:"singular_bool,omitempty"`
- SingularString string `protobuf:"bytes,94,opt,name=singular_string,json=singularString,proto3" json:"singular_string,omitempty"`
- SingularBytes []byte `protobuf:"bytes,95,opt,name=singular_bytes,json=singularBytes,proto3" json:"singular_bytes,omitempty"`
- SingularNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,98,opt,name=singular_nested_message,json=singularNestedMessage,proto3" json:"singular_nested_message,omitempty"`
- SingularForeignMessage *ForeignMessage `protobuf:"bytes,99,opt,name=singular_foreign_message,json=singularForeignMessage,proto3" json:"singular_foreign_message,omitempty"`
- SingularImportMessage *ImportMessage `protobuf:"bytes,100,opt,name=singular_import_message,json=singularImportMessage,proto3" json:"singular_import_message,omitempty"`
- SingularNestedEnum TestAllTypes_NestedEnum `protobuf:"varint,101,opt,name=singular_nested_enum,json=singularNestedEnum,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum" json:"singular_nested_enum,omitempty"`
- SingularForeignEnum ForeignEnum `protobuf:"varint,102,opt,name=singular_foreign_enum,json=singularForeignEnum,proto3,enum=goproto.proto.test3.ForeignEnum" json:"singular_foreign_enum,omitempty"`
- SingularImportEnum ImportEnum `protobuf:"varint,103,opt,name=singular_import_enum,json=singularImportEnum,proto3,enum=goproto.proto.test3.ImportEnum" json:"singular_import_enum,omitempty"`
- OptionalInt32 *int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32,proto3,oneof" json:"optional_int32,omitempty"`
- OptionalInt64 *int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64,proto3,oneof" json:"optional_int64,omitempty"`
- OptionalUint32 *uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32,proto3,oneof" json:"optional_uint32,omitempty"`
- OptionalUint64 *uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64,proto3,oneof" json:"optional_uint64,omitempty"`
- OptionalSint32 *int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32,proto3,oneof" json:"optional_sint32,omitempty"`
- OptionalSint64 *int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64,proto3,oneof" json:"optional_sint64,omitempty"`
- OptionalFixed32 *uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32,proto3,oneof" json:"optional_fixed32,omitempty"`
- OptionalFixed64 *uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64,proto3,oneof" json:"optional_fixed64,omitempty"`
- OptionalSfixed32 *int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32,proto3,oneof" json:"optional_sfixed32,omitempty"`
- OptionalSfixed64 *int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64,proto3,oneof" json:"optional_sfixed64,omitempty"`
- OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat,proto3,oneof" json:"optional_float,omitempty"`
- OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble,proto3,oneof" json:"optional_double,omitempty"`
- OptionalBool *bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool,proto3,oneof" json:"optional_bool,omitempty"`
- OptionalString *string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString,proto3,oneof" json:"optional_string,omitempty"`
- OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes,proto3,oneof" json:"optional_bytes,omitempty"`
- OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage,proto3,oneof" json:"optional_nested_message,omitempty"`
- OptionalForeignMessage *ForeignMessage `protobuf:"bytes,19,opt,name=optional_foreign_message,json=optionalForeignMessage,proto3,oneof" json:"optional_foreign_message,omitempty"`
- OptionalImportMessage *ImportMessage `protobuf:"bytes,20,opt,name=optional_import_message,json=optionalImportMessage,proto3,oneof" json:"optional_import_message,omitempty"`
- OptionalNestedEnum *TestAllTypes_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum,oneof" json:"optional_nested_enum,omitempty"`
- OptionalForeignEnum *ForeignEnum `protobuf:"varint,22,opt,name=optional_foreign_enum,json=optionalForeignEnum,proto3,enum=goproto.proto.test3.ForeignEnum,oneof" json:"optional_foreign_enum,omitempty"`
- OptionalImportEnum *ImportEnum `protobuf:"varint,23,opt,name=optional_import_enum,json=optionalImportEnum,proto3,enum=goproto.proto.test3.ImportEnum,oneof" json:"optional_import_enum,omitempty"`
- RepeatedInt32 []int32 `protobuf:"varint,31,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"`
- RepeatedInt64 []int64 `protobuf:"varint,32,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"`
- RepeatedUint32 []uint32 `protobuf:"varint,33,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"`
- RepeatedUint64 []uint64 `protobuf:"varint,34,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"`
- RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"`
- RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"`
- RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"`
- RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"`
- RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"`
- RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"`
- RepeatedFloat []float32 `protobuf:"fixed32,41,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"`
- RepeatedDouble []float64 `protobuf:"fixed64,42,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"`
- RepeatedBool []bool `protobuf:"varint,43,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"`
- RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"`
- RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
- RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage,proto3" json:"repeated_nested_message,omitempty"`
- RepeatedForeignMessage []*ForeignMessage `protobuf:"bytes,49,rep,name=repeated_foreign_message,json=repeatedForeignMessage,proto3" json:"repeated_foreign_message,omitempty"`
- RepeatedImportmessage []*ImportMessage `protobuf:"bytes,50,rep,name=repeated_importmessage,json=repeatedImportmessage,proto3" json:"repeated_importmessage,omitempty"`
- RepeatedNestedEnum []TestAllTypes_NestedEnum `protobuf:"varint,51,rep,packed,name=repeated_nested_enum,json=repeatedNestedEnum,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum" json:"repeated_nested_enum,omitempty"`
- RepeatedForeignEnum []ForeignEnum `protobuf:"varint,52,rep,packed,name=repeated_foreign_enum,json=repeatedForeignEnum,proto3,enum=goproto.proto.test3.ForeignEnum" json:"repeated_foreign_enum,omitempty"`
- RepeatedImportenum []ImportEnum `protobuf:"varint,53,rep,packed,name=repeated_importenum,json=repeatedImportenum,proto3,enum=goproto.proto.test3.ImportEnum" json:"repeated_importenum,omitempty"`
- MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32,proto3" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapInt64Int64 map[int64]int64 `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64,proto3" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapUint32Uint32 map[uint32]uint32 `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32,proto3" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapUint64Uint64 map[uint64]uint64 `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64,proto3" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapSint32Sint32 map[int32]int32 `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32,proto3" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key,proto3" protobuf_val:"zigzag32,2,opt,name=value,proto3"`
- MapSint64Sint64 map[int64]int64 `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64,proto3" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key,proto3" protobuf_val:"zigzag64,2,opt,name=value,proto3"`
- MapFixed32Fixed32 map[uint32]uint32 `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32,proto3" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
- MapFixed64Fixed64 map[uint64]uint64 `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64,proto3" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- MapSfixed32Sfixed32 map[int32]int32 `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32,proto3" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
- MapSfixed64Sfixed64 map[int64]int64 `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64,proto3" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- MapInt32Float map[int32]float32 `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float,proto3" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
- MapInt32Double map[int32]float64 `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double,proto3" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
- MapBoolBool map[bool]bool `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool,proto3" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- MapStringString map[string]string `protobuf:"bytes,69,rep,name=map_string_string,json=mapStringString,proto3" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapStringBytes map[string][]byte `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes,proto3" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage,proto3" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- MapStringNestedEnum map[string]TestAllTypes_NestedEnum `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum,proto3" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum"`
- // Types that are assignable to OneofField:
- //
- // *TestAllTypes_OneofUint32
- // *TestAllTypes_OneofNestedMessage
- // *TestAllTypes_OneofString
- // *TestAllTypes_OneofBytes
- // *TestAllTypes_OneofBool
- // *TestAllTypes_OneofUint64
- // *TestAllTypes_OneofFloat
- // *TestAllTypes_OneofDouble
- // *TestAllTypes_OneofEnum
- OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"`
-}
-
-func (x *TestAllTypes) Reset() {
- *x = TestAllTypes{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test3_test_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestAllTypes) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestAllTypes) ProtoMessage() {}
-
-func (x *TestAllTypes) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test3_test_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestAllTypes.ProtoReflect.Descriptor instead.
-func (*TestAllTypes) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test3_test_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *TestAllTypes) GetSingularInt32() int32 {
- if x != nil {
- return x.SingularInt32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetSingularInt64() int64 {
- if x != nil {
- return x.SingularInt64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetSingularUint32() uint32 {
- if x != nil {
- return x.SingularUint32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetSingularUint64() uint64 {
- if x != nil {
- return x.SingularUint64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetSingularSint32() int32 {
- if x != nil {
- return x.SingularSint32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetSingularSint64() int64 {
- if x != nil {
- return x.SingularSint64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetSingularFixed32() uint32 {
- if x != nil {
- return x.SingularFixed32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetSingularFixed64() uint64 {
- if x != nil {
- return x.SingularFixed64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetSingularSfixed32() int32 {
- if x != nil {
- return x.SingularSfixed32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetSingularSfixed64() int64 {
- if x != nil {
- return x.SingularSfixed64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetSingularFloat() float32 {
- if x != nil {
- return x.SingularFloat
- }
- return 0
-}
-
-func (x *TestAllTypes) GetSingularDouble() float64 {
- if x != nil {
- return x.SingularDouble
- }
- return 0
-}
-
-func (x *TestAllTypes) GetSingularBool() bool {
- if x != nil {
- return x.SingularBool
- }
- return false
-}
-
-func (x *TestAllTypes) GetSingularString() string {
- if x != nil {
- return x.SingularString
- }
- return ""
-}
-
-func (x *TestAllTypes) GetSingularBytes() []byte {
- if x != nil {
- return x.SingularBytes
- }
- return nil
-}
-
-func (x *TestAllTypes) GetSingularNestedMessage() *TestAllTypes_NestedMessage {
- if x != nil {
- return x.SingularNestedMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetSingularForeignMessage() *ForeignMessage {
- if x != nil {
- return x.SingularForeignMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetSingularImportMessage() *ImportMessage {
- if x != nil {
- return x.SingularImportMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetSingularNestedEnum() TestAllTypes_NestedEnum {
- if x != nil {
- return x.SingularNestedEnum
- }
- return TestAllTypes_FOO
-}
-
-func (x *TestAllTypes) GetSingularForeignEnum() ForeignEnum {
- if x != nil {
- return x.SingularForeignEnum
- }
- return ForeignEnum_FOREIGN_ZERO
-}
-
-func (x *TestAllTypes) GetSingularImportEnum() ImportEnum {
- if x != nil {
- return x.SingularImportEnum
- }
- return ImportEnum_IMPORT_ZERO
-}
-
-func (x *TestAllTypes) GetOptionalInt32() int32 {
- if x != nil && x.OptionalInt32 != nil {
- return *x.OptionalInt32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalInt64() int64 {
- if x != nil && x.OptionalInt64 != nil {
- return *x.OptionalInt64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalUint32() uint32 {
- if x != nil && x.OptionalUint32 != nil {
- return *x.OptionalUint32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalUint64() uint64 {
- if x != nil && x.OptionalUint64 != nil {
- return *x.OptionalUint64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalSint32() int32 {
- if x != nil && x.OptionalSint32 != nil {
- return *x.OptionalSint32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalSint64() int64 {
- if x != nil && x.OptionalSint64 != nil {
- return *x.OptionalSint64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalFixed32() uint32 {
- if x != nil && x.OptionalFixed32 != nil {
- return *x.OptionalFixed32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalFixed64() uint64 {
- if x != nil && x.OptionalFixed64 != nil {
- return *x.OptionalFixed64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalSfixed32() int32 {
- if x != nil && x.OptionalSfixed32 != nil {
- return *x.OptionalSfixed32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalSfixed64() int64 {
- if x != nil && x.OptionalSfixed64 != nil {
- return *x.OptionalSfixed64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalFloat() float32 {
- if x != nil && x.OptionalFloat != nil {
- return *x.OptionalFloat
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalDouble() float64 {
- if x != nil && x.OptionalDouble != nil {
- return *x.OptionalDouble
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOptionalBool() bool {
- if x != nil && x.OptionalBool != nil {
- return *x.OptionalBool
- }
- return false
-}
-
-func (x *TestAllTypes) GetOptionalString() string {
- if x != nil && x.OptionalString != nil {
- return *x.OptionalString
- }
- return ""
-}
-
-func (x *TestAllTypes) GetOptionalBytes() []byte {
- if x != nil {
- return x.OptionalBytes
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage {
- if x != nil {
- return x.OptionalNestedMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage {
- if x != nil {
- return x.OptionalForeignMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOptionalImportMessage() *ImportMessage {
- if x != nil {
- return x.OptionalImportMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum {
- if x != nil && x.OptionalNestedEnum != nil {
- return *x.OptionalNestedEnum
- }
- return TestAllTypes_FOO
-}
-
-func (x *TestAllTypes) GetOptionalForeignEnum() ForeignEnum {
- if x != nil && x.OptionalForeignEnum != nil {
- return *x.OptionalForeignEnum
- }
- return ForeignEnum_FOREIGN_ZERO
-}
-
-func (x *TestAllTypes) GetOptionalImportEnum() ImportEnum {
- if x != nil && x.OptionalImportEnum != nil {
- return *x.OptionalImportEnum
- }
- return ImportEnum_IMPORT_ZERO
-}
-
-func (x *TestAllTypes) GetRepeatedInt32() []int32 {
- if x != nil {
- return x.RepeatedInt32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedInt64() []int64 {
- if x != nil {
- return x.RepeatedInt64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedUint32() []uint32 {
- if x != nil {
- return x.RepeatedUint32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedUint64() []uint64 {
- if x != nil {
- return x.RepeatedUint64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedSint32() []int32 {
- if x != nil {
- return x.RepeatedSint32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedSint64() []int64 {
- if x != nil {
- return x.RepeatedSint64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedFixed32() []uint32 {
- if x != nil {
- return x.RepeatedFixed32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedFixed64() []uint64 {
- if x != nil {
- return x.RepeatedFixed64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedSfixed32() []int32 {
- if x != nil {
- return x.RepeatedSfixed32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedSfixed64() []int64 {
- if x != nil {
- return x.RepeatedSfixed64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedFloat() []float32 {
- if x != nil {
- return x.RepeatedFloat
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedDouble() []float64 {
- if x != nil {
- return x.RepeatedDouble
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedBool() []bool {
- if x != nil {
- return x.RepeatedBool
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedString() []string {
- if x != nil {
- return x.RepeatedString
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedBytes() [][]byte {
- if x != nil {
- return x.RepeatedBytes
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage {
- if x != nil {
- return x.RepeatedNestedMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage {
- if x != nil {
- return x.RepeatedForeignMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedImportmessage() []*ImportMessage {
- if x != nil {
- return x.RepeatedImportmessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum {
- if x != nil {
- return x.RepeatedNestedEnum
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedForeignEnum() []ForeignEnum {
- if x != nil {
- return x.RepeatedForeignEnum
- }
- return nil
-}
-
-func (x *TestAllTypes) GetRepeatedImportenum() []ImportEnum {
- if x != nil {
- return x.RepeatedImportenum
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapInt32Int32() map[int32]int32 {
- if x != nil {
- return x.MapInt32Int32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapInt64Int64() map[int64]int64 {
- if x != nil {
- return x.MapInt64Int64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32 {
- if x != nil {
- return x.MapUint32Uint32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64 {
- if x != nil {
- return x.MapUint64Uint64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapSint32Sint32() map[int32]int32 {
- if x != nil {
- return x.MapSint32Sint32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapSint64Sint64() map[int64]int64 {
- if x != nil {
- return x.MapSint64Sint64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32 {
- if x != nil {
- return x.MapFixed32Fixed32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64 {
- if x != nil {
- return x.MapFixed64Fixed64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32 {
- if x != nil {
- return x.MapSfixed32Sfixed32
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64 {
- if x != nil {
- return x.MapSfixed64Sfixed64
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapInt32Float() map[int32]float32 {
- if x != nil {
- return x.MapInt32Float
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapInt32Double() map[int32]float64 {
- if x != nil {
- return x.MapInt32Double
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapBoolBool() map[bool]bool {
- if x != nil {
- return x.MapBoolBool
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapStringString() map[string]string {
- if x != nil {
- return x.MapStringString
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapStringBytes() map[string][]byte {
- if x != nil {
- return x.MapStringBytes
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage {
- if x != nil {
- return x.MapStringNestedMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum {
- if x != nil {
- return x.MapStringNestedEnum
- }
- return nil
-}
-
-func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField {
- if m != nil {
- return m.OneofField
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOneofUint32() uint32 {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofUint32); ok {
- return x.OneofUint32
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofNestedMessage); ok {
- return x.OneofNestedMessage
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOneofString() string {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (x *TestAllTypes) GetOneofBytes() []byte {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofBytes); ok {
- return x.OneofBytes
- }
- return nil
-}
-
-func (x *TestAllTypes) GetOneofBool() bool {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofBool); ok {
- return x.OneofBool
- }
- return false
-}
-
-func (x *TestAllTypes) GetOneofUint64() uint64 {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofUint64); ok {
- return x.OneofUint64
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOneofFloat() float32 {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofFloat); ok {
- return x.OneofFloat
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOneofDouble() float64 {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofDouble); ok {
- return x.OneofDouble
- }
- return 0
-}
-
-func (x *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum {
- if x, ok := x.GetOneofField().(*TestAllTypes_OneofEnum); ok {
- return x.OneofEnum
- }
- return TestAllTypes_FOO
-}
-
-type isTestAllTypes_OneofField interface {
- isTestAllTypes_OneofField()
-}
-
-type TestAllTypes_OneofUint32 struct {
- OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"`
-}
-
-type TestAllTypes_OneofNestedMessage struct {
- OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,proto3,oneof"`
-}
-
-type TestAllTypes_OneofString struct {
- OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,proto3,oneof"`
-}
-
-type TestAllTypes_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
-}
-
-type TestAllTypes_OneofBool struct {
- OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,proto3,oneof"`
-}
-
-type TestAllTypes_OneofUint64 struct {
- OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,proto3,oneof"`
-}
-
-type TestAllTypes_OneofFloat struct {
- OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,proto3,oneof"`
-}
-
-type TestAllTypes_OneofDouble struct {
- OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,proto3,oneof"`
-}
-
-type TestAllTypes_OneofEnum struct {
- OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum,oneof"`
-}
-
-func (*TestAllTypes_OneofUint32) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofNestedMessage) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofString) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofBytes) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofBool) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofUint64) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofFloat) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofDouble) isTestAllTypes_OneofField() {}
-
-func (*TestAllTypes_OneofEnum) isTestAllTypes_OneofField() {}
-
-type ForeignMessage struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- C int32 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"`
- D int32 `protobuf:"varint,2,opt,name=d,proto3" json:"d,omitempty"`
-}
-
-func (x *ForeignMessage) Reset() {
- *x = ForeignMessage{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test3_test_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ForeignMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ForeignMessage) ProtoMessage() {}
-
-func (x *ForeignMessage) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test3_test_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ForeignMessage.ProtoReflect.Descriptor instead.
-func (*ForeignMessage) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test3_test_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *ForeignMessage) GetC() int32 {
- if x != nil {
- return x.C
- }
- return 0
-}
-
-func (x *ForeignMessage) GetD() int32 {
- if x != nil {
- return x.D
- }
- return 0
-}
-
-type TestAllTypes_NestedMessage struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
- Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive,proto3" json:"corecursive,omitempty"`
-}
-
-func (x *TestAllTypes_NestedMessage) Reset() {
- *x = TestAllTypes_NestedMessage{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test3_test_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *TestAllTypes_NestedMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestAllTypes_NestedMessage) ProtoMessage() {}
-
-func (x *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test3_test_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead.
-func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test3_test_proto_rawDescGZIP(), []int{0, 0}
-}
-
-func (x *TestAllTypes_NestedMessage) GetA() int32 {
- if x != nil {
- return x.A
- }
- return 0
-}
-
-func (x *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes {
- if x != nil {
- return x.Corecursive
- }
- return nil
-}
-
-var File_internal_testprotos_test3_test_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_test3_test_proto_rawDesc = []byte{
- 0x0a, 0x24, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x1a, 0x2b, 0x69, 0x6e, 0x74,
- 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
- 0x2f, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6d, 0x70, 0x6f,
- 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x3c, 0x0a, 0x0c, 0x54, 0x65, 0x73,
- 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x69, 0x6e,
- 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x51, 0x20, 0x01, 0x28,
- 0x05, 0x52, 0x0d, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x49, 0x6e, 0x74, 0x33, 0x32,
- 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x74,
- 0x36, 0x34, 0x18, 0x52, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c,
- 0x61, 0x72, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x69, 0x6e, 0x67, 0x75,
- 0x6c, 0x61, 0x72, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x53, 0x20, 0x01, 0x28, 0x0d,
- 0x52, 0x0e, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32,
- 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x75, 0x69, 0x6e,
- 0x74, 0x36, 0x34, 0x18, 0x54, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x73, 0x69, 0x6e, 0x67, 0x75,
- 0x6c, 0x61, 0x72, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x69, 0x6e,
- 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x55, 0x20, 0x01,
- 0x28, 0x11, 0x52, 0x0e, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x53, 0x69, 0x6e, 0x74,
- 0x33, 0x32, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x73,
- 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x56, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0e, 0x73, 0x69, 0x6e,
- 0x67, 0x75, 0x6c, 0x61, 0x72, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x29, 0x0a, 0x10, 0x73,
- 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18,
- 0x57, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0f, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x46,
- 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c,
- 0x61, 0x72, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x58, 0x20, 0x01, 0x28, 0x06,
- 0x52, 0x0f, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36,
- 0x34, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x73, 0x66,
- 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x59, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x10, 0x73, 0x69,
- 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x2b,
- 0x0a, 0x11, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65,
- 0x64, 0x36, 0x34, 0x18, 0x5a, 0x20, 0x01, 0x28, 0x10, 0x52, 0x10, 0x73, 0x69, 0x6e, 0x67, 0x75,
- 0x6c, 0x61, 0x72, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x25, 0x0a, 0x0e, 0x73,
- 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x5b, 0x20,
- 0x01, 0x28, 0x02, 0x52, 0x0d, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x46, 0x6c, 0x6f,
- 0x61, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x64,
- 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x5c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x73, 0x69, 0x6e,
- 0x67, 0x75, 0x6c, 0x61, 0x72, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73,
- 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x5d, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x42, 0x6f, 0x6f, 0x6c,
- 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x73, 0x74, 0x72,
- 0x69, 0x6e, 0x67, 0x18, 0x5e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x69, 0x6e, 0x67, 0x75,
- 0x6c, 0x61, 0x72, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x69, 0x6e,
- 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x5f, 0x20, 0x01, 0x28,
- 0x0c, 0x52, 0x0d, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x42, 0x79, 0x74, 0x65, 0x73,
- 0x12, 0x67, 0x0a, 0x17, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x6e, 0x65, 0x73,
- 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x62, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54,
- 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x52, 0x15, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x4e, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x5d, 0x0a, 0x18, 0x73, 0x69, 0x6e,
- 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x63, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x33, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x52, 0x16, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67,
- 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x5a, 0x0a, 0x17, 0x73, 0x69, 0x6e, 0x67,
- 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e,
- 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x15, 0x73,
- 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x12, 0x5e, 0x0a, 0x14, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72,
- 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x65, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c,
- 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
- 0x52, 0x12, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
- 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x54, 0x0a, 0x15, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72,
- 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x66, 0x20,
- 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67,
- 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x13, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x46,
- 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x51, 0x0a, 0x14, 0x73, 0x69,
- 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65, 0x6e,
- 0x75, 0x6d, 0x18, 0x67, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x49,
- 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x12, 0x73, 0x69, 0x6e, 0x67, 0x75,
- 0x6c, 0x61, 0x72, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a,
- 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x88, 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x03, 0x48, 0x02, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74,
- 0x36, 0x34, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x03,
- 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32,
- 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f,
- 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x48, 0x04, 0x52, 0x0e,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x88, 0x01,
- 0x01, 0x12, 0x2c, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x69,
- 0x6e, 0x74, 0x33, 0x32, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x48, 0x05, 0x52, 0x0e, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x88, 0x01, 0x01, 0x12,
- 0x2c, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x6e, 0x74,
- 0x36, 0x34, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x48, 0x06, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a,
- 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33,
- 0x32, 0x18, 0x07, 0x20, 0x01, 0x28, 0x07, 0x48, 0x07, 0x52, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a,
- 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36,
- 0x34, 0x18, 0x08, 0x20, 0x01, 0x28, 0x06, 0x48, 0x08, 0x52, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x88, 0x01, 0x01, 0x12, 0x30, 0x0a,
- 0x11, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64,
- 0x33, 0x32, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0f, 0x48, 0x09, 0x52, 0x10, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x88, 0x01, 0x01, 0x12,
- 0x30, 0x0a, 0x11, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x36, 0x34, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x10, 0x48, 0x0a, 0x52, 0x10, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x88, 0x01,
- 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x6c,
- 0x6f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x48, 0x0b, 0x52, 0x0d, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a,
- 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65,
- 0x18, 0x0c, 0x20, 0x01, 0x28, 0x01, 0x48, 0x0c, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, 0x0d, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x0d, 0x20, 0x01,
- 0x28, 0x08, 0x48, 0x0d, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x6f,
- 0x6f, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x48, 0x0e,
- 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
- 0x88, 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f,
- 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x0f, 0x52, 0x0d, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01, 0x12,
- 0x6c, 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79,
- 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x48, 0x10, 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4e, 0x65, 0x73,
- 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x12, 0x62, 0x0a,
- 0x18, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67,
- 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x23, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x48, 0x11, 0x52, 0x16, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88, 0x01,
- 0x01, 0x12, 0x5f, 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6d,
- 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x14, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x12, 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88,
- 0x01, 0x01, 0x12, 0x63, 0x0a, 0x14, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6e,
- 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79,
- 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x13,
- 0x52, 0x12, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
- 0x45, 0x6e, 0x75, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x59, 0x0a, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
- 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x46, 0x6f, 0x72,
- 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x14, 0x52, 0x13, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x88,
- 0x01, 0x01, 0x12, 0x56, 0x0a, 0x14, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69,
- 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x75,
- 0x6d, 0x48, 0x15, 0x52, 0x12, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6d, 0x70,
- 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x1f, 0x20, 0x03,
- 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x33,
- 0x32, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e,
- 0x74, 0x36, 0x34, 0x18, 0x20, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61,
- 0x74, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65,
- 0x61, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x21, 0x20, 0x03, 0x28,
- 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x33,
- 0x32, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x69,
- 0x6e, 0x74, 0x36, 0x34, 0x18, 0x22, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x65,
- 0x61, 0x74, 0x65, 0x64, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x23, 0x20,
- 0x03, 0x28, 0x11, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, 0x6e,
- 0x74, 0x33, 0x32, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
- 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x24, 0x20, 0x03, 0x28, 0x12, 0x52, 0x0e, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x29, 0x0a, 0x10,
- 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32,
- 0x18, 0x25, 0x20, 0x03, 0x28, 0x07, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x65, 0x61,
- 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x26, 0x20, 0x03, 0x28,
- 0x06, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x78, 0x65, 0x64,
- 0x36, 0x34, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73,
- 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x27, 0x20, 0x03, 0x28, 0x0f, 0x52, 0x10, 0x72,
- 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12,
- 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x36, 0x34, 0x18, 0x28, 0x20, 0x03, 0x28, 0x10, 0x52, 0x10, 0x72, 0x65, 0x70, 0x65,
- 0x61, 0x74, 0x65, 0x64, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x25, 0x0a, 0x0e,
- 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x29,
- 0x20, 0x03, 0x28, 0x02, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x6c,
- 0x6f, 0x61, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
- 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x2a, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0e, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d,
- 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x2b, 0x20,
- 0x03, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6f, 0x6f,
- 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x74,
- 0x72, 0x69, 0x6e, 0x67, 0x18, 0x2c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x65,
- 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x2d, 0x20, 0x03,
- 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65,
- 0x73, 0x12, 0x67, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x30, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c,
- 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x52, 0x15, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x65, 0x73,
- 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x5d, 0x0a, 0x18, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x31, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67,
- 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73,
- 0x74, 0x33, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x52, 0x16, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x65, 0x69,
- 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x59, 0x0a, 0x16, 0x72, 0x65, 0x70,
- 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x18, 0x32, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e,
- 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x15, 0x72,
- 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x12, 0x5e, 0x0a, 0x14, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x33, 0x20, 0x03,
- 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c,
- 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
- 0x52, 0x12, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
- 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x54, 0x0a, 0x15, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x34, 0x20,
- 0x03, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67,
- 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x13, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46,
- 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x50, 0x0a, 0x13, 0x72, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x6e, 0x75,
- 0x6d, 0x18, 0x35, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x49, 0x6d,
- 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x12, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x5c, 0x0a, 0x0f,
- 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18,
- 0x38, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74,
- 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x33,
- 0x32, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6d, 0x61, 0x70,
- 0x49, 0x6e, 0x74, 0x33, 0x32, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x5c, 0x0a, 0x0f, 0x6d, 0x61,
- 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x39, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c,
- 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x49,
- 0x6e, 0x74, 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6d, 0x61, 0x70, 0x49, 0x6e,
- 0x74, 0x36, 0x34, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x62, 0x0a, 0x11, 0x6d, 0x61, 0x70, 0x5f,
- 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x3a, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c,
- 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32,
- 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x6d, 0x61, 0x70,
- 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x62, 0x0a, 0x11,
- 0x6d, 0x61, 0x70, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36,
- 0x34, 0x18, 0x3b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65,
- 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x55, 0x69,
- 0x6e, 0x74, 0x36, 0x34, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
- 0x0f, 0x6d, 0x61, 0x70, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34,
- 0x12, 0x62, 0x0a, 0x11, 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x73,
- 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x3c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d,
- 0x61, 0x70, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e,
- 0x74, 0x72, 0x79, 0x52, 0x0f, 0x6d, 0x61, 0x70, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x53, 0x69,
- 0x6e, 0x74, 0x33, 0x32, 0x12, 0x62, 0x0a, 0x11, 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x69, 0x6e, 0x74,
- 0x36, 0x34, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x3d, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x36, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70,
- 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x53, 0x69, 0x6e, 0x74,
- 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x6d, 0x61, 0x70, 0x53, 0x69, 0x6e, 0x74,
- 0x36, 0x34, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x68, 0x0a, 0x13, 0x6d, 0x61, 0x70, 0x5f,
- 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18,
- 0x3e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74,
- 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x78, 0x65,
- 0x64, 0x33, 0x32, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
- 0x11, 0x6d, 0x61, 0x70, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x46, 0x69, 0x78, 0x65, 0x64,
- 0x33, 0x32, 0x12, 0x68, 0x0a, 0x13, 0x6d, 0x61, 0x70, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36,
- 0x34, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x38, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70,
- 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x46, 0x69, 0x78,
- 0x65, 0x64, 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x6d, 0x61, 0x70, 0x46, 0x69,
- 0x78, 0x65, 0x64, 0x36, 0x34, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x6e, 0x0a, 0x15,
- 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x5f, 0x73, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x40, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d,
- 0x61, 0x70, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64,
- 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x6d, 0x61, 0x70, 0x53, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x33, 0x32, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x6e, 0x0a, 0x15,
- 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x5f, 0x73, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x41, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d,
- 0x61, 0x70, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64,
- 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x6d, 0x61, 0x70, 0x53, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x36, 0x34, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x5c, 0x0a, 0x0f,
- 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18,
- 0x42, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74,
- 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x33,
- 0x32, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6d, 0x61, 0x70,
- 0x49, 0x6e, 0x74, 0x33, 0x32, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x5f, 0x0a, 0x10, 0x6d, 0x61,
- 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x43,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41,
- 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x74, 0x33, 0x32,
- 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x6d, 0x61, 0x70,
- 0x49, 0x6e, 0x74, 0x33, 0x32, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x6d,
- 0x61, 0x70, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x44, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c,
- 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x42, 0x6f, 0x6f, 0x6c, 0x42, 0x6f, 0x6f,
- 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x6d, 0x61, 0x70, 0x42, 0x6f, 0x6f, 0x6c, 0x42,
- 0x6f, 0x6f, 0x6c, 0x12, 0x62, 0x0a, 0x11, 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
- 0x67, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x45, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36,
- 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74,
- 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65,
- 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x69, 0x6e,
- 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e,
- 0x67, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x5f, 0x0a, 0x10, 0x6d, 0x61, 0x70, 0x5f, 0x73,
- 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x46, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54,
- 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x42, 0x79,
- 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x72,
- 0x69, 0x6e, 0x67, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x78, 0x0a, 0x19, 0x6d, 0x61, 0x70, 0x5f,
- 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x47, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d,
- 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x16, 0x6d, 0x61, 0x70, 0x53,
- 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x12, 0x6f, 0x0a, 0x16, 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
- 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x49, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c,
- 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4e,
- 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13,
- 0x6d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45,
- 0x6e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x75, 0x69, 0x6e,
- 0x74, 0x33, 0x32, 0x18, 0x6f, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65,
- 0x6f, 0x66, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x63, 0x0a, 0x14, 0x6f, 0x6e, 0x65, 0x6f,
- 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x18, 0x70, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73,
- 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x12, 0x6f, 0x6e, 0x65, 0x6f, 0x66,
- 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a,
- 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x71, 0x20,
- 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x53, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x12, 0x21, 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x62, 0x79, 0x74, 0x65,
- 0x73, 0x18, 0x72, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66,
- 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x62,
- 0x6f, 0x6f, 0x6c, 0x18, 0x73, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x6f, 0x6e, 0x65,
- 0x6f, 0x66, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x23, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f,
- 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x74, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b,
- 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x21, 0x0a, 0x0b, 0x6f,
- 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x75, 0x20, 0x01, 0x28, 0x02,
- 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x23,
- 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x76,
- 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x6f, 0x75,
- 0x62, 0x6c, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x65, 0x6e, 0x75,
- 0x6d, 0x18, 0x77, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65,
- 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
- 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x00, 0x52, 0x09, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x45, 0x6e,
- 0x75, 0x6d, 0x1a, 0x62, 0x0a, 0x0d, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01,
- 0x61, 0x12, 0x43, 0x0a, 0x0b, 0x63, 0x6f, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73,
- 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x0b, 0x63, 0x6f, 0x72, 0x65, 0x63,
- 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x1a, 0x40, 0x0a, 0x12, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x74,
- 0x33, 0x32, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
- 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
- 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x4d, 0x61, 0x70, 0x49,
- 0x6e, 0x74, 0x36, 0x34, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
- 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79,
- 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x4d, 0x61,
- 0x70, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74,
- 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
- 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42,
- 0x0a, 0x14, 0x4d, 0x61, 0x70, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x55, 0x69, 0x6e, 0x74, 0x36,
- 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
- 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x4d, 0x61, 0x70, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x53,
- 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
- 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x4d, 0x61, 0x70, 0x53, 0x69, 0x6e,
- 0x74, 0x36, 0x34, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
- 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x03, 0x6b, 0x65, 0x79,
- 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, 0x4d, 0x61,
- 0x70, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x45,
- 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x07, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x07, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
- 0x1a, 0x44, 0x0a, 0x16, 0x4d, 0x61, 0x70, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x46, 0x69,
- 0x78, 0x65, 0x64, 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
- 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x06, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x06, 0x52, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x46, 0x0a, 0x18, 0x4d, 0x61, 0x70, 0x53, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x33, 0x32, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x45, 0x6e, 0x74,
- 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0f, 0x52,
- 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x46,
- 0x0a, 0x18, 0x4d, 0x61, 0x70, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x53, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x36, 0x34, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
- 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x10, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x10, 0x52, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x4d, 0x61, 0x70, 0x49, 0x6e, 0x74,
- 0x33, 0x32, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
- 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
- 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x41, 0x0a, 0x13, 0x4d, 0x61, 0x70, 0x49,
- 0x6e, 0x74, 0x33, 0x32, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
- 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65,
- 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01,
- 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x10, 0x4d,
- 0x61, 0x70, 0x42, 0x6f, 0x6f, 0x6c, 0x42, 0x6f, 0x6f, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
- 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x6b, 0x65,
- 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x14, 0x4d,
- 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x6e,
- 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a,
- 0x41, 0x0a, 0x13, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x42, 0x79, 0x74, 0x65,
- 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
- 0x38, 0x01, 0x1a, 0x7a, 0x0a, 0x1b, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4e,
- 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
- 0x6b, 0x65, 0x79, 0x12, 0x45, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c,
- 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x74,
- 0x0a, 0x18, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4e, 0x65, 0x73, 0x74, 0x65,
- 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
- 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
- 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4e,
- 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x3a, 0x02, 0x38, 0x01, 0x22, 0x39, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e,
- 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x46, 0x4f, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x42,
- 0x41, 0x52, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x42, 0x41, 0x5a, 0x10, 0x02, 0x12, 0x10, 0x0a,
- 0x03, 0x4e, 0x45, 0x47, 0x10, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x42,
- 0x0d, 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x11,
- 0x0a, 0x0f, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x33,
- 0x32, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69,
- 0x6e, 0x74, 0x36, 0x34, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x42, 0x12, 0x0a, 0x10,
- 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32,
- 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x69,
- 0x6e, 0x74, 0x36, 0x34, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x42, 0x14,
- 0x0a, 0x12, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x33, 0x32, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x42, 0x12, 0x0a,
- 0x10, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c,
- 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x62,
- 0x6f, 0x6f, 0x6c, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x42, 0x1a, 0x0a, 0x18, 0x5f, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x1b, 0x0a, 0x19, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x42, 0x1a, 0x0a, 0x18, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42,
- 0x17, 0x0a, 0x15, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x65, 0x73,
- 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x42, 0x18, 0x0a, 0x16, 0x5f, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x65, 0x6e,
- 0x75, 0x6d, 0x42, 0x17, 0x0a, 0x15, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f,
- 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x22, 0x2c, 0x0a, 0x0e, 0x46,
- 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0c, 0x0a,
- 0x01, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x63, 0x12, 0x0c, 0x0a, 0x01, 0x64,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x64, 0x2a, 0x52, 0x0a, 0x0b, 0x46, 0x6f, 0x72,
- 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x4f, 0x52, 0x45,
- 0x49, 0x47, 0x4e, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x46, 0x4f,
- 0x52, 0x45, 0x49, 0x47, 0x4e, 0x5f, 0x46, 0x4f, 0x4f, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x46,
- 0x4f, 0x52, 0x45, 0x49, 0x47, 0x4e, 0x5f, 0x42, 0x41, 0x52, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b,
- 0x46, 0x4f, 0x52, 0x45, 0x49, 0x47, 0x4e, 0x5f, 0x42, 0x41, 0x5a, 0x10, 0x06, 0x42, 0x36, 0x5a,
- 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
- 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65,
- 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f,
- 0x74, 0x65, 0x73, 0x74, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_internal_testprotos_test3_test_proto_rawDescOnce sync.Once
- file_internal_testprotos_test3_test_proto_rawDescData = file_internal_testprotos_test3_test_proto_rawDesc
-)
-
-func file_internal_testprotos_test3_test_proto_rawDescGZIP() []byte {
- file_internal_testprotos_test3_test_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_test3_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_test3_test_proto_rawDescData)
- })
- return file_internal_testprotos_test3_test_proto_rawDescData
-}
-
-var file_internal_testprotos_test3_test_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
-var file_internal_testprotos_test3_test_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
-var file_internal_testprotos_test3_test_proto_goTypes = []interface{}{
- (ForeignEnum)(0), // 0: goproto.proto.test3.ForeignEnum
- (TestAllTypes_NestedEnum)(0), // 1: goproto.proto.test3.TestAllTypes.NestedEnum
- (*TestAllTypes)(nil), // 2: goproto.proto.test3.TestAllTypes
- (*ForeignMessage)(nil), // 3: goproto.proto.test3.ForeignMessage
- (*TestAllTypes_NestedMessage)(nil), // 4: goproto.proto.test3.TestAllTypes.NestedMessage
- nil, // 5: goproto.proto.test3.TestAllTypes.MapInt32Int32Entry
- nil, // 6: goproto.proto.test3.TestAllTypes.MapInt64Int64Entry
- nil, // 7: goproto.proto.test3.TestAllTypes.MapUint32Uint32Entry
- nil, // 8: goproto.proto.test3.TestAllTypes.MapUint64Uint64Entry
- nil, // 9: goproto.proto.test3.TestAllTypes.MapSint32Sint32Entry
- nil, // 10: goproto.proto.test3.TestAllTypes.MapSint64Sint64Entry
- nil, // 11: goproto.proto.test3.TestAllTypes.MapFixed32Fixed32Entry
- nil, // 12: goproto.proto.test3.TestAllTypes.MapFixed64Fixed64Entry
- nil, // 13: goproto.proto.test3.TestAllTypes.MapSfixed32Sfixed32Entry
- nil, // 14: goproto.proto.test3.TestAllTypes.MapSfixed64Sfixed64Entry
- nil, // 15: goproto.proto.test3.TestAllTypes.MapInt32FloatEntry
- nil, // 16: goproto.proto.test3.TestAllTypes.MapInt32DoubleEntry
- nil, // 17: goproto.proto.test3.TestAllTypes.MapBoolBoolEntry
- nil, // 18: goproto.proto.test3.TestAllTypes.MapStringStringEntry
- nil, // 19: goproto.proto.test3.TestAllTypes.MapStringBytesEntry
- nil, // 20: goproto.proto.test3.TestAllTypes.MapStringNestedMessageEntry
- nil, // 21: goproto.proto.test3.TestAllTypes.MapStringNestedEnumEntry
- (*ImportMessage)(nil), // 22: goproto.proto.test3.ImportMessage
- (ImportEnum)(0), // 23: goproto.proto.test3.ImportEnum
-}
-var file_internal_testprotos_test3_test_proto_depIdxs = []int32{
- 4, // 0: goproto.proto.test3.TestAllTypes.singular_nested_message:type_name -> goproto.proto.test3.TestAllTypes.NestedMessage
- 3, // 1: goproto.proto.test3.TestAllTypes.singular_foreign_message:type_name -> goproto.proto.test3.ForeignMessage
- 22, // 2: goproto.proto.test3.TestAllTypes.singular_import_message:type_name -> goproto.proto.test3.ImportMessage
- 1, // 3: goproto.proto.test3.TestAllTypes.singular_nested_enum:type_name -> goproto.proto.test3.TestAllTypes.NestedEnum
- 0, // 4: goproto.proto.test3.TestAllTypes.singular_foreign_enum:type_name -> goproto.proto.test3.ForeignEnum
- 23, // 5: goproto.proto.test3.TestAllTypes.singular_import_enum:type_name -> goproto.proto.test3.ImportEnum
- 4, // 6: goproto.proto.test3.TestAllTypes.optional_nested_message:type_name -> goproto.proto.test3.TestAllTypes.NestedMessage
- 3, // 7: goproto.proto.test3.TestAllTypes.optional_foreign_message:type_name -> goproto.proto.test3.ForeignMessage
- 22, // 8: goproto.proto.test3.TestAllTypes.optional_import_message:type_name -> goproto.proto.test3.ImportMessage
- 1, // 9: goproto.proto.test3.TestAllTypes.optional_nested_enum:type_name -> goproto.proto.test3.TestAllTypes.NestedEnum
- 0, // 10: goproto.proto.test3.TestAllTypes.optional_foreign_enum:type_name -> goproto.proto.test3.ForeignEnum
- 23, // 11: goproto.proto.test3.TestAllTypes.optional_import_enum:type_name -> goproto.proto.test3.ImportEnum
- 4, // 12: goproto.proto.test3.TestAllTypes.repeated_nested_message:type_name -> goproto.proto.test3.TestAllTypes.NestedMessage
- 3, // 13: goproto.proto.test3.TestAllTypes.repeated_foreign_message:type_name -> goproto.proto.test3.ForeignMessage
- 22, // 14: goproto.proto.test3.TestAllTypes.repeated_importmessage:type_name -> goproto.proto.test3.ImportMessage
- 1, // 15: goproto.proto.test3.TestAllTypes.repeated_nested_enum:type_name -> goproto.proto.test3.TestAllTypes.NestedEnum
- 0, // 16: goproto.proto.test3.TestAllTypes.repeated_foreign_enum:type_name -> goproto.proto.test3.ForeignEnum
- 23, // 17: goproto.proto.test3.TestAllTypes.repeated_importenum:type_name -> goproto.proto.test3.ImportEnum
- 5, // 18: goproto.proto.test3.TestAllTypes.map_int32_int32:type_name -> goproto.proto.test3.TestAllTypes.MapInt32Int32Entry
- 6, // 19: goproto.proto.test3.TestAllTypes.map_int64_int64:type_name -> goproto.proto.test3.TestAllTypes.MapInt64Int64Entry
- 7, // 20: goproto.proto.test3.TestAllTypes.map_uint32_uint32:type_name -> goproto.proto.test3.TestAllTypes.MapUint32Uint32Entry
- 8, // 21: goproto.proto.test3.TestAllTypes.map_uint64_uint64:type_name -> goproto.proto.test3.TestAllTypes.MapUint64Uint64Entry
- 9, // 22: goproto.proto.test3.TestAllTypes.map_sint32_sint32:type_name -> goproto.proto.test3.TestAllTypes.MapSint32Sint32Entry
- 10, // 23: goproto.proto.test3.TestAllTypes.map_sint64_sint64:type_name -> goproto.proto.test3.TestAllTypes.MapSint64Sint64Entry
- 11, // 24: goproto.proto.test3.TestAllTypes.map_fixed32_fixed32:type_name -> goproto.proto.test3.TestAllTypes.MapFixed32Fixed32Entry
- 12, // 25: goproto.proto.test3.TestAllTypes.map_fixed64_fixed64:type_name -> goproto.proto.test3.TestAllTypes.MapFixed64Fixed64Entry
- 13, // 26: goproto.proto.test3.TestAllTypes.map_sfixed32_sfixed32:type_name -> goproto.proto.test3.TestAllTypes.MapSfixed32Sfixed32Entry
- 14, // 27: goproto.proto.test3.TestAllTypes.map_sfixed64_sfixed64:type_name -> goproto.proto.test3.TestAllTypes.MapSfixed64Sfixed64Entry
- 15, // 28: goproto.proto.test3.TestAllTypes.map_int32_float:type_name -> goproto.proto.test3.TestAllTypes.MapInt32FloatEntry
- 16, // 29: goproto.proto.test3.TestAllTypes.map_int32_double:type_name -> goproto.proto.test3.TestAllTypes.MapInt32DoubleEntry
- 17, // 30: goproto.proto.test3.TestAllTypes.map_bool_bool:type_name -> goproto.proto.test3.TestAllTypes.MapBoolBoolEntry
- 18, // 31: goproto.proto.test3.TestAllTypes.map_string_string:type_name -> goproto.proto.test3.TestAllTypes.MapStringStringEntry
- 19, // 32: goproto.proto.test3.TestAllTypes.map_string_bytes:type_name -> goproto.proto.test3.TestAllTypes.MapStringBytesEntry
- 20, // 33: goproto.proto.test3.TestAllTypes.map_string_nested_message:type_name -> goproto.proto.test3.TestAllTypes.MapStringNestedMessageEntry
- 21, // 34: goproto.proto.test3.TestAllTypes.map_string_nested_enum:type_name -> goproto.proto.test3.TestAllTypes.MapStringNestedEnumEntry
- 4, // 35: goproto.proto.test3.TestAllTypes.oneof_nested_message:type_name -> goproto.proto.test3.TestAllTypes.NestedMessage
- 1, // 36: goproto.proto.test3.TestAllTypes.oneof_enum:type_name -> goproto.proto.test3.TestAllTypes.NestedEnum
- 2, // 37: goproto.proto.test3.TestAllTypes.NestedMessage.corecursive:type_name -> goproto.proto.test3.TestAllTypes
- 4, // 38: goproto.proto.test3.TestAllTypes.MapStringNestedMessageEntry.value:type_name -> goproto.proto.test3.TestAllTypes.NestedMessage
- 1, // 39: goproto.proto.test3.TestAllTypes.MapStringNestedEnumEntry.value:type_name -> goproto.proto.test3.TestAllTypes.NestedEnum
- 40, // [40:40] is the sub-list for method output_type
- 40, // [40:40] is the sub-list for method input_type
- 40, // [40:40] is the sub-list for extension type_name
- 40, // [40:40] is the sub-list for extension extendee
- 0, // [0:40] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_test3_test_proto_init() }
-func file_internal_testprotos_test3_test_proto_init() {
- if File_internal_testprotos_test3_test_proto != nil {
- return
- }
- file_internal_testprotos_test3_test_import_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_test3_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestAllTypes); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test3_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ForeignMessage); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_test3_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TestAllTypes_NestedMessage); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_internal_testprotos_test3_test_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*TestAllTypes_OneofUint32)(nil),
- (*TestAllTypes_OneofNestedMessage)(nil),
- (*TestAllTypes_OneofString)(nil),
- (*TestAllTypes_OneofBytes)(nil),
- (*TestAllTypes_OneofBool)(nil),
- (*TestAllTypes_OneofUint64)(nil),
- (*TestAllTypes_OneofFloat)(nil),
- (*TestAllTypes_OneofDouble)(nil),
- (*TestAllTypes_OneofEnum)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_test3_test_proto_rawDesc,
- NumEnums: 2,
- NumMessages: 20,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_test3_test_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_test3_test_proto_depIdxs,
- EnumInfos: file_internal_testprotos_test3_test_proto_enumTypes,
- MessageInfos: file_internal_testprotos_test3_test_proto_msgTypes,
- }.Build()
- File_internal_testprotos_test3_test_proto = out.File
- file_internal_testprotos_test3_test_proto_rawDesc = nil
- file_internal_testprotos_test3_test_proto_goTypes = nil
- file_internal_testprotos_test3_test_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/test3/test_extension.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/test3/test_extension.pb.go
deleted file mode 100644
index 3105af8204..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/test3/test_extension.pb.go
+++ /dev/null
@@ -1,650 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/test3/test_extension.proto
-
-package test3
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
-)
-
-var file_internal_testprotos_test3_test_extension_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*int32)(nil),
- Field: 1001,
- Name: "goproto.proto.test3.optional_int32",
- Tag: "varint,1001,opt,name=optional_int32",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*int64)(nil),
- Field: 1002,
- Name: "goproto.proto.test3.optional_int64",
- Tag: "varint,1002,opt,name=optional_int64",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 1003,
- Name: "goproto.proto.test3.optional_uint32",
- Tag: "varint,1003,opt,name=optional_uint32",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 1004,
- Name: "goproto.proto.test3.optional_uint64",
- Tag: "varint,1004,opt,name=optional_uint64",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*int32)(nil),
- Field: 1005,
- Name: "goproto.proto.test3.optional_sint32",
- Tag: "zigzag32,1005,opt,name=optional_sint32",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*int64)(nil),
- Field: 1006,
- Name: "goproto.proto.test3.optional_sint64",
- Tag: "zigzag64,1006,opt,name=optional_sint64",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 1007,
- Name: "goproto.proto.test3.optional_fixed32",
- Tag: "fixed32,1007,opt,name=optional_fixed32",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 1008,
- Name: "goproto.proto.test3.optional_fixed64",
- Tag: "fixed64,1008,opt,name=optional_fixed64",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*int32)(nil),
- Field: 1009,
- Name: "goproto.proto.test3.optional_sfixed32",
- Tag: "fixed32,1009,opt,name=optional_sfixed32",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*int64)(nil),
- Field: 1010,
- Name: "goproto.proto.test3.optional_sfixed64",
- Tag: "fixed64,1010,opt,name=optional_sfixed64",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*float32)(nil),
- Field: 1011,
- Name: "goproto.proto.test3.optional_float",
- Tag: "fixed32,1011,opt,name=optional_float",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*float64)(nil),
- Field: 1012,
- Name: "goproto.proto.test3.optional_double",
- Tag: "fixed64,1012,opt,name=optional_double",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 1013,
- Name: "goproto.proto.test3.optional_bool",
- Tag: "varint,1013,opt,name=optional_bool",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*string)(nil),
- Field: 1014,
- Name: "goproto.proto.test3.optional_string",
- Tag: "bytes,1014,opt,name=optional_string",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 1015,
- Name: "goproto.proto.test3.optional_bytes",
- Tag: "bytes,1015,opt,name=optional_bytes",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*ForeignMessage)(nil),
- Field: 1016,
- Name: "goproto.proto.test3.optional_foreign_message",
- Tag: "bytes,1016,opt,name=optional_foreign_message",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*ForeignEnum)(nil),
- Field: 1017,
- Name: "goproto.proto.test3.optional_foreign_enum",
- Tag: "varint,1017,opt,name=optional_foreign_enum,enum=goproto.proto.test3.ForeignEnum",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*int32)(nil),
- Field: 2001,
- Name: "goproto.proto.test3.optional_optional_int32",
- Tag: "varint,2001,opt,name=optional_optional_int32",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*int64)(nil),
- Field: 2002,
- Name: "goproto.proto.test3.optional_optional_int64",
- Tag: "varint,2002,opt,name=optional_optional_int64",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 2003,
- Name: "goproto.proto.test3.optional_optional_uint32",
- Tag: "varint,2003,opt,name=optional_optional_uint32",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 2004,
- Name: "goproto.proto.test3.optional_optional_uint64",
- Tag: "varint,2004,opt,name=optional_optional_uint64",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*int32)(nil),
- Field: 2005,
- Name: "goproto.proto.test3.optional_optional_sint32",
- Tag: "zigzag32,2005,opt,name=optional_optional_sint32",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*int64)(nil),
- Field: 2006,
- Name: "goproto.proto.test3.optional_optional_sint64",
- Tag: "zigzag64,2006,opt,name=optional_optional_sint64",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*uint32)(nil),
- Field: 2007,
- Name: "goproto.proto.test3.optional_optional_fixed32",
- Tag: "fixed32,2007,opt,name=optional_optional_fixed32",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*uint64)(nil),
- Field: 2008,
- Name: "goproto.proto.test3.optional_optional_fixed64",
- Tag: "fixed64,2008,opt,name=optional_optional_fixed64",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*int32)(nil),
- Field: 2009,
- Name: "goproto.proto.test3.optional_optional_sfixed32",
- Tag: "fixed32,2009,opt,name=optional_optional_sfixed32",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*int64)(nil),
- Field: 2010,
- Name: "goproto.proto.test3.optional_optional_sfixed64",
- Tag: "fixed64,2010,opt,name=optional_optional_sfixed64",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*float32)(nil),
- Field: 2011,
- Name: "goproto.proto.test3.optional_optional_float",
- Tag: "fixed32,2011,opt,name=optional_optional_float",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*float64)(nil),
- Field: 2012,
- Name: "goproto.proto.test3.optional_optional_double",
- Tag: "fixed64,2012,opt,name=optional_optional_double",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 2013,
- Name: "goproto.proto.test3.optional_optional_bool",
- Tag: "varint,2013,opt,name=optional_optional_bool",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*string)(nil),
- Field: 2014,
- Name: "goproto.proto.test3.optional_optional_string",
- Tag: "bytes,2014,opt,name=optional_optional_string",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: ([]byte)(nil),
- Field: 2015,
- Name: "goproto.proto.test3.optional_optional_bytes",
- Tag: "bytes,2015,opt,name=optional_optional_bytes",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*ForeignMessage)(nil),
- Field: 2016,
- Name: "goproto.proto.test3.optional_optional_foreign_message",
- Tag: "bytes,2016,opt,name=optional_optional_foreign_message",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*ForeignEnum)(nil),
- Field: 2017,
- Name: "goproto.proto.test3.optional_optional_foreign_enum",
- Tag: "varint,2017,opt,name=optional_optional_foreign_enum,enum=goproto.proto.test3.ForeignEnum",
- Filename: "internal/testprotos/test3/test_extension.proto",
- },
-}
-
-// Extension fields to descriptorpb.MessageOptions.
-var (
- // optional int32 optional_int32 = 1001;
- E_OptionalInt32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[0]
- // optional int64 optional_int64 = 1002;
- E_OptionalInt64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[1]
- // optional uint32 optional_uint32 = 1003;
- E_OptionalUint32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[2]
- // optional uint64 optional_uint64 = 1004;
- E_OptionalUint64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[3]
- // optional sint32 optional_sint32 = 1005;
- E_OptionalSint32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[4]
- // optional sint64 optional_sint64 = 1006;
- E_OptionalSint64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[5]
- // optional fixed32 optional_fixed32 = 1007;
- E_OptionalFixed32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[6]
- // optional fixed64 optional_fixed64 = 1008;
- E_OptionalFixed64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[7]
- // optional sfixed32 optional_sfixed32 = 1009;
- E_OptionalSfixed32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[8]
- // optional sfixed64 optional_sfixed64 = 1010;
- E_OptionalSfixed64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[9]
- // optional float optional_float = 1011;
- E_OptionalFloat = &file_internal_testprotos_test3_test_extension_proto_extTypes[10]
- // optional double optional_double = 1012;
- E_OptionalDouble = &file_internal_testprotos_test3_test_extension_proto_extTypes[11]
- // optional bool optional_bool = 1013;
- E_OptionalBool = &file_internal_testprotos_test3_test_extension_proto_extTypes[12]
- // optional string optional_string = 1014;
- E_OptionalString = &file_internal_testprotos_test3_test_extension_proto_extTypes[13]
- // optional bytes optional_bytes = 1015;
- E_OptionalBytes = &file_internal_testprotos_test3_test_extension_proto_extTypes[14]
- // optional goproto.proto.test3.ForeignMessage optional_foreign_message = 1016;
- E_OptionalForeignMessage = &file_internal_testprotos_test3_test_extension_proto_extTypes[15]
- // optional goproto.proto.test3.ForeignEnum optional_foreign_enum = 1017;
- E_OptionalForeignEnum = &file_internal_testprotos_test3_test_extension_proto_extTypes[16]
- // optional int32 optional_optional_int32 = 2001;
- E_OptionalOptionalInt32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[17]
- // optional int64 optional_optional_int64 = 2002;
- E_OptionalOptionalInt64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[18]
- // optional uint32 optional_optional_uint32 = 2003;
- E_OptionalOptionalUint32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[19]
- // optional uint64 optional_optional_uint64 = 2004;
- E_OptionalOptionalUint64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[20]
- // optional sint32 optional_optional_sint32 = 2005;
- E_OptionalOptionalSint32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[21]
- // optional sint64 optional_optional_sint64 = 2006;
- E_OptionalOptionalSint64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[22]
- // optional fixed32 optional_optional_fixed32 = 2007;
- E_OptionalOptionalFixed32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[23]
- // optional fixed64 optional_optional_fixed64 = 2008;
- E_OptionalOptionalFixed64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[24]
- // optional sfixed32 optional_optional_sfixed32 = 2009;
- E_OptionalOptionalSfixed32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[25]
- // optional sfixed64 optional_optional_sfixed64 = 2010;
- E_OptionalOptionalSfixed64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[26]
- // optional float optional_optional_float = 2011;
- E_OptionalOptionalFloat = &file_internal_testprotos_test3_test_extension_proto_extTypes[27]
- // optional double optional_optional_double = 2012;
- E_OptionalOptionalDouble = &file_internal_testprotos_test3_test_extension_proto_extTypes[28]
- // optional bool optional_optional_bool = 2013;
- E_OptionalOptionalBool = &file_internal_testprotos_test3_test_extension_proto_extTypes[29]
- // optional string optional_optional_string = 2014;
- E_OptionalOptionalString = &file_internal_testprotos_test3_test_extension_proto_extTypes[30]
- // optional bytes optional_optional_bytes = 2015;
- E_OptionalOptionalBytes = &file_internal_testprotos_test3_test_extension_proto_extTypes[31]
- // optional goproto.proto.test3.ForeignMessage optional_optional_foreign_message = 2016;
- E_OptionalOptionalForeignMessage = &file_internal_testprotos_test3_test_extension_proto_extTypes[32]
- // optional goproto.proto.test3.ForeignEnum optional_optional_foreign_enum = 2017;
- E_OptionalOptionalForeignEnum = &file_internal_testprotos_test3_test_extension_proto_extTypes[33]
-)
-
-var File_internal_testprotos_test3_test_extension_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_test3_test_extension_proto_rawDesc = []byte{
- 0x0a, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74,
- 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x12, 0x13, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
- 0x74, 0x65, 0x73, 0x74, 0x33, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
- 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61,
- 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73,
- 0x74, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x47, 0x0a,
- 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
- 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x3a, 0x47, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x3a,
- 0x49, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x69, 0x6e, 0x74,
- 0x33, 0x32, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x18, 0xeb, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x3a, 0x49, 0x0a, 0x0f, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xec,
- 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55,
- 0x69, 0x6e, 0x74, 0x36, 0x34, 0x3a, 0x49, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xed, 0x07, 0x20, 0x01, 0x28, 0x11,
- 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32,
- 0x3a, 0x49, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x6e,
- 0x74, 0x36, 0x34, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xee, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0e, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x3a, 0x4b, 0x0a, 0x10, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12,
- 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0xef, 0x07, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x3a, 0x4b, 0x0a, 0x10, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1f, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf0, 0x07,
- 0x20, 0x01, 0x28, 0x06, 0x52, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69,
- 0x78, 0x65, 0x64, 0x36, 0x34, 0x3a, 0x4d, 0x0a, 0x11, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf1, 0x07, 0x20, 0x01,
- 0x28, 0x0f, 0x52, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x33, 0x32, 0x3a, 0x4d, 0x0a, 0x11, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf2, 0x07, 0x20, 0x01, 0x28,
- 0x10, 0x52, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x66, 0x69, 0x78, 0x65,
- 0x64, 0x36, 0x34, 0x3a, 0x47, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f,
- 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf3, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x3a, 0x49, 0x0a, 0x0f,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12,
- 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0xf4, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x3a, 0x45, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf5, 0x07, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x6f, 0x6f, 0x6c, 0x3a, 0x49,
- 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
- 0x67, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0xf6, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x47, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf7, 0x07, 0x20,
- 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x79, 0x74,
- 0x65, 0x73, 0x3a, 0x7f, 0x0a, 0x18, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66,
- 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
- 0xf8, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x46, 0x6f, 0x72,
- 0x65, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x16, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x3a, 0x76, 0x0a, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f,
- 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x1f, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf9, 0x07,
- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69,
- 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x13, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x5b, 0x0a, 0x17, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd1, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x49, 0x6e, 0x74, 0x33, 0x32, 0x88, 0x01, 0x01, 0x3a, 0x5b, 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x6e,
- 0x74, 0x36, 0x34, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd2, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x49, 0x6e, 0x74,
- 0x36, 0x34, 0x88, 0x01, 0x01, 0x3a, 0x5d, 0x0a, 0x18, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33,
- 0x32, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0xd3, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x69, 0x6e, 0x74, 0x33,
- 0x32, 0x88, 0x01, 0x01, 0x3a, 0x5d, 0x0a, 0x18, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34,
- 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0xd4, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x16, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34,
- 0x88, 0x01, 0x01, 0x3a, 0x5d, 0x0a, 0x18, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
- 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0xd5, 0x0f, 0x20, 0x01, 0x28, 0x11, 0x52, 0x16, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x88,
- 0x01, 0x01, 0x3a, 0x5d, 0x0a, 0x18, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
- 0xd6, 0x0f, 0x20, 0x01, 0x28, 0x12, 0x52, 0x16, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x88, 0x01,
- 0x01, 0x3a, 0x5f, 0x0a, 0x19, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
- 0xd7, 0x0f, 0x20, 0x01, 0x28, 0x07, 0x52, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x88,
- 0x01, 0x01, 0x3a, 0x5f, 0x0a, 0x19, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12,
- 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0xd8, 0x0f, 0x20, 0x01, 0x28, 0x06, 0x52, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
- 0x88, 0x01, 0x01, 0x3a, 0x61, 0x0a, 0x1a, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33,
- 0x32, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0xd9, 0x0f, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x18, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x66, 0x69, 0x78, 0x65,
- 0x64, 0x33, 0x32, 0x88, 0x01, 0x01, 0x3a, 0x61, 0x0a, 0x1a, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x36, 0x34, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xda, 0x0f, 0x20, 0x01, 0x28, 0x10, 0x52, 0x18, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x66,
- 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x88, 0x01, 0x01, 0x3a, 0x5b, 0x0a, 0x17, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66,
- 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xdb, 0x0f, 0x20, 0x01, 0x28, 0x02, 0x52, 0x15, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x6c,
- 0x6f, 0x61, 0x74, 0x88, 0x01, 0x01, 0x3a, 0x5d, 0x0a, 0x18, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x75, 0x62,
- 0x6c, 0x65, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x18, 0xdc, 0x0f, 0x20, 0x01, 0x28, 0x01, 0x52, 0x16, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x75, 0x62,
- 0x6c, 0x65, 0x88, 0x01, 0x01, 0x3a, 0x59, 0x0a, 0x16, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12,
- 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0xdd, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x6f, 0x6f, 0x6c, 0x88, 0x01, 0x01,
- 0x3a, 0x5d, 0x0a, 0x18, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xde, 0x0f,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x3a,
- 0x5b, 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xdf, 0x0f, 0x20, 0x01,
- 0x28, 0x0c, 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x61, 0x6c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01, 0x3a, 0x93, 0x01, 0x0a,
- 0x21, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x18, 0xe0, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33,
- 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
- 0x1e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88,
- 0x01, 0x01, 0x3a, 0x8a, 0x01, 0x0a, 0x1e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e,
- 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe1, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e,
- 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65,
- 0x73, 0x74, 0x33, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x52,
- 0x1b, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61,
- 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x88, 0x01, 0x01, 0x42,
- 0x36, 0x5a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
- 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var file_internal_testprotos_test3_test_extension_proto_goTypes = []interface{}{
- (*descriptorpb.MessageOptions)(nil), // 0: google.protobuf.MessageOptions
- (*ForeignMessage)(nil), // 1: goproto.proto.test3.ForeignMessage
- (ForeignEnum)(0), // 2: goproto.proto.test3.ForeignEnum
-}
-var file_internal_testprotos_test3_test_extension_proto_depIdxs = []int32{
- 0, // 0: goproto.proto.test3.optional_int32:extendee -> google.protobuf.MessageOptions
- 0, // 1: goproto.proto.test3.optional_int64:extendee -> google.protobuf.MessageOptions
- 0, // 2: goproto.proto.test3.optional_uint32:extendee -> google.protobuf.MessageOptions
- 0, // 3: goproto.proto.test3.optional_uint64:extendee -> google.protobuf.MessageOptions
- 0, // 4: goproto.proto.test3.optional_sint32:extendee -> google.protobuf.MessageOptions
- 0, // 5: goproto.proto.test3.optional_sint64:extendee -> google.protobuf.MessageOptions
- 0, // 6: goproto.proto.test3.optional_fixed32:extendee -> google.protobuf.MessageOptions
- 0, // 7: goproto.proto.test3.optional_fixed64:extendee -> google.protobuf.MessageOptions
- 0, // 8: goproto.proto.test3.optional_sfixed32:extendee -> google.protobuf.MessageOptions
- 0, // 9: goproto.proto.test3.optional_sfixed64:extendee -> google.protobuf.MessageOptions
- 0, // 10: goproto.proto.test3.optional_float:extendee -> google.protobuf.MessageOptions
- 0, // 11: goproto.proto.test3.optional_double:extendee -> google.protobuf.MessageOptions
- 0, // 12: goproto.proto.test3.optional_bool:extendee -> google.protobuf.MessageOptions
- 0, // 13: goproto.proto.test3.optional_string:extendee -> google.protobuf.MessageOptions
- 0, // 14: goproto.proto.test3.optional_bytes:extendee -> google.protobuf.MessageOptions
- 0, // 15: goproto.proto.test3.optional_foreign_message:extendee -> google.protobuf.MessageOptions
- 0, // 16: goproto.proto.test3.optional_foreign_enum:extendee -> google.protobuf.MessageOptions
- 0, // 17: goproto.proto.test3.optional_optional_int32:extendee -> google.protobuf.MessageOptions
- 0, // 18: goproto.proto.test3.optional_optional_int64:extendee -> google.protobuf.MessageOptions
- 0, // 19: goproto.proto.test3.optional_optional_uint32:extendee -> google.protobuf.MessageOptions
- 0, // 20: goproto.proto.test3.optional_optional_uint64:extendee -> google.protobuf.MessageOptions
- 0, // 21: goproto.proto.test3.optional_optional_sint32:extendee -> google.protobuf.MessageOptions
- 0, // 22: goproto.proto.test3.optional_optional_sint64:extendee -> google.protobuf.MessageOptions
- 0, // 23: goproto.proto.test3.optional_optional_fixed32:extendee -> google.protobuf.MessageOptions
- 0, // 24: goproto.proto.test3.optional_optional_fixed64:extendee -> google.protobuf.MessageOptions
- 0, // 25: goproto.proto.test3.optional_optional_sfixed32:extendee -> google.protobuf.MessageOptions
- 0, // 26: goproto.proto.test3.optional_optional_sfixed64:extendee -> google.protobuf.MessageOptions
- 0, // 27: goproto.proto.test3.optional_optional_float:extendee -> google.protobuf.MessageOptions
- 0, // 28: goproto.proto.test3.optional_optional_double:extendee -> google.protobuf.MessageOptions
- 0, // 29: goproto.proto.test3.optional_optional_bool:extendee -> google.protobuf.MessageOptions
- 0, // 30: goproto.proto.test3.optional_optional_string:extendee -> google.protobuf.MessageOptions
- 0, // 31: goproto.proto.test3.optional_optional_bytes:extendee -> google.protobuf.MessageOptions
- 0, // 32: goproto.proto.test3.optional_optional_foreign_message:extendee -> google.protobuf.MessageOptions
- 0, // 33: goproto.proto.test3.optional_optional_foreign_enum:extendee -> google.protobuf.MessageOptions
- 1, // 34: goproto.proto.test3.optional_foreign_message:type_name -> goproto.proto.test3.ForeignMessage
- 2, // 35: goproto.proto.test3.optional_foreign_enum:type_name -> goproto.proto.test3.ForeignEnum
- 1, // 36: goproto.proto.test3.optional_optional_foreign_message:type_name -> goproto.proto.test3.ForeignMessage
- 2, // 37: goproto.proto.test3.optional_optional_foreign_enum:type_name -> goproto.proto.test3.ForeignEnum
- 38, // [38:38] is the sub-list for method output_type
- 38, // [38:38] is the sub-list for method input_type
- 34, // [34:38] is the sub-list for extension type_name
- 0, // [0:34] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_test3_test_extension_proto_init() }
-func file_internal_testprotos_test3_test_extension_proto_init() {
- if File_internal_testprotos_test3_test_extension_proto != nil {
- return
- }
- file_internal_testprotos_test3_test_proto_init()
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_test3_test_extension_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 0,
- NumExtensions: 34,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_test3_test_extension_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_test3_test_extension_proto_depIdxs,
- ExtensionInfos: file_internal_testprotos_test3_test_extension_proto_extTypes,
- }.Build()
- File_internal_testprotos_test3_test_extension_proto = out.File
- file_internal_testprotos_test3_test_extension_proto_rawDesc = nil
- file_internal_testprotos_test3_test_extension_proto_goTypes = nil
- file_internal_testprotos_test3_test_extension_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/test3/test_import.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/test3/test_import.pb.go
deleted file mode 100644
index 5fc60438b6..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/test3/test_import.pb.go
+++ /dev/null
@@ -1,179 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/test3/test_import.proto
-
-package test3
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type ImportEnum int32
-
-const (
- ImportEnum_IMPORT_ZERO ImportEnum = 0
-)
-
-// Enum value maps for ImportEnum.
-var (
- ImportEnum_name = map[int32]string{
- 0: "IMPORT_ZERO",
- }
- ImportEnum_value = map[string]int32{
- "IMPORT_ZERO": 0,
- }
-)
-
-func (x ImportEnum) Enum() *ImportEnum {
- p := new(ImportEnum)
- *p = x
- return p
-}
-
-func (x ImportEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (ImportEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_test3_test_import_proto_enumTypes[0].Descriptor()
-}
-
-func (ImportEnum) Type() protoreflect.EnumType {
- return &file_internal_testprotos_test3_test_import_proto_enumTypes[0]
-}
-
-func (x ImportEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use ImportEnum.Descriptor instead.
-func (ImportEnum) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_test3_test_import_proto_rawDescGZIP(), []int{0}
-}
-
-type ImportMessage struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *ImportMessage) Reset() {
- *x = ImportMessage{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_test3_test_import_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ImportMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ImportMessage) ProtoMessage() {}
-
-func (x *ImportMessage) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_test3_test_import_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ImportMessage.ProtoReflect.Descriptor instead.
-func (*ImportMessage) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_test3_test_import_proto_rawDescGZIP(), []int{0}
-}
-
-var File_internal_testprotos_test3_test_import_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_test3_test_import_proto_rawDesc = []byte{
- 0x0a, 0x2b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74,
- 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x67,
- 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73,
- 0x74, 0x33, 0x22, 0x0f, 0x0a, 0x0d, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x2a, 0x1d, 0x0a, 0x0a, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x75,
- 0x6d, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f,
- 0x10, 0x00, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
- 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
-}
-
-var (
- file_internal_testprotos_test3_test_import_proto_rawDescOnce sync.Once
- file_internal_testprotos_test3_test_import_proto_rawDescData = file_internal_testprotos_test3_test_import_proto_rawDesc
-)
-
-func file_internal_testprotos_test3_test_import_proto_rawDescGZIP() []byte {
- file_internal_testprotos_test3_test_import_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_test3_test_import_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_test3_test_import_proto_rawDescData)
- })
- return file_internal_testprotos_test3_test_import_proto_rawDescData
-}
-
-var file_internal_testprotos_test3_test_import_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
-var file_internal_testprotos_test3_test_import_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_internal_testprotos_test3_test_import_proto_goTypes = []interface{}{
- (ImportEnum)(0), // 0: goproto.proto.test3.ImportEnum
- (*ImportMessage)(nil), // 1: goproto.proto.test3.ImportMessage
-}
-var file_internal_testprotos_test3_test_import_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_test3_test_import_proto_init() }
-func file_internal_testprotos_test3_test_import_proto_init() {
- if File_internal_testprotos_test3_test_import_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_test3_test_import_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ImportMessage); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_test3_test_import_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_test3_test_import_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_test3_test_import_proto_depIdxs,
- EnumInfos: file_internal_testprotos_test3_test_import_proto_enumTypes,
- MessageInfos: file_internal_testprotos_test3_test_import_proto_msgTypes,
- }.Build()
- File_internal_testprotos_test3_test_import_proto = out.File
- file_internal_testprotos_test3_test_import_proto_rawDesc = nil
- file_internal_testprotos_test3_test_import_proto_goTypes = nil
- file_internal_testprotos_test3_test_import_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/test3/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/test3/ya.make
deleted file mode 100644
index 7ede6e2d8e..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/test3/ya.make
+++ /dev/null
@@ -1,11 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(
- test.pb.go
- test_extension.pb.go
- test_import.pb.go
-)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/textpb2/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/textpb2/test.pb.go
deleted file mode 100644
index ec25471854..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/textpb2/test.pb.go
+++ /dev/null
@@ -1,2576 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Test Protobuf definitions with proto2 syntax.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/textpb2/test.proto
-
-package textpb2
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- anypb "google.golang.org/protobuf/types/known/anypb"
- durationpb "google.golang.org/protobuf/types/known/durationpb"
- emptypb "google.golang.org/protobuf/types/known/emptypb"
- fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
- structpb "google.golang.org/protobuf/types/known/structpb"
- timestamppb "google.golang.org/protobuf/types/known/timestamppb"
- wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
- reflect "reflect"
- sync "sync"
-)
-
-type Enum int32
-
-const (
- Enum_ONE Enum = 1
- Enum_TWO Enum = 2
- Enum_TEN Enum = 10
-)
-
-// Enum value maps for Enum.
-var (
- Enum_name = map[int32]string{
- 1: "ONE",
- 2: "TWO",
- 10: "TEN",
- }
- Enum_value = map[string]int32{
- "ONE": 1,
- "TWO": 2,
- "TEN": 10,
- }
-)
-
-func (x Enum) Enum() *Enum {
- p := new(Enum)
- *p = x
- return p
-}
-
-func (x Enum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Enum) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_textpb2_test_proto_enumTypes[0].Descriptor()
-}
-
-func (Enum) Type() protoreflect.EnumType {
- return &file_internal_testprotos_textpb2_test_proto_enumTypes[0]
-}
-
-func (x Enum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *Enum) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = Enum(num)
- return nil
-}
-
-// Deprecated: Use Enum.Descriptor instead.
-func (Enum) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{0}
-}
-
-type Enums_NestedEnum int32
-
-const (
- Enums_UNO Enums_NestedEnum = 1
- Enums_DOS Enums_NestedEnum = 2
- Enums_DIEZ Enums_NestedEnum = 10
-)
-
-// Enum value maps for Enums_NestedEnum.
-var (
- Enums_NestedEnum_name = map[int32]string{
- 1: "UNO",
- 2: "DOS",
- 10: "DIEZ",
- }
- Enums_NestedEnum_value = map[string]int32{
- "UNO": 1,
- "DOS": 2,
- "DIEZ": 10,
- }
-)
-
-func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
- p := new(Enums_NestedEnum)
- *p = x
- return p
-}
-
-func (x Enums_NestedEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_textpb2_test_proto_enumTypes[1].Descriptor()
-}
-
-func (Enums_NestedEnum) Type() protoreflect.EnumType {
- return &file_internal_testprotos_textpb2_test_proto_enumTypes[1]
-}
-
-func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = Enums_NestedEnum(num)
- return nil
-}
-
-// Deprecated: Use Enums_NestedEnum.Descriptor instead.
-func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{1, 0}
-}
-
-// Scalars contains optional scalar fields.
-type Scalars struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
- OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
- OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
- OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
- OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
- OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
- OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
- OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
- OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
- OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
- OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
- OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
- OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
- OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
- OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
-}
-
-func (x *Scalars) Reset() {
- *x = Scalars{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Scalars) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Scalars) ProtoMessage() {}
-
-func (x *Scalars) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Scalars.ProtoReflect.Descriptor instead.
-func (*Scalars) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Scalars) GetOptBool() bool {
- if x != nil && x.OptBool != nil {
- return *x.OptBool
- }
- return false
-}
-
-func (x *Scalars) GetOptInt32() int32 {
- if x != nil && x.OptInt32 != nil {
- return *x.OptInt32
- }
- return 0
-}
-
-func (x *Scalars) GetOptInt64() int64 {
- if x != nil && x.OptInt64 != nil {
- return *x.OptInt64
- }
- return 0
-}
-
-func (x *Scalars) GetOptUint32() uint32 {
- if x != nil && x.OptUint32 != nil {
- return *x.OptUint32
- }
- return 0
-}
-
-func (x *Scalars) GetOptUint64() uint64 {
- if x != nil && x.OptUint64 != nil {
- return *x.OptUint64
- }
- return 0
-}
-
-func (x *Scalars) GetOptSint32() int32 {
- if x != nil && x.OptSint32 != nil {
- return *x.OptSint32
- }
- return 0
-}
-
-func (x *Scalars) GetOptSint64() int64 {
- if x != nil && x.OptSint64 != nil {
- return *x.OptSint64
- }
- return 0
-}
-
-func (x *Scalars) GetOptFixed32() uint32 {
- if x != nil && x.OptFixed32 != nil {
- return *x.OptFixed32
- }
- return 0
-}
-
-func (x *Scalars) GetOptFixed64() uint64 {
- if x != nil && x.OptFixed64 != nil {
- return *x.OptFixed64
- }
- return 0
-}
-
-func (x *Scalars) GetOptSfixed32() int32 {
- if x != nil && x.OptSfixed32 != nil {
- return *x.OptSfixed32
- }
- return 0
-}
-
-func (x *Scalars) GetOptSfixed64() int64 {
- if x != nil && x.OptSfixed64 != nil {
- return *x.OptSfixed64
- }
- return 0
-}
-
-func (x *Scalars) GetOptFloat() float32 {
- if x != nil && x.OptFloat != nil {
- return *x.OptFloat
- }
- return 0
-}
-
-func (x *Scalars) GetOptDouble() float64 {
- if x != nil && x.OptDouble != nil {
- return *x.OptDouble
- }
- return 0
-}
-
-func (x *Scalars) GetOptBytes() []byte {
- if x != nil {
- return x.OptBytes
- }
- return nil
-}
-
-func (x *Scalars) GetOptString() string {
- if x != nil && x.OptString != nil {
- return *x.OptString
- }
- return ""
-}
-
-// Message contains enum fields.
-type Enums struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
- RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
- OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
- RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
-}
-
-func (x *Enums) Reset() {
- *x = Enums{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Enums) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Enums) ProtoMessage() {}
-
-func (x *Enums) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Enums.ProtoReflect.Descriptor instead.
-func (*Enums) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *Enums) GetOptEnum() Enum {
- if x != nil && x.OptEnum != nil {
- return *x.OptEnum
- }
- return Enum_ONE
-}
-
-func (x *Enums) GetRptEnum() []Enum {
- if x != nil {
- return x.RptEnum
- }
- return nil
-}
-
-func (x *Enums) GetOptNestedEnum() Enums_NestedEnum {
- if x != nil && x.OptNestedEnum != nil {
- return *x.OptNestedEnum
- }
- return Enums_UNO
-}
-
-func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum {
- if x != nil {
- return x.RptNestedEnum
- }
- return nil
-}
-
-// Message contains repeated fields.
-type Repeats struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
- RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
- RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
- RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
- RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
- RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
- RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
- RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
- RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
-}
-
-func (x *Repeats) Reset() {
- *x = Repeats{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Repeats) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Repeats) ProtoMessage() {}
-
-func (x *Repeats) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Repeats.ProtoReflect.Descriptor instead.
-func (*Repeats) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *Repeats) GetRptBool() []bool {
- if x != nil {
- return x.RptBool
- }
- return nil
-}
-
-func (x *Repeats) GetRptInt32() []int32 {
- if x != nil {
- return x.RptInt32
- }
- return nil
-}
-
-func (x *Repeats) GetRptInt64() []int64 {
- if x != nil {
- return x.RptInt64
- }
- return nil
-}
-
-func (x *Repeats) GetRptUint32() []uint32 {
- if x != nil {
- return x.RptUint32
- }
- return nil
-}
-
-func (x *Repeats) GetRptUint64() []uint64 {
- if x != nil {
- return x.RptUint64
- }
- return nil
-}
-
-func (x *Repeats) GetRptFloat() []float32 {
- if x != nil {
- return x.RptFloat
- }
- return nil
-}
-
-func (x *Repeats) GetRptDouble() []float64 {
- if x != nil {
- return x.RptDouble
- }
- return nil
-}
-
-func (x *Repeats) GetRptString() []string {
- if x != nil {
- return x.RptString
- }
- return nil
-}
-
-func (x *Repeats) GetRptBytes() [][]byte {
- if x != nil {
- return x.RptBytes
- }
- return nil
-}
-
-// Message contains map fields.
-type Maps struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Int32ToStr map[int32]string `protobuf:"bytes,1,rep,name=int32_to_str,json=int32ToStr" json:"int32_to_str,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- StrToNested map[string]*Nested `protobuf:"bytes,4,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
-}
-
-func (x *Maps) Reset() {
- *x = Maps{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Maps) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Maps) ProtoMessage() {}
-
-func (x *Maps) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Maps.ProtoReflect.Descriptor instead.
-func (*Maps) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *Maps) GetInt32ToStr() map[int32]string {
- if x != nil {
- return x.Int32ToStr
- }
- return nil
-}
-
-func (x *Maps) GetStrToNested() map[string]*Nested {
- if x != nil {
- return x.StrToNested
- }
- return nil
-}
-
-// Message type used as submessage.
-type Nested struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
- OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
-}
-
-func (x *Nested) Reset() {
- *x = Nested{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Nested) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Nested) ProtoMessage() {}
-
-func (x *Nested) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Nested.ProtoReflect.Descriptor instead.
-func (*Nested) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{4}
-}
-
-func (x *Nested) GetOptString() string {
- if x != nil && x.OptString != nil {
- return *x.OptString
- }
- return ""
-}
-
-func (x *Nested) GetOptNested() *Nested {
- if x != nil {
- return x.OptNested
- }
- return nil
-}
-
-// Message contains message and group fields.
-type Nests struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
- Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
- RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
- Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
-}
-
-func (x *Nests) Reset() {
- *x = Nests{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Nests) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Nests) ProtoMessage() {}
-
-func (x *Nests) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Nests.ProtoReflect.Descriptor instead.
-func (*Nests) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *Nests) GetOptNested() *Nested {
- if x != nil {
- return x.OptNested
- }
- return nil
-}
-
-func (x *Nests) GetOptgroup() *Nests_OptGroup {
- if x != nil {
- return x.Optgroup
- }
- return nil
-}
-
-func (x *Nests) GetRptNested() []*Nested {
- if x != nil {
- return x.RptNested
- }
- return nil
-}
-
-func (x *Nests) GetRptgroup() []*Nests_RptGroup {
- if x != nil {
- return x.Rptgroup
- }
- return nil
-}
-
-// Message contains required fields.
-type Requireds struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
- ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
- ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
- ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
- ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
- ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
-}
-
-func (x *Requireds) Reset() {
- *x = Requireds{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Requireds) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Requireds) ProtoMessage() {}
-
-func (x *Requireds) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Requireds.ProtoReflect.Descriptor instead.
-func (*Requireds) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{6}
-}
-
-func (x *Requireds) GetReqBool() bool {
- if x != nil && x.ReqBool != nil {
- return *x.ReqBool
- }
- return false
-}
-
-func (x *Requireds) GetReqSfixed64() int64 {
- if x != nil && x.ReqSfixed64 != nil {
- return *x.ReqSfixed64
- }
- return 0
-}
-
-func (x *Requireds) GetReqDouble() float64 {
- if x != nil && x.ReqDouble != nil {
- return *x.ReqDouble
- }
- return 0
-}
-
-func (x *Requireds) GetReqString() string {
- if x != nil && x.ReqString != nil {
- return *x.ReqString
- }
- return ""
-}
-
-func (x *Requireds) GetReqEnum() Enum {
- if x != nil && x.ReqEnum != nil {
- return *x.ReqEnum
- }
- return Enum_ONE
-}
-
-func (x *Requireds) GetReqNested() *Nested {
- if x != nil {
- return x.ReqNested
- }
- return nil
-}
-
-// Message contains both required and optional fields.
-type PartialRequired struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
- OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
-}
-
-func (x *PartialRequired) Reset() {
- *x = PartialRequired{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *PartialRequired) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PartialRequired) ProtoMessage() {}
-
-func (x *PartialRequired) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use PartialRequired.ProtoReflect.Descriptor instead.
-func (*PartialRequired) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{7}
-}
-
-func (x *PartialRequired) GetReqString() string {
- if x != nil && x.ReqString != nil {
- return *x.ReqString
- }
- return ""
-}
-
-func (x *PartialRequired) GetOptString() string {
- if x != nil && x.OptString != nil {
- return *x.OptString
- }
- return ""
-}
-
-type NestedWithRequired struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
-}
-
-func (x *NestedWithRequired) Reset() {
- *x = NestedWithRequired{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *NestedWithRequired) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*NestedWithRequired) ProtoMessage() {}
-
-func (x *NestedWithRequired) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use NestedWithRequired.ProtoReflect.Descriptor instead.
-func (*NestedWithRequired) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{8}
-}
-
-func (x *NestedWithRequired) GetReqString() string {
- if x != nil && x.ReqString != nil {
- return *x.ReqString
- }
- return ""
-}
-
-type IndirectRequired struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
- RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
- StrToNested map[string]*NestedWithRequired `protobuf:"bytes,3,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- // Types that are assignable to Union:
- //
- // *IndirectRequired_OneofNested
- Union isIndirectRequired_Union `protobuf_oneof:"union"`
-}
-
-func (x *IndirectRequired) Reset() {
- *x = IndirectRequired{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *IndirectRequired) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*IndirectRequired) ProtoMessage() {}
-
-func (x *IndirectRequired) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use IndirectRequired.ProtoReflect.Descriptor instead.
-func (*IndirectRequired) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{9}
-}
-
-func (x *IndirectRequired) GetOptNested() *NestedWithRequired {
- if x != nil {
- return x.OptNested
- }
- return nil
-}
-
-func (x *IndirectRequired) GetRptNested() []*NestedWithRequired {
- if x != nil {
- return x.RptNested
- }
- return nil
-}
-
-func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
- if x != nil {
- return x.StrToNested
- }
- return nil
-}
-
-func (m *IndirectRequired) GetUnion() isIndirectRequired_Union {
- if m != nil {
- return m.Union
- }
- return nil
-}
-
-func (x *IndirectRequired) GetOneofNested() *NestedWithRequired {
- if x, ok := x.GetUnion().(*IndirectRequired_OneofNested); ok {
- return x.OneofNested
- }
- return nil
-}
-
-type isIndirectRequired_Union interface {
- isIndirectRequired_Union()
-}
-
-type IndirectRequired_OneofNested struct {
- OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
-}
-
-func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {}
-
-type Extensions struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- extensionFields protoimpl.ExtensionFields
-
- OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
- OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
- OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
-}
-
-func (x *Extensions) Reset() {
- *x = Extensions{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Extensions) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Extensions) ProtoMessage() {}
-
-func (x *Extensions) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Extensions.ProtoReflect.Descriptor instead.
-func (*Extensions) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{10}
-}
-
-func (x *Extensions) GetOptString() string {
- if x != nil && x.OptString != nil {
- return *x.OptString
- }
- return ""
-}
-
-func (x *Extensions) GetOptBool() bool {
- if x != nil && x.OptBool != nil {
- return *x.OptBool
- }
- return false
-}
-
-func (x *Extensions) GetOptInt32() int32 {
- if x != nil && x.OptInt32 != nil {
- return *x.OptInt32
- }
- return 0
-}
-
-type ExtensionsContainer struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *ExtensionsContainer) Reset() {
- *x = ExtensionsContainer{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ExtensionsContainer) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ExtensionsContainer) ProtoMessage() {}
-
-func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ExtensionsContainer.ProtoReflect.Descriptor instead.
-func (*ExtensionsContainer) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{11}
-}
-
-type MessageSet struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- extensionFields protoimpl.ExtensionFields
-}
-
-func (x *MessageSet) Reset() {
- *x = MessageSet{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *MessageSet) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MessageSet) ProtoMessage() {}
-
-func (x *MessageSet) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use MessageSet.ProtoReflect.Descriptor instead.
-func (*MessageSet) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{12}
-}
-
-type MessageSetExtension struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
-}
-
-func (x *MessageSetExtension) Reset() {
- *x = MessageSetExtension{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *MessageSetExtension) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MessageSetExtension) ProtoMessage() {}
-
-func (x *MessageSetExtension) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use MessageSetExtension.ProtoReflect.Descriptor instead.
-func (*MessageSetExtension) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{13}
-}
-
-func (x *MessageSetExtension) GetOptString() string {
- if x != nil && x.OptString != nil {
- return *x.OptString
- }
- return ""
-}
-
-type FakeMessageSet struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- extensionFields protoimpl.ExtensionFields
-}
-
-func (x *FakeMessageSet) Reset() {
- *x = FakeMessageSet{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *FakeMessageSet) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FakeMessageSet) ProtoMessage() {}
-
-func (x *FakeMessageSet) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor instead.
-func (*FakeMessageSet) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{14}
-}
-
-type FakeMessageSetExtension struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
-}
-
-func (x *FakeMessageSetExtension) Reset() {
- *x = FakeMessageSetExtension{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *FakeMessageSetExtension) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FakeMessageSetExtension) ProtoMessage() {}
-
-func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FakeMessageSetExtension.ProtoReflect.Descriptor instead.
-func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{15}
-}
-
-func (x *FakeMessageSetExtension) GetOptString() string {
- if x != nil && x.OptString != nil {
- return *x.OptString
- }
- return ""
-}
-
-// Message contains well-known type fields.
-type KnownTypes struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptBool *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
- OptInt32 *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
- OptInt64 *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
- OptUint32 *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
- OptUint64 *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
- OptFloat *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
- OptDouble *wrapperspb.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
- OptString *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
- OptBytes *wrapperspb.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
- OptDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
- OptTimestamp *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
- OptStruct *structpb.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
- OptList *structpb.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
- OptValue *structpb.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
- OptNull *structpb.NullValue `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
- OptEmpty *emptypb.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
- OptAny *anypb.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
- OptFieldmask *fieldmaskpb.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
-}
-
-func (x *KnownTypes) Reset() {
- *x = KnownTypes{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *KnownTypes) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*KnownTypes) ProtoMessage() {}
-
-func (x *KnownTypes) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[16]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use KnownTypes.ProtoReflect.Descriptor instead.
-func (*KnownTypes) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{16}
-}
-
-func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue {
- if x != nil {
- return x.OptBool
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value {
- if x != nil {
- return x.OptInt32
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value {
- if x != nil {
- return x.OptInt64
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value {
- if x != nil {
- return x.OptUint32
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value {
- if x != nil {
- return x.OptUint64
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue {
- if x != nil {
- return x.OptFloat
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue {
- if x != nil {
- return x.OptDouble
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptString() *wrapperspb.StringValue {
- if x != nil {
- return x.OptString
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue {
- if x != nil {
- return x.OptBytes
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptDuration() *durationpb.Duration {
- if x != nil {
- return x.OptDuration
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp {
- if x != nil {
- return x.OptTimestamp
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptStruct() *structpb.Struct {
- if x != nil {
- return x.OptStruct
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptList() *structpb.ListValue {
- if x != nil {
- return x.OptList
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptValue() *structpb.Value {
- if x != nil {
- return x.OptValue
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptNull() structpb.NullValue {
- if x != nil && x.OptNull != nil {
- return *x.OptNull
- }
- return structpb.NullValue(0)
-}
-
-func (x *KnownTypes) GetOptEmpty() *emptypb.Empty {
- if x != nil {
- return x.OptEmpty
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptAny() *anypb.Any {
- if x != nil {
- return x.OptAny
- }
- return nil
-}
-
-func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask {
- if x != nil {
- return x.OptFieldmask
- }
- return nil
-}
-
-type Nests_OptGroup struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
- OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
- Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
-}
-
-func (x *Nests_OptGroup) Reset() {
- *x = Nests_OptGroup{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Nests_OptGroup) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Nests_OptGroup) ProtoMessage() {}
-
-func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[19]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Nests_OptGroup.ProtoReflect.Descriptor instead.
-func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{5, 0}
-}
-
-func (x *Nests_OptGroup) GetOptString() string {
- if x != nil && x.OptString != nil {
- return *x.OptString
- }
- return ""
-}
-
-func (x *Nests_OptGroup) GetOptNested() *Nested {
- if x != nil {
- return x.OptNested
- }
- return nil
-}
-
-func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
- if x != nil {
- return x.Optnestedgroup
- }
- return nil
-}
-
-type Nests_RptGroup struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
-}
-
-func (x *Nests_RptGroup) Reset() {
- *x = Nests_RptGroup{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Nests_RptGroup) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Nests_RptGroup) ProtoMessage() {}
-
-func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[20]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Nests_RptGroup.ProtoReflect.Descriptor instead.
-func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{5, 1}
-}
-
-func (x *Nests_RptGroup) GetRptString() []string {
- if x != nil {
- return x.RptString
- }
- return nil
-}
-
-type Nests_OptGroup_OptNestedGroup struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
-}
-
-func (x *Nests_OptGroup_OptNestedGroup) Reset() {
- *x = Nests_OptGroup_OptNestedGroup{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Nests_OptGroup_OptNestedGroup) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
-
-func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb2_test_proto_msgTypes[21]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Descriptor instead.
-func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb2_test_proto_rawDescGZIP(), []int{5, 0, 0}
-}
-
-func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 {
- if x != nil && x.OptFixed32 != nil {
- return *x.OptFixed32
- }
- return 0
-}
-
-var file_internal_testprotos_textpb2_test_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 21,
- Name: "pb2.opt_ext_bool",
- Tag: "varint,21,opt,name=opt_ext_bool",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: (*string)(nil),
- Field: 22,
- Name: "pb2.opt_ext_string",
- Tag: "bytes,22,opt,name=opt_ext_string",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: (*Enum)(nil),
- Field: 23,
- Name: "pb2.opt_ext_enum",
- Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: (*Nested)(nil),
- Field: 24,
- Name: "pb2.opt_ext_nested",
- Tag: "bytes,24,opt,name=opt_ext_nested",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: (*PartialRequired)(nil),
- Field: 25,
- Name: "pb2.opt_ext_partial",
- Tag: "bytes,25,opt,name=opt_ext_partial",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: ([]uint32)(nil),
- Field: 31,
- Name: "pb2.rpt_ext_fixed32",
- Tag: "fixed32,31,rep,name=rpt_ext_fixed32",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: ([]Enum)(nil),
- Field: 32,
- Name: "pb2.rpt_ext_enum",
- Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: ([]*Nested)(nil),
- Field: 33,
- Name: "pb2.rpt_ext_nested",
- Tag: "bytes,33,rep,name=rpt_ext_nested",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*MessageSet)(nil),
- ExtensionType: (*FakeMessageSetExtension)(nil),
- Field: 50,
- Name: "pb2.message_set_extension",
- Tag: "bytes,50,opt,name=message_set_extension",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 51,
- Name: "pb2.ExtensionsContainer.opt_ext_bool",
- Tag: "varint,51,opt,name=opt_ext_bool",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: (*string)(nil),
- Field: 52,
- Name: "pb2.ExtensionsContainer.opt_ext_string",
- Tag: "bytes,52,opt,name=opt_ext_string",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: (*Enum)(nil),
- Field: 53,
- Name: "pb2.ExtensionsContainer.opt_ext_enum",
- Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: (*Nested)(nil),
- Field: 54,
- Name: "pb2.ExtensionsContainer.opt_ext_nested",
- Tag: "bytes,54,opt,name=opt_ext_nested",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: (*PartialRequired)(nil),
- Field: 55,
- Name: "pb2.ExtensionsContainer.opt_ext_partial",
- Tag: "bytes,55,opt,name=opt_ext_partial",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: ([]string)(nil),
- Field: 61,
- Name: "pb2.ExtensionsContainer.rpt_ext_string",
- Tag: "bytes,61,rep,name=rpt_ext_string",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: ([]Enum)(nil),
- Field: 62,
- Name: "pb2.ExtensionsContainer.rpt_ext_enum",
- Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*Extensions)(nil),
- ExtensionType: ([]*Nested)(nil),
- Field: 63,
- Name: "pb2.ExtensionsContainer.rpt_ext_nested",
- Tag: "bytes,63,rep,name=rpt_ext_nested",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*MessageSet)(nil),
- ExtensionType: (*MessageSetExtension)(nil),
- Field: 10,
- Name: "pb2.MessageSetExtension.message_set_extension",
- Tag: "bytes,10,opt,name=message_set_extension",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*MessageSet)(nil),
- ExtensionType: (*MessageSetExtension)(nil),
- Field: 20,
- Name: "pb2.MessageSetExtension.not_message_set_extension",
- Tag: "bytes,20,opt,name=not_message_set_extension",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*MessageSet)(nil),
- ExtensionType: (*Nested)(nil),
- Field: 30,
- Name: "pb2.MessageSetExtension.ext_nested",
- Tag: "bytes,30,opt,name=ext_nested",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
- {
- ExtendedType: (*FakeMessageSet)(nil),
- ExtensionType: (*FakeMessageSetExtension)(nil),
- Field: 10,
- Name: "pb2.FakeMessageSetExtension.message_set_extension",
- Tag: "bytes,10,opt,name=message_set_extension",
- Filename: "internal/testprotos/textpb2/test.proto",
- },
-}
-
-// Extension fields to Extensions.
-var (
- // optional bool opt_ext_bool = 21;
- E_OptExtBool = &file_internal_testprotos_textpb2_test_proto_extTypes[0]
- // optional string opt_ext_string = 22;
- E_OptExtString = &file_internal_testprotos_textpb2_test_proto_extTypes[1]
- // optional pb2.Enum opt_ext_enum = 23;
- E_OptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[2]
- // optional pb2.Nested opt_ext_nested = 24;
- E_OptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[3]
- // optional pb2.PartialRequired opt_ext_partial = 25;
- E_OptExtPartial = &file_internal_testprotos_textpb2_test_proto_extTypes[4]
- // repeated fixed32 rpt_ext_fixed32 = 31;
- E_RptExtFixed32 = &file_internal_testprotos_textpb2_test_proto_extTypes[5]
- // repeated pb2.Enum rpt_ext_enum = 32;
- E_RptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[6]
- // repeated pb2.Nested rpt_ext_nested = 33;
- E_RptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[7]
- // optional bool opt_ext_bool = 51;
- E_ExtensionsContainer_OptExtBool = &file_internal_testprotos_textpb2_test_proto_extTypes[9]
- // optional string opt_ext_string = 52;
- E_ExtensionsContainer_OptExtString = &file_internal_testprotos_textpb2_test_proto_extTypes[10]
- // optional pb2.Enum opt_ext_enum = 53;
- E_ExtensionsContainer_OptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[11]
- // optional pb2.Nested opt_ext_nested = 54;
- E_ExtensionsContainer_OptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[12]
- // optional pb2.PartialRequired opt_ext_partial = 55;
- E_ExtensionsContainer_OptExtPartial = &file_internal_testprotos_textpb2_test_proto_extTypes[13]
- // repeated string rpt_ext_string = 61;
- E_ExtensionsContainer_RptExtString = &file_internal_testprotos_textpb2_test_proto_extTypes[14]
- // repeated pb2.Enum rpt_ext_enum = 62;
- E_ExtensionsContainer_RptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[15]
- // repeated pb2.Nested rpt_ext_nested = 63;
- E_ExtensionsContainer_RptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[16]
-)
-
-// Extension fields to MessageSet.
-var (
- // optional pb2.FakeMessageSetExtension message_set_extension = 50;
- E_MessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[8]
- // optional pb2.MessageSetExtension message_set_extension = 10;
- E_MessageSetExtension_MessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[17]
- // optional pb2.MessageSetExtension not_message_set_extension = 20;
- E_MessageSetExtension_NotMessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[18]
- // optional pb2.Nested ext_nested = 30;
- E_MessageSetExtension_ExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[19]
-)
-
-// Extension fields to FakeMessageSet.
-var (
- // optional pb2.FakeMessageSetExtension message_set_extension = 10;
- E_FakeMessageSetExtension_MessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[20]
-)
-
-var File_internal_testprotos_textpb2_test_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_textpb2_test_proto_rawDesc = []byte{
- 0x0a, 0x26, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65,
- 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61,
- 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73,
- 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61,
- 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a,
- 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
- 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70,
- 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f,
- 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75,
- 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74,
- 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69,
- 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55,
- 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e,
- 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69,
- 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74,
- 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e,
- 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64,
- 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78,
- 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65,
- 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69,
- 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74,
- 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f,
- 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b,
- 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f,
- 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08,
- 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f,
- 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70,
- 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62,
- 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42,
- 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72,
- 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a,
- 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45,
- 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18,
- 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d,
- 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74,
- 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e,
- 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f,
- 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28,
- 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73,
- 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22, 0x28, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65,
- 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07,
- 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10,
- 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a,
- 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52,
- 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
- 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74,
- 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
- 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74,
- 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
- 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33,
- 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
- 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34,
- 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20,
- 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a,
- 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28,
- 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
- 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09,
- 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72,
- 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08,
- 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x8f, 0x02, 0x0a, 0x04, 0x4d, 0x61, 0x70,
- 0x73, 0x12, 0x3b, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x74,
- 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x61,
- 0x70, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74,
- 0x72, 0x79, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x12, 0x3e,
- 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18,
- 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x61, 0x70, 0x73,
- 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x3d,
- 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
- 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a,
- 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
- 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x53, 0x0a, 0x06, 0x4e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72,
- 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65,
- 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22,
- 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
- 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
- 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e,
- 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75,
- 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
- 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x08, 0x6f, 0x70,
- 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32,
- 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05,
- 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73,
- 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x08, 0x72, 0x70, 0x74, 0x67, 0x72,
- 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70,
- 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12,
- 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
- 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x6f,
- 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e,
- 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a, 0x0e, 0x4f, 0x70, 0x74, 0x4e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74,
- 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a,
- 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x1a, 0x29, 0x0a, 0x08, 0x52, 0x70,
- 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74,
- 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53,
- 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f,
- 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
- 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18,
- 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x21,
- 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x02,
- 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36,
- 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18,
- 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65,
- 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04,
- 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12,
- 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x02, 0x28,
- 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x65,
- 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x6e, 0x65, 0x73,
- 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e,
- 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65, 0x71, 0x4e, 0x65, 0x73, 0x74, 0x65,
- 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75,
- 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72,
- 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
- 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68,
- 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f,
- 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65,
- 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02, 0x0a, 0x10, 0x49, 0x6e, 0x64, 0x69,
- 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a,
- 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74,
- 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e,
- 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
- 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d,
- 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65,
- 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f,
- 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72,
- 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f,
- 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
- 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52,
- 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66,
- 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e,
- 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
- 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62,
- 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75,
- 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42,
- 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69, 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74,
- 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53,
- 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f,
- 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c,
- 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x2a, 0x04, 0x08,
- 0x14, 0x10, 0x65, 0x22, 0x89, 0x04, 0x0a, 0x13, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
- 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x32, 0x31, 0x0a, 0x0c, 0x6f,
- 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62,
- 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x33, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x32, 0x35,
- 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
- 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53,
- 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74,
- 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70,
- 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45,
- 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e,
- 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70,
- 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78,
- 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65,
- 0x78, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
- 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x37, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52,
- 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x50,
- 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78,
- 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3d, 0x20, 0x03, 0x28, 0x09, 0x52,
- 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a,
- 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e,
- 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3e,
- 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52,
- 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x72,
- 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e,
- 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3f,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65,
- 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22,
- 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08,
- 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08, 0x01, 0x22, 0xb6, 0x02, 0x0a, 0x13,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
- 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
- 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65,
- 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62,
- 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
- 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f,
- 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18,
- 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52,
- 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x5f, 0x6e,
- 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70,
- 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x65, 0x78, 0x74, 0x4e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02,
- 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a,
- 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x65, 0x0a, 0x15, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
- 0x6f, 0x6e, 0x22, 0x9e, 0x08, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65,
- 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
- 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
- 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
- 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74,
- 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c,
- 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x3b, 0x0a, 0x0a,
- 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09,
- 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74,
- 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74,
- 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c,
- 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61,
- 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74,
- 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c,
- 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x3b, 0x0a,
- 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
- 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70,
- 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42,
- 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x75, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
- 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
- 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
- 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63,
- 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74,
- 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x6f,
- 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4c, 0x69,
- 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
- 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f,
- 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e,
- 0x75, 0x6c, 0x6c, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c,
- 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x33,
- 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d,
- 0x70, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41,
- 0x6e, 0x79, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6d,
- 0x61, 0x73, 0x6b, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c,
- 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x6d,
- 0x61, 0x73, 0x6b, 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f,
- 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a,
- 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78,
- 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74,
- 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f,
- 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74,
- 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62,
- 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
- 0x3a, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
- 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e,
- 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42,
- 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64,
- 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x3a, 0x4d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61,
- 0x72, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70,
- 0x62, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72,
- 0x65, 0x64, 0x52, 0x0d, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61,
- 0x6c, 0x3a, 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78,
- 0x65, 0x64, 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74,
- 0x45, 0x78, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70,
- 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
- 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x20, 0x20, 0x03, 0x28,
- 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70,
- 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f,
- 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32,
- 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x21, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c,
- 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15,
- 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70,
- 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65,
- 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42,
- 0x38, 0x5a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
- 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x32,
-}
-
-var (
- file_internal_testprotos_textpb2_test_proto_rawDescOnce sync.Once
- file_internal_testprotos_textpb2_test_proto_rawDescData = file_internal_testprotos_textpb2_test_proto_rawDesc
-)
-
-func file_internal_testprotos_textpb2_test_proto_rawDescGZIP() []byte {
- file_internal_testprotos_textpb2_test_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_textpb2_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_textpb2_test_proto_rawDescData)
- })
- return file_internal_testprotos_textpb2_test_proto_rawDescData
-}
-
-var file_internal_testprotos_textpb2_test_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
-var file_internal_testprotos_textpb2_test_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
-var file_internal_testprotos_textpb2_test_proto_goTypes = []interface{}{
- (Enum)(0), // 0: pb2.Enum
- (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum
- (*Scalars)(nil), // 2: pb2.Scalars
- (*Enums)(nil), // 3: pb2.Enums
- (*Repeats)(nil), // 4: pb2.Repeats
- (*Maps)(nil), // 5: pb2.Maps
- (*Nested)(nil), // 6: pb2.Nested
- (*Nests)(nil), // 7: pb2.Nests
- (*Requireds)(nil), // 8: pb2.Requireds
- (*PartialRequired)(nil), // 9: pb2.PartialRequired
- (*NestedWithRequired)(nil), // 10: pb2.NestedWithRequired
- (*IndirectRequired)(nil), // 11: pb2.IndirectRequired
- (*Extensions)(nil), // 12: pb2.Extensions
- (*ExtensionsContainer)(nil), // 13: pb2.ExtensionsContainer
- (*MessageSet)(nil), // 14: pb2.MessageSet
- (*MessageSetExtension)(nil), // 15: pb2.MessageSetExtension
- (*FakeMessageSet)(nil), // 16: pb2.FakeMessageSet
- (*FakeMessageSetExtension)(nil), // 17: pb2.FakeMessageSetExtension
- (*KnownTypes)(nil), // 18: pb2.KnownTypes
- nil, // 19: pb2.Maps.Int32ToStrEntry
- nil, // 20: pb2.Maps.StrToNestedEntry
- (*Nests_OptGroup)(nil), // 21: pb2.Nests.OptGroup
- (*Nests_RptGroup)(nil), // 22: pb2.Nests.RptGroup
- (*Nests_OptGroup_OptNestedGroup)(nil), // 23: pb2.Nests.OptGroup.OptNestedGroup
- nil, // 24: pb2.IndirectRequired.StrToNestedEntry
- (*wrapperspb.BoolValue)(nil), // 25: google.protobuf.BoolValue
- (*wrapperspb.Int32Value)(nil), // 26: google.protobuf.Int32Value
- (*wrapperspb.Int64Value)(nil), // 27: google.protobuf.Int64Value
- (*wrapperspb.UInt32Value)(nil), // 28: google.protobuf.UInt32Value
- (*wrapperspb.UInt64Value)(nil), // 29: google.protobuf.UInt64Value
- (*wrapperspb.FloatValue)(nil), // 30: google.protobuf.FloatValue
- (*wrapperspb.DoubleValue)(nil), // 31: google.protobuf.DoubleValue
- (*wrapperspb.StringValue)(nil), // 32: google.protobuf.StringValue
- (*wrapperspb.BytesValue)(nil), // 33: google.protobuf.BytesValue
- (*durationpb.Duration)(nil), // 34: google.protobuf.Duration
- (*timestamppb.Timestamp)(nil), // 35: google.protobuf.Timestamp
- (*structpb.Struct)(nil), // 36: google.protobuf.Struct
- (*structpb.ListValue)(nil), // 37: google.protobuf.ListValue
- (*structpb.Value)(nil), // 38: google.protobuf.Value
- (structpb.NullValue)(0), // 39: google.protobuf.NullValue
- (*emptypb.Empty)(nil), // 40: google.protobuf.Empty
- (*anypb.Any)(nil), // 41: google.protobuf.Any
- (*fieldmaskpb.FieldMask)(nil), // 42: google.protobuf.FieldMask
-}
-var file_internal_testprotos_textpb2_test_proto_depIdxs = []int32{
- 0, // 0: pb2.Enums.opt_enum:type_name -> pb2.Enum
- 0, // 1: pb2.Enums.rpt_enum:type_name -> pb2.Enum
- 1, // 2: pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum
- 1, // 3: pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum
- 19, // 4: pb2.Maps.int32_to_str:type_name -> pb2.Maps.Int32ToStrEntry
- 20, // 5: pb2.Maps.str_to_nested:type_name -> pb2.Maps.StrToNestedEntry
- 6, // 6: pb2.Nested.opt_nested:type_name -> pb2.Nested
- 6, // 7: pb2.Nests.opt_nested:type_name -> pb2.Nested
- 21, // 8: pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup
- 6, // 9: pb2.Nests.rpt_nested:type_name -> pb2.Nested
- 22, // 10: pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup
- 0, // 11: pb2.Requireds.req_enum:type_name -> pb2.Enum
- 6, // 12: pb2.Requireds.req_nested:type_name -> pb2.Nested
- 10, // 13: pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired
- 10, // 14: pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired
- 24, // 15: pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry
- 10, // 16: pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired
- 25, // 17: pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue
- 26, // 18: pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value
- 27, // 19: pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value
- 28, // 20: pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value
- 29, // 21: pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value
- 30, // 22: pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue
- 31, // 23: pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue
- 32, // 24: pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue
- 33, // 25: pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue
- 34, // 26: pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration
- 35, // 27: pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp
- 36, // 28: pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct
- 37, // 29: pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue
- 38, // 30: pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value
- 39, // 31: pb2.KnownTypes.opt_null:type_name -> google.protobuf.NullValue
- 40, // 32: pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty
- 41, // 33: pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any
- 42, // 34: pb2.KnownTypes.opt_fieldmask:type_name -> google.protobuf.FieldMask
- 6, // 35: pb2.Maps.StrToNestedEntry.value:type_name -> pb2.Nested
- 6, // 36: pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested
- 23, // 37: pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup
- 10, // 38: pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired
- 12, // 39: pb2.opt_ext_bool:extendee -> pb2.Extensions
- 12, // 40: pb2.opt_ext_string:extendee -> pb2.Extensions
- 12, // 41: pb2.opt_ext_enum:extendee -> pb2.Extensions
- 12, // 42: pb2.opt_ext_nested:extendee -> pb2.Extensions
- 12, // 43: pb2.opt_ext_partial:extendee -> pb2.Extensions
- 12, // 44: pb2.rpt_ext_fixed32:extendee -> pb2.Extensions
- 12, // 45: pb2.rpt_ext_enum:extendee -> pb2.Extensions
- 12, // 46: pb2.rpt_ext_nested:extendee -> pb2.Extensions
- 14, // 47: pb2.message_set_extension:extendee -> pb2.MessageSet
- 12, // 48: pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions
- 12, // 49: pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions
- 12, // 50: pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions
- 12, // 51: pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions
- 12, // 52: pb2.ExtensionsContainer.opt_ext_partial:extendee -> pb2.Extensions
- 12, // 53: pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions
- 12, // 54: pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions
- 12, // 55: pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions
- 14, // 56: pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet
- 14, // 57: pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet
- 14, // 58: pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet
- 16, // 59: pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet
- 0, // 60: pb2.opt_ext_enum:type_name -> pb2.Enum
- 6, // 61: pb2.opt_ext_nested:type_name -> pb2.Nested
- 9, // 62: pb2.opt_ext_partial:type_name -> pb2.PartialRequired
- 0, // 63: pb2.rpt_ext_enum:type_name -> pb2.Enum
- 6, // 64: pb2.rpt_ext_nested:type_name -> pb2.Nested
- 17, // 65: pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension
- 0, // 66: pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum
- 6, // 67: pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested
- 9, // 68: pb2.ExtensionsContainer.opt_ext_partial:type_name -> pb2.PartialRequired
- 0, // 69: pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum
- 6, // 70: pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested
- 15, // 71: pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension
- 15, // 72: pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension
- 6, // 73: pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested
- 17, // 74: pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension
- 75, // [75:75] is the sub-list for method output_type
- 75, // [75:75] is the sub-list for method input_type
- 60, // [60:75] is the sub-list for extension type_name
- 39, // [39:60] is the sub-list for extension extendee
- 0, // [0:39] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_textpb2_test_proto_init() }
-func file_internal_testprotos_textpb2_test_proto_init() {
- if File_internal_testprotos_textpb2_test_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_textpb2_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Scalars); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Enums); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Repeats); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Maps); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Nested); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Nests); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Requireds); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PartialRequired); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*NestedWithRequired); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*IndirectRequired); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Extensions); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- case 3:
- return &v.extensionFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ExtensionsContainer); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MessageSet); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- case 3:
- return &v.extensionFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MessageSetExtension); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FakeMessageSet); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- case 3:
- return &v.extensionFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FakeMessageSetExtension); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*KnownTypes); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Nests_OptGroup); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Nests_RptGroup); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Nests_OptGroup_OptNestedGroup); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_internal_testprotos_textpb2_test_proto_msgTypes[9].OneofWrappers = []interface{}{
- (*IndirectRequired_OneofNested)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_textpb2_test_proto_rawDesc,
- NumEnums: 2,
- NumMessages: 23,
- NumExtensions: 21,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_textpb2_test_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_textpb2_test_proto_depIdxs,
- EnumInfos: file_internal_testprotos_textpb2_test_proto_enumTypes,
- MessageInfos: file_internal_testprotos_textpb2_test_proto_msgTypes,
- ExtensionInfos: file_internal_testprotos_textpb2_test_proto_extTypes,
- }.Build()
- File_internal_testprotos_textpb2_test_proto = out.File
- file_internal_testprotos_textpb2_test_proto_rawDesc = nil
- file_internal_testprotos_textpb2_test_proto_goTypes = nil
- file_internal_testprotos_textpb2_test_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/textpb2/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/textpb2/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/textpb2/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/textpb3/test.pb.go b/vendor/google.golang.org/protobuf/internal/testprotos/textpb3/test.pb.go
deleted file mode 100644
index be8034c5b0..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/textpb3/test.pb.go
+++ /dev/null
@@ -1,1270 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Test Protobuf definitions with proto3 syntax.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: internal/testprotos/textpb3/test.proto
-
-package textpb3
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-type Enum int32
-
-const (
- Enum_ZERO Enum = 0
- Enum_ONE Enum = 1
- Enum_TWO Enum = 2
- Enum_TEN Enum = 10
-)
-
-// Enum value maps for Enum.
-var (
- Enum_name = map[int32]string{
- 0: "ZERO",
- 1: "ONE",
- 2: "TWO",
- 10: "TEN",
- }
- Enum_value = map[string]int32{
- "ZERO": 0,
- "ONE": 1,
- "TWO": 2,
- "TEN": 10,
- }
-)
-
-func (x Enum) Enum() *Enum {
- p := new(Enum)
- *p = x
- return p
-}
-
-func (x Enum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Enum) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_textpb3_test_proto_enumTypes[0].Descriptor()
-}
-
-func (Enum) Type() protoreflect.EnumType {
- return &file_internal_testprotos_textpb3_test_proto_enumTypes[0]
-}
-
-func (x Enum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use Enum.Descriptor instead.
-func (Enum) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{0}
-}
-
-type Enums_NestedEnum int32
-
-const (
- Enums_CERO Enums_NestedEnum = 0
- Enums_UNO Enums_NestedEnum = 1
- Enums_DOS Enums_NestedEnum = 2
- Enums_DIEZ Enums_NestedEnum = 10
-)
-
-// Enum value maps for Enums_NestedEnum.
-var (
- Enums_NestedEnum_name = map[int32]string{
- 0: "CERO",
- 1: "UNO",
- 2: "DOS",
- 10: "DIEZ",
- }
- Enums_NestedEnum_value = map[string]int32{
- "CERO": 0,
- "UNO": 1,
- "DOS": 2,
- "DIEZ": 10,
- }
-)
-
-func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
- p := new(Enums_NestedEnum)
- *p = x
- return p
-}
-
-func (x Enums_NestedEnum) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
- return file_internal_testprotos_textpb3_test_proto_enumTypes[1].Descriptor()
-}
-
-func (Enums_NestedEnum) Type() protoreflect.EnumType {
- return &file_internal_testprotos_textpb3_test_proto_enumTypes[1]
-}
-
-func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Use Enums_NestedEnum.Descriptor instead.
-func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{3, 0}
-}
-
-// Scalars contains scalar field types.
-type Scalars struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- SBool bool `protobuf:"varint,1,opt,name=s_bool,json=sBool,proto3" json:"s_bool,omitempty"`
- SInt32 int32 `protobuf:"varint,2,opt,name=s_int32,json=sInt32,proto3" json:"s_int32,omitempty"`
- SInt64 int64 `protobuf:"varint,3,opt,name=s_int64,json=sInt64,proto3" json:"s_int64,omitempty"`
- SUint32 uint32 `protobuf:"varint,4,opt,name=s_uint32,json=sUint32,proto3" json:"s_uint32,omitempty"`
- SUint64 uint64 `protobuf:"varint,5,opt,name=s_uint64,json=sUint64,proto3" json:"s_uint64,omitempty"`
- SSint32 int32 `protobuf:"zigzag32,6,opt,name=s_sint32,json=sSint32,proto3" json:"s_sint32,omitempty"`
- SSint64 int64 `protobuf:"zigzag64,7,opt,name=s_sint64,json=sSint64,proto3" json:"s_sint64,omitempty"`
- SFixed32 uint32 `protobuf:"fixed32,8,opt,name=s_fixed32,json=sFixed32,proto3" json:"s_fixed32,omitempty"`
- SFixed64 uint64 `protobuf:"fixed64,9,opt,name=s_fixed64,json=sFixed64,proto3" json:"s_fixed64,omitempty"`
- SSfixed32 int32 `protobuf:"fixed32,10,opt,name=s_sfixed32,json=sSfixed32,proto3" json:"s_sfixed32,omitempty"`
- SSfixed64 int64 `protobuf:"fixed64,11,opt,name=s_sfixed64,json=sSfixed64,proto3" json:"s_sfixed64,omitempty"`
- SFloat float32 `protobuf:"fixed32,20,opt,name=s_float,json=sFloat,proto3" json:"s_float,omitempty"`
- SDouble float64 `protobuf:"fixed64,21,opt,name=s_double,json=sDouble,proto3" json:"s_double,omitempty"`
- SBytes []byte `protobuf:"bytes,14,opt,name=s_bytes,json=sBytes,proto3" json:"s_bytes,omitempty"`
- SString string `protobuf:"bytes,13,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
-}
-
-func (x *Scalars) Reset() {
- *x = Scalars{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Scalars) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Scalars) ProtoMessage() {}
-
-func (x *Scalars) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Scalars.ProtoReflect.Descriptor instead.
-func (*Scalars) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *Scalars) GetSBool() bool {
- if x != nil {
- return x.SBool
- }
- return false
-}
-
-func (x *Scalars) GetSInt32() int32 {
- if x != nil {
- return x.SInt32
- }
- return 0
-}
-
-func (x *Scalars) GetSInt64() int64 {
- if x != nil {
- return x.SInt64
- }
- return 0
-}
-
-func (x *Scalars) GetSUint32() uint32 {
- if x != nil {
- return x.SUint32
- }
- return 0
-}
-
-func (x *Scalars) GetSUint64() uint64 {
- if x != nil {
- return x.SUint64
- }
- return 0
-}
-
-func (x *Scalars) GetSSint32() int32 {
- if x != nil {
- return x.SSint32
- }
- return 0
-}
-
-func (x *Scalars) GetSSint64() int64 {
- if x != nil {
- return x.SSint64
- }
- return 0
-}
-
-func (x *Scalars) GetSFixed32() uint32 {
- if x != nil {
- return x.SFixed32
- }
- return 0
-}
-
-func (x *Scalars) GetSFixed64() uint64 {
- if x != nil {
- return x.SFixed64
- }
- return 0
-}
-
-func (x *Scalars) GetSSfixed32() int32 {
- if x != nil {
- return x.SSfixed32
- }
- return 0
-}
-
-func (x *Scalars) GetSSfixed64() int64 {
- if x != nil {
- return x.SSfixed64
- }
- return 0
-}
-
-func (x *Scalars) GetSFloat() float32 {
- if x != nil {
- return x.SFloat
- }
- return 0
-}
-
-func (x *Scalars) GetSDouble() float64 {
- if x != nil {
- return x.SDouble
- }
- return 0
-}
-
-func (x *Scalars) GetSBytes() []byte {
- if x != nil {
- return x.SBytes
- }
- return nil
-}
-
-func (x *Scalars) GetSString() string {
- if x != nil {
- return x.SString
- }
- return ""
-}
-
-// Message contains repeated fields.
-type Repeats struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RptBool []bool `protobuf:"varint,1,rep,packed,name=rpt_bool,json=rptBool,proto3" json:"rpt_bool,omitempty"`
- RptInt32 []int32 `protobuf:"varint,2,rep,packed,name=rpt_int32,json=rptInt32,proto3" json:"rpt_int32,omitempty"`
- RptInt64 []int64 `protobuf:"varint,3,rep,packed,name=rpt_int64,json=rptInt64,proto3" json:"rpt_int64,omitempty"`
- RptUint32 []uint32 `protobuf:"varint,4,rep,packed,name=rpt_uint32,json=rptUint32,proto3" json:"rpt_uint32,omitempty"`
- RptUint64 []uint64 `protobuf:"varint,5,rep,packed,name=rpt_uint64,json=rptUint64,proto3" json:"rpt_uint64,omitempty"`
- RptFloat []float32 `protobuf:"fixed32,6,rep,packed,name=rpt_float,json=rptFloat,proto3" json:"rpt_float,omitempty"`
- RptDouble []float64 `protobuf:"fixed64,7,rep,packed,name=rpt_double,json=rptDouble,proto3" json:"rpt_double,omitempty"`
- RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString,proto3" json:"rpt_string,omitempty"`
- RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes,proto3" json:"rpt_bytes,omitempty"`
-}
-
-func (x *Repeats) Reset() {
- *x = Repeats{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Repeats) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Repeats) ProtoMessage() {}
-
-func (x *Repeats) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Repeats.ProtoReflect.Descriptor instead.
-func (*Repeats) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *Repeats) GetRptBool() []bool {
- if x != nil {
- return x.RptBool
- }
- return nil
-}
-
-func (x *Repeats) GetRptInt32() []int32 {
- if x != nil {
- return x.RptInt32
- }
- return nil
-}
-
-func (x *Repeats) GetRptInt64() []int64 {
- if x != nil {
- return x.RptInt64
- }
- return nil
-}
-
-func (x *Repeats) GetRptUint32() []uint32 {
- if x != nil {
- return x.RptUint32
- }
- return nil
-}
-
-func (x *Repeats) GetRptUint64() []uint64 {
- if x != nil {
- return x.RptUint64
- }
- return nil
-}
-
-func (x *Repeats) GetRptFloat() []float32 {
- if x != nil {
- return x.RptFloat
- }
- return nil
-}
-
-func (x *Repeats) GetRptDouble() []float64 {
- if x != nil {
- return x.RptDouble
- }
- return nil
-}
-
-func (x *Repeats) GetRptString() []string {
- if x != nil {
- return x.RptString
- }
- return nil
-}
-
-func (x *Repeats) GetRptBytes() [][]byte {
- if x != nil {
- return x.RptBytes
- }
- return nil
-}
-
-type Proto3Optional struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool,proto3,oneof" json:"opt_bool,omitempty"`
- OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32,proto3,oneof" json:"opt_int32,omitempty"`
- OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64,proto3,oneof" json:"opt_int64,omitempty"`
- OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32,proto3,oneof" json:"opt_uint32,omitempty"`
- OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64,proto3,oneof" json:"opt_uint64,omitempty"`
- OptFloat *float32 `protobuf:"fixed32,6,opt,name=opt_float,json=optFloat,proto3,oneof" json:"opt_float,omitempty"`
- OptDouble *float64 `protobuf:"fixed64,7,opt,name=opt_double,json=optDouble,proto3,oneof" json:"opt_double,omitempty"`
- OptString *string `protobuf:"bytes,8,opt,name=opt_string,json=optString,proto3,oneof" json:"opt_string,omitempty"`
- OptBytes []byte `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes,proto3,oneof" json:"opt_bytes,omitempty"`
- OptEnum *Enum `protobuf:"varint,10,opt,name=opt_enum,json=optEnum,proto3,enum=pb3.Enum,oneof" json:"opt_enum,omitempty"`
- OptMessage *Nested `protobuf:"bytes,11,opt,name=opt_message,json=optMessage,proto3,oneof" json:"opt_message,omitempty"`
-}
-
-func (x *Proto3Optional) Reset() {
- *x = Proto3Optional{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Proto3Optional) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Proto3Optional) ProtoMessage() {}
-
-func (x *Proto3Optional) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Proto3Optional.ProtoReflect.Descriptor instead.
-func (*Proto3Optional) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{2}
-}
-
-func (x *Proto3Optional) GetOptBool() bool {
- if x != nil && x.OptBool != nil {
- return *x.OptBool
- }
- return false
-}
-
-func (x *Proto3Optional) GetOptInt32() int32 {
- if x != nil && x.OptInt32 != nil {
- return *x.OptInt32
- }
- return 0
-}
-
-func (x *Proto3Optional) GetOptInt64() int64 {
- if x != nil && x.OptInt64 != nil {
- return *x.OptInt64
- }
- return 0
-}
-
-func (x *Proto3Optional) GetOptUint32() uint32 {
- if x != nil && x.OptUint32 != nil {
- return *x.OptUint32
- }
- return 0
-}
-
-func (x *Proto3Optional) GetOptUint64() uint64 {
- if x != nil && x.OptUint64 != nil {
- return *x.OptUint64
- }
- return 0
-}
-
-func (x *Proto3Optional) GetOptFloat() float32 {
- if x != nil && x.OptFloat != nil {
- return *x.OptFloat
- }
- return 0
-}
-
-func (x *Proto3Optional) GetOptDouble() float64 {
- if x != nil && x.OptDouble != nil {
- return *x.OptDouble
- }
- return 0
-}
-
-func (x *Proto3Optional) GetOptString() string {
- if x != nil && x.OptString != nil {
- return *x.OptString
- }
- return ""
-}
-
-func (x *Proto3Optional) GetOptBytes() []byte {
- if x != nil {
- return x.OptBytes
- }
- return nil
-}
-
-func (x *Proto3Optional) GetOptEnum() Enum {
- if x != nil && x.OptEnum != nil {
- return *x.OptEnum
- }
- return Enum_ZERO
-}
-
-func (x *Proto3Optional) GetOptMessage() *Nested {
- if x != nil {
- return x.OptMessage
- }
- return nil
-}
-
-// Message contains enum fields.
-type Enums struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- SEnum Enum `protobuf:"varint,1,opt,name=s_enum,json=sEnum,proto3,enum=pb3.Enum" json:"s_enum,omitempty"`
- SNestedEnum Enums_NestedEnum `protobuf:"varint,3,opt,name=s_nested_enum,json=sNestedEnum,proto3,enum=pb3.Enums_NestedEnum" json:"s_nested_enum,omitempty"`
-}
-
-func (x *Enums) Reset() {
- *x = Enums{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Enums) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Enums) ProtoMessage() {}
-
-func (x *Enums) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Enums.ProtoReflect.Descriptor instead.
-func (*Enums) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *Enums) GetSEnum() Enum {
- if x != nil {
- return x.SEnum
- }
- return Enum_ZERO
-}
-
-func (x *Enums) GetSNestedEnum() Enums_NestedEnum {
- if x != nil {
- return x.SNestedEnum
- }
- return Enums_CERO
-}
-
-// Message contains nested message field.
-type Nests struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
-}
-
-func (x *Nests) Reset() {
- *x = Nests{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Nests) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Nests) ProtoMessage() {}
-
-func (x *Nests) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Nests.ProtoReflect.Descriptor instead.
-func (*Nests) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{4}
-}
-
-func (x *Nests) GetSNested() *Nested {
- if x != nil {
- return x.SNested
- }
- return nil
-}
-
-// Message type used as submessage.
-type Nested struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- SString string `protobuf:"bytes,1,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
- SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
-}
-
-func (x *Nested) Reset() {
- *x = Nested{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Nested) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Nested) ProtoMessage() {}
-
-func (x *Nested) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Nested.ProtoReflect.Descriptor instead.
-func (*Nested) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *Nested) GetSString() string {
- if x != nil {
- return x.SString
- }
- return ""
-}
-
-func (x *Nested) GetSNested() *Nested {
- if x != nil {
- return x.SNested
- }
- return nil
-}
-
-// Message contains oneof field.
-type Oneofs struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Types that are assignable to Union:
- //
- // *Oneofs_OneofEnum
- // *Oneofs_OneofString
- // *Oneofs_OneofNested
- Union isOneofs_Union `protobuf_oneof:"union"`
-}
-
-func (x *Oneofs) Reset() {
- *x = Oneofs{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Oneofs) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Oneofs) ProtoMessage() {}
-
-func (x *Oneofs) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Oneofs.ProtoReflect.Descriptor instead.
-func (*Oneofs) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{6}
-}
-
-func (m *Oneofs) GetUnion() isOneofs_Union {
- if m != nil {
- return m.Union
- }
- return nil
-}
-
-func (x *Oneofs) GetOneofEnum() Enum {
- if x, ok := x.GetUnion().(*Oneofs_OneofEnum); ok {
- return x.OneofEnum
- }
- return Enum_ZERO
-}
-
-func (x *Oneofs) GetOneofString() string {
- if x, ok := x.GetUnion().(*Oneofs_OneofString); ok {
- return x.OneofString
- }
- return ""
-}
-
-func (x *Oneofs) GetOneofNested() *Nested {
- if x, ok := x.GetUnion().(*Oneofs_OneofNested); ok {
- return x.OneofNested
- }
- return nil
-}
-
-type isOneofs_Union interface {
- isOneofs_Union()
-}
-
-type Oneofs_OneofEnum struct {
- OneofEnum Enum `protobuf:"varint,1,opt,name=oneof_enum,json=oneofEnum,proto3,enum=pb3.Enum,oneof"`
-}
-
-type Oneofs_OneofString struct {
- OneofString string `protobuf:"bytes,2,opt,name=oneof_string,json=oneofString,proto3,oneof"`
-}
-
-type Oneofs_OneofNested struct {
- OneofNested *Nested `protobuf:"bytes,3,opt,name=oneof_nested,json=oneofNested,proto3,oneof"`
-}
-
-func (*Oneofs_OneofEnum) isOneofs_Union() {}
-
-func (*Oneofs_OneofString) isOneofs_Union() {}
-
-func (*Oneofs_OneofNested) isOneofs_Union() {}
-
-// Message contains map fields.
-type Maps struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Int32ToStr map[int32]string `protobuf:"bytes,1,rep,name=int32_to_str,json=int32ToStr,proto3" json:"int32_to_str,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- BoolToUint32 map[bool]uint32 `protobuf:"bytes,2,rep,name=bool_to_uint32,json=boolToUint32,proto3" json:"bool_to_uint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
- Uint64ToEnum map[uint64]Enum `protobuf:"bytes,3,rep,name=uint64_to_enum,json=uint64ToEnum,proto3" json:"uint64_to_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=pb3.Enum"`
- StrToNested map[string]*Nested `protobuf:"bytes,4,rep,name=str_to_nested,json=strToNested,proto3" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- StrToOneofs map[string]*Oneofs `protobuf:"bytes,5,rep,name=str_to_oneofs,json=strToOneofs,proto3" json:"str_to_oneofs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
-}
-
-func (x *Maps) Reset() {
- *x = Maps{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *Maps) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Maps) ProtoMessage() {}
-
-func (x *Maps) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Maps.ProtoReflect.Descriptor instead.
-func (*Maps) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{7}
-}
-
-func (x *Maps) GetInt32ToStr() map[int32]string {
- if x != nil {
- return x.Int32ToStr
- }
- return nil
-}
-
-func (x *Maps) GetBoolToUint32() map[bool]uint32 {
- if x != nil {
- return x.BoolToUint32
- }
- return nil
-}
-
-func (x *Maps) GetUint64ToEnum() map[uint64]Enum {
- if x != nil {
- return x.Uint64ToEnum
- }
- return nil
-}
-
-func (x *Maps) GetStrToNested() map[string]*Nested {
- if x != nil {
- return x.StrToNested
- }
- return nil
-}
-
-func (x *Maps) GetStrToOneofs() map[string]*Oneofs {
- if x != nil {
- return x.StrToOneofs
- }
- return nil
-}
-
-// Message for testing json_name option.
-type JSONNames struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- SString string `protobuf:"bytes,1,opt,name=s_string,json=foo_bar,proto3" json:"s_string,omitempty"`
-}
-
-func (x *JSONNames) Reset() {
- *x = JSONNames{}
- if protoimpl.UnsafeEnabled {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *JSONNames) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*JSONNames) ProtoMessage() {}
-
-func (x *JSONNames) ProtoReflect() protoreflect.Message {
- mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use JSONNames.ProtoReflect.Descriptor instead.
-func (*JSONNames) Descriptor() ([]byte, []int) {
- return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{8}
-}
-
-func (x *JSONNames) GetSString() string {
- if x != nil {
- return x.SString
- }
- return ""
-}
-
-var File_internal_testprotos_textpb3_test_proto protoreflect.FileDescriptor
-
-var file_internal_testprotos_textpb3_test_proto_rawDesc = []byte{
- 0x0a, 0x26, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x33, 0x2f, 0x74, 0x65,
- 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x70, 0x62, 0x33, 0x22, 0x9e, 0x03,
- 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x5f, 0x62,
- 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x42, 0x6f, 0x6f, 0x6c,
- 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x05, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69,
- 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74,
- 0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a,
- 0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52,
- 0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69,
- 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e,
- 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b,
- 0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x07, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x73,
- 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28, 0x06, 0x52, 0x08,
- 0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66,
- 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x09, 0x73, 0x53,
- 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x09, 0x73, 0x53, 0x66,
- 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x66, 0x6c, 0x6f, 0x61,
- 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x73, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12,
- 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28,
- 0x01, 0x52, 0x07, 0x73, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f,
- 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x42, 0x79,
- 0x74, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18,
- 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x94,
- 0x02, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70,
- 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70,
- 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
- 0x33, 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74,
- 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
- 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
- 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
- 0x03, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
- 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03,
- 0x28, 0x04, 0x52, 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a,
- 0x09, 0x72, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02,
- 0x52, 0x08, 0x72, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
- 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09,
- 0x72, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
- 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72,
- 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
- 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74,
- 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0xc4, 0x04, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f,
- 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x70,
- 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
- 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x08, 0x6f,
- 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x6f, 0x70,
- 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x02, 0x52,
- 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a,
- 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d,
- 0x48, 0x03, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x88, 0x01, 0x01,
- 0x12, 0x22, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x04, 0x48, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36,
- 0x34, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61,
- 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x48, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c,
- 0x6f, 0x61, 0x74, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
- 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x48, 0x06, 0x52, 0x09, 0x6f, 0x70,
- 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x6f, 0x70,
- 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x07,
- 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, 0x20,
- 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28,
- 0x0c, 0x48, 0x08, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01,
- 0x12, 0x29, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01,
- 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x09, 0x52,
- 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x0b, 0x6f,
- 0x70, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x48, 0x0a, 0x52,
- 0x0a, 0x6f, 0x70, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0b,
- 0x0a, 0x09, 0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70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75,
- 0x6d, 0x52, 0x05, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x39, 0x0a, 0x0d, 0x73, 0x5f, 0x6e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x15, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0b, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45,
- 0x6e, 0x75, 0x6d, 0x22, 0x32, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
- 0x6d, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55,
- 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a,
- 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x2f, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73,
- 0x12, 0x26, 0x0a, 0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
- 0x07, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4b, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74,
- 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a,
- 0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e,
- 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x06, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73,
- 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x48,
- 0x00, 0x52, 0x09, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0c,
- 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x53, 0x74, 0x72, 0x69, 0x6e,
- 0x67, 0x12, 0x30, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65,
- 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65,
- 0x73, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73,
- 0x74, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0xaf, 0x05, 0x0a,
- 0x04, 0x4d, 0x61, 0x70, 0x73, 0x12, 0x3b, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x74,
- 0x6f, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62,
- 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74,
- 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53,
- 0x74, 0x72, 0x12, 0x41, 0x0a, 0x0e, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x69,
- 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x33,
- 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74,
- 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x62, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55,
- 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x41, 0x0a, 0x0e, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f,
- 0x74, 0x6f, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
- 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54,
- 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x75, 0x69, 0x6e, 0x74,
- 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f,
- 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f,
- 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72,
- 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f,
- 0x74, 0x6f, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f,
- 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72,
- 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x33,
- 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
- 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
- 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x42, 0x6f, 0x6f, 0x6c, 0x54,
- 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
- 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
- 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x11, 0x55, 0x69, 0x6e, 0x74,
- 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
- 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
- 0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09,
- 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73,
- 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61,
- 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e,
- 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
- 0x01, 0x1a, 0x4b, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73,
- 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4f, 0x6e, 0x65,
- 0x6f, 0x66, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x26,
- 0x0a, 0x09, 0x4a, 0x53, 0x4f, 0x4e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73,
- 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66,
- 0x6f, 0x6f, 0x5f, 0x62, 0x61, 0x72, 0x2a, 0x2b, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08,
- 0x0a, 0x04, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10,
- 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45,
- 0x4e, 0x10, 0x0a, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
- 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x33, 0x62, 0x06, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_internal_testprotos_textpb3_test_proto_rawDescOnce sync.Once
- file_internal_testprotos_textpb3_test_proto_rawDescData = file_internal_testprotos_textpb3_test_proto_rawDesc
-)
-
-func file_internal_testprotos_textpb3_test_proto_rawDescGZIP() []byte {
- file_internal_testprotos_textpb3_test_proto_rawDescOnce.Do(func() {
- file_internal_testprotos_textpb3_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_textpb3_test_proto_rawDescData)
- })
- return file_internal_testprotos_textpb3_test_proto_rawDescData
-}
-
-var file_internal_testprotos_textpb3_test_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
-var file_internal_testprotos_textpb3_test_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
-var file_internal_testprotos_textpb3_test_proto_goTypes = []interface{}{
- (Enum)(0), // 0: pb3.Enum
- (Enums_NestedEnum)(0), // 1: pb3.Enums.NestedEnum
- (*Scalars)(nil), // 2: pb3.Scalars
- (*Repeats)(nil), // 3: pb3.Repeats
- (*Proto3Optional)(nil), // 4: pb3.Proto3Optional
- (*Enums)(nil), // 5: pb3.Enums
- (*Nests)(nil), // 6: pb3.Nests
- (*Nested)(nil), // 7: pb3.Nested
- (*Oneofs)(nil), // 8: pb3.Oneofs
- (*Maps)(nil), // 9: pb3.Maps
- (*JSONNames)(nil), // 10: pb3.JSONNames
- nil, // 11: pb3.Maps.Int32ToStrEntry
- nil, // 12: pb3.Maps.BoolToUint32Entry
- nil, // 13: pb3.Maps.Uint64ToEnumEntry
- nil, // 14: pb3.Maps.StrToNestedEntry
- nil, // 15: pb3.Maps.StrToOneofsEntry
-}
-var file_internal_testprotos_textpb3_test_proto_depIdxs = []int32{
- 0, // 0: pb3.Proto3Optional.opt_enum:type_name -> pb3.Enum
- 7, // 1: pb3.Proto3Optional.opt_message:type_name -> pb3.Nested
- 0, // 2: pb3.Enums.s_enum:type_name -> pb3.Enum
- 1, // 3: pb3.Enums.s_nested_enum:type_name -> pb3.Enums.NestedEnum
- 7, // 4: pb3.Nests.s_nested:type_name -> pb3.Nested
- 7, // 5: pb3.Nested.s_nested:type_name -> pb3.Nested
- 0, // 6: pb3.Oneofs.oneof_enum:type_name -> pb3.Enum
- 7, // 7: pb3.Oneofs.oneof_nested:type_name -> pb3.Nested
- 11, // 8: pb3.Maps.int32_to_str:type_name -> pb3.Maps.Int32ToStrEntry
- 12, // 9: pb3.Maps.bool_to_uint32:type_name -> pb3.Maps.BoolToUint32Entry
- 13, // 10: pb3.Maps.uint64_to_enum:type_name -> pb3.Maps.Uint64ToEnumEntry
- 14, // 11: pb3.Maps.str_to_nested:type_name -> pb3.Maps.StrToNestedEntry
- 15, // 12: pb3.Maps.str_to_oneofs:type_name -> pb3.Maps.StrToOneofsEntry
- 0, // 13: pb3.Maps.Uint64ToEnumEntry.value:type_name -> pb3.Enum
- 7, // 14: pb3.Maps.StrToNestedEntry.value:type_name -> pb3.Nested
- 8, // 15: pb3.Maps.StrToOneofsEntry.value:type_name -> pb3.Oneofs
- 16, // [16:16] is the sub-list for method output_type
- 16, // [16:16] is the sub-list for method input_type
- 16, // [16:16] is the sub-list for extension type_name
- 16, // [16:16] is the sub-list for extension extendee
- 0, // [0:16] is the sub-list for field type_name
-}
-
-func init() { file_internal_testprotos_textpb3_test_proto_init() }
-func file_internal_testprotos_textpb3_test_proto_init() {
- if File_internal_testprotos_textpb3_test_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_internal_testprotos_textpb3_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Scalars); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb3_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Repeats); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb3_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Proto3Optional); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb3_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Enums); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb3_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Nests); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb3_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Nested); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb3_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Oneofs); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb3_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Maps); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_internal_testprotos_textpb3_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*JSONNames); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_internal_testprotos_textpb3_test_proto_msgTypes[2].OneofWrappers = []interface{}{}
- file_internal_testprotos_textpb3_test_proto_msgTypes[6].OneofWrappers = []interface{}{
- (*Oneofs_OneofEnum)(nil),
- (*Oneofs_OneofString)(nil),
- (*Oneofs_OneofNested)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_internal_testprotos_textpb3_test_proto_rawDesc,
- NumEnums: 2,
- NumMessages: 14,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_internal_testprotos_textpb3_test_proto_goTypes,
- DependencyIndexes: file_internal_testprotos_textpb3_test_proto_depIdxs,
- EnumInfos: file_internal_testprotos_textpb3_test_proto_enumTypes,
- MessageInfos: file_internal_testprotos_textpb3_test_proto_msgTypes,
- }.Build()
- File_internal_testprotos_textpb3_test_proto = out.File
- file_internal_testprotos_textpb3_test_proto_rawDesc = nil
- file_internal_testprotos_textpb3_test_proto_goTypes = nil
- file_internal_testprotos_textpb3_test_proto_depIdxs = nil
-}
diff --git a/vendor/google.golang.org/protobuf/internal/testprotos/textpb3/ya.make b/vendor/google.golang.org/protobuf/internal/testprotos/textpb3/ya.make
deleted file mode 100644
index adcd14d710..0000000000
--- a/vendor/google.golang.org/protobuf/internal/testprotos/textpb3/ya.make
+++ /dev/null
@@ -1,7 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(test.pb.go)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/internal/version/version.go b/vendor/google.golang.org/protobuf/internal/version/version.go
index 0999f29d50..d8f48faffa 100644
--- a/vendor/google.golang.org/protobuf/internal/version/version.go
+++ b/vendor/google.golang.org/protobuf/internal/version/version.go
@@ -51,7 +51,7 @@ import (
// 10. Send out the CL for review and submit it.
const (
Major = 1
- Minor = 31
+ Minor = 32
Patch = 0
PreRelease = ""
)
diff --git a/vendor/google.golang.org/protobuf/internal/version/ya.make b/vendor/google.golang.org/protobuf/internal/version/ya.make
index f38441d671..ca3958ecd9 100644
--- a/vendor/google.golang.org/protobuf/internal/version/ya.make
+++ b/vendor/google.golang.org/protobuf/internal/version/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(version.go)
+SRCS(
+ version.go
+)
END()
diff --git a/vendor/google.golang.org/protobuf/proto/bench_test.go b/vendor/google.golang.org/protobuf/proto/bench_test.go
deleted file mode 100644
index 9e9a9c1b5d..0000000000
--- a/vendor/google.golang.org/protobuf/proto/bench_test.go
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "flag"
- "fmt"
- "reflect"
- "testing"
-
- "google.golang.org/protobuf/proto"
-)
-
-// The results of these microbenchmarks are unlikely to correspond well
-// to real world performance. They are mainly useful as a quick check to
-// detect unexpected regressions and for profiling specific cases.
-
-var (
- allowPartial = flag.Bool("allow_partial", false, "set AllowPartial")
-)
-
-// BenchmarkEncode benchmarks encoding all the test messages.
-func BenchmarkEncode(b *testing.B) {
- for _, test := range testValidMessages {
- for _, want := range test.decodeTo {
- opts := proto.MarshalOptions{AllowPartial: *allowPartial}
- b.Run(fmt.Sprintf("%s (%T)", test.desc, want), func(b *testing.B) {
- b.RunParallel(func(pb *testing.PB) {
- for pb.Next() {
- _, err := opts.Marshal(want)
- if err != nil && !test.partial {
- b.Fatal(err)
- }
- }
- })
- })
- }
- }
-}
-
-// BenchmarkDecode benchmarks decoding all the test messages.
-func BenchmarkDecode(b *testing.B) {
- for _, test := range testValidMessages {
- for _, want := range test.decodeTo {
- opts := proto.UnmarshalOptions{AllowPartial: *allowPartial}
- b.Run(fmt.Sprintf("%s (%T)", test.desc, want), func(b *testing.B) {
- b.RunParallel(func(pb *testing.PB) {
- for pb.Next() {
- m := reflect.New(reflect.TypeOf(want).Elem()).Interface().(proto.Message)
- err := opts.Unmarshal(test.wire, m)
- if err != nil && !test.partial {
- b.Fatal(err)
- }
- }
- })
- })
- }
- }
-}
diff --git a/vendor/google.golang.org/protobuf/proto/checkinit_test.go b/vendor/google.golang.org/protobuf/proto/checkinit_test.go
deleted file mode 100644
index 29c9a9a4c8..0000000000
--- a/vendor/google.golang.org/protobuf/proto/checkinit_test.go
+++ /dev/null
@@ -1,89 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "fmt"
- "strings"
- "testing"
-
- "google.golang.org/protobuf/encoding/prototext"
- "google.golang.org/protobuf/internal/flags"
- "google.golang.org/protobuf/proto"
-
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- weakpb "google.golang.org/protobuf/internal/testprotos/test/weak1"
-)
-
-func TestCheckInitializedErrors(t *testing.T) {
- type test struct {
- m proto.Message
- want string
- skip bool
- }
- tests := []test{{
- m: &testpb.TestRequired{},
- want: `goproto.proto.test.TestRequired.required_field`,
- }, {
- m: &testpb.TestRequiredForeign{
- OptionalMessage: &testpb.TestRequired{},
- },
- want: `goproto.proto.test.TestRequired.required_field`,
- }, {
- m: &testpb.TestRequiredForeign{
- RepeatedMessage: []*testpb.TestRequired{
- {RequiredField: proto.Int32(1)},
- {},
- },
- },
- want: `goproto.proto.test.TestRequired.required_field`,
- }, {
- m: &testpb.TestRequiredForeign{
- MapMessage: map[int32]*testpb.TestRequired{
- 1: {},
- },
- },
- want: `goproto.proto.test.TestRequired.required_field`,
- }, {
- m: &testpb.TestWeak{},
- want: `<nil>`,
- skip: !flags.ProtoLegacy,
- }, {
- m: func() proto.Message {
- m := &testpb.TestWeak{}
- m.SetWeakMessage1(&weakpb.WeakImportMessage1{})
- return m
- }(),
- want: `goproto.proto.test.weak.WeakImportMessage1.a`,
- skip: !flags.ProtoLegacy,
- }, {
- m: func() proto.Message {
- m := &testpb.TestWeak{}
- m.SetWeakMessage1(&weakpb.WeakImportMessage1{
- A: proto.Int32(1),
- })
- return m
- }(),
- want: `<nil>`,
- skip: !flags.ProtoLegacy,
- }}
-
- for _, tt := range tests {
- t.Run("", func(t *testing.T) {
- if tt.skip {
- t.SkipNow()
- }
-
- err := proto.CheckInitialized(tt.m)
- got := "<nil>"
- if err != nil {
- got = fmt.Sprintf("%q", err)
- }
- if !strings.Contains(got, tt.want) {
- t.Errorf("CheckInitialized(m):\n got: %v\nwant contains: %v\nMessage:\n%v", got, tt.want, prototext.Format(tt.m))
- }
- })
- }
-}
diff --git a/vendor/google.golang.org/protobuf/proto/decode.go b/vendor/google.golang.org/protobuf/proto/decode.go
index 48d47946bb..e5b03b5677 100644
--- a/vendor/google.golang.org/protobuf/proto/decode.go
+++ b/vendor/google.golang.org/protobuf/proto/decode.go
@@ -69,7 +69,7 @@ func (o UnmarshalOptions) Unmarshal(b []byte, m Message) error {
// UnmarshalState parses a wire-format message and places the result in m.
//
// This method permits fine-grained control over the unmarshaler.
-// Most users should use Unmarshal instead.
+// Most users should use [Unmarshal] instead.
func (o UnmarshalOptions) UnmarshalState(in protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) {
if o.RecursionLimit == 0 {
o.RecursionLimit = protowire.DefaultRecursionLimit
diff --git a/vendor/google.golang.org/protobuf/proto/decode_test.go b/vendor/google.golang.org/protobuf/proto/decode_test.go
deleted file mode 100644
index 1b2f2166b0..0000000000
--- a/vendor/google.golang.org/protobuf/proto/decode_test.go
+++ /dev/null
@@ -1,157 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "bytes"
- "fmt"
- "reflect"
- "testing"
-
- "google.golang.org/protobuf/encoding/prototext"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/testing/protopack"
-
- "google.golang.org/protobuf/internal/errors"
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- test3pb "google.golang.org/protobuf/internal/testprotos/test3"
-)
-
-func TestDecode(t *testing.T) {
- for _, test := range testValidMessages {
- if len(test.decodeTo) == 0 {
- t.Errorf("%v: no test message types", test.desc)
- }
- for _, want := range test.decodeTo {
- t.Run(fmt.Sprintf("%s (%T)", test.desc, want), func(t *testing.T) {
- opts := test.unmarshalOptions
- opts.AllowPartial = test.partial
- wire := append(([]byte)(nil), test.wire...)
- got := reflect.New(reflect.TypeOf(want).Elem()).Interface().(proto.Message)
- if err := opts.Unmarshal(wire, got); err != nil {
- t.Errorf("Unmarshal error: %v\nMessage:\n%v", err, prototext.Format(want))
- return
- }
-
- // Aliasing check: Unmarshal shouldn't modify the original wire
- // bytes, and modifying the original wire bytes shouldn't affect
- // the unmarshaled message.
- if !bytes.Equal(test.wire, wire) {
- t.Errorf("Unmarshal unexpectedly modified its input")
- }
- for i := range wire {
- wire[i] = 0
- }
- if !proto.Equal(got, want) && got.ProtoReflect().IsValid() && want.ProtoReflect().IsValid() {
- t.Errorf("Unmarshal returned unexpected result; got:\n%v\nwant:\n%v", prototext.Format(got), prototext.Format(want))
- }
- })
- }
- }
-}
-
-func TestDecodeRequiredFieldChecks(t *testing.T) {
- for _, test := range testValidMessages {
- if !test.partial {
- continue
- }
- for _, m := range test.decodeTo {
- t.Run(fmt.Sprintf("%s (%T)", test.desc, m), func(t *testing.T) {
- opts := test.unmarshalOptions
- opts.AllowPartial = false
- got := reflect.New(reflect.TypeOf(m).Elem()).Interface().(proto.Message)
- if err := proto.Unmarshal(test.wire, got); err == nil {
- t.Fatalf("Unmarshal succeeded (want error)\nMessage:\n%v", prototext.Format(got))
- }
- })
- }
- }
-}
-
-func TestDecodeInvalidMessages(t *testing.T) {
- for _, test := range testInvalidMessages {
- if len(test.decodeTo) == 0 {
- t.Errorf("%v: no test message types", test.desc)
- }
- for _, want := range test.decodeTo {
- t.Run(fmt.Sprintf("%s (%T)", test.desc, want), func(t *testing.T) {
- opts := test.unmarshalOptions
- opts.AllowPartial = test.partial
- got := want.ProtoReflect().New().Interface()
- if err := opts.Unmarshal(test.wire, got); err == nil {
- t.Errorf("Unmarshal unexpectedly succeeded\ninput bytes: [%x]\nMessage:\n%v", test.wire, prototext.Format(got))
- } else if !errors.Is(err, proto.Error) {
- t.Errorf("Unmarshal error is not a proto.Error: %v", err)
- }
- })
- }
- }
-}
-
-func TestDecodeZeroLengthBytes(t *testing.T) {
- // Verify that proto3 bytes fields don't give the mistaken
- // impression that they preserve presence.
- wire := protopack.Message{
- protopack.Tag{94, protopack.BytesType}, protopack.Bytes(nil),
- }.Marshal()
- m := &test3pb.TestAllTypes{}
- if err := proto.Unmarshal(wire, m); err != nil {
- t.Fatal(err)
- }
- if m.OptionalBytes != nil {
- t.Errorf("unmarshal zero-length proto3 bytes field: got %v, want nil", m.OptionalBytes)
- }
-}
-
-func TestDecodeOneofNilWrapper(t *testing.T) {
- wire := protopack.Message{
- protopack.Tag{111, protopack.VarintType}, protopack.Varint(1111),
- }.Marshal()
- m := &testpb.TestAllTypes{OneofField: (*testpb.TestAllTypes_OneofUint32)(nil)}
- if err := proto.Unmarshal(wire, m); err != nil {
- t.Fatal(err)
- }
- if got := m.GetOneofUint32(); got != 1111 {
- t.Errorf("GetOneofUint32() = %v, want %v", got, 1111)
- }
-}
-
-func TestDecodeEmptyBytes(t *testing.T) {
- // There's really nothing wrong with a nil entry in a [][]byte,
- // but we take care to produce non-nil []bytes for zero-length
- // byte strings, so test for it.
- m := &testpb.TestAllTypes{}
- b := protopack.Message{
- protopack.Tag{45, protopack.BytesType}, protopack.Bytes(nil),
- }.Marshal()
- if err := proto.Unmarshal(b, m); err != nil {
- t.Fatal(err)
- }
- if m.RepeatedBytes[0] == nil {
- t.Errorf("unmarshaling repeated bytes field containing zero-length value: Got nil bytes, want non-nil")
- }
-}
-
-func build(m proto.Message, opts ...buildOpt) proto.Message {
- for _, opt := range opts {
- opt(m)
- }
- return m
-}
-
-type buildOpt func(proto.Message)
-
-func unknown(raw protoreflect.RawFields) buildOpt {
- return func(m proto.Message) {
- m.ProtoReflect().SetUnknown(raw)
- }
-}
-
-func extend(desc protoreflect.ExtensionType, value interface{}) buildOpt {
- return func(m proto.Message) {
- proto.SetExtension(m, desc, value)
- }
-}
diff --git a/vendor/google.golang.org/protobuf/proto/doc.go b/vendor/google.golang.org/protobuf/proto/doc.go
index ec71e717fe..80ed16a0c2 100644
--- a/vendor/google.golang.org/protobuf/proto/doc.go
+++ b/vendor/google.golang.org/protobuf/proto/doc.go
@@ -18,27 +18,27 @@
// This package contains functions to convert to and from the wire format,
// an efficient binary serialization of protocol buffers.
//
-// • Size reports the size of a message in the wire format.
+// - [Size] reports the size of a message in the wire format.
//
-// • Marshal converts a message to the wire format.
-// The MarshalOptions type provides more control over wire marshaling.
+// - [Marshal] converts a message to the wire format.
+// The [MarshalOptions] type provides more control over wire marshaling.
//
-// • Unmarshal converts a message from the wire format.
-// The UnmarshalOptions type provides more control over wire unmarshaling.
+// - [Unmarshal] converts a message from the wire format.
+// The [UnmarshalOptions] type provides more control over wire unmarshaling.
//
// # Basic message operations
//
-// • Clone makes a deep copy of a message.
+// - [Clone] makes a deep copy of a message.
//
-// • Merge merges the content of a message into another.
+// - [Merge] merges the content of a message into another.
//
-// • Equal compares two messages. For more control over comparisons
-// and detailed reporting of differences, see package
-// "google.golang.org/protobuf/testing/protocmp".
+// - [Equal] compares two messages. For more control over comparisons
+// and detailed reporting of differences, see package
+// [google.golang.org/protobuf/testing/protocmp].
//
-// • Reset clears the content of a message.
+// - [Reset] clears the content of a message.
//
-// • CheckInitialized reports whether all required fields in a message are set.
+// - [CheckInitialized] reports whether all required fields in a message are set.
//
// # Optional scalar constructors
//
@@ -46,9 +46,9 @@
// as pointers to a value. For example, an optional string field has the
// Go type *string.
//
-// • Bool, Int32, Int64, Uint32, Uint64, Float32, Float64, and String
-// take a value and return a pointer to a new instance of it,
-// to simplify construction of optional field values.
+// - [Bool], [Int32], [Int64], [Uint32], [Uint64], [Float32], [Float64], and [String]
+// take a value and return a pointer to a new instance of it,
+// to simplify construction of optional field values.
//
// Generated enum types usually have an Enum method which performs the
// same operation.
@@ -57,29 +57,29 @@
//
// # Extension accessors
//
-// • HasExtension, GetExtension, SetExtension, and ClearExtension
-// access extension field values in a protocol buffer message.
+// - [HasExtension], [GetExtension], [SetExtension], and [ClearExtension]
+// access extension field values in a protocol buffer message.
//
// Extension fields are only supported in proto2.
//
// # Related packages
//
-// • Package "google.golang.org/protobuf/encoding/protojson" converts messages to
-// and from JSON.
+// - Package [google.golang.org/protobuf/encoding/protojson] converts messages to
+// and from JSON.
//
-// • Package "google.golang.org/protobuf/encoding/prototext" converts messages to
-// and from the text format.
+// - Package [google.golang.org/protobuf/encoding/prototext] converts messages to
+// and from the text format.
//
-// • Package "google.golang.org/protobuf/reflect/protoreflect" provides a
-// reflection interface for protocol buffer data types.
+// - Package [google.golang.org/protobuf/reflect/protoreflect] provides a
+// reflection interface for protocol buffer data types.
//
-// • Package "google.golang.org/protobuf/testing/protocmp" provides features
-// to compare protocol buffer messages with the "github.com/google/go-cmp/cmp"
-// package.
+// - Package [google.golang.org/protobuf/testing/protocmp] provides features
+// to compare protocol buffer messages with the [github.com/google/go-cmp/cmp]
+// package.
//
-// • Package "google.golang.org/protobuf/types/dynamicpb" provides a dynamic
-// message type, suitable for working with messages where the protocol buffer
-// type is only known at runtime.
+// - Package [google.golang.org/protobuf/types/dynamicpb] provides a dynamic
+// message type, suitable for working with messages where the protocol buffer
+// type is only known at runtime.
//
// This module contains additional packages for more specialized use cases.
// Consult the individual package documentation for details.
diff --git a/vendor/google.golang.org/protobuf/proto/encode.go b/vendor/google.golang.org/protobuf/proto/encode.go
index bf7f816d0e..4fed202f9f 100644
--- a/vendor/google.golang.org/protobuf/proto/encode.go
+++ b/vendor/google.golang.org/protobuf/proto/encode.go
@@ -129,7 +129,7 @@ func (o MarshalOptions) MarshalAppend(b []byte, m Message) ([]byte, error) {
// MarshalState returns the wire-format encoding of a message.
//
// This method permits fine-grained control over the marshaler.
-// Most users should use Marshal instead.
+// Most users should use [Marshal] instead.
func (o MarshalOptions) MarshalState(in protoiface.MarshalInput) (protoiface.MarshalOutput, error) {
return o.marshal(in.Buf, in.Message)
}
diff --git a/vendor/google.golang.org/protobuf/proto/encode_test.go b/vendor/google.golang.org/protobuf/proto/encode_test.go
deleted file mode 100644
index 67ffce4f57..0000000000
--- a/vendor/google.golang.org/protobuf/proto/encode_test.go
+++ /dev/null
@@ -1,278 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "bytes"
- "fmt"
- "math"
- "reflect"
- "testing"
-
- "github.com/google/go-cmp/cmp"
-
- "google.golang.org/protobuf/encoding/prototext"
- "google.golang.org/protobuf/encoding/protowire"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
-
- "google.golang.org/protobuf/internal/errors"
- orderpb "google.golang.org/protobuf/internal/testprotos/order"
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- test3pb "google.golang.org/protobuf/internal/testprotos/test3"
-)
-
-func TestEncode(t *testing.T) {
- for _, test := range testValidMessages {
- for _, want := range test.decodeTo {
- t.Run(fmt.Sprintf("%s (%T)", test.desc, want), func(t *testing.T) {
- opts := proto.MarshalOptions{
- AllowPartial: test.partial,
- }
- wire, err := opts.Marshal(want)
- if err != nil {
- t.Fatalf("Marshal error: %v\nMessage:\n%v", err, prototext.Format(want))
- }
-
- size := proto.Size(want)
- if size != len(wire) {
- t.Errorf("Size and marshal disagree: Size(m)=%v; len(Marshal(m))=%v\nMessage:\n%v", size, len(wire), prototext.Format(want))
- }
-
- got := want.ProtoReflect().New().Interface()
- uopts := proto.UnmarshalOptions{
- AllowPartial: test.partial,
- }
- if err := uopts.Unmarshal(wire, got); err != nil {
- t.Errorf("Unmarshal error: %v\nMessage:\n%v", err, prototext.Format(want))
- return
- }
- if !proto.Equal(got, want) && got.ProtoReflect().IsValid() && want.ProtoReflect().IsValid() {
- t.Errorf("Unmarshal returned unexpected result; got:\n%v\nwant:\n%v", prototext.Format(got), prototext.Format(want))
- }
- })
- }
- }
-}
-
-func TestEncodeDeterministic(t *testing.T) {
- for _, test := range testValidMessages {
- for _, want := range test.decodeTo {
- t.Run(fmt.Sprintf("%s (%T)", test.desc, want), func(t *testing.T) {
- opts := proto.MarshalOptions{
- Deterministic: true,
- AllowPartial: test.partial,
- }
- wire, err := opts.Marshal(want)
- if err != nil {
- t.Fatalf("Marshal error: %v\nMessage:\n%v", err, prototext.Format(want))
- }
- wire2, err := opts.Marshal(want)
- if err != nil {
- t.Fatalf("Marshal error: %v\nMessage:\n%v", err, prototext.Format(want))
- }
- if !bytes.Equal(wire, wire2) {
- t.Fatalf("deterministic marshal returned varying results:\n%v", cmp.Diff(wire, wire2))
- }
-
- got := want.ProtoReflect().New().Interface()
- uopts := proto.UnmarshalOptions{
- AllowPartial: test.partial,
- }
- if err := uopts.Unmarshal(wire, got); err != nil {
- t.Errorf("Unmarshal error: %v\nMessage:\n%v", err, prototext.Format(want))
- return
- }
- if !proto.Equal(got, want) && got.ProtoReflect().IsValid() && want.ProtoReflect().IsValid() {
- t.Errorf("Unmarshal returned unexpected result; got:\n%v\nwant:\n%v", prototext.Format(got), prototext.Format(want))
- }
- })
- }
- }
-}
-
-func TestEncodeRequiredFieldChecks(t *testing.T) {
- for _, test := range testValidMessages {
- if !test.partial {
- continue
- }
- for _, m := range test.decodeTo {
- t.Run(fmt.Sprintf("%s (%T)", test.desc, m), func(t *testing.T) {
- _, err := proto.Marshal(m)
- if err == nil {
- t.Fatalf("Marshal succeeded (want error)\nMessage:\n%v", prototext.Format(m))
- }
- })
- }
- }
-}
-
-func TestEncodeAppend(t *testing.T) {
- want := []byte("prefix")
- got := append([]byte(nil), want...)
- got, err := proto.MarshalOptions{}.MarshalAppend(got, &test3pb.TestAllTypes{
- SingularString: "value",
- })
- if err != nil {
- t.Fatal(err)
- }
- if !bytes.HasPrefix(got, want) {
- t.Fatalf("MarshalAppend modified prefix: got %v, want prefix %v", got, want)
- }
-}
-
-func TestEncodeInvalidMessages(t *testing.T) {
- for _, test := range testInvalidMessages {
- for _, m := range test.decodeTo {
- if !m.ProtoReflect().IsValid() {
- continue
- }
- t.Run(fmt.Sprintf("%s (%T)", test.desc, m), func(t *testing.T) {
- opts := proto.MarshalOptions{
- AllowPartial: test.partial,
- }
- got, err := opts.Marshal(m)
- if err == nil {
- t.Fatalf("Marshal unexpectedly succeeded\noutput bytes: [%x]\nMessage:\n%v", got, prototext.Format(m))
- }
- if !errors.Is(err, proto.Error) {
- t.Fatalf("Marshal error is not a proto.Error: %v", err)
- }
- })
- }
- }
-}
-
-func TestEncodeOneofNilWrapper(t *testing.T) {
- m := &testpb.TestAllTypes{OneofField: (*testpb.TestAllTypes_OneofUint32)(nil)}
- b, err := proto.Marshal(m)
- if err != nil {
- t.Fatal(err)
- }
- if len(b) > 0 {
- t.Errorf("Marshal return non-empty, want empty")
- }
-}
-
-func TestMarshalAppendAllocations(t *testing.T) {
- m := &test3pb.TestAllTypes{SingularInt32: 1}
- size := proto.Size(m)
- const count = 1000
- b := make([]byte, size)
- // AllocsPerRun returns an integral value.
- marshalAllocs := testing.AllocsPerRun(count, func() {
- _, err := proto.MarshalOptions{}.MarshalAppend(b[:0], m)
- if err != nil {
- t.Fatal(err)
- }
- })
- b = nil
- marshalAppendAllocs := testing.AllocsPerRun(count, func() {
- var err error
- b, err = proto.MarshalOptions{}.MarshalAppend(b, m)
- if err != nil {
- t.Fatal(err)
- }
- })
- if marshalAllocs != marshalAppendAllocs {
- t.Errorf("%v allocs/op when writing to a preallocated buffer", marshalAllocs)
- t.Errorf("%v allocs/op when repeatedly appending to a slice", marshalAppendAllocs)
- t.Errorf("expect amortized allocs/op to be identical")
- }
-}
-
-func TestEncodeOrder(t *testing.T) {
- // We make no guarantees about the stability of wire marshal output.
- // The order in which fields are marshaled may change over time.
- // If deterministic marshaling is not enabled, it may change over
- // successive calls to proto.Marshal in the same binary.
- //
- // Unfortunately, many users have come to rely on the specific current
- // wire marshal output. Perhaps someday we will choose to deliberately
- // change the marshal output; until that day comes, this test verifies
- // that we don't unintentionally change it.
- m := &orderpb.Message{
- Field_1: proto.String("one"),
- Field_2: proto.String("two"),
- Field_20: proto.String("twenty"),
- Oneof_1: &orderpb.Message_Field_10{"ten"},
- }
- proto.SetExtension(m, orderpb.E_Field_30, "thirty")
- proto.SetExtension(m, orderpb.E_Field_31, "thirty-one")
- proto.SetExtension(m, orderpb.E_Field_32, "thirty-two")
- want := []protoreflect.FieldNumber{
- 30, 31, 32, // extensions first, in number order
- 1, 2, 20, // non-extension, non-oneof in number order
- 10, // oneofs last, undefined order
- }
-
- // Test with deterministic serialization, since fields are not sorted without
- // it when -tags=protoreflect.
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- t.Fatal(err)
- }
- var got []protoreflect.FieldNumber
- for len(b) > 0 {
- num, _, n := protowire.ConsumeField(b)
- if n < 0 {
- t.Fatal(protowire.ParseError(n))
- }
- b = b[n:]
- got = append(got, num)
- }
- if !reflect.DeepEqual(got, want) {
- t.Errorf("unexpected field marshal order:\ngot: %v\nwant: %v\nmessage:\n%v", got, want, m)
- }
-}
-
-func TestEncodeLarge(t *testing.T) {
- // Encode/decode a message large enough to overflow a 32-bit size cache.
- t.Skip("too slow and memory-hungry to run all the time")
- size := int64(math.MaxUint32 + 1)
- m := &testpb.TestAllTypes_NestedMessage{
- Corecursive: &testpb.TestAllTypes{
- OptionalBytes: make([]byte, size),
- },
- }
- b, err := proto.Marshal(m)
- if err != nil {
- t.Fatalf("Marshal: %v", err)
- }
- if got, want := len(b), proto.Size(m); got != want {
- t.Fatalf("Size(m) = %v, but len(Marshal(m)) = %v", got, want)
- }
- if err := proto.Unmarshal(b, m); err != nil {
- t.Fatalf("Unmarshal: %v", err)
- }
- if got, want := int64(len(m.Corecursive.OptionalBytes)), size; got != want {
- t.Errorf("after round-trip marshal, got len(m.OptionalBytes) = %v, want %v", got, want)
- }
-}
-
-// TestEncodeEmpty tests for boundary conditions when producing an empty output.
-// These tests are not necessarily a statement of proper behavior,
-// but exist to detect accidental changes in behavior.
-func TestEncodeEmpty(t *testing.T) {
- for _, m := range []proto.Message{nil, (*testpb.TestAllTypes)(nil), &testpb.TestAllTypes{}} {
- isValid := m != nil && m.ProtoReflect().IsValid()
-
- b, err := proto.Marshal(m)
- if err != nil {
- t.Errorf("proto.Marshal() = %v", err)
- }
- if isNil := b == nil; isNil == isValid {
- t.Errorf("proto.Marshal() == nil: %v, want %v", isNil, !isValid)
- }
-
- b, err = proto.MarshalOptions{}.Marshal(m)
- if err != nil {
- t.Errorf("proto.MarshalOptions{}.Marshal() = %v", err)
- }
- if isNil := b == nil; isNil == isValid {
- t.Errorf("proto.MarshalOptions{}.Marshal() = %v, want %v", isNil, !isValid)
- }
- }
-}
diff --git a/vendor/google.golang.org/protobuf/proto/equal_test.go b/vendor/google.golang.org/protobuf/proto/equal_test.go
deleted file mode 100644
index db7ac6fe69..0000000000
--- a/vendor/google.golang.org/protobuf/proto/equal_test.go
+++ /dev/null
@@ -1,669 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "math"
- "testing"
-
- "google.golang.org/protobuf/encoding/prototext"
- "google.golang.org/protobuf/internal/pragma"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/testing/protopack"
-
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- test3pb "google.golang.org/protobuf/internal/testprotos/test3"
-)
-
-func TestEqual(t *testing.T) {
- identicalPtrPb := &testpb.TestAllTypes{MapStringString: map[string]string{"a": "b", "c": "d"}}
-
- type incomparableMessage struct {
- *testpb.TestAllTypes
- pragma.DoNotCompare
- }
-
- tests := []struct {
- x, y proto.Message
- eq bool
- }{
- {
- x: nil,
- y: nil,
- eq: true,
- }, {
- x: (*testpb.TestAllTypes)(nil),
- y: nil,
- eq: false,
- }, {
- x: (*testpb.TestAllTypes)(nil),
- y: (*testpb.TestAllTypes)(nil),
- eq: true,
- }, {
- x: new(testpb.TestAllTypes),
- y: (*testpb.TestAllTypes)(nil),
- eq: false,
- }, {
- x: new(testpb.TestAllTypes),
- y: new(testpb.TestAllTypes),
- eq: true,
- }, {
- x: (*testpb.TestAllTypes)(nil),
- y: (*testpb.TestAllExtensions)(nil),
- eq: false,
- }, {
- x: (*testpb.TestAllTypes)(nil),
- y: new(testpb.TestAllExtensions),
- eq: false,
- }, {
- x: new(testpb.TestAllTypes),
- y: new(testpb.TestAllExtensions),
- eq: false,
- },
-
- // Identical input pointers
- {
- x: identicalPtrPb,
- y: identicalPtrPb,
- eq: true,
- },
-
- // Incomparable types. The top-level types are not actually directly
- // compared (which would panic), but rather the comparison happens on the
- // objects returned by ProtoReflect(). These tests are here just to ensure
- // that any short-circuit checks do not accidentally try to compare
- // incomparable top-level types.
- {
- x: incomparableMessage{TestAllTypes: identicalPtrPb},
- y: incomparableMessage{TestAllTypes: identicalPtrPb},
- eq: true,
- },
- {
- x: identicalPtrPb,
- y: incomparableMessage{TestAllTypes: identicalPtrPb},
- eq: true,
- },
- {
- x: identicalPtrPb,
- y: &incomparableMessage{TestAllTypes: identicalPtrPb},
- eq: true,
- },
-
- // Proto2 scalars.
- {
- x: &testpb.TestAllTypes{OptionalInt32: proto.Int32(1)},
- y: &testpb.TestAllTypes{OptionalInt32: proto.Int32(2)},
- }, {
- x: &testpb.TestAllTypes{OptionalInt64: proto.Int64(1)},
- y: &testpb.TestAllTypes{OptionalInt64: proto.Int64(2)},
- }, {
- x: &testpb.TestAllTypes{OptionalUint32: proto.Uint32(1)},
- y: &testpb.TestAllTypes{OptionalUint32: proto.Uint32(2)},
- }, {
- x: &testpb.TestAllTypes{OptionalUint64: proto.Uint64(1)},
- y: &testpb.TestAllTypes{OptionalUint64: proto.Uint64(2)},
- }, {
- x: &testpb.TestAllTypes{OptionalSint32: proto.Int32(1)},
- y: &testpb.TestAllTypes{OptionalSint32: proto.Int32(2)},
- }, {
- x: &testpb.TestAllTypes{OptionalSint64: proto.Int64(1)},
- y: &testpb.TestAllTypes{OptionalSint64: proto.Int64(2)},
- }, {
- x: &testpb.TestAllTypes{OptionalFixed32: proto.Uint32(1)},
- y: &testpb.TestAllTypes{OptionalFixed32: proto.Uint32(2)},
- }, {
- x: &testpb.TestAllTypes{OptionalFixed64: proto.Uint64(1)},
- y: &testpb.TestAllTypes{OptionalFixed64: proto.Uint64(2)},
- }, {
- x: &testpb.TestAllTypes{OptionalSfixed32: proto.Int32(1)},
- y: &testpb.TestAllTypes{OptionalSfixed32: proto.Int32(2)},
- }, {
- x: &testpb.TestAllTypes{OptionalSfixed64: proto.Int64(1)},
- y: &testpb.TestAllTypes{OptionalSfixed64: proto.Int64(2)},
- }, {
- x: &testpb.TestAllTypes{OptionalFloat: proto.Float32(1)},
- y: &testpb.TestAllTypes{OptionalFloat: proto.Float32(2)},
- }, {
- x: &testpb.TestAllTypes{OptionalDouble: proto.Float64(1)},
- y: &testpb.TestAllTypes{OptionalDouble: proto.Float64(2)},
- }, {
- x: &testpb.TestAllTypes{OptionalFloat: proto.Float32(float32(math.NaN()))},
- y: &testpb.TestAllTypes{OptionalFloat: proto.Float32(0)},
- }, {
- x: &testpb.TestAllTypes{OptionalDouble: proto.Float64(float64(math.NaN()))},
- y: &testpb.TestAllTypes{OptionalDouble: proto.Float64(0)},
- }, {
- x: &testpb.TestAllTypes{OptionalBool: proto.Bool(true)},
- y: &testpb.TestAllTypes{OptionalBool: proto.Bool(false)},
- }, {
- x: &testpb.TestAllTypes{OptionalString: proto.String("a")},
- y: &testpb.TestAllTypes{OptionalString: proto.String("b")},
- }, {
- x: &testpb.TestAllTypes{OptionalBytes: []byte("a")},
- y: &testpb.TestAllTypes{OptionalBytes: []byte("b")},
- }, {
- x: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_FOO.Enum()},
- y: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_BAR.Enum()},
- }, {
- x: &testpb.TestAllTypes{OptionalInt32: proto.Int32(2)},
- y: &testpb.TestAllTypes{OptionalInt32: proto.Int32(2)},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalInt64: proto.Int64(2)},
- y: &testpb.TestAllTypes{OptionalInt64: proto.Int64(2)},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalUint32: proto.Uint32(2)},
- y: &testpb.TestAllTypes{OptionalUint32: proto.Uint32(2)},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalUint64: proto.Uint64(2)},
- y: &testpb.TestAllTypes{OptionalUint64: proto.Uint64(2)},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalSint32: proto.Int32(2)},
- y: &testpb.TestAllTypes{OptionalSint32: proto.Int32(2)},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalSint64: proto.Int64(2)},
- y: &testpb.TestAllTypes{OptionalSint64: proto.Int64(2)},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalFixed32: proto.Uint32(2)},
- y: &testpb.TestAllTypes{OptionalFixed32: proto.Uint32(2)},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalFixed64: proto.Uint64(2)},
- y: &testpb.TestAllTypes{OptionalFixed64: proto.Uint64(2)},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalSfixed32: proto.Int32(2)},
- y: &testpb.TestAllTypes{OptionalSfixed32: proto.Int32(2)},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalSfixed64: proto.Int64(2)},
- y: &testpb.TestAllTypes{OptionalSfixed64: proto.Int64(2)},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalFloat: proto.Float32(2)},
- y: &testpb.TestAllTypes{OptionalFloat: proto.Float32(2)},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalDouble: proto.Float64(2)},
- y: &testpb.TestAllTypes{OptionalDouble: proto.Float64(2)},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalFloat: proto.Float32(float32(math.NaN()))},
- y: &testpb.TestAllTypes{OptionalFloat: proto.Float32(float32(math.NaN()))},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalDouble: proto.Float64(float64(math.NaN()))},
- y: &testpb.TestAllTypes{OptionalDouble: proto.Float64(float64(math.NaN()))},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalBool: proto.Bool(true)},
- y: &testpb.TestAllTypes{OptionalBool: proto.Bool(true)},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalString: proto.String("abc")},
- y: &testpb.TestAllTypes{OptionalString: proto.String("abc")},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalBytes: []byte("abc")},
- y: &testpb.TestAllTypes{OptionalBytes: []byte("abc")},
- eq: true,
- }, {
- x: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_FOO.Enum()},
- y: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_FOO.Enum()},
- eq: true,
- },
-
- // Proto2 presence.
- {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalInt32: proto.Int32(0)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalInt64: proto.Int64(0)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalUint32: proto.Uint32(0)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalUint64: proto.Uint64(0)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalSint32: proto.Int32(0)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalSint64: proto.Int64(0)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalFixed32: proto.Uint32(0)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalFixed64: proto.Uint64(0)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalSfixed32: proto.Int32(0)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalSfixed64: proto.Int64(0)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalFloat: proto.Float32(0)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalDouble: proto.Float64(0)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalBool: proto.Bool(false)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalString: proto.String("")},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalBytes: []byte{}},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalNestedEnum: testpb.TestAllTypes_FOO.Enum()},
- },
-
- // Proto3 presence.
- {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalInt32: proto.Int32(0)},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalInt64: proto.Int64(0)},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalUint32: proto.Uint32(0)},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalUint64: proto.Uint64(0)},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalSint32: proto.Int32(0)},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalSint64: proto.Int64(0)},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalFixed32: proto.Uint32(0)},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalFixed64: proto.Uint64(0)},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalSfixed32: proto.Int32(0)},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalSfixed64: proto.Int64(0)},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalFloat: proto.Float32(0)},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalDouble: proto.Float64(0)},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalBool: proto.Bool(false)},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalString: proto.String("")},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalBytes: []byte{}},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalNestedEnum: test3pb.TestAllTypes_FOO.Enum()},
- },
-
- // Proto2 default values are not considered by Equal, so the following are still unequal.
- {
- x: &testpb.TestAllTypes{DefaultInt32: proto.Int32(81)},
- y: &testpb.TestAllTypes{},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultInt32: proto.Int32(81)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultInt64: proto.Int64(82)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultUint32: proto.Uint32(83)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultUint64: proto.Uint64(84)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultSint32: proto.Int32(-85)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultSint64: proto.Int64(86)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultFixed32: proto.Uint32(87)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultFixed64: proto.Uint64(88)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultSfixed32: proto.Int32(89)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultSfixed64: proto.Int64(-90)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultFloat: proto.Float32(91.5)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultDouble: proto.Float64(92e3)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultBool: proto.Bool(true)},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultString: proto.String("hello")},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultBytes: []byte("world")},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{DefaultNestedEnum: testpb.TestAllTypes_BAR.Enum()},
- },
-
- // Groups.
- {
- x: &testpb.TestAllTypes{Optionalgroup: &testpb.TestAllTypes_OptionalGroup{
- A: proto.Int32(1),
- }},
- y: &testpb.TestAllTypes{Optionalgroup: &testpb.TestAllTypes_OptionalGroup{
- A: proto.Int32(2),
- }},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{Optionalgroup: &testpb.TestAllTypes_OptionalGroup{}},
- },
-
- // Messages.
- {
- x: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{
- A: proto.Int32(1),
- }},
- y: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{
- A: proto.Int32(2),
- }},
- }, {
- x: &testpb.TestAllTypes{},
- y: &testpb.TestAllTypes{OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{}},
- }, {
- x: &test3pb.TestAllTypes{},
- y: &test3pb.TestAllTypes{OptionalNestedMessage: &test3pb.TestAllTypes_NestedMessage{}},
- },
-
- // Lists.
- {
- x: &testpb.TestAllTypes{RepeatedInt32: []int32{1}},
- y: &testpb.TestAllTypes{RepeatedInt32: []int32{1, 2}},
- }, {
- x: &testpb.TestAllTypes{RepeatedInt32: []int32{1, 2}},
- y: &testpb.TestAllTypes{RepeatedInt32: []int32{1, 3}},
- }, {
- x: &testpb.TestAllTypes{RepeatedInt64: []int64{1, 2}},
- y: &testpb.TestAllTypes{RepeatedInt64: []int64{1, 3}},
- }, {
- x: &testpb.TestAllTypes{RepeatedUint32: []uint32{1, 2}},
- y: &testpb.TestAllTypes{RepeatedUint32: []uint32{1, 3}},
- }, {
- x: &testpb.TestAllTypes{RepeatedUint64: []uint64{1, 2}},
- y: &testpb.TestAllTypes{RepeatedUint64: []uint64{1, 3}},
- }, {
- x: &testpb.TestAllTypes{RepeatedSint32: []int32{1, 2}},
- y: &testpb.TestAllTypes{RepeatedSint32: []int32{1, 3}},
- }, {
- x: &testpb.TestAllTypes{RepeatedSint64: []int64{1, 2}},
- y: &testpb.TestAllTypes{RepeatedSint64: []int64{1, 3}},
- }, {
- x: &testpb.TestAllTypes{RepeatedFixed32: []uint32{1, 2}},
- y: &testpb.TestAllTypes{RepeatedFixed32: []uint32{1, 3}},
- }, {
- x: &testpb.TestAllTypes{RepeatedFixed64: []uint64{1, 2}},
- y: &testpb.TestAllTypes{RepeatedFixed64: []uint64{1, 3}},
- }, {
- x: &testpb.TestAllTypes{RepeatedSfixed32: []int32{1, 2}},
- y: &testpb.TestAllTypes{RepeatedSfixed32: []int32{1, 3}},
- }, {
- x: &testpb.TestAllTypes{RepeatedSfixed64: []int64{1, 2}},
- y: &testpb.TestAllTypes{RepeatedSfixed64: []int64{1, 3}},
- }, {
- x: &testpb.TestAllTypes{RepeatedFloat: []float32{1, 2}},
- y: &testpb.TestAllTypes{RepeatedFloat: []float32{1, 3}},
- }, {
- x: &testpb.TestAllTypes{RepeatedDouble: []float64{1, 2}},
- y: &testpb.TestAllTypes{RepeatedDouble: []float64{1, 3}},
- }, {
- x: &testpb.TestAllTypes{RepeatedBool: []bool{true, false}},
- y: &testpb.TestAllTypes{RepeatedBool: []bool{true, true}},
- }, {
- x: &testpb.TestAllTypes{RepeatedString: []string{"a", "b"}},
- y: &testpb.TestAllTypes{RepeatedString: []string{"a", "c"}},
- }, {
- x: &testpb.TestAllTypes{RepeatedBytes: [][]byte{[]byte("a"), []byte("b")}},
- y: &testpb.TestAllTypes{RepeatedBytes: [][]byte{[]byte("a"), []byte("c")}},
- }, {
- x: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_FOO}},
- y: &testpb.TestAllTypes{RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_BAR}},
- }, {
- x: &testpb.TestAllTypes{Repeatedgroup: []*testpb.TestAllTypes_RepeatedGroup{
- {A: proto.Int32(1)},
- {A: proto.Int32(2)},
- }},
- y: &testpb.TestAllTypes{Repeatedgroup: []*testpb.TestAllTypes_RepeatedGroup{
- {A: proto.Int32(1)},
- {A: proto.Int32(3)},
- }},
- }, {
- x: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{
- {A: proto.Int32(1)},
- {A: proto.Int32(2)},
- }},
- y: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{
- {A: proto.Int32(1)},
- {A: proto.Int32(3)},
- }},
- },
-
- // Maps: various configurations.
- {
- x: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{1: 2}},
- y: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{3: 4}},
- }, {
- x: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{1: 2}},
- y: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{1: 2, 3: 4}},
- }, {
- x: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{1: 2, 3: 4}},
- y: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{1: 2}},
- },
-
- // Maps: various types.
- {
- x: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{1: 2, 3: 4}},
- y: &testpb.TestAllTypes{MapInt32Int32: map[int32]int32{1: 2, 3: 5}},
- }, {
- x: &testpb.TestAllTypes{MapInt64Int64: map[int64]int64{1: 2, 3: 4}},
- y: &testpb.TestAllTypes{MapInt64Int64: map[int64]int64{1: 2, 3: 5}},
- }, {
- x: &testpb.TestAllTypes{MapUint32Uint32: map[uint32]uint32{1: 2, 3: 4}},
- y: &testpb.TestAllTypes{MapUint32Uint32: map[uint32]uint32{1: 2, 3: 5}},
- }, {
- x: &testpb.TestAllTypes{MapUint64Uint64: map[uint64]uint64{1: 2, 3: 4}},
- y: &testpb.TestAllTypes{MapUint64Uint64: map[uint64]uint64{1: 2, 3: 5}},
- }, {
- x: &testpb.TestAllTypes{MapSint32Sint32: map[int32]int32{1: 2, 3: 4}},
- y: &testpb.TestAllTypes{MapSint32Sint32: map[int32]int32{1: 2, 3: 5}},
- }, {
- x: &testpb.TestAllTypes{MapSint64Sint64: map[int64]int64{1: 2, 3: 4}},
- y: &testpb.TestAllTypes{MapSint64Sint64: map[int64]int64{1: 2, 3: 5}},
- }, {
- x: &testpb.TestAllTypes{MapFixed32Fixed32: map[uint32]uint32{1: 2, 3: 4}},
- y: &testpb.TestAllTypes{MapFixed32Fixed32: map[uint32]uint32{1: 2, 3: 5}},
- }, {
- x: &testpb.TestAllTypes{MapFixed64Fixed64: map[uint64]uint64{1: 2, 3: 4}},
- y: &testpb.TestAllTypes{MapFixed64Fixed64: map[uint64]uint64{1: 2, 3: 5}},
- }, {
- x: &testpb.TestAllTypes{MapSfixed32Sfixed32: map[int32]int32{1: 2, 3: 4}},
- y: &testpb.TestAllTypes{MapSfixed32Sfixed32: map[int32]int32{1: 2, 3: 5}},
- }, {
- x: &testpb.TestAllTypes{MapSfixed64Sfixed64: map[int64]int64{1: 2, 3: 4}},
- y: &testpb.TestAllTypes{MapSfixed64Sfixed64: map[int64]int64{1: 2, 3: 5}},
- }, {
- x: &testpb.TestAllTypes{MapInt32Float: map[int32]float32{1: 2, 3: 4}},
- y: &testpb.TestAllTypes{MapInt32Float: map[int32]float32{1: 2, 3: 5}},
- }, {
- x: &testpb.TestAllTypes{MapInt32Double: map[int32]float64{1: 2, 3: 4}},
- y: &testpb.TestAllTypes{MapInt32Double: map[int32]float64{1: 2, 3: 5}},
- }, {
- x: &testpb.TestAllTypes{MapBoolBool: map[bool]bool{true: false, false: true}},
- y: &testpb.TestAllTypes{MapBoolBool: map[bool]bool{true: false, false: false}},
- }, {
- x: &testpb.TestAllTypes{MapStringString: map[string]string{"a": "b", "c": "d"}},
- y: &testpb.TestAllTypes{MapStringString: map[string]string{"a": "b", "c": "e"}},
- }, {
- x: &testpb.TestAllTypes{MapStringBytes: map[string][]byte{"a": []byte("b"), "c": []byte("d")}},
- y: &testpb.TestAllTypes{MapStringBytes: map[string][]byte{"a": []byte("b"), "c": []byte("e")}},
- }, {
- x: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{
- "a": {A: proto.Int32(1)},
- "b": {A: proto.Int32(2)},
- }},
- y: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{
- "a": {A: proto.Int32(1)},
- "b": {A: proto.Int32(3)},
- }},
- }, {
- x: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{
- "a": testpb.TestAllTypes_FOO,
- "b": testpb.TestAllTypes_BAR,
- }},
- y: &testpb.TestAllTypes{MapStringNestedEnum: map[string]testpb.TestAllTypes_NestedEnum{
- "a": testpb.TestAllTypes_FOO,
- "b": testpb.TestAllTypes_BAZ,
- }},
- },
-
- // Extensions.
- {
- x: build(&testpb.TestAllExtensions{},
- extend(testpb.E_OptionalInt32, int32(1)),
- ),
- y: build(&testpb.TestAllExtensions{},
- extend(testpb.E_OptionalInt32, int32(2)),
- ),
- }, {
- x: &testpb.TestAllExtensions{},
- y: build(&testpb.TestAllExtensions{},
- extend(testpb.E_OptionalInt32, int32(2)),
- ),
- },
-
- // Unknown fields.
- {
- x: build(&testpb.TestAllTypes{}, unknown(protopack.Message{
- protopack.Tag{100000, protopack.VarintType}, protopack.Varint(1),
- }.Marshal())),
- y: build(&testpb.TestAllTypes{}, unknown(protopack.Message{
- protopack.Tag{100000, protopack.VarintType}, protopack.Varint(2),
- }.Marshal())),
- }, {
- x: build(&testpb.TestAllTypes{}, unknown(protopack.Message{
- protopack.Tag{100000, protopack.VarintType}, protopack.Varint(1),
- }.Marshal())),
- y: &testpb.TestAllTypes{},
- },
- }
-
- for _, tt := range tests {
- if !tt.eq && !proto.Equal(tt.x, tt.x) {
- t.Errorf("Equal(x, x) = false, want true\n==== x ====\n%v", prototext.Format(tt.x))
- }
- if !tt.eq && !proto.Equal(tt.y, tt.y) {
- t.Errorf("Equal(y, y) = false, want true\n==== y ====\n%v", prototext.Format(tt.y))
- }
- if eq := proto.Equal(tt.x, tt.y); eq != tt.eq {
- t.Errorf("Equal(x, y) = %v, want %v\n==== x ====\n%v==== y ====\n%v", eq, tt.eq, prototext.Format(tt.x), prototext.Format(tt.y))
- }
- }
-}
-
-func BenchmarkEqualWithSmallEmpty(b *testing.B) {
- x := &testpb.ForeignMessage{}
- y := &testpb.ForeignMessage{}
-
- b.ResetTimer()
- for i := 0; i < b.N; i++ {
- proto.Equal(x, y)
- }
-}
-
-func BenchmarkEqualWithIdenticalPtrEmpty(b *testing.B) {
- x := &testpb.ForeignMessage{}
-
- b.ResetTimer()
- for i := 0; i < b.N; i++ {
- proto.Equal(x, x)
- }
-}
-
-func BenchmarkEqualWithLargeEmpty(b *testing.B) {
- x := &testpb.TestAllTypes{}
- y := &testpb.TestAllTypes{}
-
- b.ResetTimer()
- for i := 0; i < b.N; i++ {
- proto.Equal(x, y)
- }
-}
-
-func makeNested(depth int) *testpb.TestAllTypes {
- if depth <= 0 {
- return nil
- }
- return &testpb.TestAllTypes{
- OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{
- Corecursive: makeNested(depth - 1),
- },
- }
-}
-
-func BenchmarkEqualWithDeeplyNestedEqual(b *testing.B) {
- x := makeNested(20)
- y := makeNested(20)
-
- b.ResetTimer()
- for i := 0; i < b.N; i++ {
- proto.Equal(x, y)
- }
-}
-
-func BenchmarkEqualWithDeeplyNestedDifferent(b *testing.B) {
- x := makeNested(20)
- y := makeNested(21)
-
- b.ResetTimer()
- for i := 0; i < b.N; i++ {
- proto.Equal(x, y)
- }
-}
-
-func BenchmarkEqualWithDeeplyNestedIdenticalPtr(b *testing.B) {
- x := makeNested(20)
-
- b.ResetTimer()
- for i := 0; i < b.N; i++ {
- proto.Equal(x, x)
- }
-}
diff --git a/vendor/google.golang.org/protobuf/proto/extension.go b/vendor/google.golang.org/protobuf/proto/extension.go
index 5f293cda86..17899a3a76 100644
--- a/vendor/google.golang.org/protobuf/proto/extension.go
+++ b/vendor/google.golang.org/protobuf/proto/extension.go
@@ -26,7 +26,7 @@ func HasExtension(m Message, xt protoreflect.ExtensionType) bool {
}
// ClearExtension clears an extension field such that subsequent
-// HasExtension calls return false.
+// [HasExtension] calls return false.
// It panics if m is invalid or if xt does not extend m.
func ClearExtension(m Message, xt protoreflect.ExtensionType) {
m.ProtoReflect().Clear(xt.TypeDescriptor())
diff --git a/vendor/google.golang.org/protobuf/proto/extension_test.go b/vendor/google.golang.org/protobuf/proto/extension_test.go
deleted file mode 100644
index 8bf5da5279..0000000000
--- a/vendor/google.golang.org/protobuf/proto/extension_test.go
+++ /dev/null
@@ -1,289 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "fmt"
- "reflect"
- "sync"
- "testing"
-
- "github.com/google/go-cmp/cmp"
-
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/runtime/protoimpl"
- "google.golang.org/protobuf/testing/protocmp"
-
- legacy1pb "google.golang.org/protobuf/internal/testprotos/legacy/proto2_20160225_2fc053c5"
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- test3pb "google.golang.org/protobuf/internal/testprotos/test3"
- descpb "google.golang.org/protobuf/types/descriptorpb"
-)
-
-func TestExtensionFuncs(t *testing.T) {
- for _, test := range []struct {
- message proto.Message
- ext protoreflect.ExtensionType
- wantDefault interface{}
- value interface{}
- }{
- {
- message: &testpb.TestAllExtensions{},
- ext: testpb.E_OptionalInt32,
- wantDefault: int32(0),
- value: int32(1),
- },
- {
- message: &testpb.TestAllExtensions{},
- ext: testpb.E_RepeatedString,
- wantDefault: ([]string)(nil),
- value: []string{"a", "b", "c"},
- },
- {
- message: protoimpl.X.MessageOf(&legacy1pb.Message{}).Interface(),
- ext: legacy1pb.E_Message_ExtensionOptionalBool,
- wantDefault: false,
- value: true,
- },
- } {
- desc := fmt.Sprintf("Extension %v, value %v", test.ext.TypeDescriptor().FullName(), test.value)
- if proto.HasExtension(test.message, test.ext) {
- t.Errorf("%v:\nbefore setting extension HasExtension(...) = true, want false", desc)
- }
- got := proto.GetExtension(test.message, test.ext)
- if d := cmp.Diff(test.wantDefault, got); d != "" {
- t.Errorf("%v:\nbefore setting extension GetExtension(...) returns unexpected value (-want,+got):\n%v", desc, d)
- }
- proto.SetExtension(test.message, test.ext, test.value)
- if !proto.HasExtension(test.message, test.ext) {
- t.Errorf("%v:\nafter setting extension HasExtension(...) = false, want true", desc)
- }
- got = proto.GetExtension(test.message, test.ext)
- if d := cmp.Diff(test.value, got); d != "" {
- t.Errorf("%v:\nafter setting extension GetExtension(...) returns unexpected value (-want,+got):\n%v", desc, d)
- }
- proto.ClearExtension(test.message, test.ext)
- if proto.HasExtension(test.message, test.ext) {
- t.Errorf("%v:\nafter clearing extension HasExtension(...) = true, want false", desc)
- }
- }
-}
-
-func TestIsValid(t *testing.T) {
- tests := []struct {
- xt protoreflect.ExtensionType
- vi interface{}
- want bool
- }{
- {testpb.E_OptionalBool, nil, false},
- {testpb.E_OptionalBool, bool(true), true},
- {testpb.E_OptionalBool, new(bool), false},
- {testpb.E_OptionalInt32, nil, false},
- {testpb.E_OptionalInt32, int32(0), true},
- {testpb.E_OptionalInt32, new(int32), false},
- {testpb.E_OptionalInt64, nil, false},
- {testpb.E_OptionalInt64, int64(0), true},
- {testpb.E_OptionalInt64, new(int64), false},
- {testpb.E_OptionalUint32, nil, false},
- {testpb.E_OptionalUint32, uint32(0), true},
- {testpb.E_OptionalUint32, new(uint32), false},
- {testpb.E_OptionalUint64, nil, false},
- {testpb.E_OptionalUint64, uint64(0), true},
- {testpb.E_OptionalUint64, new(uint64), false},
- {testpb.E_OptionalFloat, nil, false},
- {testpb.E_OptionalFloat, float32(0), true},
- {testpb.E_OptionalFloat, new(float32), false},
- {testpb.E_OptionalDouble, nil, false},
- {testpb.E_OptionalDouble, float64(0), true},
- {testpb.E_OptionalDouble, new(float32), false},
- {testpb.E_OptionalString, nil, false},
- {testpb.E_OptionalString, string(""), true},
- {testpb.E_OptionalString, new(string), false},
- {testpb.E_OptionalNestedEnum, nil, false},
- {testpb.E_OptionalNestedEnum, testpb.TestAllTypes_BAZ, true},
- {testpb.E_OptionalNestedEnum, testpb.TestAllTypes_BAZ.Enum(), false},
- {testpb.E_OptionalNestedMessage, nil, false},
- {testpb.E_OptionalNestedMessage, (*testpb.TestAllExtensions_NestedMessage)(nil), true},
- {testpb.E_OptionalNestedMessage, new(testpb.TestAllExtensions_NestedMessage), true},
- {testpb.E_OptionalNestedMessage, new(testpb.TestAllExtensions), false},
- {testpb.E_RepeatedBool, nil, false},
- {testpb.E_RepeatedBool, []bool(nil), true},
- {testpb.E_RepeatedBool, []bool{}, true},
- {testpb.E_RepeatedBool, []bool{false}, true},
- {testpb.E_RepeatedBool, []*bool{}, false},
- {testpb.E_RepeatedInt32, nil, false},
- {testpb.E_RepeatedInt32, []int32(nil), true},
- {testpb.E_RepeatedInt32, []int32{}, true},
- {testpb.E_RepeatedInt32, []int32{0}, true},
- {testpb.E_RepeatedInt32, []*int32{}, false},
- {testpb.E_RepeatedInt64, nil, false},
- {testpb.E_RepeatedInt64, []int64(nil), true},
- {testpb.E_RepeatedInt64, []int64{}, true},
- {testpb.E_RepeatedInt64, []int64{0}, true},
- {testpb.E_RepeatedInt64, []*int64{}, false},
- {testpb.E_RepeatedUint32, nil, false},
- {testpb.E_RepeatedUint32, []uint32(nil), true},
- {testpb.E_RepeatedUint32, []uint32{}, true},
- {testpb.E_RepeatedUint32, []uint32{0}, true},
- {testpb.E_RepeatedUint32, []*uint32{}, false},
- {testpb.E_RepeatedUint64, nil, false},
- {testpb.E_RepeatedUint64, []uint64(nil), true},
- {testpb.E_RepeatedUint64, []uint64{}, true},
- {testpb.E_RepeatedUint64, []uint64{0}, true},
- {testpb.E_RepeatedUint64, []*uint64{}, false},
- {testpb.E_RepeatedFloat, nil, false},
- {testpb.E_RepeatedFloat, []float32(nil), true},
- {testpb.E_RepeatedFloat, []float32{}, true},
- {testpb.E_RepeatedFloat, []float32{0}, true},
- {testpb.E_RepeatedFloat, []*float32{}, false},
- {testpb.E_RepeatedDouble, nil, false},
- {testpb.E_RepeatedDouble, []float64(nil), true},
- {testpb.E_RepeatedDouble, []float64{}, true},
- {testpb.E_RepeatedDouble, []float64{0}, true},
- {testpb.E_RepeatedDouble, []*float64{}, false},
- {testpb.E_RepeatedString, nil, false},
- {testpb.E_RepeatedString, []string(nil), true},
- {testpb.E_RepeatedString, []string{}, true},
- {testpb.E_RepeatedString, []string{""}, true},
- {testpb.E_RepeatedString, []*string{}, false},
- {testpb.E_RepeatedNestedEnum, nil, false},
- {testpb.E_RepeatedNestedEnum, []testpb.TestAllTypes_NestedEnum(nil), true},
- {testpb.E_RepeatedNestedEnum, []testpb.TestAllTypes_NestedEnum{}, true},
- {testpb.E_RepeatedNestedEnum, []testpb.TestAllTypes_NestedEnum{0}, true},
- {testpb.E_RepeatedNestedEnum, []*testpb.TestAllTypes_NestedEnum{}, false},
- {testpb.E_RepeatedNestedMessage, nil, false},
- {testpb.E_RepeatedNestedMessage, []*testpb.TestAllExtensions_NestedMessage(nil), true},
- {testpb.E_RepeatedNestedMessage, []*testpb.TestAllExtensions_NestedMessage{}, true},
- {testpb.E_RepeatedNestedMessage, []*testpb.TestAllExtensions_NestedMessage{{}}, true},
- {testpb.E_RepeatedNestedMessage, []*testpb.TestAllExtensions{}, false},
- }
-
- for _, tt := range tests {
- // Check the results of IsValidInterface.
- got := tt.xt.IsValidInterface(tt.vi)
- if got != tt.want {
- t.Errorf("%v.IsValidInterface() = %v, want %v", tt.xt.TypeDescriptor().FullName(), got, tt.want)
- }
- if !got {
- continue
- }
-
- // Set the extension value and verify the results of Has.
- wantHas := true
- pv := tt.xt.ValueOf(tt.vi)
- switch v := pv.Interface().(type) {
- case protoreflect.List:
- wantHas = v.Len() > 0
- case protoreflect.Message:
- wantHas = v.IsValid()
- }
- m := &testpb.TestAllExtensions{}
- proto.SetExtension(m, tt.xt, tt.vi)
- gotHas := proto.HasExtension(m, tt.xt)
- if gotHas != wantHas {
- t.Errorf("HasExtension(%q) = %v, want %v", tt.xt.TypeDescriptor().FullName(), gotHas, wantHas)
- }
-
- // Check consistency of IsValidInterface and IsValidValue.
- got = tt.xt.IsValidValue(pv)
- if got != tt.want {
- t.Errorf("%v.IsValidValue() = %v, want %v", tt.xt.TypeDescriptor().FullName(), got, tt.want)
- }
- if !got {
- continue
- }
-
- // Use of reflect.DeepEqual is intentional.
- // We really do want to ensure that the memory layout is identical.
- vi := tt.xt.InterfaceOf(pv)
- if !reflect.DeepEqual(vi, tt.vi) {
- t.Errorf("InterfaceOf(ValueOf(...)) round-trip mismatch: got %v, want %v", vi, tt.vi)
- }
- }
-}
-
-func TestExtensionRanger(t *testing.T) {
- tests := []struct {
- msg proto.Message
- want map[protoreflect.ExtensionType]interface{}
- }{{
- msg: &testpb.TestAllExtensions{},
- want: map[protoreflect.ExtensionType]interface{}{
- testpb.E_OptionalInt32: int32(5),
- testpb.E_OptionalString: string("hello"),
- testpb.E_OptionalNestedMessage: &testpb.TestAllExtensions_NestedMessage{},
- testpb.E_OptionalNestedEnum: testpb.TestAllTypes_BAZ,
- testpb.E_RepeatedFloat: []float32{+32.32, -32.32},
- testpb.E_RepeatedNestedMessage: []*testpb.TestAllExtensions_NestedMessage{{}},
- testpb.E_RepeatedNestedEnum: []testpb.TestAllTypes_NestedEnum{testpb.TestAllTypes_BAZ},
- },
- }, {
- msg: &descpb.MessageOptions{},
- want: map[protoreflect.ExtensionType]interface{}{
- test3pb.E_OptionalInt32: int32(5),
- test3pb.E_OptionalString: string("hello"),
- test3pb.E_OptionalForeignMessage: &test3pb.ForeignMessage{},
- test3pb.E_OptionalForeignEnum: test3pb.ForeignEnum_FOREIGN_BAR,
-
- test3pb.E_OptionalOptionalInt32: int32(5),
- test3pb.E_OptionalOptionalString: string("hello"),
- test3pb.E_OptionalOptionalForeignMessage: &test3pb.ForeignMessage{},
- test3pb.E_OptionalOptionalForeignEnum: test3pb.ForeignEnum_FOREIGN_BAR,
- },
- }}
-
- for _, tt := range tests {
- for xt, v := range tt.want {
- proto.SetExtension(tt.msg, xt, v)
- }
-
- got := make(map[protoreflect.ExtensionType]interface{})
- proto.RangeExtensions(tt.msg, func(xt protoreflect.ExtensionType, v interface{}) bool {
- got[xt] = v
- return true
- })
-
- if diff := cmp.Diff(tt.want, got, protocmp.Transform()); diff != "" {
- t.Errorf("proto.RangeExtensions mismatch (-want +got):\n%s", diff)
- }
- }
-}
-
-func TestExtensionGetRace(t *testing.T) {
- // Concurrently fetch an extension value while marshaling the message containing it.
- // Create the message with proto.Unmarshal to give lazy extension decoding (if present)
- // a chance to occur.
- want := int32(42)
- m1 := &testpb.TestAllExtensions{}
- proto.SetExtension(m1, testpb.E_OptionalNestedMessage, &testpb.TestAllExtensions_NestedMessage{A: proto.Int32(want)})
- b, err := proto.Marshal(m1)
- if err != nil {
- t.Fatal(err)
- }
- m := &testpb.TestAllExtensions{}
- if err := proto.Unmarshal(b, m); err != nil {
- t.Fatal(err)
- }
- var wg sync.WaitGroup
- for i := 0; i < 3; i++ {
- wg.Add(1)
- go func() {
- defer wg.Done()
- if _, err := proto.Marshal(m); err != nil {
- t.Error(err)
- }
- }()
- wg.Add(1)
- go func() {
- defer wg.Done()
- got := proto.GetExtension(m, testpb.E_OptionalNestedMessage).(*testpb.TestAllExtensions_NestedMessage).GetA()
- if got != want {
- t.Errorf("GetExtension(optional_nested_message).a = %v, want %v", got, want)
- }
- }()
- }
- wg.Wait()
-}
diff --git a/vendor/google.golang.org/protobuf/proto/gotest/ya.make b/vendor/google.golang.org/protobuf/proto/gotest/ya.make
deleted file mode 100644
index 6958868f1d..0000000000
--- a/vendor/google.golang.org/protobuf/proto/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/proto)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/proto/merge.go b/vendor/google.golang.org/protobuf/proto/merge.go
index d761ab331d..3c6fe57807 100644
--- a/vendor/google.golang.org/protobuf/proto/merge.go
+++ b/vendor/google.golang.org/protobuf/proto/merge.go
@@ -21,7 +21,7 @@ import (
// The unknown fields of src are appended to the unknown fields of dst.
//
// It is semantically equivalent to unmarshaling the encoded form of src
-// into dst with the UnmarshalOptions.Merge option specified.
+// into dst with the [UnmarshalOptions.Merge] option specified.
func Merge(dst, src Message) {
// TODO: Should nil src be treated as semantically equivalent to a
// untyped, read-only, empty message? What about a nil dst?
diff --git a/vendor/google.golang.org/protobuf/proto/merge_test.go b/vendor/google.golang.org/protobuf/proto/merge_test.go
deleted file mode 100644
index 05978cb2f1..0000000000
--- a/vendor/google.golang.org/protobuf/proto/merge_test.go
+++ /dev/null
@@ -1,905 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "fmt"
- "reflect"
- "sync"
- "testing"
-
- "github.com/google/go-cmp/cmp"
-
- "google.golang.org/protobuf/encoding/prototext"
- "google.golang.org/protobuf/internal/protobuild"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/testing/protocmp"
- "google.golang.org/protobuf/testing/protopack"
- "google.golang.org/protobuf/types/dynamicpb"
-
- legacypb "google.golang.org/protobuf/internal/testprotos/legacy"
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- test3pb "google.golang.org/protobuf/internal/testprotos/test3"
-)
-
-type testMerge struct {
- desc string
- dst protobuild.Message
- src protobuild.Message
- want protobuild.Message // if dst and want are nil, want = src
- types []proto.Message
-}
-
-var testMerges = []testMerge{{
- desc: "clone a large message",
- src: protobuild.Message{
- "optional_int32": 1001,
- "optional_int64": 1002,
- "optional_uint32": 1003,
- "optional_uint64": 1004,
- "optional_sint32": 1005,
- "optional_sint64": 1006,
- "optional_fixed32": 1007,
- "optional_fixed64": 1008,
- "optional_sfixed32": 1009,
- "optional_sfixed64": 1010,
- "optional_float": 1011.5,
- "optional_double": 1012.5,
- "optional_bool": true,
- "optional_string": "string",
- "optional_bytes": []byte("bytes"),
- "optional_nested_enum": 1,
- "optional_nested_message": protobuild.Message{
- "a": 100,
- },
- "repeated_int32": []int32{1001, 2001},
- "repeated_int64": []int64{1002, 2002},
- "repeated_uint32": []uint32{1003, 2003},
- "repeated_uint64": []uint64{1004, 2004},
- "repeated_sint32": []int32{1005, 2005},
- "repeated_sint64": []int64{1006, 2006},
- "repeated_fixed32": []uint32{1007, 2007},
- "repeated_fixed64": []uint64{1008, 2008},
- "repeated_sfixed32": []int32{1009, 2009},
- "repeated_sfixed64": []int64{1010, 2010},
- "repeated_float": []float32{1011.5, 2011.5},
- "repeated_double": []float64{1012.5, 2012.5},
- "repeated_bool": []bool{true, false},
- "repeated_string": []string{"foo", "bar"},
- "repeated_bytes": []string{"FOO", "BAR"},
- "repeated_nested_enum": []string{"FOO", "BAR"},
- "repeated_nested_message": []protobuild.Message{
- {"a": 200},
- {"a": 300},
- },
- },
-}, {
- desc: "clone maps",
- src: protobuild.Message{
- "map_int32_int32": map[int32]int32{1056: 1156, 2056: 2156},
- "map_int64_int64": map[int64]int64{1057: 1157, 2057: 2157},
- "map_uint32_uint32": map[uint32]uint32{1058: 1158, 2058: 2158},
- "map_uint64_uint64": map[uint64]uint64{1059: 1159, 2059: 2159},
- "map_sint32_sint32": map[int32]int32{1060: 1160, 2060: 2160},
- "map_sint64_sint64": map[int64]int64{1061: 1161, 2061: 2161},
- "map_fixed32_fixed32": map[uint32]uint32{1062: 1162, 2062: 2162},
- "map_fixed64_fixed64": map[uint64]uint64{1063: 1163, 2063: 2163},
- "map_sfixed32_sfixed32": map[int32]int32{1064: 1164, 2064: 2164},
- "map_sfixed64_sfixed64": map[int64]int64{1065: 1165, 2065: 2165},
- "map_int32_float": map[int32]float32{1066: 1166.5, 2066: 2166.5},
- "map_int32_double": map[int32]float64{1067: 1167.5, 2067: 2167.5},
- "map_bool_bool": map[bool]bool{true: false, false: true},
- "map_string_string": map[string]string{"69.1.key": "69.1.val", "69.2.key": "69.2.val"},
- "map_string_bytes": map[string][]byte{"70.1.key": []byte("70.1.val"), "70.2.key": []byte("70.2.val")},
- "map_string_nested_message": map[string]protobuild.Message{
- "71.1.key": {"a": 1171},
- "71.2.key": {"a": 2171},
- },
- "map_string_nested_enum": map[string]string{"73.1.key": "FOO", "73.2.key": "BAR"},
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "clone oneof uint32",
- src: protobuild.Message{
- "oneof_uint32": 1111,
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "clone oneof string",
- src: protobuild.Message{
- "oneof_string": "string",
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "clone oneof bytes",
- src: protobuild.Message{
- "oneof_bytes": "bytes",
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "clone oneof bool",
- src: protobuild.Message{
- "oneof_bool": true,
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "clone oneof uint64",
- src: protobuild.Message{
- "oneof_uint64": 100,
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "clone oneof float",
- src: protobuild.Message{
- "oneof_float": 100,
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "clone oneof double",
- src: protobuild.Message{
- "oneof_double": 1111,
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "clone oneof enum",
- src: protobuild.Message{
- "oneof_enum": 1,
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "clone oneof message",
- src: protobuild.Message{
- "oneof_nested_message": protobuild.Message{
- "a": 1,
- },
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "clone oneof group",
- src: protobuild.Message{
- "oneofgroup": protobuild.Message{
- "a": 1,
- },
- },
- types: []proto.Message{&testpb.TestAllTypes{}},
-}, {
- desc: "merge bytes",
- dst: protobuild.Message{
- "optional_bytes": []byte{1, 2, 3},
- "repeated_bytes": [][]byte{{1, 2}, {3, 4}},
- "map_string_bytes": map[string][]byte{"alpha": {1, 2, 3}},
- },
- src: protobuild.Message{
- "optional_bytes": []byte{4, 5, 6},
- "repeated_bytes": [][]byte{{5, 6}, {7, 8}},
- "map_string_bytes": map[string][]byte{"alpha": {4, 5, 6}, "bravo": {1, 2, 3}},
- },
- want: protobuild.Message{
- "optional_bytes": []byte{4, 5, 6},
- "repeated_bytes": [][]byte{{1, 2}, {3, 4}, {5, 6}, {7, 8}},
- "map_string_bytes": map[string][]byte{"alpha": {4, 5, 6}, "bravo": {1, 2, 3}},
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "merge singular fields",
- dst: protobuild.Message{
- "optional_int32": 1,
- "optional_int64": 1,
- "optional_uint32": 1,
- "optional_uint64": 1,
- "optional_sint32": 1,
- "optional_sint64": 1,
- "optional_fixed32": 1,
- "optional_fixed64": 1,
- "optional_sfixed32": 1,
- "optional_sfixed64": 1,
- "optional_float": 1,
- "optional_double": 1,
- "optional_bool": false,
- "optional_string": "1",
- "optional_bytes": "1",
- "optional_nested_enum": 1,
- "optional_nested_message": protobuild.Message{
- "a": 1,
- "corecursive": protobuild.Message{
- "optional_int64": 1,
- },
- },
- },
- src: protobuild.Message{
- "optional_int32": 2,
- "optional_int64": 2,
- "optional_uint32": 2,
- "optional_uint64": 2,
- "optional_sint32": 2,
- "optional_sint64": 2,
- "optional_fixed32": 2,
- "optional_fixed64": 2,
- "optional_sfixed32": 2,
- "optional_sfixed64": 2,
- "optional_float": 2,
- "optional_double": 2,
- "optional_bool": true,
- "optional_string": "2",
- "optional_bytes": "2",
- "optional_nested_enum": 2,
- "optional_nested_message": protobuild.Message{
- "a": 2,
- "corecursive": protobuild.Message{
- "optional_int64": 2,
- },
- },
- },
- want: protobuild.Message{
- "optional_int32": 2,
- "optional_int64": 2,
- "optional_uint32": 2,
- "optional_uint64": 2,
- "optional_sint32": 2,
- "optional_sint64": 2,
- "optional_fixed32": 2,
- "optional_fixed64": 2,
- "optional_sfixed32": 2,
- "optional_sfixed64": 2,
- "optional_float": 2,
- "optional_double": 2,
- "optional_bool": true,
- "optional_string": "2",
- "optional_bytes": "2",
- "optional_nested_enum": 2,
- "optional_nested_message": protobuild.Message{
- "a": 2,
- "corecursive": protobuild.Message{
- "optional_int64": 2,
- },
- },
- },
-}, {
- desc: "no merge of empty singular fields",
- dst: protobuild.Message{
- "optional_int32": 1,
- "optional_int64": 1,
- "optional_uint32": 1,
- "optional_uint64": 1,
- "optional_sint32": 1,
- "optional_sint64": 1,
- "optional_fixed32": 1,
- "optional_fixed64": 1,
- "optional_sfixed32": 1,
- "optional_sfixed64": 1,
- "optional_float": 1,
- "optional_double": 1,
- "optional_bool": false,
- "optional_string": "1",
- "optional_bytes": "1",
- "optional_nested_enum": 1,
- "optional_nested_message": protobuild.Message{
- "a": 1,
- "corecursive": protobuild.Message{
- "optional_int64": 1,
- },
- },
- },
- src: protobuild.Message{
- "optional_nested_message": protobuild.Message{
- "a": 1,
- "corecursive": protobuild.Message{
- "optional_int32": 2,
- },
- },
- },
- want: protobuild.Message{
- "optional_int32": 1,
- "optional_int64": 1,
- "optional_uint32": 1,
- "optional_uint64": 1,
- "optional_sint32": 1,
- "optional_sint64": 1,
- "optional_fixed32": 1,
- "optional_fixed64": 1,
- "optional_sfixed32": 1,
- "optional_sfixed64": 1,
- "optional_float": 1,
- "optional_double": 1,
- "optional_bool": false,
- "optional_string": "1",
- "optional_bytes": "1",
- "optional_nested_enum": 1,
- "optional_nested_message": protobuild.Message{
- "a": 1,
- "corecursive": protobuild.Message{
- "optional_int32": 2,
- "optional_int64": 1,
- },
- },
- },
-}, {
- desc: "merge list fields",
- dst: protobuild.Message{
- "repeated_int32": []int32{1, 2, 3},
- "repeated_int64": []int64{1, 2, 3},
- "repeated_uint32": []uint32{1, 2, 3},
- "repeated_uint64": []uint64{1, 2, 3},
- "repeated_sint32": []int32{1, 2, 3},
- "repeated_sint64": []int64{1, 2, 3},
- "repeated_fixed32": []uint32{1, 2, 3},
- "repeated_fixed64": []uint64{1, 2, 3},
- "repeated_sfixed32": []int32{1, 2, 3},
- "repeated_sfixed64": []int64{1, 2, 3},
- "repeated_float": []float32{1, 2, 3},
- "repeated_double": []float64{1, 2, 3},
- "repeated_bool": []bool{true},
- "repeated_string": []string{"a", "b", "c"},
- "repeated_bytes": []string{"a", "b", "c"},
- "repeated_nested_enum": []int{1, 2, 3},
- "repeated_nested_message": []protobuild.Message{
- {"a": 100},
- {"a": 200},
- },
- },
- src: protobuild.Message{
- "repeated_int32": []int32{4, 5, 6},
- "repeated_int64": []int64{4, 5, 6},
- "repeated_uint32": []uint32{4, 5, 6},
- "repeated_uint64": []uint64{4, 5, 6},
- "repeated_sint32": []int32{4, 5, 6},
- "repeated_sint64": []int64{4, 5, 6},
- "repeated_fixed32": []uint32{4, 5, 6},
- "repeated_fixed64": []uint64{4, 5, 6},
- "repeated_sfixed32": []int32{4, 5, 6},
- "repeated_sfixed64": []int64{4, 5, 6},
- "repeated_float": []float32{4, 5, 6},
- "repeated_double": []float64{4, 5, 6},
- "repeated_bool": []bool{false},
- "repeated_string": []string{"d", "e", "f"},
- "repeated_bytes": []string{"d", "e", "f"},
- "repeated_nested_enum": []int{4, 5, 6},
- "repeated_nested_message": []protobuild.Message{
- {"a": 300},
- {"a": 400},
- },
- },
- want: protobuild.Message{
- "repeated_int32": []int32{1, 2, 3, 4, 5, 6},
- "repeated_int64": []int64{1, 2, 3, 4, 5, 6},
- "repeated_uint32": []uint32{1, 2, 3, 4, 5, 6},
- "repeated_uint64": []uint64{1, 2, 3, 4, 5, 6},
- "repeated_sint32": []int32{1, 2, 3, 4, 5, 6},
- "repeated_sint64": []int64{1, 2, 3, 4, 5, 6},
- "repeated_fixed32": []uint32{1, 2, 3, 4, 5, 6},
- "repeated_fixed64": []uint64{1, 2, 3, 4, 5, 6},
- "repeated_sfixed32": []int32{1, 2, 3, 4, 5, 6},
- "repeated_sfixed64": []int64{1, 2, 3, 4, 5, 6},
- "repeated_float": []float32{1, 2, 3, 4, 5, 6},
- "repeated_double": []float64{1, 2, 3, 4, 5, 6},
- "repeated_bool": []bool{true, false},
- "repeated_string": []string{"a", "b", "c", "d", "e", "f"},
- "repeated_bytes": []string{"a", "b", "c", "d", "e", "f"},
- "repeated_nested_enum": []int{1, 2, 3, 4, 5, 6},
- "repeated_nested_message": []protobuild.Message{
- {"a": 100},
- {"a": 200},
- {"a": 300},
- {"a": 400},
- },
- },
-}, {
- desc: "merge map fields",
- dst: protobuild.Message{
- "map_int32_int32": map[int]int{1: 1, 3: 1},
- "map_int64_int64": map[int]int{1: 1, 3: 1},
- "map_uint32_uint32": map[int]int{1: 1, 3: 1},
- "map_uint64_uint64": map[int]int{1: 1, 3: 1},
- "map_sint32_sint32": map[int]int{1: 1, 3: 1},
- "map_sint64_sint64": map[int]int{1: 1, 3: 1},
- "map_fixed32_fixed32": map[int]int{1: 1, 3: 1},
- "map_fixed64_fixed64": map[int]int{1: 1, 3: 1},
- "map_sfixed32_sfixed32": map[int]int{1: 1, 3: 1},
- "map_sfixed64_sfixed64": map[int]int{1: 1, 3: 1},
- "map_int32_float": map[int]int{1: 1, 3: 1},
- "map_int32_double": map[int]int{1: 1, 3: 1},
- "map_bool_bool": map[bool]bool{true: true},
- "map_string_string": map[string]string{"a": "1", "ab": "1"},
- "map_string_bytes": map[string]string{"a": "1", "ab": "1"},
- "map_string_nested_message": map[string]protobuild.Message{
- "a": {"a": 1},
- "ab": {
- "a": 1,
- "corecursive": protobuild.Message{
- "map_int32_int32": map[int]int{1: 1, 3: 1},
- },
- },
- },
- "map_string_nested_enum": map[string]int{"a": 1, "ab": 1},
- },
- src: protobuild.Message{
- "map_int32_int32": map[int]int{2: 2, 3: 2},
- "map_int64_int64": map[int]int{2: 2, 3: 2},
- "map_uint32_uint32": map[int]int{2: 2, 3: 2},
- "map_uint64_uint64": map[int]int{2: 2, 3: 2},
- "map_sint32_sint32": map[int]int{2: 2, 3: 2},
- "map_sint64_sint64": map[int]int{2: 2, 3: 2},
- "map_fixed32_fixed32": map[int]int{2: 2, 3: 2},
- "map_fixed64_fixed64": map[int]int{2: 2, 3: 2},
- "map_sfixed32_sfixed32": map[int]int{2: 2, 3: 2},
- "map_sfixed64_sfixed64": map[int]int{2: 2, 3: 2},
- "map_int32_float": map[int]int{2: 2, 3: 2},
- "map_int32_double": map[int]int{2: 2, 3: 2},
- "map_bool_bool": map[bool]bool{false: false},
- "map_string_string": map[string]string{"b": "2", "ab": "2"},
- "map_string_bytes": map[string]string{"b": "2", "ab": "2"},
- "map_string_nested_message": map[string]protobuild.Message{
- "b": {"a": 2},
- "ab": {
- "a": 2,
- "corecursive": protobuild.Message{
- "map_int32_int32": map[int]int{2: 2, 3: 2},
- },
- },
- },
- "map_string_nested_enum": map[string]int{"b": 2, "ab": 2},
- },
- want: protobuild.Message{
- "map_int32_int32": map[int]int{1: 1, 2: 2, 3: 2},
- "map_int64_int64": map[int]int{1: 1, 2: 2, 3: 2},
- "map_uint32_uint32": map[int]int{1: 1, 2: 2, 3: 2},
- "map_uint64_uint64": map[int]int{1: 1, 2: 2, 3: 2},
- "map_sint32_sint32": map[int]int{1: 1, 2: 2, 3: 2},
- "map_sint64_sint64": map[int]int{1: 1, 2: 2, 3: 2},
- "map_fixed32_fixed32": map[int]int{1: 1, 2: 2, 3: 2},
- "map_fixed64_fixed64": map[int]int{1: 1, 2: 2, 3: 2},
- "map_sfixed32_sfixed32": map[int]int{1: 1, 2: 2, 3: 2},
- "map_sfixed64_sfixed64": map[int]int{1: 1, 2: 2, 3: 2},
- "map_int32_float": map[int]int{1: 1, 2: 2, 3: 2},
- "map_int32_double": map[int]int{1: 1, 2: 2, 3: 2},
- "map_bool_bool": map[bool]bool{true: true, false: false},
- "map_string_string": map[string]string{"a": "1", "b": "2", "ab": "2"},
- "map_string_bytes": map[string]string{"a": "1", "b": "2", "ab": "2"},
- "map_string_nested_message": map[string]protobuild.Message{
- "a": {"a": 1},
- "b": {"a": 2},
- "ab": {
- "a": 2,
- "corecursive": protobuild.Message{
- // The map item "ab" was entirely replaced, so
- // this does not contain 1:1 from dst.
- "map_int32_int32": map[int]int{2: 2, 3: 2},
- },
- },
- },
- "map_string_nested_enum": map[string]int{"a": 1, "b": 2, "ab": 2},
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "merge oneof message fields",
- dst: protobuild.Message{
- "oneof_nested_message": protobuild.Message{
- "a": 100,
- },
- },
- src: protobuild.Message{
- "oneof_nested_message": protobuild.Message{
- "corecursive": protobuild.Message{
- "optional_int64": 1000,
- },
- },
- },
- want: protobuild.Message{
- "oneof_nested_message": protobuild.Message{
- "a": 100,
- "corecursive": protobuild.Message{
- "optional_int64": 1000,
- },
- },
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "merge oneof scalar fields",
- dst: protobuild.Message{
- "oneof_uint32": 100,
- },
- src: protobuild.Message{
- "oneof_float": 3.14152,
- },
- want: protobuild.Message{
- "oneof_float": 3.14152,
- },
- types: []proto.Message{&testpb.TestAllTypes{}, &test3pb.TestAllTypes{}},
-}, {
- desc: "merge unknown fields",
- dst: protobuild.Message{
- protobuild.Unknown: protopack.Message{
- protopack.Tag{Number: 50000, Type: protopack.VarintType}, protopack.Svarint(-5),
- }.Marshal(),
- },
- src: protobuild.Message{
- protobuild.Unknown: protopack.Message{
- protopack.Tag{Number: 500000, Type: protopack.VarintType}, protopack.Svarint(-50),
- }.Marshal(),
- },
- want: protobuild.Message{
- protobuild.Unknown: protopack.Message{
- protopack.Tag{Number: 50000, Type: protopack.VarintType}, protopack.Svarint(-5),
- protopack.Tag{Number: 500000, Type: protopack.VarintType}, protopack.Svarint(-50),
- }.Marshal(),
- },
-}, {
- desc: "clone legacy message",
- src: protobuild.Message{"f1": protobuild.Message{
- "optional_int32": 1,
- "optional_int64": 1,
- "optional_uint32": 1,
- "optional_uint64": 1,
- "optional_sint32": 1,
- "optional_sint64": 1,
- "optional_fixed32": 1,
- "optional_fixed64": 1,
- "optional_sfixed32": 1,
- "optional_sfixed64": 1,
- "optional_float": 1,
- "optional_double": 1,
- "optional_bool": true,
- "optional_string": "string",
- "optional_bytes": "bytes",
- "optional_sibling_enum": 1,
- "optional_sibling_message": protobuild.Message{
- "f1": "value",
- },
- "repeated_int32": []int32{1},
- "repeated_int64": []int64{1},
- "repeated_uint32": []uint32{1},
- "repeated_uint64": []uint64{1},
- "repeated_sint32": []int32{1},
- "repeated_sint64": []int64{1},
- "repeated_fixed32": []uint32{1},
- "repeated_fixed64": []uint64{1},
- "repeated_sfixed32": []int32{1},
- "repeated_sfixed64": []int64{1},
- "repeated_float": []float32{1},
- "repeated_double": []float64{1},
- "repeated_bool": []bool{true},
- "repeated_string": []string{"string"},
- "repeated_bytes": []string{"bytes"},
- "repeated_sibling_enum": []int{1},
- "repeated_sibling_message": []protobuild.Message{
- {"f1": "1"},
- },
- "map_bool_int32": map[bool]int{true: 1},
- "map_bool_int64": map[bool]int{true: 1},
- "map_bool_uint32": map[bool]int{true: 1},
- "map_bool_uint64": map[bool]int{true: 1},
- "map_bool_sint32": map[bool]int{true: 1},
- "map_bool_sint64": map[bool]int{true: 1},
- "map_bool_fixed32": map[bool]int{true: 1},
- "map_bool_fixed64": map[bool]int{true: 1},
- "map_bool_sfixed32": map[bool]int{true: 1},
- "map_bool_sfixed64": map[bool]int{true: 1},
- "map_bool_float": map[bool]int{true: 1},
- "map_bool_double": map[bool]int{true: 1},
- "map_bool_bool": map[bool]bool{true: false},
- "map_bool_string": map[bool]string{true: "1"},
- "map_bool_bytes": map[bool]string{true: "1"},
- "map_bool_sibling_message": map[bool]protobuild.Message{
- true: {"f1": "1"},
- },
- "map_bool_sibling_enum": map[bool]int{true: 1},
- "oneof_sibling_message": protobuild.Message{
- "f1": "1",
- },
- }},
- types: []proto.Message{&legacypb.Legacy{}},
-}}
-
-func TestMerge(t *testing.T) {
- for _, tt := range testMerges {
- for _, mt := range templateMessages(tt.types...) {
- t.Run(fmt.Sprintf("%s (%v)", tt.desc, mt.Descriptor().FullName()), func(t *testing.T) {
- dst := mt.New().Interface()
- tt.dst.Build(dst.ProtoReflect())
-
- src := mt.New().Interface()
- tt.src.Build(src.ProtoReflect())
-
- want := mt.New().Interface()
- if tt.dst == nil && tt.want == nil {
- tt.src.Build(want.ProtoReflect())
- } else {
- tt.want.Build(want.ProtoReflect())
- }
-
- // Merge should be semantically equivalent to unmarshaling the
- // encoded form of src into the current dst.
- b1, err := proto.MarshalOptions{AllowPartial: true}.Marshal(dst)
- if err != nil {
- t.Fatalf("Marshal(dst) error: %v", err)
- }
- b2, err := proto.MarshalOptions{AllowPartial: true}.Marshal(src)
- if err != nil {
- t.Fatalf("Marshal(src) error: %v", err)
- }
- unmarshaled := dst.ProtoReflect().New().Interface()
- err = proto.UnmarshalOptions{AllowPartial: true}.Unmarshal(append(b1, b2...), unmarshaled)
- if err != nil {
- t.Fatalf("Unmarshal() error: %v", err)
- }
- if !proto.Equal(unmarshaled, want) {
- t.Fatalf("Unmarshal(Marshal(dst)+Marshal(src)) mismatch:\n got %v\nwant %v\ndiff (-want,+got):\n%v", unmarshaled, want, cmp.Diff(want, unmarshaled, protocmp.Transform()))
- }
-
- // Test heterogeneous MessageTypes by merging into a
- // dynamic message.
- ddst := dynamicpb.NewMessage(mt.Descriptor())
- tt.dst.Build(ddst.ProtoReflect())
- proto.Merge(ddst, src)
- if !proto.Equal(ddst, want) {
- t.Fatalf("Merge() into dynamic message mismatch:\n got %v\nwant %v\ndiff (-want,+got):\n%v", ddst, want, cmp.Diff(want, ddst, protocmp.Transform()))
- }
-
- proto.Merge(dst, src)
- if !proto.Equal(dst, want) {
- t.Fatalf("Merge() mismatch:\n got %v\nwant %v\ndiff (-want,+got):\n%v", dst, want, cmp.Diff(want, dst, protocmp.Transform()))
- }
- mutateValue(protoreflect.ValueOfMessage(src.ProtoReflect()))
- if !proto.Equal(dst, want) {
- t.Fatalf("mutation observed after modifying source:\n got %v\nwant %v\ndiff (-want,+got):\n%v", dst, want, cmp.Diff(want, dst, protocmp.Transform()))
- }
- })
- }
- }
-}
-
-func TestMergeFromNil(t *testing.T) {
- dst := &testpb.TestAllTypes{}
- proto.Merge(dst, (*testpb.TestAllTypes)(nil))
- if !proto.Equal(dst, &testpb.TestAllTypes{}) {
- t.Errorf("destination should be empty after merging from nil message; got:\n%v", prototext.Format(dst))
- }
-}
-
-// TestMergeAberrant tests inputs that are beyond the protobuf data model.
-// Just because there is a test for the current behavior does not mean that
-// this will behave the same way in the future.
-func TestMergeAberrant(t *testing.T) {
- tests := []struct {
- label string
- dst proto.Message
- src proto.Message
- check func(proto.Message) bool
- }{{
- label: "Proto2EmptyBytes",
- dst: &testpb.TestAllTypes{OptionalBytes: nil},
- src: &testpb.TestAllTypes{OptionalBytes: []byte{}},
- check: func(m proto.Message) bool {
- return m.(*testpb.TestAllTypes).OptionalBytes != nil
- },
- }, {
- label: "Proto3EmptyBytes",
- dst: &test3pb.TestAllTypes{SingularBytes: nil},
- src: &test3pb.TestAllTypes{SingularBytes: []byte{}},
- check: func(m proto.Message) bool {
- return m.(*test3pb.TestAllTypes).SingularBytes == nil
- },
- }, {
- label: "EmptyList",
- dst: &testpb.TestAllTypes{RepeatedInt32: nil},
- src: &testpb.TestAllTypes{RepeatedInt32: []int32{}},
- check: func(m proto.Message) bool {
- return m.(*testpb.TestAllTypes).RepeatedInt32 == nil
- },
- }, {
- label: "ListWithNilBytes",
- dst: &testpb.TestAllTypes{RepeatedBytes: nil},
- src: &testpb.TestAllTypes{RepeatedBytes: [][]byte{nil}},
- check: func(m proto.Message) bool {
- return reflect.DeepEqual(m.(*testpb.TestAllTypes).RepeatedBytes, [][]byte{{}})
- },
- }, {
- label: "ListWithEmptyBytes",
- dst: &testpb.TestAllTypes{RepeatedBytes: nil},
- src: &testpb.TestAllTypes{RepeatedBytes: [][]byte{{}}},
- check: func(m proto.Message) bool {
- return reflect.DeepEqual(m.(*testpb.TestAllTypes).RepeatedBytes, [][]byte{{}})
- },
- }, {
- label: "ListWithNilMessage",
- dst: &testpb.TestAllTypes{RepeatedNestedMessage: nil},
- src: &testpb.TestAllTypes{RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{nil}},
- check: func(m proto.Message) bool {
- return m.(*testpb.TestAllTypes).RepeatedNestedMessage[0] != nil
- },
- }, {
- label: "EmptyMap",
- dst: &testpb.TestAllTypes{MapStringString: nil},
- src: &testpb.TestAllTypes{MapStringString: map[string]string{}},
- check: func(m proto.Message) bool {
- return m.(*testpb.TestAllTypes).MapStringString == nil
- },
- }, {
- label: "MapWithNilBytes",
- dst: &testpb.TestAllTypes{MapStringBytes: nil},
- src: &testpb.TestAllTypes{MapStringBytes: map[string][]byte{"k": nil}},
- check: func(m proto.Message) bool {
- return reflect.DeepEqual(m.(*testpb.TestAllTypes).MapStringBytes, map[string][]byte{"k": {}})
- },
- }, {
- label: "MapWithEmptyBytes",
- dst: &testpb.TestAllTypes{MapStringBytes: nil},
- src: &testpb.TestAllTypes{MapStringBytes: map[string][]byte{"k": {}}},
- check: func(m proto.Message) bool {
- return reflect.DeepEqual(m.(*testpb.TestAllTypes).MapStringBytes, map[string][]byte{"k": {}})
- },
- }, {
- label: "MapWithNilMessage",
- dst: &testpb.TestAllTypes{MapStringNestedMessage: nil},
- src: &testpb.TestAllTypes{MapStringNestedMessage: map[string]*testpb.TestAllTypes_NestedMessage{"k": nil}},
- check: func(m proto.Message) bool {
- return m.(*testpb.TestAllTypes).MapStringNestedMessage["k"] != nil
- },
- }, {
- label: "OneofWithTypedNilWrapper",
- dst: &testpb.TestAllTypes{OneofField: nil},
- src: &testpb.TestAllTypes{OneofField: (*testpb.TestAllTypes_OneofNestedMessage)(nil)},
- check: func(m proto.Message) bool {
- return m.(*testpb.TestAllTypes).OneofField == nil
- },
- }, {
- label: "OneofWithNilMessage",
- dst: &testpb.TestAllTypes{OneofField: nil},
- src: &testpb.TestAllTypes{OneofField: &testpb.TestAllTypes_OneofNestedMessage{OneofNestedMessage: nil}},
- check: func(m proto.Message) bool {
- return m.(*testpb.TestAllTypes).OneofField.(*testpb.TestAllTypes_OneofNestedMessage).OneofNestedMessage != nil
- },
- // TODO: extension, nil message
- // TODO: repeated extension, nil
- // TODO: extension bytes
- // TODO: repeated extension, nil message
- }}
-
- for _, tt := range tests {
- t.Run(tt.label, func(t *testing.T) {
- var pass bool
- func() {
- defer func() { recover() }()
- proto.Merge(tt.dst, tt.src)
- pass = tt.check(tt.dst)
- }()
- if !pass {
- t.Error("check failed")
- }
- })
- }
-}
-
-func TestMergeRace(t *testing.T) {
- dst := new(testpb.TestAllTypes)
- srcs := []*testpb.TestAllTypes{
- {OptionalInt32: proto.Int32(1)},
- {OptionalString: proto.String("hello")},
- {RepeatedInt32: []int32{2, 3, 4}},
- {RepeatedString: []string{"goodbye"}},
- {MapStringString: map[string]string{"key": "value"}},
- {OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{
- A: proto.Int32(5),
- }},
- func() *testpb.TestAllTypes {
- m := new(testpb.TestAllTypes)
- m.ProtoReflect().SetUnknown(protopack.Message{
- protopack.Tag{Number: 50000, Type: protopack.VarintType}, protopack.Svarint(-5),
- }.Marshal())
- return m
- }(),
- }
-
- // It should be safe to concurrently merge non-overlapping fields.
- var wg sync.WaitGroup
- defer wg.Wait()
- for _, src := range srcs {
- wg.Add(1)
- go func(src proto.Message) {
- defer wg.Done()
- proto.Merge(dst, src)
- }(src)
- }
-}
-
-func TestMergeSelf(t *testing.T) {
- got := &testpb.TestAllTypes{
- OptionalInt32: proto.Int32(1),
- OptionalString: proto.String("hello"),
- RepeatedInt32: []int32{2, 3, 4},
- RepeatedString: []string{"goodbye"},
- MapStringString: map[string]string{"key": "value"},
- OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{
- A: proto.Int32(5),
- },
- }
- got.ProtoReflect().SetUnknown(protopack.Message{
- protopack.Tag{Number: 50000, Type: protopack.VarintType}, protopack.Svarint(-5),
- }.Marshal())
- proto.Merge(got, got)
-
- // The main impact of merging to self is that repeated fields and
- // unknown fields are doubled.
- want := &testpb.TestAllTypes{
- OptionalInt32: proto.Int32(1),
- OptionalString: proto.String("hello"),
- RepeatedInt32: []int32{2, 3, 4, 2, 3, 4},
- RepeatedString: []string{"goodbye", "goodbye"},
- MapStringString: map[string]string{"key": "value"},
- OptionalNestedMessage: &testpb.TestAllTypes_NestedMessage{
- A: proto.Int32(5),
- },
- }
- want.ProtoReflect().SetUnknown(protopack.Message{
- protopack.Tag{Number: 50000, Type: protopack.VarintType}, protopack.Svarint(-5),
- protopack.Tag{Number: 50000, Type: protopack.VarintType}, protopack.Svarint(-5),
- }.Marshal())
-
- if !proto.Equal(got, want) {
- t.Errorf("Equal mismatch:\ngot %v\nwant %v", got, want)
- }
-}
-
-func TestClone(t *testing.T) {
- want := &testpb.TestAllTypes{
- OptionalInt32: proto.Int32(1),
- }
- got := proto.Clone(want).(*testpb.TestAllTypes)
- if !proto.Equal(got, want) {
- t.Errorf("Clone(src) != src:\n got %v\nwant %v", got, want)
- }
-}
-
-// mutateValue changes a Value, returning a new value.
-//
-// For scalar values, it returns a value different from the input.
-// For Message, List, and Map values, it mutates the input and returns it.
-func mutateValue(v protoreflect.Value) protoreflect.Value {
- switch v := v.Interface().(type) {
- case bool:
- return protoreflect.ValueOfBool(!v)
- case protoreflect.EnumNumber:
- return protoreflect.ValueOfEnum(v + 1)
- case int32:
- return protoreflect.ValueOfInt32(v + 1)
- case int64:
- return protoreflect.ValueOfInt64(v + 1)
- case uint32:
- return protoreflect.ValueOfUint32(v + 1)
- case uint64:
- return protoreflect.ValueOfUint64(v + 1)
- case float32:
- return protoreflect.ValueOfFloat32(v + 1)
- case float64:
- return protoreflect.ValueOfFloat64(v + 1)
- case []byte:
- for i := range v {
- v[i]++
- }
- return protoreflect.ValueOfBytes(v)
- case string:
- return protoreflect.ValueOfString("_" + v)
- case protoreflect.Message:
- v.Range(func(fd protoreflect.FieldDescriptor, val protoreflect.Value) bool {
- v.Set(fd, mutateValue(val))
- return true
- })
- return protoreflect.ValueOfMessage(v)
- case protoreflect.List:
- for i := 0; i < v.Len(); i++ {
- v.Set(i, mutateValue(v.Get(i)))
- }
- return protoreflect.ValueOfList(v)
- case protoreflect.Map:
- v.Range(func(mk protoreflect.MapKey, mv protoreflect.Value) bool {
- v.Set(mk, mutateValue(mv))
- return true
- })
- return protoreflect.ValueOfMap(v)
- default:
- panic(fmt.Sprintf("unknown value type %T", v))
- }
-}
diff --git a/vendor/google.golang.org/protobuf/proto/messageset_test.go b/vendor/google.golang.org/protobuf/proto/messageset_test.go
deleted file mode 100644
index e634112fa0..0000000000
--- a/vendor/google.golang.org/protobuf/proto/messageset_test.go
+++ /dev/null
@@ -1,312 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "google.golang.org/protobuf/encoding/protowire"
- "google.golang.org/protobuf/internal/flags"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/testing/protopack"
-
- messagesetpb "google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb"
- msetextpb "google.golang.org/protobuf/internal/testprotos/messageset/msetextpb"
-)
-
-func init() {
- if flags.ProtoLegacy {
- testValidMessages = append(testValidMessages, messageSetTestProtos...)
- testInvalidMessages = append(testInvalidMessages, messageSetInvalidTestProtos...)
- }
-}
-
-var messageSetTestProtos = []testProto{
- {
- desc: "MessageSet type_id before message content",
- decodeTo: []proto.Message{func() proto.Message {
- m := &messagesetpb.MessageSetContainer{MessageSet: &messagesetpb.MessageSet{}}
- proto.SetExtension(m.MessageSet, msetextpb.E_Ext1_MessageSetExtension, &msetextpb.Ext1{
- Ext1Field1: proto.Int32(10),
- })
- return m
- }()},
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1000),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(10),
- }),
- protopack.Tag{1, protopack.EndGroupType},
- }),
- }.Marshal(),
- },
- {
- desc: "MessageSet type_id after message content",
- decodeTo: []proto.Message{func() proto.Message {
- m := &messagesetpb.MessageSetContainer{MessageSet: &messagesetpb.MessageSet{}}
- proto.SetExtension(m.MessageSet, msetextpb.E_Ext1_MessageSetExtension, &msetextpb.Ext1{
- Ext1Field1: proto.Int32(10),
- })
- return m
- }()},
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(10),
- }),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1000),
- protopack.Tag{1, protopack.EndGroupType},
- }),
- }.Marshal(),
- },
- {
- desc: "MessageSet does not preserve unknown field",
- decodeTo: []proto.Message{build(
- &messagesetpb.MessageSet{},
- extend(msetextpb.E_Ext1_MessageSetExtension, &msetextpb.Ext1{
- Ext1Field1: proto.Int32(10),
- }),
- )},
- wire: protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1000),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(10),
- }),
- protopack.Tag{1, protopack.EndGroupType},
- // Unknown field
- protopack.Tag{4, protopack.VarintType}, protopack.Varint(30),
- }.Marshal(),
- },
- {
- desc: "MessageSet with unknown type_id",
- decodeTo: []proto.Message{build(
- &messagesetpb.MessageSet{},
- unknown(protopack.Message{
- protopack.Tag{999, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(10),
- }),
- }.Marshal()),
- )},
- wire: protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(999),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(10),
- }),
- protopack.Tag{1, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "MessageSet merges repeated message fields in item",
- decodeTo: []proto.Message{build(
- &messagesetpb.MessageSet{},
- extend(msetextpb.E_Ext1_MessageSetExtension, &msetextpb.Ext1{
- Ext1Field1: proto.Int32(10),
- Ext1Field2: proto.Int32(20),
- }),
- )},
- wire: protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1000),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(10),
- }),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(20),
- }),
- protopack.Tag{1, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "MessageSet merges message fields in repeated items",
- decodeTo: []proto.Message{build(
- &messagesetpb.MessageSet{},
- extend(msetextpb.E_Ext1_MessageSetExtension, &msetextpb.Ext1{
- Ext1Field1: proto.Int32(10),
- Ext1Field2: proto.Int32(20),
- }),
- extend(msetextpb.E_Ext2_MessageSetExtension, &msetextpb.Ext2{
- Ext2Field1: proto.Int32(30),
- }),
- )},
- wire: protopack.Message{
- // Ext1, field1
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1000),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(10),
- }),
- protopack.Tag{1, protopack.EndGroupType},
- // Ext2, field1
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1001),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(30),
- }),
- protopack.Tag{1, protopack.EndGroupType},
- // Ext2, field2
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1000),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(20),
- }),
- protopack.Tag{1, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "MessageSet with missing type_id",
- decodeTo: []proto.Message{build(
- &messagesetpb.MessageSet{},
- )},
- wire: protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(10),
- }),
- protopack.Tag{1, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "MessageSet with missing message",
- decodeTo: []proto.Message{build(
- &messagesetpb.MessageSet{},
- extend(msetextpb.E_Ext1_MessageSetExtension, &msetextpb.Ext1{}),
- )},
- wire: protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1000),
- protopack.Tag{1, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "MessageSet with type id out of valid field number range",
- decodeTo: []proto.Message{func() proto.Message {
- m := &messagesetpb.MessageSetContainer{MessageSet: &messagesetpb.MessageSet{}}
- proto.SetExtension(m.MessageSet, msetextpb.E_ExtLargeNumber_MessageSetExtension, &msetextpb.ExtLargeNumber{})
- return m
- }()},
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(protowire.MaxValidNumber + 1),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- protopack.Tag{1, protopack.EndGroupType},
- }),
- }.Marshal(),
- },
- {
- desc: "MessageSet with unknown type id out of valid field number range",
- decodeTo: []proto.Message{func() proto.Message {
- m := &messagesetpb.MessageSetContainer{MessageSet: &messagesetpb.MessageSet{}}
- m.MessageSet.ProtoReflect().SetUnknown(
- protopack.Message{
- protopack.Tag{protowire.MaxValidNumber + 2, protopack.BytesType}, protopack.LengthPrefix{},
- }.Marshal(),
- )
- return m
- }()},
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(protowire.MaxValidNumber + 2),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- protopack.Tag{1, protopack.EndGroupType},
- }),
- }.Marshal(),
- },
- {
- desc: "MessageSet with unknown field",
- decodeTo: []proto.Message{func() proto.Message {
- m := &messagesetpb.MessageSetContainer{MessageSet: &messagesetpb.MessageSet{}}
- proto.SetExtension(m.MessageSet, msetextpb.E_Ext1_MessageSetExtension, &msetextpb.Ext1{
- Ext1Field1: proto.Int32(10),
- })
- return m
- }()},
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1000),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(10),
- }),
- protopack.Tag{4, protopack.VarintType}, protopack.Varint(0),
- protopack.Tag{1, protopack.EndGroupType},
- }),
- }.Marshal(),
- },
- {
- desc: "MessageSet with required field set",
- checkFastInit: true,
- decodeTo: []proto.Message{func() proto.Message {
- m := &messagesetpb.MessageSetContainer{MessageSet: &messagesetpb.MessageSet{}}
- proto.SetExtension(m.MessageSet, msetextpb.E_ExtRequired_MessageSetExtension, &msetextpb.ExtRequired{
- RequiredField1: proto.Int32(1),
- })
- return m
- }()},
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1002),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }),
- protopack.Tag{1, protopack.EndGroupType},
- }),
- }.Marshal(),
- },
- {
- desc: "MessageSet with required field unset",
- checkFastInit: true,
- partial: true,
- decodeTo: []proto.Message{func() proto.Message {
- m := &messagesetpb.MessageSetContainer{MessageSet: &messagesetpb.MessageSet{}}
- proto.SetExtension(m.MessageSet, msetextpb.E_ExtRequired_MessageSetExtension, &msetextpb.ExtRequired{})
- return m
- }()},
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1002),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- protopack.Tag{1, protopack.EndGroupType},
- }),
- }.Marshal(),
- },
-}
-
-var messageSetInvalidTestProtos = []testProto{
- {
- desc: "MessageSet with type id 0",
- decodeTo: []proto.Message{
- (*messagesetpb.MessageSetContainer)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Uvarint(0),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- protopack.Tag{1, protopack.EndGroupType},
- }),
- }.Marshal(),
- },
- {
- desc: "MessageSet with type id overflowing int32",
- decodeTo: []proto.Message{
- (*messagesetpb.MessageSetContainer)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Uvarint(0x80000000),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- protopack.Tag{1, protopack.EndGroupType},
- }),
- }.Marshal(),
- },
-}
diff --git a/vendor/google.golang.org/protobuf/proto/methods_test.go b/vendor/google.golang.org/protobuf/proto/methods_test.go
deleted file mode 100644
index 203d42a99e..0000000000
--- a/vendor/google.golang.org/protobuf/proto/methods_test.go
+++ /dev/null
@@ -1,185 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// The protoreflect tag disables fast-path methods, including legacy ones.
-//go:build !protoreflect
-// +build !protoreflect
-
-package proto_test
-
-import (
- "bytes"
- "errors"
- "fmt"
- "testing"
-
- "google.golang.org/protobuf/internal/impl"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/runtime/protoiface"
-
- legacypb "google.golang.org/protobuf/internal/testprotos/legacy"
-)
-
-type selfMarshaler struct {
- bytes []byte
- err error
-}
-
-func (m selfMarshaler) Reset() {}
-func (m selfMarshaler) ProtoMessage() {}
-
-func (m selfMarshaler) String() string {
- return fmt.Sprintf("selfMarshaler{bytes:%v, err:%v}", m.bytes, m.err)
-}
-
-func (m selfMarshaler) Marshal() ([]byte, error) {
- return m.bytes, m.err
-}
-
-func (m *selfMarshaler) Unmarshal(b []byte) error {
- m.bytes = b
- return m.err
-}
-
-func TestLegacyMarshalMethod(t *testing.T) {
- for _, test := range []selfMarshaler{
- {bytes: []byte("marshal")},
- {bytes: []byte("marshal"), err: errors.New("some error")},
- } {
- m := impl.Export{}.MessageOf(test).Interface()
- b, err := proto.Marshal(m)
- if err != test.err || !bytes.Equal(b, test.bytes) {
- t.Errorf("proto.Marshal(%v) = %v, %v; want %v, %v", test, b, err, test.bytes, test.err)
- }
- if gotSize, wantSize := proto.Size(m), len(test.bytes); gotSize != wantSize {
- t.Fatalf("proto.Size(%v) = %v, want %v", test, gotSize, wantSize)
- }
-
- prefix := []byte("prefix")
- want := append(prefix, test.bytes...)
- b, err = proto.MarshalOptions{}.MarshalAppend(prefix, m)
- if err != test.err || !bytes.Equal(b, want) {
- t.Errorf("MarshalAppend(%v, %v) = %v, %v; want %v, %v", prefix, test, b, err, test.bytes, test.err)
- }
-
- b, err = proto.MarshalOptions{
- Deterministic: true,
- }.MarshalAppend(nil, m)
- if err != test.err || !bytes.Equal(b, test.bytes) {
- t.Errorf("MarshalOptions{Deterministic:true}.MarshalAppend(nil, %v) = %v, %v; want %v, %v", test, b, err, test.bytes, test.err)
- }
- }
-}
-
-func TestLegacyUnmarshalMethod(t *testing.T) {
- sm := &selfMarshaler{}
- m := impl.Export{}.MessageOf(sm).Interface()
- want := []byte("unmarshal")
- if err := proto.Unmarshal(want, m); err != nil {
- t.Fatalf("proto.Unmarshal(selfMarshaler{}) = %v, want nil", err)
- }
- if !bytes.Equal(sm.bytes, want) {
- t.Fatalf("proto.Unmarshal(selfMarshaler{}): Marshal method not called")
- }
-}
-
-type descPanicSelfMarshaler struct{}
-
-const descPanicSelfMarshalerBytes = "bytes"
-
-func (m *descPanicSelfMarshaler) Reset() {}
-func (m *descPanicSelfMarshaler) ProtoMessage() {}
-func (m *descPanicSelfMarshaler) Descriptor() ([]byte, []int) { panic("Descriptor method panics") }
-func (m *descPanicSelfMarshaler) String() string { return "descPanicSelfMarshaler{}" }
-func (m *descPanicSelfMarshaler) Marshal() ([]byte, error) {
- return []byte(descPanicSelfMarshalerBytes), nil
-}
-
-func TestSelfMarshalerDescriptorPanics(t *testing.T) {
- m := &descPanicSelfMarshaler{}
- got, err := proto.Marshal(impl.Export{}.MessageOf(m).Interface())
- want := []byte(descPanicSelfMarshalerBytes)
- if err != nil || !bytes.Equal(got, want) {
- t.Fatalf("proto.Marshal(%v) = %v, %v; want %v, nil", m, got, err, want)
- }
-}
-
-type descSelfMarshaler struct {
- someField int // some non-generated field
-}
-
-const descSelfMarshalerBytes = "bytes"
-
-func (m *descSelfMarshaler) Reset() {}
-func (m *descSelfMarshaler) ProtoMessage() {}
-func (m *descSelfMarshaler) Descriptor() ([]byte, []int) {
- return ((*legacypb.Legacy)(nil)).GetF1().Descriptor()
-}
-func (m *descSelfMarshaler) String() string {
- return "descSelfMarshaler{}"
-}
-func (m *descSelfMarshaler) Marshal() ([]byte, error) {
- return []byte(descSelfMarshalerBytes), nil
-}
-
-func TestSelfMarshalerWithDescriptor(t *testing.T) {
- m := &descSelfMarshaler{}
- got, err := proto.Marshal(impl.Export{}.MessageOf(m).Interface())
- want := []byte(descSelfMarshalerBytes)
- if err != nil || !bytes.Equal(got, want) {
- t.Fatalf("proto.Marshal(%v) = %v, %v; want %v, nil", m, got, err, want)
- }
-}
-
-func TestDecodeFastCheckInitialized(t *testing.T) {
- for _, test := range testValidMessages {
- if !test.checkFastInit {
- continue
- }
- for _, message := range test.decodeTo {
- t.Run(fmt.Sprintf("%s (%T)", test.desc, message), func(t *testing.T) {
- m := message.ProtoReflect().New()
- opts := proto.UnmarshalOptions{
- AllowPartial: true,
- }
- out, err := opts.UnmarshalState(protoiface.UnmarshalInput{
- Buf: test.wire,
- Message: m,
- })
- if err != nil {
- t.Fatalf("Unmarshal error: %v", err)
- }
- if got, want := (out.Flags&protoiface.UnmarshalInitialized != 0), !test.partial; got != want {
- t.Errorf("out.Initialized = %v, want %v", got, want)
- }
- })
- }
- }
-}
-
-type selfMerger struct {
- src protoiface.MessageV1
-}
-
-func (*selfMerger) Reset() {}
-func (*selfMerger) ProtoMessage() {}
-func (*selfMerger) String() string { return "selfMerger{}" }
-func (m *selfMerger) Merge(src protoiface.MessageV1) {
- m.src = src
-}
-
-func TestLegacyMergeMethod(t *testing.T) {
- src := &selfMerger{}
- dst := &selfMerger{}
- proto.Merge(
- impl.Export{}.MessageOf(dst).Interface(),
- impl.Export{}.MessageOf(src).Interface(),
- )
- if got, want := dst.src, src; got != want {
- t.Errorf("Merge(dst, src): want dst.src = src, got %v", got)
- }
- if got := src.src; got != nil {
- t.Errorf("Merge(dst, src): want src.src = nil, got %v", got)
- }
-}
diff --git a/vendor/google.golang.org/protobuf/proto/nil_test.go b/vendor/google.golang.org/protobuf/proto/nil_test.go
deleted file mode 100644
index 29d259d7d2..0000000000
--- a/vendor/google.golang.org/protobuf/proto/nil_test.go
+++ /dev/null
@@ -1,176 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "testing"
-
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
-
- testpb "google.golang.org/protobuf/internal/testprotos/test"
-)
-
-// TestNil tests for boundary conditions when nil and typed-nil messages
-// are passed to various top-level functions.
-// These tests are not necessarily a statement of proper behavior,
-// but exist to detect accidental changes in behavior.
-func TestNil(t *testing.T) {
- nilMsg := (*testpb.TestAllExtensions)(nil)
- extType := testpb.E_OptionalBool
- extRanger := func(protoreflect.ExtensionType, interface{}) bool { return true }
-
- tests := []struct {
- label string
- test func()
- panic bool
- }{{
- label: "Size",
- test: func() { proto.Size(nil) },
- }, {
- label: "Size",
- test: func() { proto.Size(nilMsg) },
- }, {
- label: "Marshal",
- test: func() { proto.Marshal(nil) },
- }, {
- label: "Marshal",
- test: func() { proto.Marshal(nilMsg) },
- }, {
- label: "Unmarshal",
- test: func() { proto.Unmarshal(nil, nil) },
- panic: true,
- }, {
- label: "Unmarshal",
- test: func() { proto.Unmarshal(nil, nilMsg) },
- panic: true,
- }, {
- label: "Merge",
- test: func() { proto.Merge(nil, nil) },
- panic: true,
- }, {
- label: "Merge",
- test: func() { proto.Merge(nil, nilMsg) },
- panic: true,
- }, {
- label: "Merge",
- test: func() { proto.Merge(nilMsg, nil) },
- panic: true,
- }, {
- label: "Merge",
- test: func() { proto.Merge(nilMsg, nilMsg) },
- panic: true,
- }, {
- label: "Clone",
- test: func() { proto.Clone(nil) },
- }, {
- label: "Clone",
- test: func() { proto.Clone(nilMsg) },
- }, {
- label: "Equal",
- test: func() { proto.Equal(nil, nil) },
- }, {
- label: "Equal",
- test: func() { proto.Equal(nil, nilMsg) },
- }, {
- label: "Equal",
- test: func() { proto.Equal(nilMsg, nil) },
- }, {
- label: "Equal",
- test: func() { proto.Equal(nilMsg, nilMsg) },
- }, {
- label: "Reset",
- test: func() { proto.Reset(nil) },
- panic: true,
- }, {
- label: "Reset",
- test: func() { proto.Reset(nilMsg) },
- panic: true,
- }, {
- label: "HasExtension",
- test: func() { proto.HasExtension(nil, nil) },
- }, {
- label: "HasExtension",
- test: func() { proto.HasExtension(nil, extType) },
- }, {
- label: "HasExtension",
- test: func() { proto.HasExtension(nilMsg, nil) },
- }, {
- label: "HasExtension",
- test: func() { proto.HasExtension(nilMsg, extType) },
- }, {
- label: "GetExtension",
- test: func() { proto.GetExtension(nil, nil) },
- panic: true,
- }, {
- label: "GetExtension",
- test: func() { proto.GetExtension(nil, extType) },
- }, {
- label: "GetExtension",
- test: func() { proto.GetExtension(nilMsg, nil) },
- panic: true,
- }, {
- label: "GetExtension",
- test: func() { proto.GetExtension(nilMsg, extType) },
- }, {
- label: "SetExtension",
- test: func() { proto.SetExtension(nil, nil, true) },
- panic: true,
- }, {
- label: "SetExtension",
- test: func() { proto.SetExtension(nil, extType, true) },
- panic: true,
- }, {
- label: "SetExtension",
- test: func() { proto.SetExtension(nilMsg, nil, true) },
- panic: true,
- }, {
- label: "SetExtension",
- test: func() { proto.SetExtension(nilMsg, extType, true) },
- panic: true,
- }, {
- label: "ClearExtension",
- test: func() { proto.ClearExtension(nil, nil) },
- panic: true,
- }, {
- label: "ClearExtension",
- test: func() { proto.ClearExtension(nil, extType) },
- panic: true,
- }, {
- label: "ClearExtension",
- test: func() { proto.ClearExtension(nilMsg, nil) },
- panic: true,
- }, {
- label: "ClearExtension",
- test: func() { proto.ClearExtension(nilMsg, extType) },
- panic: true,
- }, {
- label: "RangeExtensions",
- test: func() { proto.RangeExtensions(nil, nil) },
- }, {
- label: "RangeExtensions",
- test: func() { proto.RangeExtensions(nil, extRanger) },
- }, {
- label: "RangeExtensions",
- test: func() { proto.RangeExtensions(nilMsg, nil) },
- }, {
- label: "RangeExtensions",
- test: func() { proto.RangeExtensions(nilMsg, extRanger) },
- }}
-
- for _, tt := range tests {
- t.Run(tt.label, func(t *testing.T) {
- defer func() {
- switch gotPanic := recover() != nil; {
- case gotPanic && !tt.panic:
- t.Errorf("unexpected panic")
- case !gotPanic && tt.panic:
- t.Errorf("expected panic")
- }
- }()
- tt.test()
- })
- }
-}
diff --git a/vendor/google.golang.org/protobuf/proto/noenforceutf8_test.go b/vendor/google.golang.org/protobuf/proto/noenforceutf8_test.go
deleted file mode 100644
index 2bd011efe1..0000000000
--- a/vendor/google.golang.org/protobuf/proto/noenforceutf8_test.go
+++ /dev/null
@@ -1,146 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "reflect"
-
- "google.golang.org/protobuf/encoding/prototext"
- "google.golang.org/protobuf/internal/filedesc"
- "google.golang.org/protobuf/internal/flags"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protodesc"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/runtime/protoimpl"
- "google.golang.org/protobuf/testing/protopack"
-
- "google.golang.org/protobuf/types/descriptorpb"
-)
-
-func init() {
- if flags.ProtoLegacy {
- testValidMessages = append(testValidMessages, noEnforceUTF8TestProtos...)
- } else {
- testInvalidMessages = append(testInvalidMessages, noEnforceUTF8TestProtos...)
- }
-}
-
-var noEnforceUTF8TestProtos = []testProto{
- {
- desc: "invalid UTF-8 in optional string field",
- decodeTo: []proto.Message{&TestNoEnforceUTF8{
- OptionalString: string("abc\xff"),
- }},
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("abc\xff"),
- }.Marshal(),
- },
- {
- desc: "invalid UTF-8 in optional string field of Go bytes",
- decodeTo: []proto.Message{&TestNoEnforceUTF8{
- OptionalBytes: []byte("abc\xff"),
- }},
- wire: protopack.Message{
- protopack.Tag{2, protopack.BytesType}, protopack.String("abc\xff"),
- }.Marshal(),
- },
- {
- desc: "invalid UTF-8 in repeated string field",
- decodeTo: []proto.Message{&TestNoEnforceUTF8{
- RepeatedString: []string{string("foo"), string("abc\xff")},
- }},
- wire: protopack.Message{
- protopack.Tag{3, protopack.BytesType}, protopack.String("foo"),
- protopack.Tag{3, protopack.BytesType}, protopack.String("abc\xff"),
- }.Marshal(),
- },
- {
- desc: "invalid UTF-8 in repeated string field of Go bytes",
- decodeTo: []proto.Message{&TestNoEnforceUTF8{
- RepeatedBytes: [][]byte{[]byte("foo"), []byte("abc\xff")},
- }},
- wire: protopack.Message{
- protopack.Tag{4, protopack.BytesType}, protopack.String("foo"),
- protopack.Tag{4, protopack.BytesType}, protopack.String("abc\xff"),
- }.Marshal(),
- },
- {
- desc: "invalid UTF-8 in oneof string field",
- decodeTo: []proto.Message{
- &TestNoEnforceUTF8{OneofField: &TestNoEnforceUTF8_OneofString{string("abc\xff")}},
- },
- wire: protopack.Message{protopack.Tag{5, protopack.BytesType}, protopack.String("abc\xff")}.Marshal(),
- },
- {
- desc: "invalid UTF-8 in oneof string field of Go bytes",
- decodeTo: []proto.Message{
- &TestNoEnforceUTF8{OneofField: &TestNoEnforceUTF8_OneofBytes{[]byte("abc\xff")}},
- },
- wire: protopack.Message{protopack.Tag{6, protopack.BytesType}, protopack.String("abc\xff")}.Marshal(),
- },
-}
-
-type TestNoEnforceUTF8 struct {
- OptionalString string `protobuf:"bytes,1,opt,name=optional_string"`
- OptionalBytes []byte `protobuf:"bytes,2,opt,name=optional_bytes"`
- RepeatedString []string `protobuf:"bytes,3,rep,name=repeated_string"`
- RepeatedBytes [][]byte `protobuf:"bytes,4,rep,name=repeated_bytes"`
- OneofField isOneofField `protobuf_oneof:"oneof_field"`
-}
-
-type isOneofField interface{ isOneofField() }
-
-type TestNoEnforceUTF8_OneofString struct {
- OneofString string `protobuf:"bytes,5,opt,name=oneof_string,oneof"`
-}
-type TestNoEnforceUTF8_OneofBytes struct {
- OneofBytes []byte `protobuf:"bytes,6,opt,name=oneof_bytes,oneof"`
-}
-
-func (*TestNoEnforceUTF8_OneofString) isOneofField() {}
-func (*TestNoEnforceUTF8_OneofBytes) isOneofField() {}
-
-func (m *TestNoEnforceUTF8) ProtoReflect() protoreflect.Message {
- return messageInfo_TestNoEnforceUTF8.MessageOf(m)
-}
-
-var messageInfo_TestNoEnforceUTF8 = protoimpl.MessageInfo{
- GoReflectType: reflect.TypeOf((*TestNoEnforceUTF8)(nil)),
- Desc: func() protoreflect.MessageDescriptor {
- pb := new(descriptorpb.FileDescriptorProto)
- if err := prototext.Unmarshal([]byte(`
- syntax: "proto3"
- name: "test.proto"
- message_type: [{
- name: "TestNoEnforceUTF8"
- field: [
- {name:"optional_string" number:1 label:LABEL_OPTIONAL type:TYPE_STRING},
- {name:"optional_bytes" number:2 label:LABEL_OPTIONAL type:TYPE_STRING},
- {name:"repeated_string" number:3 label:LABEL_REPEATED type:TYPE_STRING},
- {name:"repeated_bytes" number:4 label:LABEL_REPEATED type:TYPE_STRING},
- {name:"oneof_string" number:5 label:LABEL_OPTIONAL type:TYPE_STRING, oneof_index:0},
- {name:"oneof_bytes" number:6 label:LABEL_OPTIONAL type:TYPE_STRING, oneof_index:0}
- ]
- oneof_decl: [{name:"oneof_field"}]
- }]
- `), pb); err != nil {
- panic(err)
- }
- fd, err := protodesc.NewFile(pb, nil)
- if err != nil {
- panic(err)
- }
- md := fd.Messages().Get(0)
- for i := 0; i < md.Fields().Len(); i++ {
- md.Fields().Get(i).(*filedesc.Field).L1.HasEnforceUTF8 = true
- md.Fields().Get(i).(*filedesc.Field).L1.EnforceUTF8 = false
- }
- return md
- }(),
- OneofWrappers: []interface{}{
- (*TestNoEnforceUTF8_OneofString)(nil),
- (*TestNoEnforceUTF8_OneofBytes)(nil),
- },
-}
diff --git a/vendor/google.golang.org/protobuf/proto/proto.go b/vendor/google.golang.org/protobuf/proto/proto.go
index 1f0d183b10..7543ee6b25 100644
--- a/vendor/google.golang.org/protobuf/proto/proto.go
+++ b/vendor/google.golang.org/protobuf/proto/proto.go
@@ -15,18 +15,20 @@ import (
// protobuf module that accept a Message, except where otherwise specified.
//
// This is the v2 interface definition for protobuf messages.
-// The v1 interface definition is "github.com/golang/protobuf/proto".Message.
+// The v1 interface definition is [github.com/golang/protobuf/proto.Message].
//
-// To convert a v1 message to a v2 message,
-// use "github.com/golang/protobuf/proto".MessageV2.
-// To convert a v2 message to a v1 message,
-// use "github.com/golang/protobuf/proto".MessageV1.
+// - To convert a v1 message to a v2 message,
+// use [google.golang.org/protobuf/protoadapt.MessageV2Of].
+// - To convert a v2 message to a v1 message,
+// use [google.golang.org/protobuf/protoadapt.MessageV1Of].
type Message = protoreflect.ProtoMessage
-// Error matches all errors produced by packages in the protobuf module.
+// Error matches all errors produced by packages in the protobuf module
+// according to [errors.Is].
//
-// That is, errors.Is(err, Error) reports whether an error is produced
-// by this module.
+// Example usage:
+//
+// if errors.Is(err, proto.Error) { ... }
var Error error
func init() {
diff --git a/vendor/google.golang.org/protobuf/proto/reset_test.go b/vendor/google.golang.org/protobuf/proto/reset_test.go
deleted file mode 100644
index 0048b566f7..0000000000
--- a/vendor/google.golang.org/protobuf/proto/reset_test.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "testing"
-
- "google.golang.org/protobuf/proto"
-
- testpb "google.golang.org/protobuf/internal/testprotos/test"
-)
-
-func TestReset(t *testing.T) {
- m := &testpb.TestAllTypes{
- OptionalSfixed64: proto.Int64(5),
- RepeatedInt32: []int32{},
- RepeatedFloat: []float32{1.234, 5.678},
- MapFixed64Fixed64: map[uint64]uint64{5: 7},
- MapStringString: map[string]string{},
- OptionalForeignMessage: &testpb.ForeignMessage{},
- OneofField: (*testpb.TestAllTypes_OneofUint32)(nil),
- OneofOptional: (*testpb.TestAllTypes_OneofOptionalUint32)(nil),
- }
- m.ProtoReflect().SetUnknown([]byte{})
-
- proto.Reset(m)
-
- if m.OptionalSfixed64 != nil {
- t.Errorf("m.OptionalSfixed64 = %p, want nil", m.OptionalSfixed64)
- }
- if m.RepeatedInt32 != nil {
- t.Errorf("m.RepeatedInt32 = %p, want nil", m.RepeatedInt32)
- }
- if m.RepeatedFloat != nil {
- t.Errorf("m.RepeatedFloat = %p, want nil", m.RepeatedFloat)
- }
- if m.MapFixed64Fixed64 != nil {
- t.Errorf("m.MapFixed64Fixed64 = %p, want nil", m.MapFixed64Fixed64)
- }
- if m.MapStringString != nil {
- t.Errorf("m.MapStringString = %p, want nil", m.MapStringString)
- }
- if m.OptionalForeignMessage != nil {
- t.Errorf("m.OptionalForeignMessage = %p, want nil", m.OptionalForeignMessage)
- }
- if m.OneofField != nil {
- t.Errorf("m.OneofField = %p, want nil", m.OneofField)
- }
- if m.OneofOptional != nil {
- t.Errorf("m.OneofOptional = %p, want nil", m.OneofOptional)
- }
-
- if got := m.ProtoReflect().GetUnknown(); got != nil {
- t.Errorf("m.ProtoReflect().GetUnknown() = %d, want nil", got)
- }
-}
diff --git a/vendor/google.golang.org/protobuf/proto/testmessages_test.go b/vendor/google.golang.org/protobuf/proto/testmessages_test.go
deleted file mode 100644
index a021b3f926..0000000000
--- a/vendor/google.golang.org/protobuf/proto/testmessages_test.go
+++ /dev/null
@@ -1,2025 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "google.golang.org/protobuf/encoding/protowire"
- "google.golang.org/protobuf/internal/impl"
- "google.golang.org/protobuf/internal/protobuild"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/reflect/protoregistry"
- "google.golang.org/protobuf/testing/protopack"
-
- legacypb "google.golang.org/protobuf/internal/testprotos/legacy"
- requiredpb "google.golang.org/protobuf/internal/testprotos/required"
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- test3pb "google.golang.org/protobuf/internal/testprotos/test3"
-)
-
-type testProto struct {
- desc string
- decodeTo []proto.Message
- wire []byte
- partial bool
- noEncode bool
- checkFastInit bool
- unmarshalOptions proto.UnmarshalOptions
- validationStatus impl.ValidationStatus
- nocheckValidInit bool
-}
-
-func makeMessages(in protobuild.Message, messages ...proto.Message) []proto.Message {
- if len(messages) == 0 {
- messages = []proto.Message{
- &testpb.TestAllTypes{},
- &test3pb.TestAllTypes{},
- &testpb.TestAllExtensions{},
- }
- }
- for _, m := range messages {
- in.Build(m.ProtoReflect())
- }
- return messages
-}
-
-func templateMessages(messages ...proto.Message) []protoreflect.MessageType {
- if len(messages) == 0 {
- messages = []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*test3pb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- }
- }
- var out []protoreflect.MessageType
- for _, m := range messages {
- out = append(out, m.ProtoReflect().Type())
- }
- return out
-
-}
-
-var testValidMessages = []testProto{
- {
- desc: "basic scalar types",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "optional_int32": 1001,
- "optional_int64": 1002,
- "optional_uint32": 1003,
- "optional_uint64": 1004,
- "optional_sint32": 1005,
- "optional_sint64": 1006,
- "optional_fixed32": 1007,
- "optional_fixed64": 1008,
- "optional_sfixed32": 1009,
- "optional_sfixed64": 1010,
- "optional_float": 1011.5,
- "optional_double": 1012.5,
- "optional_bool": true,
- "optional_string": "string",
- "optional_bytes": []byte("bytes"),
- "optional_nested_enum": "BAR",
- }),
- wire: protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1001),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1002),
- protopack.Tag{3, protopack.VarintType}, protopack.Uvarint(1003),
- protopack.Tag{4, protopack.VarintType}, protopack.Uvarint(1004),
- protopack.Tag{5, protopack.VarintType}, protopack.Svarint(1005),
- protopack.Tag{6, protopack.VarintType}, protopack.Svarint(1006),
- protopack.Tag{7, protopack.Fixed32Type}, protopack.Uint32(1007),
- protopack.Tag{8, protopack.Fixed64Type}, protopack.Uint64(1008),
- protopack.Tag{9, protopack.Fixed32Type}, protopack.Int32(1009),
- protopack.Tag{10, protopack.Fixed64Type}, protopack.Int64(1010),
- protopack.Tag{11, protopack.Fixed32Type}, protopack.Float32(1011.5),
- protopack.Tag{12, protopack.Fixed64Type}, protopack.Float64(1012.5),
- protopack.Tag{13, protopack.VarintType}, protopack.Bool(true),
- protopack.Tag{14, protopack.BytesType}, protopack.String("string"),
- protopack.Tag{15, protopack.BytesType}, protopack.Bytes([]byte("bytes")),
- protopack.Tag{21, protopack.VarintType}, protopack.Varint(int(testpb.TestAllTypes_BAR)),
- }.Marshal(),
- },
- {
- desc: "zero values",
- decodeTo: makeMessages(protobuild.Message{
- "optional_int32": 0,
- "optional_int64": 0,
- "optional_uint32": 0,
- "optional_uint64": 0,
- "optional_sint32": 0,
- "optional_sint64": 0,
- "optional_fixed32": 0,
- "optional_fixed64": 0,
- "optional_sfixed32": 0,
- "optional_sfixed64": 0,
- "optional_float": 0,
- "optional_double": 0,
- "optional_bool": false,
- "optional_string": "",
- "optional_bytes": []byte{},
- }),
- wire: protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(0),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(0),
- protopack.Tag{3, protopack.VarintType}, protopack.Uvarint(0),
- protopack.Tag{4, protopack.VarintType}, protopack.Uvarint(0),
- protopack.Tag{5, protopack.VarintType}, protopack.Svarint(0),
- protopack.Tag{6, protopack.VarintType}, protopack.Svarint(0),
- protopack.Tag{7, protopack.Fixed32Type}, protopack.Uint32(0),
- protopack.Tag{8, protopack.Fixed64Type}, protopack.Uint64(0),
- protopack.Tag{9, protopack.Fixed32Type}, protopack.Int32(0),
- protopack.Tag{10, protopack.Fixed64Type}, protopack.Int64(0),
- protopack.Tag{11, protopack.Fixed32Type}, protopack.Float32(0),
- protopack.Tag{12, protopack.Fixed64Type}, protopack.Float64(0),
- protopack.Tag{13, protopack.VarintType}, protopack.Bool(false),
- protopack.Tag{14, protopack.BytesType}, protopack.String(""),
- protopack.Tag{15, protopack.BytesType}, protopack.Bytes(nil),
- }.Marshal(),
- },
- {
- desc: "proto3 zero values",
- decodeTo: makeMessages(protobuild.Message{
- "singular_int32": 0,
- "singular_int64": 0,
- "singular_uint32": 0,
- "singular_uint64": 0,
- "singular_sint32": 0,
- "singular_sint64": 0,
- "singular_fixed32": 0,
- "singular_fixed64": 0,
- "singular_sfixed32": 0,
- "singular_sfixed64": 0,
- "singular_float": 0,
- "singular_double": 0,
- "singular_bool": false,
- "singular_string": "",
- "singular_bytes": []byte{},
- }, &test3pb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{81, protopack.VarintType}, protopack.Varint(0),
- protopack.Tag{82, protopack.VarintType}, protopack.Varint(0),
- protopack.Tag{83, protopack.VarintType}, protopack.Uvarint(0),
- protopack.Tag{84, protopack.VarintType}, protopack.Uvarint(0),
- protopack.Tag{85, protopack.VarintType}, protopack.Svarint(0),
- protopack.Tag{86, protopack.VarintType}, protopack.Svarint(0),
- protopack.Tag{87, protopack.Fixed32Type}, protopack.Uint32(0),
- protopack.Tag{88, protopack.Fixed64Type}, protopack.Uint64(0),
- protopack.Tag{89, protopack.Fixed32Type}, protopack.Int32(0),
- protopack.Tag{90, protopack.Fixed64Type}, protopack.Int64(0),
- protopack.Tag{91, protopack.Fixed32Type}, protopack.Float32(0),
- protopack.Tag{92, protopack.Fixed64Type}, protopack.Float64(0),
- protopack.Tag{93, protopack.VarintType}, protopack.Bool(false),
- protopack.Tag{94, protopack.BytesType}, protopack.String(""),
- protopack.Tag{95, protopack.BytesType}, protopack.Bytes(nil),
- }.Marshal(),
- },
- {
- desc: "groups",
- decodeTo: makeMessages(protobuild.Message{
- "optionalgroup": protobuild.Message{
- "a": 1017,
- "same_field_number": 1016,
- },
- }, &testpb.TestAllTypes{}, &testpb.TestAllExtensions{}),
- wire: protopack.Message{
- protopack.Tag{16, protopack.StartGroupType},
- protopack.Tag{17, protopack.VarintType}, protopack.Varint(1017),
- protopack.Tag{16, protopack.VarintType}, protopack.Varint(1016),
- protopack.Tag{16, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "groups (field overridden)",
- decodeTo: makeMessages(protobuild.Message{
- "optionalgroup": protobuild.Message{
- "a": 2,
- },
- }, &testpb.TestAllTypes{}, &testpb.TestAllExtensions{}),
- wire: protopack.Message{
- protopack.Tag{16, protopack.StartGroupType},
- protopack.Tag{17, protopack.VarintType}, protopack.Varint(1),
- protopack.Tag{16, protopack.EndGroupType},
- protopack.Tag{16, protopack.StartGroupType},
- protopack.Tag{17, protopack.VarintType}, protopack.Varint(2),
- protopack.Tag{16, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "messages",
- decodeTo: makeMessages(protobuild.Message{
- "optional_nested_message": protobuild.Message{
- "a": 42,
- "corecursive": protobuild.Message{
- "optional_int32": 43,
- },
- },
- }),
- wire: protopack.Message{
- protopack.Tag{18, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(42),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(43),
- }),
- }),
- }.Marshal(),
- },
- {
- desc: "messages (split across multiple tags)",
- decodeTo: makeMessages(protobuild.Message{
- "optional_nested_message": protobuild.Message{
- "a": 42,
- "corecursive": protobuild.Message{
- "optional_int32": 43,
- },
- },
- }),
- wire: protopack.Message{
- protopack.Tag{18, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(42),
- }),
- protopack.Tag{18, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(43),
- }),
- }),
- }.Marshal(),
- },
- {
- desc: "messages (field overridden)",
- decodeTo: makeMessages(protobuild.Message{
- "optional_nested_message": protobuild.Message{
- "a": 2,
- },
- }),
- wire: protopack.Message{
- protopack.Tag{18, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }),
- protopack.Tag{18, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2),
- }),
- }.Marshal(),
- },
- {
- desc: "basic repeated types",
- decodeTo: makeMessages(protobuild.Message{
- "repeated_int32": []int32{1001, 2001},
- "repeated_int64": []int64{1002, 2002},
- "repeated_uint32": []uint32{1003, 2003},
- "repeated_uint64": []uint64{1004, 2004},
- "repeated_sint32": []int32{1005, 2005},
- "repeated_sint64": []int64{1006, 2006},
- "repeated_fixed32": []uint32{1007, 2007},
- "repeated_fixed64": []uint64{1008, 2008},
- "repeated_sfixed32": []int32{1009, 2009},
- "repeated_sfixed64": []int64{1010, 2010},
- "repeated_float": []float32{1011.5, 2011.5},
- "repeated_double": []float64{1012.5, 2012.5},
- "repeated_bool": []bool{true, false},
- "repeated_string": []string{"foo", "bar"},
- "repeated_bytes": []string{"FOO", "BAR"},
- "repeated_nested_enum": []string{"FOO", "BAR"},
- }),
- wire: protopack.Message{
- protopack.Tag{31, protopack.VarintType}, protopack.Varint(1001),
- protopack.Tag{31, protopack.VarintType}, protopack.Varint(2001),
- protopack.Tag{32, protopack.VarintType}, protopack.Varint(1002),
- protopack.Tag{32, protopack.VarintType}, protopack.Varint(2002),
- protopack.Tag{33, protopack.VarintType}, protopack.Uvarint(1003),
- protopack.Tag{33, protopack.VarintType}, protopack.Uvarint(2003),
- protopack.Tag{34, protopack.VarintType}, protopack.Uvarint(1004),
- protopack.Tag{34, protopack.VarintType}, protopack.Uvarint(2004),
- protopack.Tag{35, protopack.VarintType}, protopack.Svarint(1005),
- protopack.Tag{35, protopack.VarintType}, protopack.Svarint(2005),
- protopack.Tag{36, protopack.VarintType}, protopack.Svarint(1006),
- protopack.Tag{36, protopack.VarintType}, protopack.Svarint(2006),
- protopack.Tag{37, protopack.Fixed32Type}, protopack.Uint32(1007),
- protopack.Tag{37, protopack.Fixed32Type}, protopack.Uint32(2007),
- protopack.Tag{38, protopack.Fixed64Type}, protopack.Uint64(1008),
- protopack.Tag{38, protopack.Fixed64Type}, protopack.Uint64(2008),
- protopack.Tag{39, protopack.Fixed32Type}, protopack.Int32(1009),
- protopack.Tag{39, protopack.Fixed32Type}, protopack.Int32(2009),
- protopack.Tag{40, protopack.Fixed64Type}, protopack.Int64(1010),
- protopack.Tag{40, protopack.Fixed64Type}, protopack.Int64(2010),
- protopack.Tag{41, protopack.Fixed32Type}, protopack.Float32(1011.5),
- protopack.Tag{41, protopack.Fixed32Type}, protopack.Float32(2011.5),
- protopack.Tag{42, protopack.Fixed64Type}, protopack.Float64(1012.5),
- protopack.Tag{42, protopack.Fixed64Type}, protopack.Float64(2012.5),
- protopack.Tag{43, protopack.VarintType}, protopack.Bool(true),
- protopack.Tag{43, protopack.VarintType}, protopack.Bool(false),
- protopack.Tag{44, protopack.BytesType}, protopack.String("foo"),
- protopack.Tag{44, protopack.BytesType}, protopack.String("bar"),
- protopack.Tag{45, protopack.BytesType}, protopack.Bytes([]byte("FOO")),
- protopack.Tag{45, protopack.BytesType}, protopack.Bytes([]byte("BAR")),
- protopack.Tag{51, protopack.VarintType}, protopack.Varint(int(testpb.TestAllTypes_FOO)),
- protopack.Tag{51, protopack.VarintType}, protopack.Varint(int(testpb.TestAllTypes_BAR)),
- }.Marshal(),
- },
- {
- desc: "basic repeated types (packed encoding)",
- decodeTo: makeMessages(protobuild.Message{
- "repeated_int32": []int32{1001, 2001},
- "repeated_int64": []int64{1002, 2002},
- "repeated_uint32": []uint32{1003, 2003},
- "repeated_uint64": []uint64{1004, 2004},
- "repeated_sint32": []int32{1005, 2005},
- "repeated_sint64": []int64{1006, 2006},
- "repeated_fixed32": []uint32{1007, 2007},
- "repeated_fixed64": []uint64{1008, 2008},
- "repeated_sfixed32": []int32{1009, 2009},
- "repeated_sfixed64": []int64{1010, 2010},
- "repeated_float": []float32{1011.5, 2011.5},
- "repeated_double": []float64{1012.5, 2012.5},
- "repeated_bool": []bool{true, false},
- "repeated_nested_enum": []string{"FOO", "BAR"},
- }),
- wire: protopack.Message{
- protopack.Tag{31, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Varint(1001), protopack.Varint(2001),
- },
- protopack.Tag{32, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Varint(1002), protopack.Varint(2002),
- },
- protopack.Tag{33, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Uvarint(1003), protopack.Uvarint(2003),
- },
- protopack.Tag{34, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Uvarint(1004), protopack.Uvarint(2004),
- },
- protopack.Tag{35, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Svarint(1005), protopack.Svarint(2005),
- },
- protopack.Tag{36, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Svarint(1006), protopack.Svarint(2006),
- },
- protopack.Tag{37, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Uint32(1007), protopack.Uint32(2007),
- },
- protopack.Tag{38, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Uint64(1008), protopack.Uint64(2008),
- },
- protopack.Tag{39, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Int32(1009), protopack.Int32(2009),
- },
- protopack.Tag{40, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Int64(1010), protopack.Int64(2010),
- },
- protopack.Tag{41, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Float32(1011.5), protopack.Float32(2011.5),
- },
- protopack.Tag{42, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Float64(1012.5), protopack.Float64(2012.5),
- },
- protopack.Tag{43, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Bool(true), protopack.Bool(false),
- },
- protopack.Tag{51, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Varint(int(testpb.TestAllTypes_FOO)),
- protopack.Varint(int(testpb.TestAllTypes_BAR)),
- },
- }.Marshal(),
- },
- {
- desc: "basic repeated types (zero-length packed encoding)",
- decodeTo: makeMessages(protobuild.Message{
- "repeated_int32": []int32{},
- "repeated_int64": []int64{},
- "repeated_uint32": []uint32{},
- "repeated_uint64": []uint64{},
- "repeated_sint32": []int32{},
- "repeated_sint64": []int64{},
- "repeated_fixed32": []uint32{},
- "repeated_fixed64": []uint64{},
- "repeated_sfixed32": []int32{},
- "repeated_sfixed64": []int64{},
- "repeated_float": []float32{},
- "repeated_double": []float64{},
- "repeated_bool": []bool{},
- "repeated_nested_enum": []string{},
- }),
- wire: protopack.Message{
- protopack.Tag{31, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{32, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{33, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{34, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{35, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{36, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{37, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{38, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{39, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{40, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{41, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{42, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{43, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{51, protopack.BytesType}, protopack.LengthPrefix{},
- }.Marshal(),
- },
- {
- desc: "packed repeated types",
- decodeTo: makeMessages(protobuild.Message{
- "packed_int32": []int32{1001, 2001},
- "packed_int64": []int64{1002, 2002},
- "packed_uint32": []uint32{1003, 2003},
- "packed_uint64": []uint64{1004, 2004},
- "packed_sint32": []int32{1005, 2005},
- "packed_sint64": []int64{1006, 2006},
- "packed_fixed32": []uint32{1007, 2007},
- "packed_fixed64": []uint64{1008, 2008},
- "packed_sfixed32": []int32{1009, 2009},
- "packed_sfixed64": []int64{1010, 2010},
- "packed_float": []float32{1011.5, 2011.5},
- "packed_double": []float64{1012.5, 2012.5},
- "packed_bool": []bool{true, false},
- "packed_enum": []string{"FOREIGN_FOO", "FOREIGN_BAR"},
- }, &testpb.TestPackedTypes{}, &testpb.TestPackedExtensions{}),
- wire: protopack.Message{
- protopack.Tag{90, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Varint(1001), protopack.Varint(2001),
- },
- protopack.Tag{91, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Varint(1002), protopack.Varint(2002),
- },
- protopack.Tag{92, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Uvarint(1003), protopack.Uvarint(2003),
- },
- protopack.Tag{93, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Uvarint(1004), protopack.Uvarint(2004),
- },
- protopack.Tag{94, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Svarint(1005), protopack.Svarint(2005),
- },
- protopack.Tag{95, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Svarint(1006), protopack.Svarint(2006),
- },
- protopack.Tag{96, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Uint32(1007), protopack.Uint32(2007),
- },
- protopack.Tag{97, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Uint64(1008), protopack.Uint64(2008),
- },
- protopack.Tag{98, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Int32(1009), protopack.Int32(2009),
- },
- protopack.Tag{99, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Int64(1010), protopack.Int64(2010),
- },
- protopack.Tag{100, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Float32(1011.5), protopack.Float32(2011.5),
- },
- protopack.Tag{101, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Float64(1012.5), protopack.Float64(2012.5),
- },
- protopack.Tag{102, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Bool(true), protopack.Bool(false),
- },
- protopack.Tag{103, protopack.BytesType}, protopack.LengthPrefix{
- protopack.Varint(int(testpb.ForeignEnum_FOREIGN_FOO)),
- protopack.Varint(int(testpb.ForeignEnum_FOREIGN_BAR)),
- },
- }.Marshal(),
- },
- {
- desc: "packed repeated types (zero length)",
- decodeTo: makeMessages(protobuild.Message{
- "packed_int32": []int32{},
- "packed_int64": []int64{},
- "packed_uint32": []uint32{},
- "packed_uint64": []uint64{},
- "packed_sint32": []int32{},
- "packed_sint64": []int64{},
- "packed_fixed32": []uint32{},
- "packed_fixed64": []uint64{},
- "packed_sfixed32": []int32{},
- "packed_sfixed64": []int64{},
- "packed_float": []float32{},
- "packed_double": []float64{},
- "packed_bool": []bool{},
- "packed_enum": []string{},
- }, &testpb.TestPackedTypes{}, &testpb.TestPackedExtensions{}),
- wire: protopack.Message{
- protopack.Tag{90, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{91, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{92, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{93, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{94, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{95, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{96, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{97, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{98, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{99, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{100, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{101, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{102, protopack.BytesType}, protopack.LengthPrefix{},
- protopack.Tag{103, protopack.BytesType}, protopack.LengthPrefix{},
- }.Marshal(),
- },
- {
- desc: "repeated messages",
- decodeTo: makeMessages(protobuild.Message{
- "repeated_nested_message": []protobuild.Message{
- {"a": 1},
- {},
- {"a": 2},
- },
- }),
- wire: protopack.Message{
- protopack.Tag{48, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }),
- protopack.Tag{48, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- protopack.Tag{48, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2),
- }),
- }.Marshal(),
- },
- {
- desc: "repeated nil messages",
- decodeTo: []proto.Message{&testpb.TestAllTypes{
- RepeatedNestedMessage: []*testpb.TestAllTypes_NestedMessage{
- {A: proto.Int32(1)},
- nil,
- {A: proto.Int32(2)},
- },
- }, &test3pb.TestAllTypes{
- RepeatedNestedMessage: []*test3pb.TestAllTypes_NestedMessage{
- {A: 1},
- nil,
- {A: 2},
- },
- }, build(
- &testpb.TestAllExtensions{},
- extend(testpb.E_RepeatedNestedMessage, []*testpb.TestAllExtensions_NestedMessage{
- {A: proto.Int32(1)},
- nil,
- {A: proto.Int32(2)},
- }),
- )},
- wire: protopack.Message{
- protopack.Tag{48, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }),
- protopack.Tag{48, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- protopack.Tag{48, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2),
- }),
- }.Marshal(),
- },
- {
- desc: "repeated groups",
- decodeTo: makeMessages(protobuild.Message{
- "repeatedgroup": []protobuild.Message{
- {"a": 1017},
- {},
- {"a": 2017},
- },
- }, &testpb.TestAllTypes{}, &testpb.TestAllExtensions{}),
- wire: protopack.Message{
- protopack.Tag{46, protopack.StartGroupType},
- protopack.Tag{47, protopack.VarintType}, protopack.Varint(1017),
- protopack.Tag{46, protopack.EndGroupType},
- protopack.Tag{46, protopack.StartGroupType},
- protopack.Tag{46, protopack.EndGroupType},
- protopack.Tag{46, protopack.StartGroupType},
- protopack.Tag{47, protopack.VarintType}, protopack.Varint(2017),
- protopack.Tag{46, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "repeated nil groups",
- decodeTo: []proto.Message{&testpb.TestAllTypes{
- Repeatedgroup: []*testpb.TestAllTypes_RepeatedGroup{
- {A: proto.Int32(1017)},
- nil,
- {A: proto.Int32(2017)},
- },
- }, build(
- &testpb.TestAllExtensions{},
- extend(testpb.E_Repeatedgroup, []*testpb.RepeatedGroup{
- {A: proto.Int32(1017)},
- nil,
- {A: proto.Int32(2017)},
- }),
- )},
- wire: protopack.Message{
- protopack.Tag{46, protopack.StartGroupType},
- protopack.Tag{47, protopack.VarintType}, protopack.Varint(1017),
- protopack.Tag{46, protopack.EndGroupType},
- protopack.Tag{46, protopack.StartGroupType},
- protopack.Tag{46, protopack.EndGroupType},
- protopack.Tag{46, protopack.StartGroupType},
- protopack.Tag{47, protopack.VarintType}, protopack.Varint(2017),
- protopack.Tag{46, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "maps",
- decodeTo: makeMessages(protobuild.Message{
- "map_int32_int32": map[int32]int32{1056: 1156, 2056: 2156},
- "map_int64_int64": map[int64]int64{1057: 1157, 2057: 2157},
- "map_uint32_uint32": map[uint32]uint32{1058: 1158, 2058: 2158},
- "map_uint64_uint64": map[uint64]uint64{1059: 1159, 2059: 2159},
- "map_sint32_sint32": map[int32]int32{1060: 1160, 2060: 2160},
- "map_sint64_sint64": map[int64]int64{1061: 1161, 2061: 2161},
- "map_fixed32_fixed32": map[uint32]uint32{1062: 1162, 2062: 2162},
- "map_fixed64_fixed64": map[uint64]uint64{1063: 1163, 2063: 2163},
- "map_sfixed32_sfixed32": map[int32]int32{1064: 1164, 2064: 2164},
- "map_sfixed64_sfixed64": map[int64]int64{1065: 1165, 2065: 2165},
- "map_int32_float": map[int32]float32{1066: 1166.5, 2066: 2166.5},
- "map_int32_double": map[int32]float64{1067: 1167.5, 2067: 2167.5},
- "map_bool_bool": map[bool]bool{true: false, false: true},
- "map_string_string": map[string]string{"69.1.key": "69.1.val", "69.2.key": "69.2.val"},
- "map_string_bytes": map[string][]byte{"70.1.key": []byte("70.1.val"), "70.2.key": []byte("70.2.val")},
- "map_string_nested_message": map[string]protobuild.Message{
- "71.1.key": {"a": 1171},
- "71.2.key": {"a": 2171},
- },
- "map_string_nested_enum": map[string]string{"73.1.key": "FOO", "73.2.key": "BAR"},
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{56, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1056),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1156),
- }),
- protopack.Tag{56, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2056),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(2156),
- }),
- protopack.Tag{57, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1057),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1157),
- }),
- protopack.Tag{57, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2057),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(2157),
- }),
- protopack.Tag{58, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1058),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1158),
- }),
- protopack.Tag{58, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2058),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(2158),
- }),
- protopack.Tag{59, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1059),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1159),
- }),
- protopack.Tag{59, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2059),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(2159),
- }),
- protopack.Tag{60, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Svarint(1060),
- protopack.Tag{2, protopack.VarintType}, protopack.Svarint(1160),
- }),
- protopack.Tag{60, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Svarint(2060),
- protopack.Tag{2, protopack.VarintType}, protopack.Svarint(2160),
- }),
- protopack.Tag{61, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Svarint(1061),
- protopack.Tag{2, protopack.VarintType}, protopack.Svarint(1161),
- }),
- protopack.Tag{61, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Svarint(2061),
- protopack.Tag{2, protopack.VarintType}, protopack.Svarint(2161),
- }),
- protopack.Tag{62, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.Fixed32Type}, protopack.Int32(1062),
- protopack.Tag{2, protopack.Fixed32Type}, protopack.Int32(1162),
- }),
- protopack.Tag{62, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.Fixed32Type}, protopack.Int32(2062),
- protopack.Tag{2, protopack.Fixed32Type}, protopack.Int32(2162),
- }),
- protopack.Tag{63, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.Fixed64Type}, protopack.Int64(1063),
- protopack.Tag{2, protopack.Fixed64Type}, protopack.Int64(1163),
- }),
- protopack.Tag{63, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.Fixed64Type}, protopack.Int64(2063),
- protopack.Tag{2, protopack.Fixed64Type}, protopack.Int64(2163),
- }),
- protopack.Tag{64, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.Fixed32Type}, protopack.Int32(1064),
- protopack.Tag{2, protopack.Fixed32Type}, protopack.Int32(1164),
- }),
- protopack.Tag{64, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.Fixed32Type}, protopack.Int32(2064),
- protopack.Tag{2, protopack.Fixed32Type}, protopack.Int32(2164),
- }),
- protopack.Tag{65, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.Fixed64Type}, protopack.Int64(1065),
- protopack.Tag{2, protopack.Fixed64Type}, protopack.Int64(1165),
- }),
- protopack.Tag{65, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.Fixed64Type}, protopack.Int64(2065),
- protopack.Tag{2, protopack.Fixed64Type}, protopack.Int64(2165),
- }),
- protopack.Tag{66, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1066),
- protopack.Tag{2, protopack.Fixed32Type}, protopack.Float32(1166.5),
- }),
- protopack.Tag{66, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2066),
- protopack.Tag{2, protopack.Fixed32Type}, protopack.Float32(2166.5),
- }),
- protopack.Tag{67, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1067),
- protopack.Tag{2, protopack.Fixed64Type}, protopack.Float64(1167.5),
- }),
- protopack.Tag{67, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2067),
- protopack.Tag{2, protopack.Fixed64Type}, protopack.Float64(2167.5),
- }),
- protopack.Tag{68, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Bool(true),
- protopack.Tag{2, protopack.VarintType}, protopack.Bool(false),
- }),
- protopack.Tag{68, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Bool(false),
- protopack.Tag{2, protopack.VarintType}, protopack.Bool(true),
- }),
- protopack.Tag{69, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("69.1.key"),
- protopack.Tag{2, protopack.BytesType}, protopack.String("69.1.val"),
- }),
- protopack.Tag{69, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("69.2.key"),
- protopack.Tag{2, protopack.BytesType}, protopack.String("69.2.val"),
- }),
- protopack.Tag{70, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("70.1.key"),
- protopack.Tag{2, protopack.BytesType}, protopack.String("70.1.val"),
- }),
- protopack.Tag{70, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("70.2.key"),
- protopack.Tag{2, protopack.BytesType}, protopack.String("70.2.val"),
- }),
- protopack.Tag{71, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("71.1.key"),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1171),
- }),
- }),
- protopack.Tag{71, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("71.2.key"),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2171),
- }),
- }),
- protopack.Tag{73, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("73.1.key"),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(int(testpb.TestAllTypes_FOO)),
- }),
- protopack.Tag{73, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("73.2.key"),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(int(testpb.TestAllTypes_BAR)),
- }),
- }.Marshal(),
- },
- {
- desc: "map with value before key",
- decodeTo: makeMessages(protobuild.Message{
- "map_int32_int32": map[int32]int32{1056: 1156},
- "map_string_nested_message": map[string]protobuild.Message{
- "71.1.key": {"a": 1171},
- },
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{56, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1156),
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1056),
- }),
- protopack.Tag{71, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1171),
- }),
- protopack.Tag{1, protopack.BytesType}, protopack.String("71.1.key"),
- }),
- }.Marshal(),
- },
- {
- desc: "map with repeated key and value",
- decodeTo: makeMessages(protobuild.Message{
- "map_int32_int32": map[int32]int32{1056: 1156},
- "map_string_nested_message": map[string]protobuild.Message{
- "71.1.key": {"a": 1171},
- },
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{56, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(0),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(0),
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1056),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1156),
- }),
- protopack.Tag{71, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String(""),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- protopack.Tag{1, protopack.BytesType}, protopack.String("71.1.key"),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1171),
- }),
- }),
- }.Marshal(),
- },
- {
- desc: "oneof (uint32)",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_uint32": 1111,
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{protopack.Tag{111, protopack.VarintType}, protopack.Varint(1111)}.Marshal(),
- },
- {
- desc: "oneof (message)",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_nested_message": protobuild.Message{
- "a": 1112,
- },
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{protopack.Tag{112, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Message{protopack.Tag{1, protopack.VarintType}, protopack.Varint(1112)},
- })}.Marshal(),
- },
- {
- desc: "oneof (empty message)",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_nested_message": protobuild.Message{},
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{protopack.Tag{112, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{})}.Marshal(),
- },
- {
- desc: "oneof (merged message)",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_nested_message": protobuild.Message{
- "a": 1,
- "corecursive": protobuild.Message{
- "optional_int32": 43,
- },
- },
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{112, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Message{protopack.Tag{1, protopack.VarintType}, protopack.Varint(1)},
- }),
- protopack.Tag{112, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(43),
- }),
- }),
- }.Marshal(),
- },
- {
- desc: "oneof (group)",
- decodeTo: makeMessages(protobuild.Message{
- "oneofgroup": protobuild.Message{
- "a": 1,
- },
- }, &testpb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{121, protopack.StartGroupType},
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- protopack.Tag{121, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "oneof (empty group)",
- decodeTo: makeMessages(protobuild.Message{
- "oneofgroup": protobuild.Message{},
- }, &testpb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{121, protopack.StartGroupType},
- protopack.Tag{121, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "oneof (merged group)",
- decodeTo: makeMessages(protobuild.Message{
- "oneofgroup": protobuild.Message{
- "a": 1,
- "b": 2,
- },
- }, &testpb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{121, protopack.StartGroupType},
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- protopack.Tag{121, protopack.EndGroupType},
- protopack.Tag{121, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(2),
- protopack.Tag{121, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "oneof (string)",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_string": "1113",
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{protopack.Tag{113, protopack.BytesType}, protopack.String("1113")}.Marshal(),
- },
- {
- desc: "oneof (bytes)",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_bytes": "1114",
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{protopack.Tag{114, protopack.BytesType}, protopack.String("1114")}.Marshal(),
- },
- {
- desc: "oneof (bool)",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_bool": true,
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{protopack.Tag{115, protopack.VarintType}, protopack.Bool(true)}.Marshal(),
- },
- {
- desc: "oneof (uint64)",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_uint64": 116,
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{protopack.Tag{116, protopack.VarintType}, protopack.Varint(116)}.Marshal(),
- },
- {
- desc: "oneof (float)",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_float": 117.5,
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{protopack.Tag{117, protopack.Fixed32Type}, protopack.Float32(117.5)}.Marshal(),
- },
- {
- desc: "oneof (double)",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_double": 118.5,
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{protopack.Tag{118, protopack.Fixed64Type}, protopack.Float64(118.5)}.Marshal(),
- },
- {
- desc: "oneof (enum)",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_enum": "BAR",
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{protopack.Tag{119, protopack.VarintType}, protopack.Varint(int(testpb.TestAllTypes_BAR))}.Marshal(),
- },
- {
- desc: "oneof (zero)",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_uint64": 0,
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{protopack.Tag{116, protopack.VarintType}, protopack.Varint(0)}.Marshal(),
- },
- {
- desc: "oneof (overridden value)",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_uint64": 2,
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{111, protopack.VarintType}, protopack.Varint(1),
- protopack.Tag{116, protopack.VarintType}, protopack.Varint(2),
- }.Marshal(),
- },
- // TODO: More unknown field tests for ordering, repeated fields, etc.
- //
- // It is currently impossible to produce results that the v1 Equal
- // considers equivalent to those of the v1 decoder. Figure out if
- // that's a problem or not.
- {
- desc: "unknown fields",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- protobuild.Unknown: protopack.Message{
- protopack.Tag{100000, protopack.VarintType}, protopack.Varint(1),
- }.Marshal(),
- }),
- wire: protopack.Message{
- protopack.Tag{100000, protopack.VarintType}, protopack.Varint(1),
- }.Marshal(),
- },
- {
- desc: "discarded unknown fields",
- unmarshalOptions: proto.UnmarshalOptions{
- DiscardUnknown: true,
- },
- decodeTo: makeMessages(protobuild.Message{}),
- wire: protopack.Message{
- protopack.Tag{100000, protopack.VarintType}, protopack.Varint(1),
- }.Marshal(),
- },
- {
- desc: "field type mismatch",
- decodeTo: makeMessages(protobuild.Message{
- protobuild.Unknown: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("string"),
- }.Marshal(),
- }),
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("string"),
- }.Marshal(),
- },
- {
- desc: "map field element mismatch",
- decodeTo: makeMessages(protobuild.Message{
- "map_int32_int32": map[int32]int32{1: 0},
- }, &testpb.TestAllTypes{}, &test3pb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{56, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- protopack.Tag{2, protopack.BytesType}, protopack.String("string"),
- }),
- }.Marshal(),
- },
- {
- desc: "required field in nil message unset",
- checkFastInit: true,
- partial: true,
- decodeTo: []proto.Message{(*testpb.TestRequired)(nil)},
- },
- {
- desc: "required int32 unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{}, &requiredpb.Int32{}),
- },
- {
- desc: "required int32 set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "v": 1,
- }, &requiredpb.Int32{}),
- wire: protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }.Marshal(),
- },
- {
- desc: "required fixed32 unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{}, &requiredpb.Fixed32{}),
- },
- {
- desc: "required fixed32 set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "v": 1,
- }, &requiredpb.Fixed32{}),
- wire: protopack.Message{
- protopack.Tag{1, protopack.Fixed32Type}, protopack.Int32(1),
- }.Marshal(),
- },
- {
- desc: "required fixed64 unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{}, &requiredpb.Fixed64{}),
- },
- {
- desc: "required fixed64 set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "v": 1,
- }, &requiredpb.Fixed64{}),
- wire: protopack.Message{
- protopack.Tag{1, protopack.Fixed64Type}, protopack.Int64(1),
- }.Marshal(),
- },
- {
- desc: "required bytes unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{}, &requiredpb.Bytes{}),
- },
- {
- desc: "required bytes set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "v": "",
- }, &requiredpb.Bytes{}),
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.Bytes(nil),
- }.Marshal(),
- },
- {
- desc: "required message unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{}, &requiredpb.Message{}),
- },
- {
- desc: "required message set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "v": protobuild.Message{},
- }, &requiredpb.Message{}),
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- }.Marshal(),
- },
- {
- desc: "required group unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{}, &requiredpb.Group{}),
- },
- {
- desc: "required group set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "group": protobuild.Message{},
- }, &requiredpb.Group{}),
- wire: protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{1, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "required field with incompatible wire type",
- checkFastInit: true,
- partial: true,
- decodeTo: []proto.Message{build(
- &testpb.TestRequired{},
- unknown(protopack.Message{
- protopack.Tag{1, protopack.Fixed32Type}, protopack.Int32(2),
- }.Marshal()),
- )},
- wire: protopack.Message{
- protopack.Tag{1, protopack.Fixed32Type}, protopack.Int32(2),
- }.Marshal(),
- },
- {
- desc: "required field in optional message unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{
- "optional_message": protobuild.Message{},
- }, &testpb.TestRequiredForeign{}),
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- }.Marshal(),
- },
- {
- desc: "required field in optional message set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "optional_message": protobuild.Message{
- "required_field": 1,
- },
- }, &testpb.TestRequiredForeign{}),
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }),
- }.Marshal(),
- },
- {
- desc: "required field in optional message set (split across multiple tags)",
- checkFastInit: false, // fast init checks don't handle split messages
- nocheckValidInit: true, // validation doesn't either
- decodeTo: makeMessages(protobuild.Message{
- "optional_message": protobuild.Message{
- "required_field": 1,
- },
- }, &testpb.TestRequiredForeign{}),
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }),
- }.Marshal(),
- },
- {
- desc: "required field in repeated message unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{
- "repeated_message": []protobuild.Message{
- {"required_field": 1},
- {},
- },
- }, &testpb.TestRequiredForeign{}),
- wire: protopack.Message{
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- }.Marshal(),
- },
- {
- desc: "required field in repeated message set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "repeated_message": []protobuild.Message{
- {"required_field": 1},
- {"required_field": 2},
- },
- }, &testpb.TestRequiredForeign{}),
- wire: protopack.Message{
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2),
- }),
- }.Marshal(),
- },
- {
- desc: "required field in map message unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{
- "map_message": map[int32]protobuild.Message{
- 1: {"required_field": 1},
- 2: {},
- },
- }, &testpb.TestRequiredForeign{}),
- wire: protopack.Message{
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }),
- }),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- }),
- }.Marshal(),
- },
- {
- desc: "required field in absent map message value",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{
- "map_message": map[int32]protobuild.Message{
- 2: {},
- },
- }, &testpb.TestRequiredForeign{}),
- wire: protopack.Message{
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2),
- }),
- }.Marshal(),
- },
- {
- desc: "required field in map message set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "map_message": map[int32]protobuild.Message{
- 1: {"required_field": 1},
- 2: {"required_field": 2},
- },
- }, &testpb.TestRequiredForeign{}),
- wire: protopack.Message{
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }),
- }),
- protopack.Tag{3, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2),
- }),
- }),
- }.Marshal(),
- },
- {
- desc: "required field in optional group unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{
- "optionalgroup": protobuild.Message{},
- }, &testpb.TestRequiredGroupFields{}),
- wire: protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{1, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "required field in optional group set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "optionalgroup": protobuild.Message{
- "a": 1,
- },
- }, &testpb.TestRequiredGroupFields{}),
- wire: protopack.Message{
- protopack.Tag{1, protopack.StartGroupType},
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1),
- protopack.Tag{1, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "required field in repeated group unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{
- "repeatedgroup": []protobuild.Message{
- {"a": 1},
- {},
- },
- }, &testpb.TestRequiredGroupFields{}),
- wire: protopack.Message{
- protopack.Tag{3, protopack.StartGroupType},
- protopack.Tag{4, protopack.VarintType}, protopack.Varint(1),
- protopack.Tag{3, protopack.EndGroupType},
- protopack.Tag{3, protopack.StartGroupType},
- protopack.Tag{3, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "required field in repeated group set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "repeatedgroup": []protobuild.Message{
- {"a": 1},
- {"a": 2},
- },
- }, &testpb.TestRequiredGroupFields{}),
- wire: protopack.Message{
- protopack.Tag{3, protopack.StartGroupType},
- protopack.Tag{4, protopack.VarintType}, protopack.Varint(1),
- protopack.Tag{3, protopack.EndGroupType},
- protopack.Tag{3, protopack.StartGroupType},
- protopack.Tag{4, protopack.VarintType}, protopack.Varint(2),
- protopack.Tag{3, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "required field in oneof message unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{
- "oneof_message": protobuild.Message{},
- }, &testpb.TestRequiredForeign{}),
- wire: protopack.Message{protopack.Tag{4, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{})}.Marshal(),
- },
- {
- desc: "required field in oneof message set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "oneof_message": protobuild.Message{
- "required_field": 1,
- },
- }, &testpb.TestRequiredForeign{}),
- wire: protopack.Message{protopack.Tag{4, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- })}.Marshal(),
- },
- {
- desc: "required field in extension message unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{
- "single": protobuild.Message{},
- }, &testpb.TestAllExtensions{}),
- wire: protopack.Message{
- protopack.Tag{1000, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- }.Marshal(),
- },
- {
- desc: "required field in extension message set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "single": protobuild.Message{
- "required_field": 1,
- },
- }, &testpb.TestAllExtensions{}),
- wire: protopack.Message{
- protopack.Tag{1000, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }),
- }.Marshal(),
- },
- {
- desc: "required field in repeated extension message unset",
- checkFastInit: true,
- partial: true,
- decodeTo: makeMessages(protobuild.Message{
- "multi": []protobuild.Message{
- {"required_field": 1},
- {},
- },
- }, &testpb.TestAllExtensions{}),
- wire: protopack.Message{
- protopack.Tag{1001, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }),
- protopack.Tag{1001, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{}),
- }.Marshal(),
- },
- {
- desc: "required field in repeated extension message set",
- checkFastInit: true,
- decodeTo: makeMessages(protobuild.Message{
- "multi": []protobuild.Message{
- {"required_field": 1},
- {"required_field": 2},
- },
- }, &testpb.TestAllExtensions{}),
- wire: protopack.Message{
- protopack.Tag{1001, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- }),
- protopack.Tag{1001, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2),
- }),
- }.Marshal(),
- },
- {
- desc: "nil messages",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*test3pb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- },
- {
- desc: "legacy",
- partial: true,
- decodeTo: makeMessages(protobuild.Message{
- "f1": protobuild.Message{
- "optional_int32": 1,
- "optional_child_enum": "ALPHA",
- "optional_child_message": protobuild.Message{
- "f1": "x",
- },
- "optionalgroup": protobuild.Message{
- "f1": "x",
- },
- "repeated_child_message": []protobuild.Message{
- {"f1": "x"},
- },
- "repeatedgroup": []protobuild.Message{
- {"f1": "x"},
- },
- "map_bool_child_message": map[bool]protobuild.Message{
- true: {"f1": "x"},
- },
- "oneof_child_message": protobuild.Message{
- "f1": "x",
- },
- },
- }, &legacypb.Legacy{}),
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{101, protopack.VarintType}, protopack.Varint(1),
- protopack.Tag{115, protopack.VarintType}, protopack.Varint(0),
- protopack.Tag{116, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("x"),
- }),
- protopack.Tag{120, protopack.StartGroupType},
- protopack.Tag{1, protopack.BytesType}, protopack.String("x"),
- protopack.Tag{120, protopack.EndGroupType},
- protopack.Tag{516, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("x"),
- }),
- protopack.Tag{520, protopack.StartGroupType},
- protopack.Tag{1, protopack.BytesType}, protopack.String("x"),
- protopack.Tag{520, protopack.EndGroupType},
- protopack.Tag{616, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("x"),
- }),
- }),
- protopack.Tag{716, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("x"),
- }),
- }),
- }.Marshal(),
- validationStatus: impl.ValidationUnknown,
- },
- {
- desc: "first reserved field number",
- decodeTo: makeMessages(protobuild.Message{
- protobuild.Unknown: protopack.Message{
- protopack.Tag{protopack.FirstReservedNumber, protopack.VarintType}, protopack.Varint(1004),
- }.Marshal(),
- }),
- wire: protopack.Message{
- protopack.Tag{protopack.FirstReservedNumber, protopack.VarintType}, protopack.Varint(1004),
- }.Marshal(),
- },
- {
- desc: "last reserved field number",
- decodeTo: makeMessages(protobuild.Message{
- protobuild.Unknown: protopack.Message{
- protopack.Tag{protopack.LastReservedNumber, protopack.VarintType}, protopack.Varint(1005),
- }.Marshal(),
- }),
- wire: protopack.Message{
- protopack.Tag{protopack.LastReservedNumber, protopack.VarintType}, protopack.Varint(1005),
- }.Marshal(),
- },
- {
- desc: "nested unknown extension",
- unmarshalOptions: proto.UnmarshalOptions{
- DiscardUnknown: true,
- Resolver: filterResolver{
- filter: func(name protoreflect.FullName) bool {
- switch name.Name() {
- case "optional_nested_message",
- "optional_int32":
- return true
- }
- return false
- },
- resolver: protoregistry.GlobalTypes,
- },
- },
- decodeTo: makeMessages(protobuild.Message{
- "optional_nested_message": protobuild.Message{
- "corecursive": protobuild.Message{
- "optional_nested_message": protobuild.Message{
- "corecursive": protobuild.Message{
- "optional_int32": 42,
- },
- },
- },
- },
- }, &testpb.TestAllExtensions{}),
- wire: protopack.Message{
- protopack.Tag{18, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{18, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(42),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(43),
- }),
- }),
- }),
- }),
- }.Marshal(),
- },
-}
-
-var testInvalidMessages = []testProto{
- {
- desc: "invalid UTF-8 in optional string field",
- decodeTo: makeMessages(protobuild.Message{
- "optional_string": "abc\xff",
- }, &test3pb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{14, protopack.BytesType}, protopack.String("abc\xff"),
- }.Marshal(),
- },
- {
- desc: "invalid UTF-8 in singular string field",
- decodeTo: makeMessages(protobuild.Message{
- "singular_string": "abc\xff",
- }, &test3pb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{94, protopack.BytesType}, protopack.String("abc\xff"),
- }.Marshal(),
- },
- {
- desc: "invalid UTF-8 in repeated string field",
- decodeTo: makeMessages(protobuild.Message{
- "repeated_string": []string{"foo", "abc\xff"},
- }, &test3pb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{44, protopack.BytesType}, protopack.String("foo"),
- protopack.Tag{44, protopack.BytesType}, protopack.String("abc\xff"),
- }.Marshal(),
- },
- {
- desc: "invalid UTF-8 in nested message",
- decodeTo: makeMessages(protobuild.Message{
- "optional_nested_message": protobuild.Message{
- "corecursive": protobuild.Message{
- "singular_string": "abc\xff",
- },
- },
- }, &test3pb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{18, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{94, protopack.BytesType}, protopack.String("abc\xff"),
- }),
- }),
- }.Marshal(),
- },
- {
- desc: "invalid UTF-8 in oneof field",
- decodeTo: makeMessages(protobuild.Message{
- "oneof_string": "abc\xff",
- }, &test3pb.TestAllTypes{}),
- wire: protopack.Message{protopack.Tag{113, protopack.BytesType}, protopack.String("abc\xff")}.Marshal(),
- },
- {
- desc: "invalid UTF-8 in map key",
- decodeTo: makeMessages(protobuild.Message{
- "map_string_string": map[string]string{"key\xff": "val"},
- }, &test3pb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{69, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("key\xff"),
- protopack.Tag{2, protopack.BytesType}, protopack.String("val"),
- }),
- }.Marshal(),
- },
- {
- desc: "invalid UTF-8 in map value",
- decodeTo: makeMessages(protobuild.Message{
- "map_string_string": map[string]string{"key": "val\xff"},
- }, &test3pb.TestAllTypes{}),
- wire: protopack.Message{
- protopack.Tag{69, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.String("key"),
- protopack.Tag{2, protopack.BytesType}, protopack.String("val\xff"),
- }),
- }.Marshal(),
- },
- {
- desc: "invalid field number zero",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{protopack.MinValidNumber - 1, protopack.VarintType}, protopack.Varint(1001),
- }.Marshal(),
- },
- {
- desc: "invalid field numbers zero and one",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{protopack.MinValidNumber - 1, protopack.VarintType}, protopack.Varint(1002),
- protopack.Tag{protopack.MinValidNumber, protopack.VarintType}, protopack.Varint(1003),
- }.Marshal(),
- },
- {
- desc: "invalid field numbers max and max+1",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{protopack.MaxValidNumber, protopack.VarintType}, protopack.Varint(1006),
- protopack.Tag{protopack.MaxValidNumber + 1, protopack.VarintType}, protopack.Varint(1007),
- }.Marshal(),
- },
- {
- desc: "invalid field number max+1",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{protopack.MaxValidNumber + 1, protopack.VarintType}, protopack.Varint(1008),
- }.Marshal(),
- },
- {
- desc: "invalid field number wraps int32",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Varint(2234993595104), protopack.Varint(0),
- }.Marshal(),
- },
- {
- desc: "invalid field number in map",
- decodeTo: []proto.Message{(*testpb.TestAllTypes)(nil)},
- wire: protopack.Message{
- protopack.Tag{56, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1056),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(1156),
- protopack.Tag{protopack.MaxValidNumber + 1, protopack.VarintType}, protopack.Varint(0),
- }),
- }.Marshal(),
- },
- {
- desc: "invalid tag varint",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: []byte{0xff},
- },
- {
- desc: "field number too small",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{0, protopack.VarintType}, protopack.Varint(0),
- }.Marshal(),
- },
- {
- desc: "field number too large",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{protowire.MaxValidNumber + 1, protopack.VarintType}, protopack.Varint(0),
- }.Marshal(),
- },
- {
- desc: "invalid tag varint in message field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{18, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Raw{0xff},
- }),
- }.Marshal(),
- },
- {
- desc: "invalid tag varint in repeated message field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{48, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Raw{0xff},
- }),
- }.Marshal(),
- },
- {
- desc: "invalid varint in group field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{16, protopack.StartGroupType},
- protopack.Tag{1000, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Raw{0xff},
- }),
- protopack.Tag{16, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "invalid varint in repeated group field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{46, protopack.StartGroupType},
- protopack.Tag{1001, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Raw{0xff},
- }),
- protopack.Tag{46, protopack.EndGroupType},
- }.Marshal(),
- },
- {
- desc: "unterminated repeated group field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{46, protopack.StartGroupType},
- }.Marshal(),
- },
- {
- desc: "invalid tag varint in map item",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{56, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(0),
- protopack.Tag{2, protopack.VarintType}, protopack.Varint(0),
- protopack.Raw{0xff},
- }),
- }.Marshal(),
- },
- {
- desc: "invalid tag varint in map message value",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{71, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(0),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Raw{0xff},
- }),
- }),
- }.Marshal(),
- },
- {
- desc: "invalid packed int32 field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{31, protopack.BytesType}, protopack.Bytes{0xff},
- }.Marshal(),
- },
- {
- desc: "invalid packed int64 field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{32, protopack.BytesType}, protopack.Bytes{0xff},
- }.Marshal(),
- },
- {
- desc: "invalid packed uint32 field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{33, protopack.BytesType}, protopack.Bytes{0xff},
- }.Marshal(),
- },
- {
- desc: "invalid packed uint64 field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{34, protopack.BytesType}, protopack.Bytes{0xff},
- }.Marshal(),
- },
- {
- desc: "invalid packed sint32 field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{35, protopack.BytesType}, protopack.Bytes{0xff},
- }.Marshal(),
- },
- {
- desc: "invalid packed sint64 field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{36, protopack.BytesType}, protopack.Bytes{0xff},
- }.Marshal(),
- },
- {
- desc: "invalid packed fixed32 field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{37, protopack.BytesType}, protopack.Bytes{0x00},
- }.Marshal(),
- },
- {
- desc: "invalid packed fixed64 field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{38, protopack.BytesType}, protopack.Bytes{0x00},
- }.Marshal(),
- },
- {
- desc: "invalid packed sfixed32 field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{39, protopack.BytesType}, protopack.Bytes{0x00},
- }.Marshal(),
- },
- {
- desc: "invalid packed sfixed64 field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{40, protopack.BytesType}, protopack.Bytes{0x00},
- }.Marshal(),
- },
- {
- desc: "invalid packed float field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{41, protopack.BytesType}, protopack.Bytes{0x00},
- }.Marshal(),
- },
- {
- desc: "invalid packed double field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{42, protopack.BytesType}, protopack.Bytes{0x00},
- }.Marshal(),
- },
- {
- desc: "invalid packed bool field",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{43, protopack.BytesType}, protopack.Bytes{0xff},
- }.Marshal(),
- },
- {
- desc: "bytes field overruns message",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{18, protopack.BytesType}, protopack.LengthPrefix{protopack.Message{
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix{protopack.Message{
- protopack.Tag{15, protopack.BytesType}, protopack.Varint(2),
- }},
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(0),
- }},
- }.Marshal(),
- },
- {
- desc: "varint field overruns message",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{1, protopack.VarintType},
- }.Marshal(),
- },
- {
- desc: "bytes field lacks size",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{18, protopack.BytesType},
- }.Marshal(),
- },
- {
- desc: "varint overflow",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{1, protopack.VarintType},
- protopack.Raw("\xff\xff\xff\xff\xff\xff\xff\xff\xff\x02"),
- }.Marshal(),
- },
- {
- desc: "varint length overrun",
- decodeTo: []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- },
- wire: protopack.Message{
- protopack.Tag{1, protopack.VarintType},
- protopack.Raw("\xff\xff\xff\xff\xff\xff\xff\xff\xff"),
- }.Marshal(),
- },
-}
-
-type filterResolver struct {
- filter func(name protoreflect.FullName) bool
- resolver protoregistry.ExtensionTypeResolver
-}
-
-func (f filterResolver) FindExtensionByName(field protoreflect.FullName) (protoreflect.ExtensionType, error) {
- if !f.filter(field) {
- return nil, protoregistry.NotFound
- }
- return f.resolver.FindExtensionByName(field)
-}
-
-func (f filterResolver) FindExtensionByNumber(message protoreflect.FullName, field protoreflect.FieldNumber) (protoreflect.ExtensionType, error) {
- xt, err := f.resolver.FindExtensionByNumber(message, field)
- if err != nil {
- return nil, err
- }
- if !f.filter(xt.TypeDescriptor().FullName()) {
- return nil, protoregistry.NotFound
- }
- return xt, nil
-}
diff --git a/vendor/google.golang.org/protobuf/proto/validate_test.go b/vendor/google.golang.org/protobuf/proto/validate_test.go
deleted file mode 100644
index e8069983d3..0000000000
--- a/vendor/google.golang.org/protobuf/proto/validate_test.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "fmt"
- "testing"
-
- "google.golang.org/protobuf/internal/impl"
- piface "google.golang.org/protobuf/runtime/protoiface"
-)
-
-// TestValidate tests the internal message validator.
-//
-// Despite being more properly associated with the internal/impl package,
-// it is located here to take advantage of the test wire encoder/decoder inputs.
-
-func TestValidateValid(t *testing.T) {
- for _, test := range testValidMessages {
- for _, m := range test.decodeTo {
- t.Run(fmt.Sprintf("%s (%T)", test.desc, m), func(t *testing.T) {
- mt := m.ProtoReflect().Type()
- want := impl.ValidationValid
- if test.validationStatus != 0 {
- want = test.validationStatus
- }
- out, status := impl.Validate(mt, piface.UnmarshalInput{
- Buf: test.wire,
- })
- if status != want {
- t.Errorf("Validate(%x) = %v, want %v", test.wire, status, want)
- }
- if got, want := (out.Flags&piface.UnmarshalInitialized != 0), !test.partial; got != want && !test.nocheckValidInit && status == impl.ValidationValid {
- t.Errorf("Validate(%x): initialized = %v, want %v", test.wire, got, want)
- }
- })
- }
- }
-}
-
-func TestValidateInvalid(t *testing.T) {
- for _, test := range testInvalidMessages {
- for _, m := range test.decodeTo {
- t.Run(fmt.Sprintf("%s (%T)", test.desc, m), func(t *testing.T) {
- mt := m.ProtoReflect().Type()
- _, got := impl.Validate(mt, piface.UnmarshalInput{
- Buf: test.wire,
- })
- want := impl.ValidationInvalid
- if got != want {
- t.Errorf("Validate(%x) = %v, want %v", test.wire, got, want)
- }
- })
- }
- }
-}
diff --git a/vendor/google.golang.org/protobuf/proto/weak_test.go b/vendor/google.golang.org/protobuf/proto/weak_test.go
deleted file mode 100644
index 79340e395c..0000000000
--- a/vendor/google.golang.org/protobuf/proto/weak_test.go
+++ /dev/null
@@ -1,125 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proto_test
-
-import (
- "testing"
-
- "google.golang.org/protobuf/internal/flags"
- "google.golang.org/protobuf/internal/protobuild"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/testing/protopack"
-
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- weakpb "google.golang.org/protobuf/internal/testprotos/test/weak1"
-)
-
-func init() {
- if flags.ProtoLegacy {
- testValidMessages = append(testValidMessages, testWeakValidMessages...)
- testInvalidMessages = append(testInvalidMessages, testWeakInvalidMessages...)
- testMerges = append(testMerges, testWeakMerges...)
- }
-}
-
-var testWeakValidMessages = []testProto{
- {
- desc: "weak message",
- decodeTo: []proto.Message{
- func() proto.Message {
- if !flags.ProtoLegacy {
- return nil
- }
- m := &testpb.TestWeak{}
- m.SetWeakMessage1(&weakpb.WeakImportMessage1{
- A: proto.Int32(1000),
- })
- m.ProtoReflect().SetUnknown(protopack.Message{
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2000),
- }),
- }.Marshal())
- return m
- }(),
- },
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(1000),
- }),
- protopack.Tag{2, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{1, protopack.VarintType}, protopack.Varint(2000),
- }),
- }.Marshal(),
- },
-}
-
-var testWeakInvalidMessages = []testProto{
- {
- desc: "invalid field number 0 in weak message",
- decodeTo: []proto.Message{(*testpb.TestWeak)(nil)},
- wire: protopack.Message{
- protopack.Tag{1, protopack.BytesType}, protopack.LengthPrefix(protopack.Message{
- protopack.Tag{0, protopack.VarintType}, protopack.Varint(1000),
- }),
- }.Marshal(),
- },
-}
-
-var testWeakMerges = []testMerge{
- {
- desc: "clone weak message",
- src: protobuild.Message{
- "weak_message1": protobuild.Message{
- "a": 1,
- },
- },
- types: []proto.Message{&testpb.TestWeak{}},
- }, {
- desc: "merge weak message",
- dst: protobuild.Message{
- "weak_message1": protobuild.Message{
- "a": 1,
- },
- },
- src: protobuild.Message{
- "weak_message1": protobuild.Message{
- "a": 2,
- },
- },
- want: protobuild.Message{
- "weak_message1": protobuild.Message{
- "a": 2,
- },
- },
- types: []proto.Message{&testpb.TestWeak{}},
- },
-}
-
-func TestWeakNil(t *testing.T) {
- if !flags.ProtoLegacy {
- t.SkipNow()
- }
-
- m := new(testpb.TestWeak)
- if v, ok := m.GetWeakMessage1().(*weakpb.WeakImportMessage1); !ok || v != nil {
- t.Errorf("m.GetWeakMessage1() = type %[1]T(%[1]v), want (*weakpb.WeakImportMessage1)", v)
- }
-}
-
-func TestWeakMarshalNil(t *testing.T) {
- if !flags.ProtoLegacy {
- t.SkipNow()
- }
-
- m := new(testpb.TestWeak)
- m.SetWeakMessage1(nil)
- if b, err := proto.Marshal(m); err != nil || len(b) != 0 {
- t.Errorf("Marshal(weak field set to nil) = [%x], %v; want [], nil", b, err)
- }
- m.SetWeakMessage1((*weakpb.WeakImportMessage1)(nil))
- if b, err := proto.Marshal(m); err != nil || len(b) != 0 {
- t.Errorf("Marshal(weak field set to typed nil) = [%x], %v; want [], nil", b, err)
- }
-}
diff --git a/vendor/google.golang.org/protobuf/proto/ya.make b/vendor/google.golang.org/protobuf/proto/ya.make
index da21667a10..6f72cc0ff1 100644
--- a/vendor/google.golang.org/protobuf/proto/ya.make
+++ b/vendor/google.golang.org/protobuf/proto/ya.make
@@ -21,24 +21,4 @@ SRCS(
wrappers.go
)
-GO_XTEST_SRCS(
- bench_test.go
- checkinit_test.go
- decode_test.go
- encode_test.go
- equal_test.go
- extension_test.go
- merge_test.go
- messageset_test.go
- methods_test.go
- nil_test.go
- noenforceutf8_test.go
- reset_test.go
- testmessages_test.go
- validate_test.go
- weak_test.go
-)
-
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/protoadapt/convert.go b/vendor/google.golang.org/protobuf/protoadapt/convert.go
index ce172386bf..ea276d15a0 100644
--- a/vendor/google.golang.org/protobuf/protoadapt/convert.go
+++ b/vendor/google.golang.org/protobuf/protoadapt/convert.go
@@ -11,21 +11,21 @@ import (
"google.golang.org/protobuf/runtime/protoimpl"
)
-// MessageV1 is the original "github.com/golang/protobuf/proto".Message type.
+// MessageV1 is the original [github.com/golang/protobuf/proto.Message] type.
type MessageV1 = protoiface.MessageV1
-// MessageV2 is the Message type used by the current google.golang.org/protobuf
-// module, adding support for reflection.
+// MessageV2 is the [google.golang.org/protobuf/proto.Message] type used by the
+// current [google.golang.org/protobuf] module, adding support for reflection.
type MessageV2 = proto.Message
// MessageV1Of converts a v2 message to a v1 message.
// It returns nil if m is nil.
-func MessageV1Of(m MessageV2) protoiface.MessageV1 {
+func MessageV1Of(m MessageV2) MessageV1 {
return protoimpl.X.ProtoMessageV1Of(m)
}
// MessageV2Of converts a v1 message to a v2 message.
// It returns nil if m is nil.
-func MessageV2Of(m MessageV1) proto.Message {
+func MessageV2Of(m MessageV1) MessageV2 {
return protoimpl.X.ProtoMessageV2Of(m)
}
diff --git a/vendor/google.golang.org/protobuf/protoadapt/ya.make b/vendor/google.golang.org/protobuf/protoadapt/ya.make
index cc365bd76b..e122057c6c 100644
--- a/vendor/google.golang.org/protobuf/protoadapt/ya.make
+++ b/vendor/google.golang.org/protobuf/protoadapt/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(convert.go)
+SRCS(
+ convert.go
+)
END()
diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go b/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go
index e4dfb12050..baa0cc6218 100644
--- a/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go
+++ b/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go
@@ -3,11 +3,11 @@
// license that can be found in the LICENSE file.
// Package protodesc provides functionality for converting
-// FileDescriptorProto messages to/from protoreflect.FileDescriptor values.
+// FileDescriptorProto messages to/from [protoreflect.FileDescriptor] values.
//
// The google.protobuf.FileDescriptorProto is a protobuf message that describes
// the type information for a .proto file in a form that is easily serializable.
-// The protoreflect.FileDescriptor is a more structured representation of
+// The [protoreflect.FileDescriptor] is a more structured representation of
// the FileDescriptorProto message where references and remote dependencies
// can be directly followed.
package protodesc
@@ -24,11 +24,11 @@ import (
"google.golang.org/protobuf/types/descriptorpb"
)
-// Resolver is the resolver used by NewFile to resolve dependencies.
+// Resolver is the resolver used by [NewFile] to resolve dependencies.
// The enums and messages provided must belong to some parent file,
// which is also registered.
//
-// It is implemented by protoregistry.Files.
+// It is implemented by [protoregistry.Files].
type Resolver interface {
FindFileByPath(string) (protoreflect.FileDescriptor, error)
FindDescriptorByName(protoreflect.FullName) (protoreflect.Descriptor, error)
@@ -61,19 +61,19 @@ type FileOptions struct {
AllowUnresolvable bool
}
-// NewFile creates a new protoreflect.FileDescriptor from the provided
-// file descriptor message. See FileOptions.New for more information.
+// NewFile creates a new [protoreflect.FileDescriptor] from the provided
+// file descriptor message. See [FileOptions.New] for more information.
func NewFile(fd *descriptorpb.FileDescriptorProto, r Resolver) (protoreflect.FileDescriptor, error) {
return FileOptions{}.New(fd, r)
}
-// NewFiles creates a new protoregistry.Files from the provided
-// FileDescriptorSet message. See FileOptions.NewFiles for more information.
+// NewFiles creates a new [protoregistry.Files] from the provided
+// FileDescriptorSet message. See [FileOptions.NewFiles] for more information.
func NewFiles(fd *descriptorpb.FileDescriptorSet) (*protoregistry.Files, error) {
return FileOptions{}.NewFiles(fd)
}
-// New creates a new protoreflect.FileDescriptor from the provided
+// New creates a new [protoreflect.FileDescriptor] from the provided
// file descriptor message. The file must represent a valid proto file according
// to protobuf semantics. The returned descriptor is a deep copy of the input.
//
@@ -93,9 +93,15 @@ func (o FileOptions) New(fd *descriptorpb.FileDescriptorProto, r Resolver) (prot
f.L1.Syntax = protoreflect.Proto2
case "proto3":
f.L1.Syntax = protoreflect.Proto3
+ case "editions":
+ f.L1.Syntax = protoreflect.Editions
+ f.L1.Edition = fromEditionProto(fd.GetEdition())
default:
return nil, errors.New("invalid syntax: %q", fd.GetSyntax())
}
+ if f.L1.Syntax == protoreflect.Editions && (fd.GetEdition() < SupportedEditionsMinimum || fd.GetEdition() > SupportedEditionsMaximum) {
+ return nil, errors.New("use of edition %v not yet supported by the Go Protobuf runtime", fd.GetEdition())
+ }
f.L1.Path = fd.GetName()
if f.L1.Path == "" {
return nil, errors.New("file path must be populated")
@@ -108,6 +114,9 @@ func (o FileOptions) New(fd *descriptorpb.FileDescriptorProto, r Resolver) (prot
opts = proto.Clone(opts).(*descriptorpb.FileOptions)
f.L2.Options = func() protoreflect.ProtoMessage { return opts }
}
+ if f.L1.Syntax == protoreflect.Editions {
+ initFileDescFromFeatureSet(f, fd.GetOptions().GetFeatures())
+ }
f.L2.Imports = make(filedesc.FileImports, len(fd.GetDependency()))
for _, i := range fd.GetPublicDependency() {
@@ -231,7 +240,7 @@ func (is importSet) importPublic(imps protoreflect.FileImports) {
}
}
-// NewFiles creates a new protoregistry.Files from the provided
+// NewFiles creates a new [protoregistry.Files] from the provided
// FileDescriptorSet message. The descriptor set must include only
// valid files according to protobuf semantics. The returned descriptors
// are a deep copy of the input.
diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go
index 37efda1afe..aff6fd4900 100644
--- a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go
+++ b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go
@@ -137,6 +137,30 @@ func (r descsByName) initFieldsFromDescriptorProto(fds []*descriptorpb.FieldDesc
if fd.JsonName != nil {
f.L1.StringName.InitJSON(fd.GetJsonName())
}
+
+ if f.Base.L0.ParentFile.Syntax() == protoreflect.Editions {
+ f.L1.Presence = resolveFeatureHasFieldPresence(f.Base.L0.ParentFile, fd)
+ // We reuse the existing field because the old option `[packed =
+ // true]` is mutually exclusive with the editions feature.
+ if fd.GetLabel() == descriptorpb.FieldDescriptorProto_LABEL_REPEATED {
+ f.L1.HasPacked = true
+ f.L1.IsPacked = resolveFeatureRepeatedFieldEncodingPacked(f.Base.L0.ParentFile, fd)
+ }
+
+ // We pretend this option is always explicitly set because the only
+ // use of HasEnforceUTF8 is to determine whether to use EnforceUTF8
+ // or to return the appropriate default.
+ // When using editions we either parse the option or resolve the
+ // appropriate default here (instead of later when this option is
+ // requested from the descriptor).
+ // In proto2/proto3 syntax HasEnforceUTF8 might be false.
+ f.L1.HasEnforceUTF8 = true
+ f.L1.EnforceUTF8 = resolveFeatureEnforceUTF8(f.Base.L0.ParentFile, fd)
+
+ if f.L1.Kind == protoreflect.MessageKind && resolveFeatureDelimitedEncoding(f.Base.L0.ParentFile, fd) {
+ f.L1.Kind = protoreflect.GroupKind
+ }
+ }
}
return fs, nil
}
diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go b/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go
new file mode 100644
index 0000000000..7352926cab
--- /dev/null
+++ b/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go
@@ -0,0 +1,177 @@
+// Copyright 2019 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package protodesc
+
+import (
+ _ "embed"
+ "fmt"
+ "os"
+ "sync"
+
+ "google.golang.org/protobuf/internal/filedesc"
+ "google.golang.org/protobuf/proto"
+ "google.golang.org/protobuf/types/descriptorpb"
+)
+
+const (
+ SupportedEditionsMinimum = descriptorpb.Edition_EDITION_PROTO2
+ SupportedEditionsMaximum = descriptorpb.Edition_EDITION_2023
+)
+
+//go:embed editions_defaults.binpb
+var binaryEditionDefaults []byte
+var defaults = &descriptorpb.FeatureSetDefaults{}
+var defaultsCacheMu sync.Mutex
+var defaultsCache = make(map[filedesc.Edition]*descriptorpb.FeatureSet)
+
+func init() {
+ err := proto.Unmarshal(binaryEditionDefaults, defaults)
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "unmarshal editions defaults: %v\n", err)
+ os.Exit(1)
+ }
+}
+
+func fromEditionProto(epb descriptorpb.Edition) filedesc.Edition {
+ return filedesc.Edition(epb)
+}
+
+func toEditionProto(ed filedesc.Edition) descriptorpb.Edition {
+ switch ed {
+ case filedesc.EditionUnknown:
+ return descriptorpb.Edition_EDITION_UNKNOWN
+ case filedesc.EditionProto2:
+ return descriptorpb.Edition_EDITION_PROTO2
+ case filedesc.EditionProto3:
+ return descriptorpb.Edition_EDITION_PROTO3
+ case filedesc.Edition2023:
+ return descriptorpb.Edition_EDITION_2023
+ default:
+ panic(fmt.Sprintf("unknown value for edition: %v", ed))
+ }
+}
+
+func getFeatureSetFor(ed filedesc.Edition) *descriptorpb.FeatureSet {
+ defaultsCacheMu.Lock()
+ defer defaultsCacheMu.Unlock()
+ if def, ok := defaultsCache[ed]; ok {
+ return def
+ }
+ edpb := toEditionProto(ed)
+ if defaults.GetMinimumEdition() > edpb || defaults.GetMaximumEdition() < edpb {
+ // This should never happen protodesc.(FileOptions).New would fail when
+ // initializing the file descriptor.
+ // This most likely means the embedded defaults were not updated.
+ fmt.Fprintf(os.Stderr, "internal error: unsupported edition %v (did you forget to update the embedded defaults (i.e. the bootstrap descriptor proto)?)\n", edpb)
+ os.Exit(1)
+ }
+ fs := defaults.GetDefaults()[0].GetFeatures()
+ // Using a linear search for now.
+ // Editions are guaranteed to be sorted and thus we could use a binary search.
+ // Given that there are only a handful of editions (with one more per year)
+ // there is not much reason to use a binary search.
+ for _, def := range defaults.GetDefaults() {
+ if def.GetEdition() <= edpb {
+ fs = def.GetFeatures()
+ } else {
+ break
+ }
+ }
+ defaultsCache[ed] = fs
+ return fs
+}
+
+func resolveFeatureHasFieldPresence(fileDesc *filedesc.File, fieldDesc *descriptorpb.FieldDescriptorProto) bool {
+ fs := fieldDesc.GetOptions().GetFeatures()
+ if fs == nil || fs.FieldPresence == nil {
+ return fileDesc.L1.EditionFeatures.IsFieldPresence
+ }
+ return fs.GetFieldPresence() == descriptorpb.FeatureSet_LEGACY_REQUIRED ||
+ fs.GetFieldPresence() == descriptorpb.FeatureSet_EXPLICIT
+}
+
+func resolveFeatureRepeatedFieldEncodingPacked(fileDesc *filedesc.File, fieldDesc *descriptorpb.FieldDescriptorProto) bool {
+ fs := fieldDesc.GetOptions().GetFeatures()
+ if fs == nil || fs.RepeatedFieldEncoding == nil {
+ return fileDesc.L1.EditionFeatures.IsPacked
+ }
+ return fs.GetRepeatedFieldEncoding() == descriptorpb.FeatureSet_PACKED
+}
+
+func resolveFeatureEnforceUTF8(fileDesc *filedesc.File, fieldDesc *descriptorpb.FieldDescriptorProto) bool {
+ fs := fieldDesc.GetOptions().GetFeatures()
+ if fs == nil || fs.Utf8Validation == nil {
+ return fileDesc.L1.EditionFeatures.IsUTF8Validated
+ }
+ return fs.GetUtf8Validation() == descriptorpb.FeatureSet_VERIFY
+}
+
+func resolveFeatureDelimitedEncoding(fileDesc *filedesc.File, fieldDesc *descriptorpb.FieldDescriptorProto) bool {
+ fs := fieldDesc.GetOptions().GetFeatures()
+ if fs == nil || fs.MessageEncoding == nil {
+ return fileDesc.L1.EditionFeatures.IsDelimitedEncoded
+ }
+ return fs.GetMessageEncoding() == descriptorpb.FeatureSet_DELIMITED
+}
+
+// initFileDescFromFeatureSet initializes editions related fields in fd based
+// on fs. If fs is nil it is assumed to be an empty featureset and all fields
+// will be initialized with the appropriate default. fd.L1.Edition must be set
+// before calling this function.
+func initFileDescFromFeatureSet(fd *filedesc.File, fs *descriptorpb.FeatureSet) {
+ dfs := getFeatureSetFor(fd.L1.Edition)
+ if fs == nil {
+ fs = &descriptorpb.FeatureSet{}
+ }
+
+ var fieldPresence descriptorpb.FeatureSet_FieldPresence
+ if fp := fs.FieldPresence; fp != nil {
+ fieldPresence = *fp
+ } else {
+ fieldPresence = *dfs.FieldPresence
+ }
+ fd.L1.EditionFeatures.IsFieldPresence = fieldPresence == descriptorpb.FeatureSet_LEGACY_REQUIRED ||
+ fieldPresence == descriptorpb.FeatureSet_EXPLICIT
+
+ var enumType descriptorpb.FeatureSet_EnumType
+ if et := fs.EnumType; et != nil {
+ enumType = *et
+ } else {
+ enumType = *dfs.EnumType
+ }
+ fd.L1.EditionFeatures.IsOpenEnum = enumType == descriptorpb.FeatureSet_OPEN
+
+ var respeatedFieldEncoding descriptorpb.FeatureSet_RepeatedFieldEncoding
+ if rfe := fs.RepeatedFieldEncoding; rfe != nil {
+ respeatedFieldEncoding = *rfe
+ } else {
+ respeatedFieldEncoding = *dfs.RepeatedFieldEncoding
+ }
+ fd.L1.EditionFeatures.IsPacked = respeatedFieldEncoding == descriptorpb.FeatureSet_PACKED
+
+ var isUTF8Validated descriptorpb.FeatureSet_Utf8Validation
+ if utf8val := fs.Utf8Validation; utf8val != nil {
+ isUTF8Validated = *utf8val
+ } else {
+ isUTF8Validated = *dfs.Utf8Validation
+ }
+ fd.L1.EditionFeatures.IsUTF8Validated = isUTF8Validated == descriptorpb.FeatureSet_VERIFY
+
+ var messageEncoding descriptorpb.FeatureSet_MessageEncoding
+ if me := fs.MessageEncoding; me != nil {
+ messageEncoding = *me
+ } else {
+ messageEncoding = *dfs.MessageEncoding
+ }
+ fd.L1.EditionFeatures.IsDelimitedEncoded = messageEncoding == descriptorpb.FeatureSet_DELIMITED
+
+ var jsonFormat descriptorpb.FeatureSet_JsonFormat
+ if jf := fs.JsonFormat; jf != nil {
+ jsonFormat = *jf
+ } else {
+ jsonFormat = *dfs.JsonFormat
+ }
+ fd.L1.EditionFeatures.IsJSONCompliant = jsonFormat == descriptorpb.FeatureSet_ALLOW
+}
diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/editions_defaults.binpb b/vendor/google.golang.org/protobuf/reflect/protodesc/editions_defaults.binpb
new file mode 100644
index 0000000000..1a8610a843
--- /dev/null
+++ b/vendor/google.golang.org/protobuf/reflect/protodesc/editions_defaults.binpb
@@ -0,0 +1,4 @@
+
+  (0æ
+  (0ç
+  (0è æ(è \ No newline at end of file
diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/file_test.go b/vendor/google.golang.org/protobuf/reflect/protodesc/file_test.go
deleted file mode 100644
index 29b4fa722c..0000000000
--- a/vendor/google.golang.org/protobuf/reflect/protodesc/file_test.go
+++ /dev/null
@@ -1,1182 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package protodesc
-
-import (
- "fmt"
- "strings"
- "testing"
-
- "google.golang.org/protobuf/encoding/prototext"
- "google.golang.org/protobuf/internal/flags"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/reflect/protoregistry"
-
- "google.golang.org/protobuf/types/descriptorpb"
-)
-
-func mustParseFile(s string) *descriptorpb.FileDescriptorProto {
- pb := new(descriptorpb.FileDescriptorProto)
- if err := prototext.Unmarshal([]byte(s), pb); err != nil {
- panic(err)
- }
- return pb
-}
-
-func cloneFile(in *descriptorpb.FileDescriptorProto) *descriptorpb.FileDescriptorProto {
- return proto.Clone(in).(*descriptorpb.FileDescriptorProto)
-}
-
-var (
- proto2Enum = mustParseFile(`
- syntax: "proto2"
- name: "proto2_enum.proto"
- package: "test.proto2"
- enum_type: [{name:"Enum" value:[{name:"ONE" number:1}]}]
- `)
- proto3Message = mustParseFile(`
- syntax: "proto3"
- name: "proto3_message.proto"
- package: "test.proto3"
- message_type: [{
- name: "Message"
- field: [
- {name:"foo" number:1 label:LABEL_OPTIONAL type:TYPE_STRING},
- {name:"bar" number:2 label:LABEL_OPTIONAL type:TYPE_STRING}
- ]
- }]
- `)
- extendableMessage = mustParseFile(`
- syntax: "proto2"
- name: "extendable_message.proto"
- package: "test.proto2"
- message_type: [{name:"Message" extension_range:[{start:1 end:1000}]}]
- `)
- importPublicFile1 = mustParseFile(`
- syntax: "proto3"
- name: "import_public1.proto"
- dependency: ["proto2_enum.proto", "proto3_message.proto", "extendable_message.proto"]
- message_type: [{name:"Public1"}]
- `)
- importPublicFile2 = mustParseFile(`
- syntax: "proto3"
- name: "import_public2.proto"
- dependency: ["import_public1.proto"]
- public_dependency: [0]
- message_type: [{name:"Public2"}]
- `)
- importPublicFile3 = mustParseFile(`
- syntax: "proto3"
- name: "import_public3.proto"
- dependency: ["import_public2.proto", "extendable_message.proto"]
- public_dependency: [0]
- message_type: [{name:"Public3"}]
- `)
- importPublicFile4 = mustParseFile(`
- syntax: "proto3"
- name: "import_public4.proto"
- dependency: ["import_public2.proto", "import_public3.proto", "proto2_enum.proto"]
- public_dependency: [0, 1]
- message_type: [{name:"Public4"}]
- `)
-)
-
-func TestNewFile(t *testing.T) {
- tests := []struct {
- label string
- inDeps []*descriptorpb.FileDescriptorProto
- inDesc *descriptorpb.FileDescriptorProto
- inOpts FileOptions
- wantDesc *descriptorpb.FileDescriptorProto
- wantErr string
- }{{
- label: "empty path",
- inDesc: mustParseFile(``),
- wantErr: `path must be populated`,
- }, {
- label: "empty package and syntax",
- inDesc: mustParseFile(`name:"weird"`),
- }, {
- label: "invalid syntax",
- inDesc: mustParseFile(`name:"weird" syntax:"proto9"`),
- wantErr: `invalid syntax: "proto9"`,
- }, {
- label: "bad package",
- inDesc: mustParseFile(`name:"weird" package:"$"`),
- wantErr: `invalid package: "$"`,
- }, {
- label: "unresolvable import",
- inDesc: mustParseFile(`
- name: "test.proto"
- dependency: "dep.proto"
- `),
- wantErr: `could not resolve import "dep.proto": not found`,
- }, {
- label: "unresolvable import but allowed",
- inDesc: mustParseFile(`
- name: "test.proto"
- dependency: "dep.proto"
- `),
- inOpts: FileOptions{AllowUnresolvable: true},
- }, {
- label: "duplicate import",
- inDesc: mustParseFile(`
- name: "test.proto"
- dependency: ["dep.proto", "dep.proto"]
- `),
- inOpts: FileOptions{AllowUnresolvable: true},
- wantErr: `already imported "dep.proto"`,
- }, {
- label: "invalid weak import",
- inDesc: mustParseFile(`
- name: "test.proto"
- dependency: "dep.proto"
- weak_dependency: [-23]
- `),
- inOpts: FileOptions{AllowUnresolvable: true},
- wantErr: `invalid or duplicate weak import index: -23`,
- }, {
- label: "normal weak and public import",
- inDesc: mustParseFile(`
- name: "test.proto"
- dependency: "dep.proto"
- weak_dependency: [0]
- public_dependency: [0]
- `),
- inOpts: FileOptions{AllowUnresolvable: true},
- }, {
- label: "import public indirect dependency duplicate",
- inDeps: []*descriptorpb.FileDescriptorProto{
- mustParseFile(`name:"leaf.proto"`),
- mustParseFile(`name:"public.proto" dependency:"leaf.proto" public_dependency:0`),
- },
- inDesc: mustParseFile(`
- name: "test.proto"
- dependency: ["public.proto", "leaf.proto"]
- `),
- }, {
- label: "import public graph",
- inDeps: []*descriptorpb.FileDescriptorProto{
- cloneFile(proto2Enum),
- cloneFile(proto3Message),
- cloneFile(extendableMessage),
- cloneFile(importPublicFile1),
- cloneFile(importPublicFile2),
- cloneFile(importPublicFile3),
- cloneFile(importPublicFile4),
- },
- inDesc: mustParseFile(`
- name: "test.proto"
- package: "test.graph"
- dependency: ["import_public4.proto"],
- `),
- // TODO: Test import public
- }, {
- label: "preserve source code locations",
- inDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- source_code_info: {location: [{
- span: [39,0,882,1]
- }, {
- path: [12]
- span: [39,0,18]
- leading_detached_comments: [" foo\n"," bar\n"]
- }, {
- path: [8,9]
- span: [51,0,28]
- leading_comments: " Comment\n"
- }]}
- `),
- }, {
- label: "invalid source code span",
- inDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- source_code_info: {location: [{
- span: [39]
- }]}
- `),
- wantErr: `invalid span: [39]`,
- }, {
- label: "resolve relative reference",
- inDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- message_type: [{
- name: "A"
- field: [{name:"F" number:1 label:LABEL_OPTIONAL type:TYPE_MESSAGE type_name:"B.C"}]
- nested_type: [{name: "B"}]
- }, {
- name: "B"
- nested_type: [{name: "C"}]
- }]
- `),
- wantDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- message_type: [{
- name: "A"
- field: [{name:"F" number:1 label:LABEL_OPTIONAL type:TYPE_MESSAGE type_name:".fizz.buzz.B.C"}]
- nested_type: [{name: "B"}]
- }, {
- name: "B"
- nested_type: [{name: "C"}]
- }]
- `),
- }, {
- label: "resolve the wrong type",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{
- name: "M"
- field: [{name:"F" number:1 label:LABEL_OPTIONAL type:TYPE_MESSAGE type_name:"E"}]
- enum_type: [{name: "E" value: [{name:"V0" number:0}, {name:"V1" number:1}]}]
- }]
- `),
- wantErr: `message field "M.F" cannot resolve type: resolved "M.E", but it is not an message`,
- }, {
- label: "auto-resolve unknown kind",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{
- name: "M"
- field: [{name:"F" number:1 label:LABEL_OPTIONAL type_name:"E"}]
- enum_type: [{name: "E" value: [{name:"V0" number:0}, {name:"V1" number:1}]}]
- }]
- `),
- wantDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{
- name: "M"
- field: [{name:"F" number:1 label:LABEL_OPTIONAL type:TYPE_ENUM type_name:".M.E"}]
- enum_type: [{name: "E" value: [{name:"V0" number:0}, {name:"V1" number:1}]}]
- }]
- `),
- }, {
- label: "unresolved import",
- inDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- dependency: "remote.proto"
- `),
- wantErr: `could not resolve import "remote.proto": not found`,
- }, {
- label: "unresolved message field",
- inDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- message_type: [{
- name: "M"
- field: [{name:"F1" number:1 label:LABEL_OPTIONAL type:TYPE_ENUM type_name:"some.other.enum" default_value:"UNKNOWN"}]
- }]
- `),
- wantErr: `message field "fizz.buzz.M.F1" cannot resolve type: "*.some.other.enum" not found`,
- }, {
- label: "unresolved default enum value",
- inDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- message_type: [{
- name: "M"
- field: [{name:"F1" number:1 label:LABEL_OPTIONAL type:TYPE_ENUM type_name:"E" default_value:"UNKNOWN"}]
- enum_type: [{name:"E" value:[{name:"V0" number:0}]}]
- }]
- `),
- wantErr: `message field "fizz.buzz.M.F1" has invalid default: could not parse value for enum: "UNKNOWN"`,
- }, {
- label: "allowed unresolved default enum value",
- inDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- message_type: [{
- name: "M"
- field: [{name:"F1" number:1 label:LABEL_OPTIONAL type:TYPE_ENUM type_name:".fizz.buzz.M.E" default_value:"UNKNOWN"}]
- enum_type: [{name:"E" value:[{name:"V0" number:0}]}]
- }]
- `),
- inOpts: FileOptions{AllowUnresolvable: true},
- }, {
- label: "unresolved extendee",
- inDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- extension: [{name:"X" number:1 label:LABEL_OPTIONAL extendee:"some.extended.message" type:TYPE_MESSAGE type_name:"some.other.message"}]
- `),
- wantErr: `extension field "fizz.buzz.X" cannot resolve extendee: "*.some.extended.message" not found`,
- }, {
- label: "unresolved method input",
- inDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- service: [{
- name: "S"
- method: [{name:"M" input_type:"foo.bar.input" output_type:".absolute.foo.bar.output"}]
- }]
- `),
- wantErr: `service method "fizz.buzz.S.M" cannot resolve input: "*.foo.bar.input" not found`,
- }, {
- label: "allowed unresolved references",
- inDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- dependency: "remote.proto"
- message_type: [{
- name: "M"
- field: [{name:"F1" number:1 label:LABEL_OPTIONAL type_name:"some.other.enum" default_value:"UNKNOWN"}]
- }]
- extension: [{name:"X" number:1 label:LABEL_OPTIONAL extendee:"some.extended.message" type:TYPE_MESSAGE type_name:"some.other.message"}]
- service: [{
- name: "S"
- method: [{name:"M" input_type:"foo.bar.input" output_type:".absolute.foo.bar.output"}]
- }]
- `),
- inOpts: FileOptions{AllowUnresolvable: true},
- }, {
- label: "resolved but not imported",
- inDeps: []*descriptorpb.FileDescriptorProto{mustParseFile(`
- name: "dep.proto"
- package: "fizz"
- message_type: [{name:"M" nested_type:[{name:"M"}]}]
- `)},
- inDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- message_type: [{
- name: "M"
- field: [{name:"F" number:1 label:LABEL_OPTIONAL type:TYPE_MESSAGE type_name:"M.M"}]
- }]
- `),
- wantErr: `message field "fizz.buzz.M.F" cannot resolve type: resolved "fizz.M.M", but "dep.proto" is not imported`,
- }, {
- label: "resolved from remote import",
- inDeps: []*descriptorpb.FileDescriptorProto{mustParseFile(`
- name: "dep.proto"
- package: "fizz"
- message_type: [{name:"M" nested_type:[{name:"M"}]}]
- `)},
- inDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- dependency: "dep.proto"
- message_type: [{
- name: "M"
- field: [{name:"F" number:1 label:LABEL_OPTIONAL type:TYPE_MESSAGE type_name:"M.M"}]
- }]
- `),
- wantDesc: mustParseFile(`
- name: "test.proto"
- package: "fizz.buzz"
- dependency: "dep.proto"
- message_type: [{
- name: "M"
- field: [{name:"F" number:1 label:LABEL_OPTIONAL type:TYPE_MESSAGE type_name:".fizz.M.M"}]
- }]
- `),
- }, {
- label: "namespace conflict on enum value",
- inDesc: mustParseFile(`
- name: "test.proto"
- enum_type: [{
- name: "foo"
- value: [{name:"foo" number:0}]
- }]
- `),
- wantErr: `descriptor "foo" already declared`,
- }, {
- label: "no namespace conflict on message field",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{
- name: "foo"
- field: [{name:"foo" number:1 label:LABEL_OPTIONAL type:TYPE_STRING}]
- }]
- `),
- }, {
- label: "invalid name",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name: "$"}]
- `),
- wantErr: `descriptor "" has an invalid nested name: "$"`,
- }, {
- label: "invalid empty enum",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{name:"E"}]}]
- `),
- wantErr: `enum "M.E" must contain at least one value declaration`,
- }, {
- label: "invalid enum value without number",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{name:"E" value:[{name:"one"}]}]}]
- `),
- wantErr: `enum value "M.one" must have a specified number`,
- }, {
- label: "valid enum",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{name:"E" value:[{name:"one" number:1}]}]}]
- `),
- }, {
- label: "invalid enum reserved names",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- reserved_name: [""]
- value: [{name:"V" number:0}]
- }]}]
- `),
- // NOTE: In theory this should be an error.
- // See https://github.com/protocolbuffers/protobuf/issues/6335.
- /*wantErr: `enum "M.E" reserved names has invalid name: ""`,*/
- }, {
- label: "duplicate enum reserved names",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- reserved_name: ["foo", "foo"]
- }]}]
- `),
- wantErr: `enum "M.E" reserved names has duplicate name: "foo"`,
- }, {
- label: "valid enum reserved names",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- reserved_name: ["foo", "bar"]
- value: [{name:"baz" number:1}]
- }]}]
- `),
- }, {
- label: "use of enum reserved names",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- reserved_name: ["foo", "bar"]
- value: [{name:"foo" number:1}]
- }]}]
- `),
- wantErr: `enum value "M.foo" must not use reserved name`,
- }, {
- label: "invalid enum reserved ranges",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- reserved_range: [{start:5 end:4}]
- }]}]
- `),
- wantErr: `enum "M.E" reserved ranges has invalid range: 5 to 4`,
- }, {
- label: "overlapping enum reserved ranges",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- reserved_range: [{start:1 end:1000}, {start:10 end:100}]
- }]}]
- `),
- wantErr: `enum "M.E" reserved ranges has overlapping ranges: 1 to 1000 with 10 to 100`,
- }, {
- label: "valid enum reserved names",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- reserved_range: [{start:1 end:10}, {start:100 end:1000}]
- value: [{name:"baz" number:50}]
- }]}]
- `),
- }, {
- label: "use of enum reserved range",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- reserved_range: [{start:1 end:10}, {start:100 end:1000}]
- value: [{name:"baz" number:500}]
- }]}]
- `),
- wantErr: `enum value "M.baz" must not use reserved number 500`,
- }, {
- label: "unused enum alias feature",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- value: [{name:"baz" number:500}]
- options: {allow_alias:true}
- }]}]
- `),
- wantErr: `enum "M.E" allows aliases, but none were found`,
- }, {
- label: "enum number conflicts",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- value: [{name:"foo" number:0}, {name:"bar" number:1}, {name:"baz" number:1}]
- }]}]
- `),
- wantErr: `enum "M.E" has conflicting non-aliased values on number 1: "baz" with "bar"`,
- }, {
- label: "aliased enum numbers",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- value: [{name:"foo" number:0}, {name:"bar" number:1}, {name:"baz" number:1}]
- options: {allow_alias:true}
- }]}]
- `),
- }, {
- label: "invalid proto3 enum",
- inDesc: mustParseFile(`
- syntax: "proto3"
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- value: [{name:"baz" number:500}]
- }]}]
- `),
- wantErr: `enum "M.baz" using proto3 semantics must have zero number for the first value`,
- }, {
- label: "valid proto3 enum",
- inDesc: mustParseFile(`
- syntax: "proto3"
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- value: [{name:"baz" number:0}]
- }]}]
- `),
- }, {
- label: "proto3 enum name prefix conflict",
- inDesc: mustParseFile(`
- syntax: "proto3"
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- value: [{name:"e_Foo" number:0}, {name:"fOo" number:1}]
- }]}]
- `),
- wantErr: `enum "M.E" using proto3 semantics has conflict: "fOo" with "e_Foo"`,
- }, {
- label: "proto2 enum has name prefix check",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- value: [{name:"e_Foo" number:0}, {name:"fOo" number:1}]
- }]}]
- `),
- }, {
- label: "proto3 enum same name prefix with number conflict",
- inDesc: mustParseFile(`
- syntax: "proto3"
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- value: [{name:"e_Foo" number:0}, {name:"fOo" number:0}]
- }]}]
- `),
- wantErr: `enum "M.E" has conflicting non-aliased values on number 0: "fOo" with "e_Foo"`,
- }, {
- label: "proto3 enum same name prefix with alias numbers",
- inDesc: mustParseFile(`
- syntax: "proto3"
- name: "test.proto"
- message_type: [{name:"M" enum_type:[{
- name: "E"
- value: [{name:"e_Foo" number:0}, {name:"fOo" number:0}]
- options: {allow_alias: true}
- }]}]
- `),
- }, {
- label: "invalid message reserved names",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- reserved_name: ["$"]
- }]}]
- `),
- // NOTE: In theory this should be an error.
- // See https://github.com/protocolbuffers/protobuf/issues/6335.
- /*wantErr: `message "M.M" reserved names has invalid name: "$"`,*/
- }, {
- label: "valid message reserved names",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- reserved_name: ["foo", "bar"]
- field: [{name:"foo" number:1 label:LABEL_OPTIONAL type:TYPE_STRING}]
- }]}]
- `),
- wantErr: `message field "M.M.foo" must not use reserved name`,
- }, {
- label: "valid message reserved names",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- reserved_name: ["foo", "bar"]
- field: [{name:"baz" number:1 label:LABEL_OPTIONAL type:TYPE_STRING oneof_index:0}]
- oneof_decl: [{name:"foo"}] # not affected by reserved_name
- }]}]
- `),
- }, {
- label: "invalid reserved number",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- reserved_range: [{start:1 end:1}]
- field: [{name:"baz" number:1 label:LABEL_OPTIONAL type:TYPE_STRING}]
- }]}]
- `),
- wantErr: `message "M.M" reserved ranges has invalid field number: 0`,
- }, {
- label: "invalid reserved ranges",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- reserved_range: [{start:2 end:2}]
- field: [{name:"baz" number:1 label:LABEL_OPTIONAL type:TYPE_STRING}]
- }]}]
- `),
- wantErr: `message "M.M" reserved ranges has invalid range: 2 to 1`,
- }, {
- label: "overlapping reserved ranges",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- reserved_range: [{start:1 end:10}, {start:2 end:9}]
- field: [{name:"baz" number:1 label:LABEL_OPTIONAL type:TYPE_STRING}]
- }]}]
- `),
- wantErr: `message "M.M" reserved ranges has overlapping ranges: 1 to 9 with 2 to 8`,
- }, {
- label: "use of reserved message field number",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- reserved_range: [{start:10 end:20}, {start:20 end:30}, {start:30 end:31}]
- field: [{name:"baz" number:30 label:LABEL_OPTIONAL type:TYPE_STRING}]
- }]}]
- `),
- wantErr: `message field "M.M.baz" must not use reserved number 30`,
- }, {
- label: "invalid extension ranges",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- extension_range: [{start:-500 end:2}]
- field: [{name:"baz" number:1 label:LABEL_OPTIONAL type:TYPE_STRING}]
- }]}]
- `),
- wantErr: `message "M.M" extension ranges has invalid field number: -500`,
- }, {
- label: "overlapping reserved and extension ranges",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- reserved_range: [{start:15 end:20}, {start:1 end:3}, {start:7 end:10}]
- extension_range: [{start:8 end:9}, {start:3 end:5}]
- }]}]
- `),
- wantErr: `message "M.M" reserved and extension ranges has overlapping ranges: 7 to 9 with 8`,
- }, {
- label: "message field conflicting number",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- field: [
- {name:"one" number:1 label:LABEL_OPTIONAL type:TYPE_STRING},
- {name:"One" number:1 label:LABEL_OPTIONAL type:TYPE_STRING}
- ]
- }]}]
- `),
- wantErr: `message "M.M" has conflicting fields: "One" with "one"`,
- }, {
- label: "invalid MessageSet",
- inDesc: mustParseFile(`
- syntax: "proto3"
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- options: {message_set_wire_format:true}
- }]}]
- `),
- wantErr: func() string {
- if flags.ProtoLegacy {
- return `message "M.M" is an invalid proto1 MessageSet`
- } else {
- return `message "M.M" is a MessageSet, which is a legacy proto1 feature that is no longer supported`
- }
- }(),
- }, {
- label: "valid MessageSet",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- extension_range: [{start:1 end:100000}]
- options: {message_set_wire_format:true}
- }]}]
- `),
- wantErr: func() string {
- if flags.ProtoLegacy {
- return ""
- } else {
- return `message "M.M" is a MessageSet, which is a legacy proto1 feature that is no longer supported`
- }
- }(),
- }, {
- label: "invalid extension ranges in proto3",
- inDesc: mustParseFile(`
- syntax: "proto3"
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- extension_range: [{start:1 end:100000}]
- }]}]
- `),
- wantErr: `message "M.M" using proto3 semantics cannot have extension ranges`,
- }, {
- label: "proto3 message fields conflict",
- inDesc: mustParseFile(`
- syntax: "proto3"
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- field: [
- {name:"_b_a_z_" number:1 label:LABEL_OPTIONAL type:TYPE_STRING},
- {name:"baz" number:2 label:LABEL_OPTIONAL type:TYPE_STRING}
- ]
- }]}]
- `),
- wantErr: `message "M.M" using proto3 semantics has conflict: "baz" with "_b_a_z_"`,
- }, {
- label: "proto3 message fields",
- inDesc: mustParseFile(`
- syntax: "proto3"
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- field: [{name:"_b_a_z_" number:1 label:LABEL_OPTIONAL type:TYPE_STRING oneof_index:0}]
- oneof_decl: [{name:"baz"}] # proto3 name conflict logic does not include oneof
- }]}]
- `),
- }, {
- label: "proto2 message fields with no conflict",
- inDesc: mustParseFile(`
- name: "test.proto"
- message_type: [{name:"M" nested_type:[{
- name: "M"
- field: [
- {name:"_b_a_z_" number:1 label:LABEL_OPTIONAL type:TYPE_STRING},
- {name:"baz" number:2 label:LABEL_OPTIONAL type:TYPE_STRING}
- ]
- }]}]
- `),
- }, {
- label: "proto3 message with unresolved enum",
- inDesc: mustParseFile(`
- name: "test.proto"
- syntax: "proto3"
- message_type: [{
- name: "M"
- field: [
- {name:"enum" number:1 label:LABEL_OPTIONAL type:TYPE_ENUM type_name:".fizz.buzz.Enum"}
- ]
- }]
- `),
- inOpts: FileOptions{AllowUnresolvable: true},
- // TODO: Test field and oneof handling in validateMessageDeclarations
- // TODO: Test unmarshalDefault
- // TODO: Test validateExtensionDeclarations
- // TODO: Test checkValidGroup
- // TODO: Test checkValidMap
- }, {
- label: "empty service",
- inDesc: mustParseFile(`
- name: "test.proto"
- service: [{name:"service"}]
- `),
- }, {
- label: "service with method with unresolved",
- inDesc: mustParseFile(`
- name: "test.proto"
- service: [{
- name: "service"
- method: [{
- name:"method"
- input_type:"foo"
- output_type:".foo.bar.baz"
- }]
- }]
- `),
- inOpts: FileOptions{AllowUnresolvable: true},
- }, {
- label: "service with wrong reference type",
- inDeps: []*descriptorpb.FileDescriptorProto{
- cloneFile(proto3Message),
- cloneFile(proto2Enum),
- },
- inDesc: mustParseFile(`
- name: "test.proto"
- dependency: ["proto2_enum.proto", "proto3_message.proto"]
- service: [{
- name: "service"
- method: [{
- name: "method"
- input_type: ".test.proto2.Enum",
- output_type: ".test.proto3.Message"
- }]
- }]
- `),
- wantErr: `service method "service.method" cannot resolve input: resolved "test.proto2.Enum", but it is not an message`,
- }}
-
- for _, tt := range tests {
- t.Run(tt.label, func(t *testing.T) {
- r := new(protoregistry.Files)
- for i, dep := range tt.inDeps {
- f, err := tt.inOpts.New(dep, r)
- if err != nil {
- t.Fatalf("dependency %d: unexpected NewFile() error: %v", i, err)
- }
- if err := r.RegisterFile(f); err != nil {
- t.Fatalf("dependency %d: unexpected Register() error: %v", i, err)
- }
- }
- var gotDesc *descriptorpb.FileDescriptorProto
- if tt.wantErr == "" && tt.wantDesc == nil {
- tt.wantDesc = cloneFile(tt.inDesc)
- }
- gotFile, err := tt.inOpts.New(tt.inDesc, r)
- if gotFile != nil {
- gotDesc = ToFileDescriptorProto(gotFile)
- }
- if !proto.Equal(gotDesc, tt.wantDesc) {
- t.Errorf("NewFile() mismatch:\ngot %v\nwant %v", gotDesc, tt.wantDesc)
- }
- if ((err == nil) != (tt.wantErr == "")) || !strings.Contains(fmt.Sprint(err), tt.wantErr) {
- t.Errorf("NewFile() error:\ngot: %v\nwant: %v", err, tt.wantErr)
- }
- })
- }
-}
-
-func TestNewFiles(t *testing.T) {
- fdset := &descriptorpb.FileDescriptorSet{
- File: []*descriptorpb.FileDescriptorProto{
- mustParseFile(`
- name: "test.proto"
- package: "fizz"
- dependency: "dep.proto"
- message_type: [{
- name: "M2"
- field: [{name:"F" number:1 label:LABEL_OPTIONAL type:TYPE_MESSAGE type_name:"M1"}]
- }]
- `),
- // Inputs deliberately out of order.
- mustParseFile(`
- name: "dep.proto"
- package: "fizz"
- message_type: [{name:"M1"}]
- `),
- },
- }
- f, err := NewFiles(fdset)
- if err != nil {
- t.Fatal(err)
- }
- m1, err := f.FindDescriptorByName("fizz.M1")
- if err != nil {
- t.Fatalf(`f.FindDescriptorByName("fizz.M1") = %v`, err)
- }
- m2, err := f.FindDescriptorByName("fizz.M2")
- if err != nil {
- t.Fatalf(`f.FindDescriptorByName("fizz.M2") = %v`, err)
- }
- if m2.(protoreflect.MessageDescriptor).Fields().ByName("F").Message() != m1 {
- t.Fatalf(`m1.Fields().ByName("F").Message() != m2`)
- }
-}
-
-func TestNewFilesImportCycle(t *testing.T) {
- fdset := &descriptorpb.FileDescriptorSet{
- File: []*descriptorpb.FileDescriptorProto{
- mustParseFile(`
- name: "test.proto"
- package: "fizz"
- dependency: "dep.proto"
- `),
- mustParseFile(`
- name: "dep.proto"
- package: "fizz"
- dependency: "test.proto"
- `),
- },
- }
- _, err := NewFiles(fdset)
- if err == nil {
- t.Fatal("NewFiles with import cycle: success, want error")
- }
-}
-
-func TestSourceLocations(t *testing.T) {
- fd := mustParseFile(`
- name: "comments.proto"
- message_type: [{
- name: "Message1"
- field: [
- {name:"field1" number:1 label:LABEL_OPTIONAL type:TYPE_STRING},
- {name:"field2" number:2 label:LABEL_OPTIONAL type:TYPE_STRING},
- {name:"field3" number:3 label:LABEL_OPTIONAL type:TYPE_STRING oneof_index:0},
- {name:"field4" number:4 label:LABEL_OPTIONAL type:TYPE_STRING oneof_index:0},
- {name:"field5" number:5 label:LABEL_OPTIONAL type:TYPE_STRING oneof_index:1},
- {name:"field6" number:6 label:LABEL_OPTIONAL type:TYPE_STRING oneof_index:1}
- ]
- extension: [
- {name:"extension1" number:100 label:LABEL_OPTIONAL type:TYPE_STRING extendee:".Message1"},
- {name:"extension2" number:101 label:LABEL_OPTIONAL type:TYPE_STRING extendee:".Message1"}
- ]
- nested_type: [{name:"Message1"}, {name:"Message2"}]
- extension_range: {start:100 end:536870912}
- oneof_decl: [{name:"oneof1"}, {name:"oneof2"}]
- }, {
- name: "Message2"
- enum_type: {
- name: "Enum1"
- value: [
- {name: "FOO", number: 0},
- {name: "BAR", number: 1}
- ]
- }
- }]
- enum_type: {
- name: "Enum1"
- value: [
- {name: "FOO", number: 0},
- {name: "BAR", number: 1}
- ]
- }
- service: {
- name: "Service1"
- method: [
- {name:"Method1" input_type:".Message1" output_type:".Message1"},
- {name:"Method2" input_type:".Message2" output_type:".Message2"}
- ]
- }
- extension: [
- {name:"extension1" number:102 label:LABEL_OPTIONAL type:TYPE_STRING extendee:".Message1"},
- {name:"extension2" number:103 label:LABEL_OPTIONAL type:TYPE_STRING extendee:".Message1"}
- ]
- source_code_info: {
- location: [
- {span:[0,0,69,1]},
- {path:[12] span:[0,0,18]},
- {path:[5,0] span:[3,0,8,1] leading_comments:" Enum1\r\n"},
- {path:[5,0,1] span:[3,5,10]},
- {path:[5,0,2,0] span:[5,2,10] leading_comments:" FOO\r\n"},
- {path:[5,0,2,0,1] span:[5,2,5]},
- {path:[5,0,2,0,2] span:[5,8,9]},
- {path:[5,0,2,1] span:[7,2,10] leading_comments:" BAR\r\n"},
- {path:[5,0,2,1,1] span:[7,2,5]},
- {path:[5,0,2,1,2] span:[7,8,9]},
- {path:[4,0] span:[11,0,43,1] leading_comments:" Message1\r\n"},
- {path:[4,0,1] span:[11,8,16]},
- {path:[4,0,3,0] span:[13,2,21] leading_comments:" Message1.Message1\r\n"},
- {path:[4,0,3,0,1] span:[13,10,18]},
- {path:[4,0,3,1] span:[15,2,21] leading_comments:" Message1.Message2\r\n"},
- {path:[4,0,3,1,1] span:[15,10,18]},
- {path:[4,0,2,0] span:[18,2,29] leading_comments:" Message1.field1\r\n"},
- {path:[4,0,2,0,4] span:[18,2,10]},
- {path:[4,0,2,0,5] span:[18,11,17]},
- {path:[4,0,2,0,1] span:[18,18,24]},
- {path:[4,0,2,0,3] span:[18,27,28]},
- {path:[4,0,2,1] span:[20,2,29] leading_comments:" Message1.field2\r\n"},
- {path:[4,0,2,1,4] span:[20,2,10]},
- {path:[4,0,2,1,5] span:[20,11,17]},
- {path:[4,0,2,1,1] span:[20,18,24]},
- {path:[4,0,2,1,3] span:[20,27,28]},
- {path:[4,0,8,0] span:[22,2,27,3] leading_comments:" Message1.oneof1\r\n"},
- {path:[4,0,8,0,1] span:[22,8,14]},
- {path:[4,0,2,2] span:[24,4,22] leading_comments:" Message1.field3\r\n"},
- {path:[4,0,2,2,5] span:[24,4,10]},
- {path:[4,0,2,2,1] span:[24,11,17]},
- {path:[4,0,2,2,3] span:[24,20,21]},
- {path:[4,0,2,3] span:[26,4,22] leading_comments:" Message1.field4\r\n"},
- {path:[4,0,2,3,5] span:[26,4,10]},
- {path:[4,0,2,3,1] span:[26,11,17]},
- {path:[4,0,2,3,3] span:[26,20,21]},
- {path:[4,0,8,1] span:[29,2,34,3] leading_comments:" Message1.oneof2\r\n"},
- {path:[4,0,8,1,1] span:[29,8,14]},
- {path:[4,0,2,4] span:[31,4,22] leading_comments:" Message1.field5\r\n"},
- {path:[4,0,2,4,5] span:[31,4,10]},
- {path:[4,0,2,4,1] span:[31,11,17]},
- {path:[4,0,2,4,3] span:[31,20,21]},
- {path:[4,0,2,5] span:[33,4,22] leading_comments:" Message1.field6\r\n"},
- {path:[4,0,2,5,5] span:[33,4,10]},
- {path:[4,0,2,5,1] span:[33,11,17]},
- {path:[4,0,2,5,3] span:[33,20,21]},
- {path:[4,0,5] span:[36,2,24]},
- {path:[4,0,5,0] span:[36,13,23]},
- {path:[4,0,5,0,1] span:[36,13,16]},
- {path:[4,0,5,0,2] span:[36,20,23]},
- {path:[4,0,6] span:[37,2,42,3]},
- {path:[4,0,6,0] span:[39,4,37] leading_comments:" Message1.extension1\r\n"},
- {path:[4,0,6,0,2] span:[37,9,18]},
- {path:[4,0,6,0,4] span:[39,4,12]},
- {path:[4,0,6,0,5] span:[39,13,19]},
- {path:[4,0,6,0,1] span:[39,20,30]},
- {path:[4,0,6,0,3] span:[39,33,36]},
- {path:[4,0,6,1] span:[41,4,37] leading_comments:" Message1.extension2\r\n"},
- {path:[4,0,6,1,2] span:[37,9,18]},
- {path:[4,0,6,1,4] span:[41,4,12]},
- {path:[4,0,6,1,5] span:[41,13,19]},
- {path:[4,0,6,1,1] span:[41,20,30]},
- {path:[4,0,6,1,3] span:[41,33,36]},
- {path:[7] span:[45,0,50,1]},
- {path:[7,0] span:[47,2,35] leading_comments:" extension1\r\n"},
- {path:[7,0,2] span:[45,7,15]},
- {path:[7,0,4] span:[47,2,10]},
- {path:[7,0,5] span:[47,11,17]},
- {path:[7,0,1] span:[47,18,28]},
- {path:[7,0,3] span:[47,31,34]},
- {path:[7,1] span:[49,2,35] leading_comments:" extension2\r\n"},
- {path:[7,1,2] span:[45,7,15]},
- {path:[7,1,4] span:[49,2,10]},
- {path:[7,1,5] span:[49,11,17]},
- {path:[7,1,1] span:[49,18,28]},
- {path:[7,1,3] span:[49,31,34]},
- {path:[4,1] span:[53,0,61,1] leading_comments:" Message2\r\n"},
- {path:[4,1,1] span:[53,8,16]},
- {path:[4,1,4,0] span:[55,2,60,3] leading_comments:" Message2.Enum1\r\n"},
- {path:[4,1,4,0,1] span:[55,7,12]},
- {path:[4,1,4,0,2,0] span:[57,4,12] leading_comments:" Message2.FOO\r\n"},
- {path:[4,1,4,0,2,0,1] span:[57,4,7]},
- {path:[4,1,4,0,2,0,2] span:[57,10,11]},
- {path:[4,1,4,0,2,1] span:[59,4,12] leading_comments:" Message2.BAR\r\n"},
- {path:[4,1,4,0,2,1,1] span:[59,4,7]},
- {path:[4,1,4,0,2,1,2] span:[59,10,11]},
- {path:[6,0] span:[64,0,69,1] leading_comments:" Service1\r\n"},
- {path:[6,0,1] span:[64,8,16]},
- {path:[6,0,2,0] span:[66,2,43] leading_comments:" Service1.Method1\r\n"},
- {path:[6,0,2,0,1] span:[66,6,13]},
- {path:[6,0,2,0,2] span:[66,14,22]},
- {path:[6,0,2,0,3] span:[66,33,41]},
- {path:[6,0,2,1] span:[68,2,43] leading_comments:" Service1.Method2\r\n"},
- {path:[6,0,2,1,1] span:[68,6,13]},
- {path:[6,0,2,1,2] span:[68,14,22]},
- {path:[6,0,2,1,3] span:[68,33,41]}
- ]
- }
- `)
- fileDesc, err := NewFile(fd, nil)
- if err != nil {
- t.Fatalf("NewFile error: %v", err)
- }
-
- var walkDescs func(protoreflect.Descriptor, func(protoreflect.Descriptor))
- walkDescs = func(d protoreflect.Descriptor, f func(protoreflect.Descriptor)) {
- f(d)
- if d, ok := d.(interface {
- Enums() protoreflect.EnumDescriptors
- }); ok {
- eds := d.Enums()
- for i := 0; i < eds.Len(); i++ {
- walkDescs(eds.Get(i), f)
- }
- }
- if d, ok := d.(interface {
- Values() protoreflect.EnumValueDescriptors
- }); ok {
- vds := d.Values()
- for i := 0; i < vds.Len(); i++ {
- walkDescs(vds.Get(i), f)
- }
- }
- if d, ok := d.(interface {
- Messages() protoreflect.MessageDescriptors
- }); ok {
- mds := d.Messages()
- for i := 0; i < mds.Len(); i++ {
- walkDescs(mds.Get(i), f)
- }
- }
- if d, ok := d.(interface {
- Fields() protoreflect.FieldDescriptors
- }); ok {
- fds := d.Fields()
- for i := 0; i < fds.Len(); i++ {
- walkDescs(fds.Get(i), f)
- }
- }
- if d, ok := d.(interface {
- Oneofs() protoreflect.OneofDescriptors
- }); ok {
- ods := d.Oneofs()
- for i := 0; i < ods.Len(); i++ {
- walkDescs(ods.Get(i), f)
- }
- }
- if d, ok := d.(interface {
- Extensions() protoreflect.ExtensionDescriptors
- }); ok {
- xds := d.Extensions()
- for i := 0; i < xds.Len(); i++ {
- walkDescs(xds.Get(i), f)
- }
- }
- if d, ok := d.(interface {
- Services() protoreflect.ServiceDescriptors
- }); ok {
- sds := d.Services()
- for i := 0; i < sds.Len(); i++ {
- walkDescs(sds.Get(i), f)
- }
- }
- if d, ok := d.(interface {
- Methods() protoreflect.MethodDescriptors
- }); ok {
- mds := d.Methods()
- for i := 0; i < mds.Len(); i++ {
- walkDescs(mds.Get(i), f)
- }
- }
- }
-
- var numDescs int
- walkDescs(fileDesc, func(d protoreflect.Descriptor) {
- // The comment for every descriptor should be the full name itself.
- got := strings.TrimSpace(fileDesc.SourceLocations().ByDescriptor(d).LeadingComments)
- want := string(d.FullName())
- if got != want {
- t.Errorf("comment mismatch: got %v, want %v", got, want)
- }
- numDescs++
- })
- if numDescs != 30 {
- t.Errorf("visited %d descriptor, expected 30", numDescs)
- }
-}
diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/gotest/ya.make b/vendor/google.golang.org/protobuf/reflect/protodesc/gotest/ya.make
deleted file mode 100644
index 18b2ef76c1..0000000000
--- a/vendor/google.golang.org/protobuf/reflect/protodesc/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/reflect/protodesc)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go b/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go
index a7c5ceffc9..9d6e05420f 100644
--- a/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go
+++ b/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go
@@ -16,7 +16,7 @@ import (
"google.golang.org/protobuf/types/descriptorpb"
)
-// ToFileDescriptorProto copies a protoreflect.FileDescriptor into a
+// ToFileDescriptorProto copies a [protoreflect.FileDescriptor] into a
// google.protobuf.FileDescriptorProto message.
func ToFileDescriptorProto(file protoreflect.FileDescriptor) *descriptorpb.FileDescriptorProto {
p := &descriptorpb.FileDescriptorProto{
@@ -70,13 +70,13 @@ func ToFileDescriptorProto(file protoreflect.FileDescriptor) *descriptorpb.FileD
for i, exts := 0, file.Extensions(); i < exts.Len(); i++ {
p.Extension = append(p.Extension, ToFieldDescriptorProto(exts.Get(i)))
}
- if syntax := file.Syntax(); syntax != protoreflect.Proto2 {
+ if syntax := file.Syntax(); syntax != protoreflect.Proto2 && syntax.IsValid() {
p.Syntax = proto.String(file.Syntax().String())
}
return p
}
-// ToDescriptorProto copies a protoreflect.MessageDescriptor into a
+// ToDescriptorProto copies a [protoreflect.MessageDescriptor] into a
// google.protobuf.DescriptorProto message.
func ToDescriptorProto(message protoreflect.MessageDescriptor) *descriptorpb.DescriptorProto {
p := &descriptorpb.DescriptorProto{
@@ -119,7 +119,7 @@ func ToDescriptorProto(message protoreflect.MessageDescriptor) *descriptorpb.Des
return p
}
-// ToFieldDescriptorProto copies a protoreflect.FieldDescriptor into a
+// ToFieldDescriptorProto copies a [protoreflect.FieldDescriptor] into a
// google.protobuf.FieldDescriptorProto message.
func ToFieldDescriptorProto(field protoreflect.FieldDescriptor) *descriptorpb.FieldDescriptorProto {
p := &descriptorpb.FieldDescriptorProto{
@@ -168,7 +168,7 @@ func ToFieldDescriptorProto(field protoreflect.FieldDescriptor) *descriptorpb.Fi
return p
}
-// ToOneofDescriptorProto copies a protoreflect.OneofDescriptor into a
+// ToOneofDescriptorProto copies a [protoreflect.OneofDescriptor] into a
// google.protobuf.OneofDescriptorProto message.
func ToOneofDescriptorProto(oneof protoreflect.OneofDescriptor) *descriptorpb.OneofDescriptorProto {
return &descriptorpb.OneofDescriptorProto{
@@ -177,7 +177,7 @@ func ToOneofDescriptorProto(oneof protoreflect.OneofDescriptor) *descriptorpb.On
}
}
-// ToEnumDescriptorProto copies a protoreflect.EnumDescriptor into a
+// ToEnumDescriptorProto copies a [protoreflect.EnumDescriptor] into a
// google.protobuf.EnumDescriptorProto message.
func ToEnumDescriptorProto(enum protoreflect.EnumDescriptor) *descriptorpb.EnumDescriptorProto {
p := &descriptorpb.EnumDescriptorProto{
@@ -200,7 +200,7 @@ func ToEnumDescriptorProto(enum protoreflect.EnumDescriptor) *descriptorpb.EnumD
return p
}
-// ToEnumValueDescriptorProto copies a protoreflect.EnumValueDescriptor into a
+// ToEnumValueDescriptorProto copies a [protoreflect.EnumValueDescriptor] into a
// google.protobuf.EnumValueDescriptorProto message.
func ToEnumValueDescriptorProto(value protoreflect.EnumValueDescriptor) *descriptorpb.EnumValueDescriptorProto {
return &descriptorpb.EnumValueDescriptorProto{
@@ -210,7 +210,7 @@ func ToEnumValueDescriptorProto(value protoreflect.EnumValueDescriptor) *descrip
}
}
-// ToServiceDescriptorProto copies a protoreflect.ServiceDescriptor into a
+// ToServiceDescriptorProto copies a [protoreflect.ServiceDescriptor] into a
// google.protobuf.ServiceDescriptorProto message.
func ToServiceDescriptorProto(service protoreflect.ServiceDescriptor) *descriptorpb.ServiceDescriptorProto {
p := &descriptorpb.ServiceDescriptorProto{
@@ -223,7 +223,7 @@ func ToServiceDescriptorProto(service protoreflect.ServiceDescriptor) *descripto
return p
}
-// ToMethodDescriptorProto copies a protoreflect.MethodDescriptor into a
+// ToMethodDescriptorProto copies a [protoreflect.MethodDescriptor] into a
// google.protobuf.MethodDescriptorProto message.
func ToMethodDescriptorProto(method protoreflect.MethodDescriptor) *descriptorpb.MethodDescriptorProto {
p := &descriptorpb.MethodDescriptorProto{
diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/ya.make b/vendor/google.golang.org/protobuf/reflect/protodesc/ya.make
index 2a4f165b31..20d7db3136 100644
--- a/vendor/google.golang.org/protobuf/reflect/protodesc/ya.make
+++ b/vendor/google.golang.org/protobuf/reflect/protodesc/ya.make
@@ -7,11 +7,10 @@ SRCS(
desc_init.go
desc_resolve.go
desc_validate.go
+ editions.go
proto.go
)
-GO_TEST_SRCS(file_test.go)
+GO_EMBED_PATTERN(editions_defaults.binpb)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/reflect/protopath/path.go b/vendor/google.golang.org/protobuf/reflect/protopath/path.go
index 91562a8213..fffac00ebc 100644
--- a/vendor/google.golang.org/protobuf/reflect/protopath/path.go
+++ b/vendor/google.golang.org/protobuf/reflect/protopath/path.go
@@ -17,14 +17,14 @@ import (
// where you would like to "address" some value in a message with just the path
// and don't have the value information available.
//
-// This is different from how "github.com/google/go-cmp/cmp".Path operates,
+// This is different from how github.com/google/go-cmp/cmp.Path operates,
// which combines both path and value information together.
// Since the cmp package itself is the only one ever constructing a cmp.Path,
// it will always have the value available.
// Path is a sequence of protobuf reflection steps applied to some root
// protobuf message value to arrive at the current value.
-// The first step must be a Root step.
+// The first step must be a [Root] step.
type Path []Step
// TODO: Provide a Parse function that parses something similar to or
@@ -55,8 +55,8 @@ func (p Path) String() string {
}
// Values is a Path paired with a sequence of values at each step.
-// The lengths of Path and Values must be identical.
-// The first step must be a Root step and
+// The lengths of [Values.Path] and [Values.Values] must be identical.
+// The first step must be a [Root] step and
// the first value must be a concrete message value.
type Values struct {
Path Path
diff --git a/vendor/google.golang.org/protobuf/reflect/protorange/example_test.go b/vendor/google.golang.org/protobuf/reflect/protorange/example_test.go
deleted file mode 100644
index 90ceec6c2d..0000000000
--- a/vendor/google.golang.org/protobuf/reflect/protorange/example_test.go
+++ /dev/null
@@ -1,307 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package protorange_test
-
-import (
- "fmt"
- "strings"
- "time"
-
- "google.golang.org/protobuf/encoding/protojson"
- "google.golang.org/protobuf/internal/detrand"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protopath"
- "google.golang.org/protobuf/reflect/protorange"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/testing/protopack"
- "google.golang.org/protobuf/types/known/anypb"
- "google.golang.org/protobuf/types/known/timestamppb"
-
- newspb "google.golang.org/protobuf/internal/testprotos/news"
-)
-
-func init() {
- detrand.Disable()
-}
-
-func mustMarshal(m proto.Message) []byte {
- b, err := proto.Marshal(m)
- if err != nil {
- panic(err)
- }
- return b
-}
-
-// Range through every message and clear the unknown fields.
-func Example_discardUnknown() {
- // Populate the article with unknown fields.
- m := &newspb.Article{}
- m.ProtoReflect().SetUnknown(protopack.Message{
- protopack.Tag{1000, protopack.BytesType}, protopack.String("Hello, world!"),
- }.Marshal())
- fmt.Println("has unknown fields?", len(m.ProtoReflect().GetUnknown()) > 0)
-
- // Range through the message and clear all unknown fields.
- fmt.Println("clear unknown fields")
- protorange.Range(m.ProtoReflect(), func(proto protopath.Values) error {
- m, ok := proto.Index(-1).Value.Interface().(protoreflect.Message)
- if ok && len(m.GetUnknown()) > 0 {
- m.SetUnknown(nil)
- }
- return nil
- })
- fmt.Println("has unknown fields?", len(m.ProtoReflect().GetUnknown()) > 0)
-
- // Output:
- // has unknown fields? true
- // clear unknown fields
- // has unknown fields? false
-}
-
-// Print the relative paths as Range iterates through a message
-// in a depth-first order.
-func Example_printPaths() {
- m := &newspb.Article{
- Author: "Russ Cox",
- Date: timestamppb.New(time.Date(2019, time.November, 8, 0, 0, 0, 0, time.UTC)),
- Title: "Go Turns 10",
- Content: "Happy birthday, Go! This weekend we celebrate the 10th anniversary of the Go release...",
- Status: newspb.Article_PUBLISHED,
- Tags: []string{"community", "birthday"},
- Attachments: []*anypb.Any{{
- TypeUrl: "google.golang.org.BinaryAttachment",
- Value: mustMarshal(&newspb.BinaryAttachment{
- Name: "gopher-birthday.png",
- Data: []byte("<binary data>"),
- }),
- }},
- }
-
- // Traverse over all reachable values and print the path.
- protorange.Range(m.ProtoReflect(), func(p protopath.Values) error {
- fmt.Println(p.Path[1:])
- return nil
- })
-
- // Output:
- // .author
- // .date
- // .date.seconds
- // .title
- // .content
- // .status
- // .tags
- // .tags[0]
- // .tags[1]
- // .attachments
- // .attachments[0]
- // .attachments[0].(google.golang.org.BinaryAttachment)
- // .attachments[0].(google.golang.org.BinaryAttachment).name
- // .attachments[0].(google.golang.org.BinaryAttachment).data
-}
-
-// Implement a basic text formatter by ranging through all populated values
-// in a message in depth-first order.
-func Example_formatText() {
- m := &newspb.Article{
- Author: "Brad Fitzpatrick",
- Date: timestamppb.New(time.Date(2018, time.February, 16, 0, 0, 0, 0, time.UTC)),
- Title: "Go 1.10 is released",
- Content: "Happy Friday, happy weekend! Today the Go team is happy to announce the release of Go 1.10...",
- Status: newspb.Article_PUBLISHED,
- Tags: []string{"go1.10", "release"},
- Attachments: []*anypb.Any{{
- TypeUrl: "google.golang.org.KeyValueAttachment",
- Value: mustMarshal(&newspb.KeyValueAttachment{
- Name: "checksums.txt",
- Data: map[string]string{
- "go1.10.src.tar.gz": "07cbb9d0091b846c6aea40bf5bc0cea7",
- "go1.10.darwin-amd64.pkg": "cbb38bb6ff6ea86279e01745984445bf",
- "go1.10.linux-amd64.tar.gz": "6b3d0e4a5c77352cf4275573817f7566",
- "go1.10.windows-amd64.msi": "57bda02030f58f5d2bf71943e1390123",
- },
- }),
- }},
- }
-
- // Print a message in a humanly readable format.
- var indent []byte
- protorange.Options{
- Stable: true,
- }.Range(m.ProtoReflect(),
- func(p protopath.Values) error {
- // Print the key.
- var fd protoreflect.FieldDescriptor
- last := p.Index(-1)
- beforeLast := p.Index(-2)
- switch last.Step.Kind() {
- case protopath.FieldAccessStep:
- fd = last.Step.FieldDescriptor()
- fmt.Printf("%s%s: ", indent, fd.Name())
- case protopath.ListIndexStep:
- fd = beforeLast.Step.FieldDescriptor() // lists always appear in the context of a repeated field
- fmt.Printf("%s%d: ", indent, last.Step.ListIndex())
- case protopath.MapIndexStep:
- fd = beforeLast.Step.FieldDescriptor() // maps always appear in the context of a repeated field
- fmt.Printf("%s%v: ", indent, last.Step.MapIndex().Interface())
- case protopath.AnyExpandStep:
- fmt.Printf("%s[%v]: ", indent, last.Value.Message().Descriptor().FullName())
- case protopath.UnknownAccessStep:
- fmt.Printf("%s?: ", indent)
- }
-
- // Starting printing the value.
- switch v := last.Value.Interface().(type) {
- case protoreflect.Message:
- fmt.Printf("{\n")
- indent = append(indent, '\t')
- case protoreflect.List:
- fmt.Printf("[\n")
- indent = append(indent, '\t')
- case protoreflect.Map:
- fmt.Printf("{\n")
- indent = append(indent, '\t')
- case protoreflect.EnumNumber:
- var ev protoreflect.EnumValueDescriptor
- if fd != nil {
- ev = fd.Enum().Values().ByNumber(v)
- }
- if ev != nil {
- fmt.Printf("%v\n", ev.Name())
- } else {
- fmt.Printf("%v\n", v)
- }
- case string, []byte:
- fmt.Printf("%q\n", v)
- default:
- fmt.Printf("%v\n", v)
- }
- return nil
- },
- func(p protopath.Values) error {
- // Finish printing the value.
- last := p.Index(-1)
- switch last.Value.Interface().(type) {
- case protoreflect.Message:
- indent = indent[:len(indent)-1]
- fmt.Printf("%s}\n", indent)
- case protoreflect.List:
- indent = indent[:len(indent)-1]
- fmt.Printf("%s]\n", indent)
- case protoreflect.Map:
- indent = indent[:len(indent)-1]
- fmt.Printf("%s}\n", indent)
- }
- return nil
- },
- )
-
- // Output:
- // {
- // author: "Brad Fitzpatrick"
- // date: {
- // seconds: 1518739200
- // }
- // title: "Go 1.10 is released"
- // content: "Happy Friday, happy weekend! Today the Go team is happy to announce the release of Go 1.10..."
- // attachments: [
- // 0: {
- // [google.golang.org.KeyValueAttachment]: {
- // name: "checksums.txt"
- // data: {
- // go1.10.darwin-amd64.pkg: "cbb38bb6ff6ea86279e01745984445bf"
- // go1.10.linux-amd64.tar.gz: "6b3d0e4a5c77352cf4275573817f7566"
- // go1.10.src.tar.gz: "07cbb9d0091b846c6aea40bf5bc0cea7"
- // go1.10.windows-amd64.msi: "57bda02030f58f5d2bf71943e1390123"
- // }
- // }
- // }
- // ]
- // tags: [
- // 0: "go1.10"
- // 1: "release"
- // ]
- // status: PUBLISHED
- // }
-}
-
-// Scan all protobuf string values for a sensitive word and replace it with
-// a suitable alternative.
-func Example_sanitizeStrings() {
- m := &newspb.Article{
- Author: "Hermione Granger",
- Date: timestamppb.New(time.Date(1998, time.May, 2, 0, 0, 0, 0, time.UTC)),
- Title: "Harry Potter vanquishes Voldemort once and for all!",
- Content: "In a final duel between Harry Potter and Lord Voldemort earlier this evening...",
- Tags: []string{"HarryPotter", "LordVoldemort"},
- Attachments: []*anypb.Any{{
- TypeUrl: "google.golang.org.KeyValueAttachment",
- Value: mustMarshal(&newspb.KeyValueAttachment{
- Name: "aliases.txt",
- Data: map[string]string{
- "Harry Potter": "The Boy Who Lived",
- "Tom Riddle": "Lord Voldemort",
- },
- }),
- }},
- }
-
- protorange.Range(m.ProtoReflect(), func(p protopath.Values) error {
- const (
- sensitive = "Voldemort"
- alternative = "[He-Who-Must-Not-Be-Named]"
- )
-
- // Check if there is a sensitive word to redact.
- last := p.Index(-1)
- s, ok := last.Value.Interface().(string)
- if !ok || !strings.Contains(s, sensitive) {
- return nil
- }
- s = strings.Replace(s, sensitive, alternative, -1)
-
- // Store the redacted string back into the message.
- beforeLast := p.Index(-2)
- switch last.Step.Kind() {
- case protopath.FieldAccessStep:
- m := beforeLast.Value.Message()
- fd := last.Step.FieldDescriptor()
- m.Set(fd, protoreflect.ValueOfString(s))
- case protopath.ListIndexStep:
- ls := beforeLast.Value.List()
- i := last.Step.ListIndex()
- ls.Set(i, protoreflect.ValueOfString(s))
- case protopath.MapIndexStep:
- ms := beforeLast.Value.Map()
- k := last.Step.MapIndex()
- ms.Set(k, protoreflect.ValueOfString(s))
- }
- return nil
- })
-
- fmt.Println(protojson.Format(m))
-
- // Output:
- // {
- // "author": "Hermione Granger",
- // "date": "1998-05-02T00:00:00Z",
- // "title": "Harry Potter vanquishes [He-Who-Must-Not-Be-Named] once and for all!",
- // "content": "In a final duel between Harry Potter and Lord [He-Who-Must-Not-Be-Named] earlier this evening...",
- // "tags": [
- // "HarryPotter",
- // "Lord[He-Who-Must-Not-Be-Named]"
- // ],
- // "attachments": [
- // {
- // "@type": "google.golang.org.KeyValueAttachment",
- // "name": "aliases.txt",
- // "data": {
- // "Harry Potter": "The Boy Who Lived",
- // "Tom Riddle": "Lord [He-Who-Must-Not-Be-Named]"
- // }
- // }
- // ]
- // }
-}
diff --git a/vendor/google.golang.org/protobuf/reflect/protorange/gotest/ya.make b/vendor/google.golang.org/protobuf/reflect/protorange/gotest/ya.make
deleted file mode 100644
index 261b6ab9e8..0000000000
--- a/vendor/google.golang.org/protobuf/reflect/protorange/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/reflect/protorange)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/reflect/protorange/range.go b/vendor/google.golang.org/protobuf/reflect/protorange/range.go
index 6f4c58bfb7..7a032758b5 100644
--- a/vendor/google.golang.org/protobuf/reflect/protorange/range.go
+++ b/vendor/google.golang.org/protobuf/reflect/protorange/range.go
@@ -30,7 +30,7 @@ var (
// Range performs a depth-first traversal over reachable values in a message.
//
-// See Options.Range for details.
+// See [Options.Range] for details.
func Range(m protoreflect.Message, f func(protopath.Values) error) error {
return Options{}.Range(m, f, nil)
}
@@ -61,33 +61,33 @@ type Options struct {
}
// Range performs a depth-first traversal over reachable values in a message.
-// The first push and the last pop are to push/pop a protopath.Root step.
-// If push or pop return any non-nil error (other than Break or Terminate),
+// The first push and the last pop are to push/pop a [protopath.Root] step.
+// If push or pop return any non-nil error (other than [Break] or [Terminate]),
// it terminates the traversal and is returned by Range.
//
// The rules for traversing a message is as follows:
//
-// • For messages, iterate over every populated known and extension field.
-// Each field is preceded by a push of a protopath.FieldAccess step,
-// followed by recursive application of the rules on the field value,
-// and succeeded by a pop of that step.
-// If the message has unknown fields, then push an protopath.UnknownAccess step
-// followed immediately by pop of that step.
+// - For messages, iterate over every populated known and extension field.
+// Each field is preceded by a push of a [protopath.FieldAccess] step,
+// followed by recursive application of the rules on the field value,
+// and succeeded by a pop of that step.
+// If the message has unknown fields, then push an [protopath.UnknownAccess] step
+// followed immediately by pop of that step.
//
-// • As an exception to the above rule, if the current message is a
-// google.protobuf.Any message, expand the underlying message (if resolvable).
-// The expanded message is preceded by a push of a protopath.AnyExpand step,
-// followed by recursive application of the rules on the underlying message,
-// and succeeded by a pop of that step. Mutations to the expanded message
-// are written back to the Any message when popping back out.
+// - As an exception to the above rule, if the current message is a
+// google.protobuf.Any message, expand the underlying message (if resolvable).
+// The expanded message is preceded by a push of a [protopath.AnyExpand] step,
+// followed by recursive application of the rules on the underlying message,
+// and succeeded by a pop of that step. Mutations to the expanded message
+// are written back to the Any message when popping back out.
//
-// • For lists, iterate over every element. Each element is preceded by a push
-// of a protopath.ListIndex step, followed by recursive application of the rules
-// on the list element, and succeeded by a pop of that step.
+// - For lists, iterate over every element. Each element is preceded by a push
+// of a [protopath.ListIndex] step, followed by recursive application of the rules
+// on the list element, and succeeded by a pop of that step.
//
-// • For maps, iterate over every entry. Each entry is preceded by a push
-// of a protopath.MapIndex step, followed by recursive application of the rules
-// on the map entry value, and succeeded by a pop of that step.
+// - For maps, iterate over every entry. Each entry is preceded by a push
+// of a [protopath.MapIndex] step, followed by recursive application of the rules
+// on the map entry value, and succeeded by a pop of that step.
//
// Mutations should only be made to the last value, otherwise the effects on
// traversal will be undefined. If the mutation is made to the last value
@@ -96,7 +96,7 @@ type Options struct {
// populates a few fields in that message, then the newly modified fields
// will be traversed.
//
-// The protopath.Values provided to push functions is only valid until the
+// The [protopath.Values] provided to push functions is only valid until the
// corresponding pop call and the values provided to a pop call is only valid
// for the duration of the pop call itself.
func (o Options) Range(m protoreflect.Message, push, pop func(protopath.Values) error) error {
diff --git a/vendor/google.golang.org/protobuf/reflect/protorange/range_test.go b/vendor/google.golang.org/protobuf/reflect/protorange/range_test.go
deleted file mode 100644
index a8ca6a0b62..0000000000
--- a/vendor/google.golang.org/protobuf/reflect/protorange/range_test.go
+++ /dev/null
@@ -1,253 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package protorange
-
-import (
- "testing"
- "time"
-
- "github.com/google/go-cmp/cmp"
- "github.com/google/go-cmp/cmp/cmpopts"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protopath"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/reflect/protoregistry"
- "google.golang.org/protobuf/testing/protocmp"
-
- newspb "google.golang.org/protobuf/internal/testprotos/news"
- anypb "google.golang.org/protobuf/types/known/anypb"
- timestamppb "google.golang.org/protobuf/types/known/timestamppb"
-)
-
-func mustMarshal(m proto.Message) []byte {
- b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
- if err != nil {
- panic(err)
- }
- return b
-}
-
-var transformReflectValue = cmp.Transformer("", func(v protoreflect.Value) interface{} {
- switch v := v.Interface().(type) {
- case protoreflect.Message:
- return v.Interface()
- case protoreflect.Map:
- ms := map[interface{}]protoreflect.Value{}
- v.Range(func(k protoreflect.MapKey, v protoreflect.Value) bool {
- ms[k.Interface()] = v
- return true
- })
- return ms
- case protoreflect.List:
- ls := []protoreflect.Value{}
- for i := 0; i < v.Len(); i++ {
- ls = append(ls, v.Get(i))
- }
- return ls
- default:
- return v
- }
-})
-
-func TestRange(t *testing.T) {
- m2 := (&newspb.KeyValueAttachment{
- Name: "checksums.txt",
- Data: map[string]string{
- "go1.10.src.tar.gz": "07cbb9d0091b846c6aea40bf5bc0cea7",
- "go1.10.darwin-amd64.pkg": "cbb38bb6ff6ea86279e01745984445bf",
- "go1.10.linux-amd64.tar.gz": "6b3d0e4a5c77352cf4275573817f7566",
- "go1.10.windows-amd64.msi": "57bda02030f58f5d2bf71943e1390123",
- },
- }).ProtoReflect()
- m := (&newspb.Article{
- Author: "Brad Fitzpatrick",
- Date: timestamppb.New(time.Date(2018, time.February, 16, 0, 0, 0, 0, time.UTC)),
- Title: "Go 1.10 is released",
- Content: "Happy Friday, happy weekend! Today the Go team is happy to announce the release of Go 1.10...",
- Status: newspb.Article_PUBLISHED,
- Tags: []string{"go1.10", "release"},
- Attachments: []*anypb.Any{{
- TypeUrl: "google.golang.org.KeyValueAttachment",
- Value: mustMarshal(m2.Interface()),
- }},
- }).ProtoReflect()
-
- // Nil push and pop functions should not panic.
- noop := func(protopath.Values) error { return nil }
- Options{}.Range(m, nil, nil)
- Options{}.Range(m, noop, nil)
- Options{}.Range(m, nil, noop)
-
- getByName := func(m protoreflect.Message, s protoreflect.Name) protoreflect.Value {
- fds := m.Descriptor().Fields()
- return m.Get(fds.ByName(s))
- }
-
- wantPaths := []string{
- ``,
- `.author`,
- `.date`,
- `.date.seconds`,
- `.title`,
- `.content`,
- `.attachments`,
- `.attachments[0]`,
- `.attachments[0].(google.golang.org.KeyValueAttachment)`,
- `.attachments[0].(google.golang.org.KeyValueAttachment).name`,
- `.attachments[0].(google.golang.org.KeyValueAttachment).data`,
- `.attachments[0].(google.golang.org.KeyValueAttachment).data["go1.10.darwin-amd64.pkg"]`,
- `.attachments[0].(google.golang.org.KeyValueAttachment).data["go1.10.linux-amd64.tar.gz"]`,
- `.attachments[0].(google.golang.org.KeyValueAttachment).data["go1.10.src.tar.gz"]`,
- `.attachments[0].(google.golang.org.KeyValueAttachment).data["go1.10.windows-amd64.msi"]`,
- `.tags`,
- `.tags[0]`,
- `.tags[1]`,
- `.status`,
- }
- wantValues := []protoreflect.Value{
- protoreflect.ValueOfMessage(m),
- getByName(m, "author"),
- getByName(m, "date"),
- getByName(getByName(m, "date").Message(), "seconds"),
- getByName(m, `title`),
- getByName(m, `content`),
- getByName(m, `attachments`),
- getByName(m, `attachments`).List().Get(0),
- protoreflect.ValueOfMessage(m2),
- getByName(m2, `name`),
- getByName(m2, `data`),
- getByName(m2, `data`).Map().Get(protoreflect.ValueOfString("go1.10.darwin-amd64.pkg").MapKey()),
- getByName(m2, `data`).Map().Get(protoreflect.ValueOfString("go1.10.linux-amd64.tar.gz").MapKey()),
- getByName(m2, `data`).Map().Get(protoreflect.ValueOfString("go1.10.src.tar.gz").MapKey()),
- getByName(m2, `data`).Map().Get(protoreflect.ValueOfString("go1.10.windows-amd64.msi").MapKey()),
- getByName(m, `tags`),
- getByName(m, `tags`).List().Get(0),
- getByName(m, `tags`).List().Get(1),
- getByName(m, `status`),
- }
-
- tests := []struct {
- resolver interface {
- protoregistry.ExtensionTypeResolver
- protoregistry.MessageTypeResolver
- }
-
- errorAt int
- breakAt int
- terminateAt int
-
- wantPaths []string
- wantValues []protoreflect.Value
- wantError error
- }{{
- wantPaths: wantPaths,
- wantValues: wantValues,
- }, {
- resolver: (*protoregistry.Types)(nil),
- wantPaths: append(append(wantPaths[:8:8],
- `.attachments[0].type_url`,
- `.attachments[0].value`,
- ), wantPaths[15:]...),
- wantValues: append(append(wantValues[:8:8],
- protoreflect.ValueOfString("google.golang.org.KeyValueAttachment"),
- protoreflect.ValueOfBytes(mustMarshal(m2.Interface())),
- ), wantValues[15:]...),
- }, {
- errorAt: 5, // return error within newspb.Article
- wantPaths: wantPaths[:5],
- wantValues: wantValues[:5],
- wantError: cmpopts.AnyError,
- }, {
- terminateAt: 11, // terminate within newspb.KeyValueAttachment
- wantPaths: wantPaths[:11],
- wantValues: wantValues[:11],
- }, {
- breakAt: 11, // break within newspb.KeyValueAttachment
- wantPaths: append(wantPaths[:11:11], wantPaths[15:]...),
- wantValues: append(wantValues[:11:11], wantValues[15:]...),
- }, {
- errorAt: 17, // return error within newspb.Article.Tags
- wantPaths: wantPaths[:17],
- wantValues: wantValues[:17],
- wantError: cmpopts.AnyError,
- }, {
- breakAt: 17, // break within newspb.Article.Tags
- wantPaths: append(wantPaths[:17:17], wantPaths[18:]...),
- wantValues: append(wantValues[:17:17], wantValues[18:]...),
- }, {
- terminateAt: 17, // terminate within newspb.Article.Tags
- wantPaths: wantPaths[:17],
- wantValues: wantValues[:17],
- }, {
- errorAt: 13, // return error within newspb.KeyValueAttachment.Data
- wantPaths: wantPaths[:13],
- wantValues: wantValues[:13],
- wantError: cmpopts.AnyError,
- }, {
- breakAt: 13, // break within newspb.KeyValueAttachment.Data
- wantPaths: append(wantPaths[:13:13], wantPaths[15:]...),
- wantValues: append(wantValues[:13:13], wantValues[15:]...),
- }, {
- terminateAt: 13, // terminate within newspb.KeyValueAttachment.Data
- wantPaths: wantPaths[:13],
- wantValues: wantValues[:13],
- }}
- for _, tt := range tests {
- t.Run("", func(t *testing.T) {
- var gotPaths []string
- var gotValues []protoreflect.Value
- var stackPaths []string
- var stackValues []protoreflect.Value
- gotError := Options{
- Stable: true,
- Resolver: tt.resolver,
- }.Range(m,
- func(p protopath.Values) error {
- gotPaths = append(gotPaths, p.Path[1:].String())
- stackPaths = append(stackPaths, p.Path[1:].String())
- gotValues = append(gotValues, p.Index(-1).Value)
- stackValues = append(stackValues, p.Index(-1).Value)
- switch {
- case tt.errorAt > 0 && tt.errorAt == len(gotPaths):
- return cmpopts.AnyError
- case tt.breakAt > 0 && tt.breakAt == len(gotPaths):
- return Break
- case tt.terminateAt > 0 && tt.terminateAt == len(gotPaths):
- return Terminate
- default:
- return nil
- }
- },
- func(p protopath.Values) error {
- gotPath := p.Path[1:].String()
- wantPath := stackPaths[len(stackPaths)-1]
- if wantPath != gotPath {
- t.Errorf("%d: pop path mismatch: got %v, want %v", len(gotPaths), gotPath, wantPath)
- }
- gotValue := p.Index(-1).Value
- wantValue := stackValues[len(stackValues)-1]
- if diff := cmp.Diff(wantValue, gotValue, transformReflectValue, protocmp.Transform()); diff != "" {
- t.Errorf("%d: pop value mismatch (-want +got):\n%v", len(gotValues), diff)
- }
- stackPaths = stackPaths[:len(stackPaths)-1]
- stackValues = stackValues[:len(stackValues)-1]
- return nil
- },
- )
- if n := len(stackPaths) + len(stackValues); n > 0 {
- t.Errorf("stack mismatch: got %d unpopped items", n)
- }
- if diff := cmp.Diff(tt.wantPaths, gotPaths); diff != "" {
- t.Errorf("paths mismatch (-want +got):\n%s", diff)
- }
- if diff := cmp.Diff(tt.wantValues, gotValues, transformReflectValue, protocmp.Transform()); diff != "" {
- t.Errorf("values mismatch (-want +got):\n%s", diff)
- }
- if !cmp.Equal(gotError, tt.wantError, cmpopts.EquateErrors()) {
- t.Errorf("error mismatch: got %v, want %v", gotError, tt.wantError)
- }
- })
- }
-}
diff --git a/vendor/google.golang.org/protobuf/reflect/protorange/ya.make b/vendor/google.golang.org/protobuf/reflect/protorange/ya.make
index 29c6345337..fc294f2b0e 100644
--- a/vendor/google.golang.org/protobuf/reflect/protorange/ya.make
+++ b/vendor/google.golang.org/protobuf/reflect/protorange/ya.make
@@ -2,12 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(range.go)
-
-GO_TEST_SRCS(range_test.go)
-
-GO_XTEST_SRCS(example_test.go)
+SRCS(
+ range.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/gotest/ya.make b/vendor/google.golang.org/protobuf/reflect/protoreflect/gotest/ya.make
deleted file mode 100644
index 5638b14678..0000000000
--- a/vendor/google.golang.org/protobuf/reflect/protoreflect/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/reflect/protoreflect)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go
index 55aa14922b..ec6572dfda 100644
--- a/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go
+++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go
@@ -10,46 +10,46 @@
//
// # Protocol Buffer Descriptors
//
-// Protobuf descriptors (e.g., EnumDescriptor or MessageDescriptor)
+// Protobuf descriptors (e.g., [EnumDescriptor] or [MessageDescriptor])
// are immutable objects that represent protobuf type information.
// They are wrappers around the messages declared in descriptor.proto.
// Protobuf descriptors alone lack any information regarding Go types.
//
-// Enums and messages generated by this module implement Enum and ProtoMessage,
+// Enums and messages generated by this module implement [Enum] and [ProtoMessage],
// where the Descriptor and ProtoReflect.Descriptor accessors respectively
// return the protobuf descriptor for the values.
//
// The protobuf descriptor interfaces are not meant to be implemented by
// user code since they might need to be extended in the future to support
// additions to the protobuf language.
-// The "google.golang.org/protobuf/reflect/protodesc" package converts between
+// The [google.golang.org/protobuf/reflect/protodesc] package converts between
// google.protobuf.DescriptorProto messages and protobuf descriptors.
//
// # Go Type Descriptors
//
-// A type descriptor (e.g., EnumType or MessageType) is a constructor for
+// A type descriptor (e.g., [EnumType] or [MessageType]) is a constructor for
// a concrete Go type that represents the associated protobuf descriptor.
// There is commonly a one-to-one relationship between protobuf descriptors and
// Go type descriptors, but it can potentially be a one-to-many relationship.
//
-// Enums and messages generated by this module implement Enum and ProtoMessage,
+// Enums and messages generated by this module implement [Enum] and [ProtoMessage],
// where the Type and ProtoReflect.Type accessors respectively
// return the protobuf descriptor for the values.
//
-// The "google.golang.org/protobuf/types/dynamicpb" package can be used to
+// The [google.golang.org/protobuf/types/dynamicpb] package can be used to
// create Go type descriptors from protobuf descriptors.
//
// # Value Interfaces
//
-// The Enum and Message interfaces provide a reflective view over an
+// The [Enum] and [Message] interfaces provide a reflective view over an
// enum or message instance. For enums, it provides the ability to retrieve
// the enum value number for any concrete enum type. For messages, it provides
// the ability to access or manipulate fields of the message.
//
-// To convert a proto.Message to a protoreflect.Message, use the
+// To convert a [google.golang.org/protobuf/proto.Message] to a [protoreflect.Message], use the
// former's ProtoReflect method. Since the ProtoReflect method is new to the
// v2 message interface, it may not be present on older message implementations.
-// The "github.com/golang/protobuf/proto".MessageReflect function can be used
+// The [github.com/golang/protobuf/proto.MessageReflect] function can be used
// to obtain a reflective view on older messages.
//
// # Relationships
@@ -71,12 +71,12 @@
// │ │
// └────────────────── Type() ───────┘
//
-// • An EnumType describes a concrete Go enum type.
+// • An [EnumType] describes a concrete Go enum type.
// It has an EnumDescriptor and can construct an Enum instance.
//
-// • An EnumDescriptor describes an abstract protobuf enum type.
+// • An [EnumDescriptor] describes an abstract protobuf enum type.
//
-// • An Enum is a concrete enum instance. Generated enums implement Enum.
+// • An [Enum] is a concrete enum instance. Generated enums implement Enum.
//
// ┌──────────────── New() ─────────────────â”
// │ │
@@ -90,24 +90,26 @@
// │ │
// └─────────────────── Type() ─────────┘
//
-// • A MessageType describes a concrete Go message type.
-// It has a MessageDescriptor and can construct a Message instance.
-// Just as how Go's reflect.Type is a reflective description of a Go type,
-// a MessageType is a reflective description of a Go type for a protobuf message.
+// • A [MessageType] describes a concrete Go message type.
+// It has a [MessageDescriptor] and can construct a [Message] instance.
+// Just as how Go's [reflect.Type] is a reflective description of a Go type,
+// a [MessageType] is a reflective description of a Go type for a protobuf message.
//
-// • A MessageDescriptor describes an abstract protobuf message type.
-// It has no understanding of Go types. In order to construct a MessageType
-// from just a MessageDescriptor, you can consider looking up the message type
-// in the global registry using protoregistry.GlobalTypes.FindMessageByName
-// or constructing a dynamic MessageType using dynamicpb.NewMessageType.
+// • A [MessageDescriptor] describes an abstract protobuf message type.
+// It has no understanding of Go types. In order to construct a [MessageType]
+// from just a [MessageDescriptor], you can consider looking up the message type
+// in the global registry using the FindMessageByName method on
+// [google.golang.org/protobuf/reflect/protoregistry.GlobalTypes]
+// or constructing a dynamic [MessageType] using
+// [google.golang.org/protobuf/types/dynamicpb.NewMessageType].
//
-// • A Message is a reflective view over a concrete message instance.
-// Generated messages implement ProtoMessage, which can convert to a Message.
-// Just as how Go's reflect.Value is a reflective view over a Go value,
-// a Message is a reflective view over a concrete protobuf message instance.
-// Using Go reflection as an analogy, the ProtoReflect method is similar to
-// calling reflect.ValueOf, and the Message.Interface method is similar to
-// calling reflect.Value.Interface.
+// • A [Message] is a reflective view over a concrete message instance.
+// Generated messages implement [ProtoMessage], which can convert to a [Message].
+// Just as how Go's [reflect.Value] is a reflective view over a Go value,
+// a [Message] is a reflective view over a concrete protobuf message instance.
+// Using Go reflection as an analogy, the [ProtoMessage.ProtoReflect] method is similar to
+// calling [reflect.ValueOf], and the [Message.Interface] method is similar to
+// calling [reflect.Value.Interface].
//
// ┌── TypeDescriptor() ──┠┌───── Descriptor() ─────â”
// │ V │ V
@@ -119,15 +121,15 @@
// │ │
// └────── implements ────────┘
//
-// • An ExtensionType describes a concrete Go implementation of an extension.
-// It has an ExtensionTypeDescriptor and can convert to/from
-// abstract Values and Go values.
+// • An [ExtensionType] describes a concrete Go implementation of an extension.
+// It has an [ExtensionTypeDescriptor] and can convert to/from
+// an abstract [Value] and a Go value.
//
-// • An ExtensionTypeDescriptor is an ExtensionDescriptor
-// which also has an ExtensionType.
+// • An [ExtensionTypeDescriptor] is an [ExtensionDescriptor]
+// which also has an [ExtensionType].
//
-// • An ExtensionDescriptor describes an abstract protobuf extension field and
-// may not always be an ExtensionTypeDescriptor.
+// • An [ExtensionDescriptor] describes an abstract protobuf extension field and
+// may not always be an [ExtensionTypeDescriptor].
package protoreflect
import (
@@ -142,7 +144,7 @@ type doNotImplement pragma.DoNotImplement
// ProtoMessage is the top-level interface that all proto messages implement.
// This is declared in the protoreflect package to avoid a cyclic dependency;
-// use the proto.Message type instead, which aliases this type.
+// use the [google.golang.org/protobuf/proto.Message] type instead, which aliases this type.
type ProtoMessage interface{ ProtoReflect() Message }
// Syntax is the language version of the proto file.
@@ -151,8 +153,9 @@ type Syntax syntax
type syntax int8 // keep exact type opaque as the int type may change
const (
- Proto2 Syntax = 2
- Proto3 Syntax = 3
+ Proto2 Syntax = 2
+ Proto3 Syntax = 3
+ Editions Syntax = 4
)
// IsValid reports whether the syntax is valid.
@@ -436,7 +439,7 @@ type Names interface {
// FullName is a qualified name that uniquely identifies a proto declaration.
// A qualified name is the concatenation of the proto package along with the
// fully-declared name (i.e., name of parent preceding the name of the child),
-// with a '.' delimiter placed between each Name.
+// with a '.' delimiter placed between each [Name].
//
// This should not have any leading or trailing dots.
type FullName string // e.g., "google.protobuf.Field.Kind"
@@ -480,7 +483,7 @@ func isLetterDigit(c byte) bool {
}
// Name returns the short name, which is the last identifier segment.
-// A single segment FullName is the Name itself.
+// A single segment FullName is the [Name] itself.
func (n FullName) Name() Name {
if i := strings.LastIndexByte(string(n), '.'); i >= 0 {
return Name(n[i+1:])
diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/proto_test.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/proto_test.go
deleted file mode 100644
index 97e55ccbbb..0000000000
--- a/vendor/google.golang.org/protobuf/reflect/protoreflect/proto_test.go
+++ /dev/null
@@ -1,82 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package protoreflect
-
-import "testing"
-
-func TestNameIsValid(t *testing.T) {
- tests := []struct {
- in Name
- want bool
- }{
- {"", false},
- {"a", true},
- {".", false},
- {"_", true}, // odd, but permitted by protoc
- {".foo", false},
- {"foo.", false},
- {"foo", true},
- {"one1_two2_three3", true},
- {"1one", false},
- }
-
- for _, tt := range tests {
- if got := tt.in.IsValid(); got != tt.want {
- t.Errorf("Name(%q).IsValid() = %v, want %v", tt.in, got, tt.want)
- }
- }
-}
-
-func TestFullNameIsValid(t *testing.T) {
- tests := []struct {
- in FullName
- want bool
- }{
- {"", false},
- {"a", true},
- {"a.b", true},
- {"a.b.c", true},
- {".", false},
- {"_._._", true}, // odd, but permitted by protoc
- {".foo", false},
- {"foo.", false},
- {"foo", true},
- {"one1_two2_three3", true},
- {"one1.two2.three3", true},
- {".one1.two2.three3", false},
- {"one1.two2.three3.", false},
- {"foo.1one", false},
- }
-
- for _, tt := range tests {
- if got := tt.in.IsValid(); got != tt.want {
- t.Errorf("Name(%q).IsValid() = %v, want %v", tt.in, got, tt.want)
- }
- }
-}
-
-func TestNameAppend(t *testing.T) {
- tests := []FullName{
- "",
- "a",
- "a.b",
- "a.b.c",
- "one1.two2.three3",
- }
-
- for _, tt := range tests {
- if got := tt.Parent().Append(tt.Name()); got != tt {
- t.Errorf("FullName.Parent().Append(FullName.Name()) = %q, want %q", got, tt)
- }
- }
-}
-
-var sink bool
-
-func BenchmarkFullNameIsValid(b *testing.B) {
- for i := 0; i < b.N; i++ {
- sink = FullName("google.protobuf.Any").IsValid()
- }
-}
diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go
index 717b106f3d..0c045db6ab 100644
--- a/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go
+++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go
@@ -35,7 +35,7 @@ func (p *SourcePath) appendFileDescriptorProto(b []byte) []byte {
b = p.appendSingularField(b, "source_code_info", (*SourcePath).appendSourceCodeInfo)
case 12:
b = p.appendSingularField(b, "syntax", nil)
- case 13:
+ case 14:
b = p.appendSingularField(b, "edition", nil)
}
return b
@@ -180,6 +180,8 @@ func (p *SourcePath) appendFileOptions(b []byte) []byte {
b = p.appendSingularField(b, "php_metadata_namespace", nil)
case 45:
b = p.appendSingularField(b, "ruby_package", nil)
+ case 50:
+ b = p.appendSingularField(b, "features", (*SourcePath).appendFeatureSet)
case 999:
b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
@@ -240,6 +242,8 @@ func (p *SourcePath) appendMessageOptions(b []byte) []byte {
b = p.appendSingularField(b, "map_entry", nil)
case 11:
b = p.appendSingularField(b, "deprecated_legacy_json_field_conflicts", nil)
+ case 12:
+ b = p.appendSingularField(b, "features", (*SourcePath).appendFeatureSet)
case 999:
b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
@@ -285,6 +289,8 @@ func (p *SourcePath) appendEnumOptions(b []byte) []byte {
b = p.appendSingularField(b, "deprecated", nil)
case 6:
b = p.appendSingularField(b, "deprecated_legacy_json_field_conflicts", nil)
+ case 7:
+ b = p.appendSingularField(b, "features", (*SourcePath).appendFeatureSet)
case 999:
b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
@@ -330,6 +336,8 @@ func (p *SourcePath) appendServiceOptions(b []byte) []byte {
return b
}
switch (*p)[0] {
+ case 34:
+ b = p.appendSingularField(b, "features", (*SourcePath).appendFeatureSet)
case 33:
b = p.appendSingularField(b, "deprecated", nil)
case 999:
@@ -361,16 +369,39 @@ func (p *SourcePath) appendFieldOptions(b []byte) []byte {
b = p.appendSingularField(b, "debug_redact", nil)
case 17:
b = p.appendSingularField(b, "retention", nil)
- case 18:
- b = p.appendSingularField(b, "target", nil)
case 19:
b = p.appendRepeatedField(b, "targets", nil)
+ case 20:
+ b = p.appendRepeatedField(b, "edition_defaults", (*SourcePath).appendFieldOptions_EditionDefault)
+ case 21:
+ b = p.appendSingularField(b, "features", (*SourcePath).appendFeatureSet)
case 999:
b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
return b
}
+func (p *SourcePath) appendFeatureSet(b []byte) []byte {
+ if len(*p) == 0 {
+ return b
+ }
+ switch (*p)[0] {
+ case 1:
+ b = p.appendSingularField(b, "field_presence", nil)
+ case 2:
+ b = p.appendSingularField(b, "enum_type", nil)
+ case 3:
+ b = p.appendSingularField(b, "repeated_field_encoding", nil)
+ case 4:
+ b = p.appendSingularField(b, "utf8_validation", nil)
+ case 5:
+ b = p.appendSingularField(b, "message_encoding", nil)
+ case 6:
+ b = p.appendSingularField(b, "json_format", nil)
+ }
+ return b
+}
+
func (p *SourcePath) appendUninterpretedOption(b []byte) []byte {
if len(*p) == 0 {
return b
@@ -422,6 +453,8 @@ func (p *SourcePath) appendExtensionRangeOptions(b []byte) []byte {
b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
case 2:
b = p.appendRepeatedField(b, "declaration", (*SourcePath).appendExtensionRangeOptions_Declaration)
+ case 50:
+ b = p.appendSingularField(b, "features", (*SourcePath).appendFeatureSet)
case 3:
b = p.appendSingularField(b, "verification", nil)
}
@@ -433,6 +466,8 @@ func (p *SourcePath) appendOneofOptions(b []byte) []byte {
return b
}
switch (*p)[0] {
+ case 1:
+ b = p.appendSingularField(b, "features", (*SourcePath).appendFeatureSet)
case 999:
b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
@@ -446,6 +481,10 @@ func (p *SourcePath) appendEnumValueOptions(b []byte) []byte {
switch (*p)[0] {
case 1:
b = p.appendSingularField(b, "deprecated", nil)
+ case 2:
+ b = p.appendSingularField(b, "features", (*SourcePath).appendFeatureSet)
+ case 3:
+ b = p.appendSingularField(b, "debug_redact", nil)
case 999:
b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
@@ -461,12 +500,27 @@ func (p *SourcePath) appendMethodOptions(b []byte) []byte {
b = p.appendSingularField(b, "deprecated", nil)
case 34:
b = p.appendSingularField(b, "idempotency_level", nil)
+ case 35:
+ b = p.appendSingularField(b, "features", (*SourcePath).appendFeatureSet)
case 999:
b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
return b
}
+func (p *SourcePath) appendFieldOptions_EditionDefault(b []byte) []byte {
+ if len(*p) == 0 {
+ return b
+ }
+ switch (*p)[0] {
+ case 3:
+ b = p.appendSingularField(b, "edition", nil)
+ case 2:
+ b = p.appendSingularField(b, "value", nil)
+ }
+ return b
+}
+
func (p *SourcePath) appendUninterpretedOption_NamePart(b []byte) []byte {
if len(*p) == 0 {
return b
@@ -491,8 +545,6 @@ func (p *SourcePath) appendExtensionRangeOptions_Declaration(b []byte) []byte {
b = p.appendSingularField(b, "full_name", nil)
case 3:
b = p.appendSingularField(b, "type", nil)
- case 4:
- b = p.appendSingularField(b, "is_repeated", nil)
case 5:
b = p.appendSingularField(b, "reserved", nil)
case 6:
diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/source_test.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/source_test.go
deleted file mode 100644
index 877ede5955..0000000000
--- a/vendor/google.golang.org/protobuf/reflect/protoreflect/source_test.go
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package protoreflect
-
-import "testing"
-
-func TestSourcePathString(t *testing.T) {
- tests := []struct {
- in SourcePath
- want string
- }{
- {nil, ""},
- {SourcePath{}, ""},
- {SourcePath{0}, ".0"},
- {SourcePath{1}, ".name"},
- {SourcePath{1, 1}, ".name.1"},
- {SourcePath{1, 1, -2, 3}, ".name.1.-2.3"},
- {SourcePath{3}, ".dependency"},
- {SourcePath{3, 0}, ".dependency[0]"},
- {SourcePath{3, -1}, ".dependency.-1"},
- {SourcePath{3, 1, 2}, ".dependency[1].2"},
- {SourcePath{4}, ".message_type"},
- {SourcePath{4, 0}, ".message_type[0]"},
- {SourcePath{4, -1}, ".message_type.-1"},
- {SourcePath{4, 1, 0}, ".message_type[1].0"},
- {SourcePath{4, 1, 1}, ".message_type[1].name"},
- }
- for _, tt := range tests {
- if got := tt.in.String(); got != tt.want {
- t.Errorf("SourcePath(%d).String() = %v, want %v", tt.in, got, tt.want)
- }
- }
-}
diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go
index 3867470d30..60ff62b4c8 100644
--- a/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go
+++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go
@@ -12,7 +12,7 @@ package protoreflect
// exactly identical. However, it is possible for the same semantically
// identical proto type to be represented by multiple type descriptors.
//
-// For example, suppose we have t1 and t2 which are both MessageDescriptors.
+// For example, suppose we have t1 and t2 which are both an [MessageDescriptor].
// If t1 == t2, then the types are definitely equal and all accessors return
// the same information. However, if t1 != t2, then it is still possible that
// they still represent the same proto type (e.g., t1.FullName == t2.FullName).
@@ -115,7 +115,7 @@ type Descriptor interface {
// corresponds with the google.protobuf.FileDescriptorProto message.
//
// Top-level declarations:
-// EnumDescriptor, MessageDescriptor, FieldDescriptor, and/or ServiceDescriptor.
+// [EnumDescriptor], [MessageDescriptor], [FieldDescriptor], and/or [ServiceDescriptor].
type FileDescriptor interface {
Descriptor // Descriptor.FullName is identical to Package
@@ -180,8 +180,8 @@ type FileImport struct {
// corresponds with the google.protobuf.DescriptorProto message.
//
// Nested declarations:
-// FieldDescriptor, OneofDescriptor, FieldDescriptor, EnumDescriptor,
-// and/or MessageDescriptor.
+// [FieldDescriptor], [OneofDescriptor], [FieldDescriptor], [EnumDescriptor],
+// and/or [MessageDescriptor].
type MessageDescriptor interface {
Descriptor
@@ -214,7 +214,7 @@ type MessageDescriptor interface {
ExtensionRanges() FieldRanges
// ExtensionRangeOptions returns the ith extension range options.
//
- // To avoid a dependency cycle, this method returns a proto.Message value,
+ // To avoid a dependency cycle, this method returns a proto.Message] value,
// which always contains a google.protobuf.ExtensionRangeOptions message.
// This method returns a typed nil-pointer if no options are present.
// The caller must import the descriptorpb package to use this.
@@ -231,9 +231,9 @@ type MessageDescriptor interface {
}
type isMessageDescriptor interface{ ProtoType(MessageDescriptor) }
-// MessageType encapsulates a MessageDescriptor with a concrete Go implementation.
+// MessageType encapsulates a [MessageDescriptor] with a concrete Go implementation.
// It is recommended that implementations of this interface also implement the
-// MessageFieldTypes interface.
+// [MessageFieldTypes] interface.
type MessageType interface {
// New returns a newly allocated empty message.
// It may return nil for synthetic messages representing a map entry.
@@ -249,19 +249,19 @@ type MessageType interface {
Descriptor() MessageDescriptor
}
-// MessageFieldTypes extends a MessageType by providing type information
+// MessageFieldTypes extends a [MessageType] by providing type information
// regarding enums and messages referenced by the message fields.
type MessageFieldTypes interface {
MessageType
- // Enum returns the EnumType for the ith field in Descriptor.Fields.
+ // Enum returns the EnumType for the ith field in MessageDescriptor.Fields.
// It returns nil if the ith field is not an enum kind.
// It panics if out of bounds.
//
// Invariant: mt.Enum(i).Descriptor() == mt.Descriptor().Fields(i).Enum()
Enum(i int) EnumType
- // Message returns the MessageType for the ith field in Descriptor.Fields.
+ // Message returns the MessageType for the ith field in MessageDescriptor.Fields.
// It returns nil if the ith field is not a message or group kind.
// It panics if out of bounds.
//
@@ -286,8 +286,8 @@ type MessageDescriptors interface {
// corresponds with the google.protobuf.FieldDescriptorProto message.
//
// It is used for both normal fields defined within the parent message
-// (e.g., MessageDescriptor.Fields) and fields that extend some remote message
-// (e.g., FileDescriptor.Extensions or MessageDescriptor.Extensions).
+// (e.g., [MessageDescriptor.Fields]) and fields that extend some remote message
+// (e.g., [FileDescriptor.Extensions] or [MessageDescriptor.Extensions]).
type FieldDescriptor interface {
Descriptor
@@ -344,7 +344,7 @@ type FieldDescriptor interface {
// IsMap reports whether this field represents a map,
// where the value type for the associated field is a Map.
// It is equivalent to checking whether Cardinality is Repeated,
- // that the Kind is MessageKind, and that Message.IsMapEntry reports true.
+ // that the Kind is MessageKind, and that MessageDescriptor.IsMapEntry reports true.
IsMap() bool
// MapKey returns the field descriptor for the key in the map entry.
@@ -419,7 +419,7 @@ type OneofDescriptor interface {
// IsSynthetic reports whether this is a synthetic oneof created to support
// proto3 optional semantics. If true, Fields contains exactly one field
- // with HasOptionalKeyword specified.
+ // with FieldDescriptor.HasOptionalKeyword specified.
IsSynthetic() bool
// Fields is a list of fields belonging to this oneof.
@@ -442,10 +442,10 @@ type OneofDescriptors interface {
doNotImplement
}
-// ExtensionDescriptor is an alias of FieldDescriptor for documentation.
+// ExtensionDescriptor is an alias of [FieldDescriptor] for documentation.
type ExtensionDescriptor = FieldDescriptor
-// ExtensionTypeDescriptor is an ExtensionDescriptor with an associated ExtensionType.
+// ExtensionTypeDescriptor is an [ExtensionDescriptor] with an associated [ExtensionType].
type ExtensionTypeDescriptor interface {
ExtensionDescriptor
@@ -470,12 +470,12 @@ type ExtensionDescriptors interface {
doNotImplement
}
-// ExtensionType encapsulates an ExtensionDescriptor with a concrete
+// ExtensionType encapsulates an [ExtensionDescriptor] with a concrete
// Go implementation. The nested field descriptor must be for a extension field.
//
// While a normal field is a member of the parent message that it is declared
-// within (see Descriptor.Parent), an extension field is a member of some other
-// target message (see ExtensionDescriptor.Extendee) and may have no
+// within (see [Descriptor.Parent]), an extension field is a member of some other
+// target message (see [FieldDescriptor.ContainingMessage]) and may have no
// relationship with the parent. However, the full name of an extension field is
// relative to the parent that it is declared within.
//
@@ -532,7 +532,7 @@ type ExtensionType interface {
// corresponds with the google.protobuf.EnumDescriptorProto message.
//
// Nested declarations:
-// EnumValueDescriptor.
+// [EnumValueDescriptor].
type EnumDescriptor interface {
Descriptor
@@ -548,7 +548,7 @@ type EnumDescriptor interface {
}
type isEnumDescriptor interface{ ProtoType(EnumDescriptor) }
-// EnumType encapsulates an EnumDescriptor with a concrete Go implementation.
+// EnumType encapsulates an [EnumDescriptor] with a concrete Go implementation.
type EnumType interface {
// New returns an instance of this enum type with its value set to n.
New(n EnumNumber) Enum
@@ -610,7 +610,7 @@ type EnumValueDescriptors interface {
// ServiceDescriptor describes a service and
// corresponds with the google.protobuf.ServiceDescriptorProto message.
//
-// Nested declarations: MethodDescriptor.
+// Nested declarations: [MethodDescriptor].
type ServiceDescriptor interface {
Descriptor
diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/value.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/value.go
index 37601b7819..a7b0d06ff3 100644
--- a/vendor/google.golang.org/protobuf/reflect/protoreflect/value.go
+++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/value.go
@@ -27,16 +27,16 @@ type Enum interface {
// Message is a reflective interface for a concrete message value,
// encapsulating both type and value information for the message.
//
-// Accessor/mutators for individual fields are keyed by FieldDescriptor.
+// Accessor/mutators for individual fields are keyed by [FieldDescriptor].
// For non-extension fields, the descriptor must exactly match the
// field known by the parent message.
-// For extension fields, the descriptor must implement ExtensionTypeDescriptor,
-// extend the parent message (i.e., have the same message FullName), and
+// For extension fields, the descriptor must implement [ExtensionTypeDescriptor],
+// extend the parent message (i.e., have the same message [FullName]), and
// be within the parent's extension range.
//
-// Each field Value can be a scalar or a composite type (Message, List, or Map).
-// See Value for the Go types associated with a FieldDescriptor.
-// Providing a Value that is invalid or of an incorrect type panics.
+// Each field [Value] can be a scalar or a composite type ([Message], [List], or [Map]).
+// See [Value] for the Go types associated with a [FieldDescriptor].
+// Providing a [Value] that is invalid or of an incorrect type panics.
type Message interface {
// Descriptor returns message descriptor, which contains only the protobuf
// type information for the message.
@@ -152,7 +152,7 @@ type Message interface {
// This method may return nil.
//
// The returned methods type is identical to
- // "google.golang.org/protobuf/runtime/protoiface".Methods.
+ // google.golang.org/protobuf/runtime/protoiface.Methods.
// Consult the protoiface package documentation for details.
ProtoMethods() *methods
}
@@ -175,8 +175,8 @@ func (b RawFields) IsValid() bool {
}
// List is a zero-indexed, ordered list.
-// The element Value type is determined by FieldDescriptor.Kind.
-// Providing a Value that is invalid or of an incorrect type panics.
+// The element [Value] type is determined by [FieldDescriptor.Kind].
+// Providing a [Value] that is invalid or of an incorrect type panics.
type List interface {
// Len reports the number of entries in the List.
// Get, Set, and Truncate panic with out of bound indexes.
@@ -226,9 +226,9 @@ type List interface {
}
// Map is an unordered, associative map.
-// The entry MapKey type is determined by FieldDescriptor.MapKey.Kind.
-// The entry Value type is determined by FieldDescriptor.MapValue.Kind.
-// Providing a MapKey or Value that is invalid or of an incorrect type panics.
+// The entry [MapKey] type is determined by [FieldDescriptor.MapKey].Kind.
+// The entry [Value] type is determined by [FieldDescriptor.MapValue].Kind.
+// Providing a [MapKey] or [Value] that is invalid or of an incorrect type panics.
type Map interface {
// Len reports the number of elements in the map.
Len() int
diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_equal.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_equal.go
index 591652541f..654599d449 100644
--- a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_equal.go
+++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_equal.go
@@ -24,19 +24,19 @@ import (
// Unlike the == operator, a NaN is equal to another NaN.
//
// - Enums are equal if they contain the same number.
-// Since Value does not contain an enum descriptor,
+// Since [Value] does not contain an enum descriptor,
// enum values do not consider the type of the enum.
//
// - Other scalar values are equal if they contain the same value.
//
-// - Message values are equal if they belong to the same message descriptor,
+// - [Message] values are equal if they belong to the same message descriptor,
// have the same set of populated known and extension field values,
// and the same set of unknown fields values.
//
-// - Lists are equal if they are the same length and
+// - [List] values are equal if they are the same length and
// each corresponding element is equal.
//
-// - Maps are equal if they have the same set of keys and
+// - [Map] values are equal if they have the same set of keys and
// the corresponding value for each key is equal.
func (v1 Value) Equal(v2 Value) bool {
return equalValue(v1, v2)
diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_test.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_test.go
deleted file mode 100644
index d3879001db..0000000000
--- a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_test.go
+++ /dev/null
@@ -1,191 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package protoreflect
-
-import (
- "bytes"
- "math"
- "reflect"
- "testing"
-)
-
-var (
- fakeMessage = new(struct{ Message })
- fakeList = new(struct{ List })
- fakeMap = new(struct{ Map })
-)
-
-func TestValue(t *testing.T) {
-
- tests := []struct {
- in Value
- want interface{}
- }{
- {in: Value{}},
- {in: ValueOf(nil)},
- {in: ValueOf(true), want: true},
- {in: ValueOf(int32(math.MaxInt32)), want: int32(math.MaxInt32)},
- {in: ValueOf(int64(math.MaxInt64)), want: int64(math.MaxInt64)},
- {in: ValueOf(uint32(math.MaxUint32)), want: uint32(math.MaxUint32)},
- {in: ValueOf(uint64(math.MaxUint64)), want: uint64(math.MaxUint64)},
- {in: ValueOf(float32(math.MaxFloat32)), want: float32(math.MaxFloat32)},
- {in: ValueOf(float64(math.MaxFloat64)), want: float64(math.MaxFloat64)},
- {in: ValueOf(string("hello")), want: string("hello")},
- {in: ValueOf([]byte("hello")), want: []byte("hello")},
- {in: ValueOf(fakeMessage), want: fakeMessage},
- {in: ValueOf(fakeList), want: fakeList},
- {in: ValueOf(fakeMap), want: fakeMap},
- }
-
- for _, tt := range tests {
- got := tt.in.Interface()
- if !reflect.DeepEqual(got, tt.want) {
- t.Errorf("Value(%v).Interface() = %v, want %v", tt.in, got, tt.want)
- }
-
- if got := tt.in.IsValid(); got != (tt.want != nil) {
- t.Errorf("Value(%v).IsValid() = %v, want %v", tt.in, got, tt.want != nil)
- }
- switch want := tt.want.(type) {
- case int32:
- if got := tt.in.Int(); got != int64(want) {
- t.Errorf("Value(%v).Int() = %v, want %v", tt.in, got, tt.want)
- }
- case int64:
- if got := tt.in.Int(); got != int64(want) {
- t.Errorf("Value(%v).Int() = %v, want %v", tt.in, got, tt.want)
- }
- case uint32:
- if got := tt.in.Uint(); got != uint64(want) {
- t.Errorf("Value(%v).Uint() = %v, want %v", tt.in, got, tt.want)
- }
- case uint64:
- if got := tt.in.Uint(); got != uint64(want) {
- t.Errorf("Value(%v).Uint() = %v, want %v", tt.in, got, tt.want)
- }
- case float32:
- if got := tt.in.Float(); got != float64(want) {
- t.Errorf("Value(%v).Float() = %v, want %v", tt.in, got, tt.want)
- }
- case float64:
- if got := tt.in.Float(); got != float64(want) {
- t.Errorf("Value(%v).Float() = %v, want %v", tt.in, got, tt.want)
- }
- case string:
- if got := tt.in.String(); got != string(want) {
- t.Errorf("Value(%v).String() = %v, want %v", tt.in, got, tt.want)
- }
- case []byte:
- if got := tt.in.Bytes(); !bytes.Equal(got, want) {
- t.Errorf("Value(%v).Bytes() = %v, want %v", tt.in, got, tt.want)
- }
- case EnumNumber:
- if got := tt.in.Enum(); got != want {
- t.Errorf("Value(%v).Enum() = %v, want %v", tt.in, got, tt.want)
- }
- case Message:
- if got := tt.in.Message(); got != want {
- t.Errorf("Value(%v).Message() = %v, want %v", tt.in, got, tt.want)
- }
- case List:
- if got := tt.in.List(); got != want {
- t.Errorf("Value(%v).List() = %v, want %v", tt.in, got, tt.want)
- }
- case Map:
- if got := tt.in.Map(); got != want {
- t.Errorf("Value(%v).Map() = %v, want %v", tt.in, got, tt.want)
- }
- }
- }
-}
-
-func TestValueEqual(t *testing.T) {
- tests := []struct {
- x, y Value
- want bool
- }{
- {Value{}, Value{}, true},
- {Value{}, ValueOfBool(true), false},
- {ValueOfBool(true), ValueOfBool(true), true},
- {ValueOfBool(true), ValueOfBool(false), false},
- {ValueOfBool(false), ValueOfInt32(0), false},
- {ValueOfInt32(0), ValueOfInt32(0), true},
- {ValueOfInt32(0), ValueOfInt32(1), false},
- {ValueOfInt32(0), ValueOfInt64(0), false},
- {ValueOfInt64(123), ValueOfInt64(123), true},
- {ValueOfFloat64(0), ValueOfFloat64(0), true},
- {ValueOfFloat64(math.NaN()), ValueOfFloat64(math.NaN()), true},
- {ValueOfFloat64(math.NaN()), ValueOfFloat64(0), false},
- {ValueOfFloat64(math.Inf(1)), ValueOfFloat64(math.Inf(1)), true},
- {ValueOfFloat64(math.Inf(-1)), ValueOfFloat64(math.Inf(1)), false},
- {ValueOfBytes(nil), ValueOfBytes(nil), true},
- {ValueOfBytes(nil), ValueOfBytes([]byte{}), true},
- {ValueOfBytes(nil), ValueOfBytes([]byte{1}), false},
- {ValueOfEnum(0), ValueOfEnum(0), true},
- {ValueOfEnum(0), ValueOfEnum(1), false},
- {ValueOfBool(false), ValueOfMessage(fakeMessage), false},
- {ValueOfMessage(fakeMessage), ValueOfList(fakeList), false},
- {ValueOfList(fakeList), ValueOfMap(fakeMap), false},
- {ValueOfMap(fakeMap), ValueOfMessage(fakeMessage), false},
-
- // Composite types are not tested here.
- // See proto.TestEqual.
- }
-
- for _, tt := range tests {
- got := tt.x.Equal(tt.y)
- if got != tt.want {
- t.Errorf("(%v).Equal(%v) = %v, want %v", tt.x, tt.y, got, tt.want)
- }
- }
-}
-
-func BenchmarkValue(b *testing.B) {
- const testdata = "The quick brown fox jumped over the lazy dog."
- var sink1 string
- var sink2 Value
- var sink3 interface{}
-
- // Baseline measures the time to store a string into a native variable.
- b.Run("Baseline", func(b *testing.B) {
- b.ReportAllocs()
- for i := 0; i < b.N; i++ {
- sink1 = testdata[:len(testdata)%(i+1)]
- }
- })
-
- // Inline measures the time to store a string into a Value,
- // assuming that the compiler could inline the ValueOf function call.
- b.Run("Inline", func(b *testing.B) {
- b.ReportAllocs()
- for i := 0; i < b.N; i++ {
- sink2 = valueOfString(testdata[:len(testdata)%(i+1)])
- }
- })
-
- // Value measures the time to store a string into a Value using the general
- // ValueOf function call. This should be identical to Inline.
- //
- // NOTE: As of Go1.11, this is not as efficient as Inline due to the lack
- // of some compiler optimizations:
- // https://golang.org/issue/22310
- // https://golang.org/issue/25189
- b.Run("Value", func(b *testing.B) {
- b.ReportAllocs()
- for i := 0; i < b.N; i++ {
- sink2 = ValueOf(string(testdata[:len(testdata)%(i+1)]))
- }
- })
-
- // Interface measures the time to store a string into an interface.
- b.Run("Interface", func(b *testing.B) {
- b.ReportAllocs()
- for i := 0; i < b.N; i++ {
- sink3 = string(testdata[:len(testdata)%(i+1)])
- }
- })
-
- _, _, _ = sink1, sink2, sink3
-}
diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go
index 08e5ef73fc..1603097311 100644
--- a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go
+++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go
@@ -11,7 +11,7 @@ import (
// Value is a union where only one Go type may be set at a time.
// The Value is used to represent all possible values a field may take.
-// The following shows which Go type is used to represent each proto Kind:
+// The following shows which Go type is used to represent each proto [Kind]:
//
// â•”â•â•â•â•â•â•â•â•â•â•â•â•â•¤â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
// ║ Go type │ Protobuf kind ║
@@ -31,22 +31,22 @@ import (
//
// Multiple protobuf Kinds may be represented by a single Go type if the type
// can losslessly represent the information for the proto kind. For example,
-// Int64Kind, Sint64Kind, and Sfixed64Kind are all represented by int64,
+// [Int64Kind], [Sint64Kind], and [Sfixed64Kind] are all represented by int64,
// but use different integer encoding methods.
//
-// The List or Map types are used if the field cardinality is repeated.
-// A field is a List if FieldDescriptor.IsList reports true.
-// A field is a Map if FieldDescriptor.IsMap reports true.
+// The [List] or [Map] types are used if the field cardinality is repeated.
+// A field is a [List] if [FieldDescriptor.IsList] reports true.
+// A field is a [Map] if [FieldDescriptor.IsMap] reports true.
//
// Converting to/from a Value and a concrete Go value panics on type mismatch.
-// For example, ValueOf("hello").Int() panics because this attempts to
+// For example, [ValueOf]("hello").Int() panics because this attempts to
// retrieve an int64 from a string.
//
-// List, Map, and Message Values are called "composite" values.
+// [List], [Map], and [Message] Values are called "composite" values.
//
// A composite Value may alias (reference) memory at some location,
// such that changes to the Value updates the that location.
-// A composite value acquired with a Mutable method, such as Message.Mutable,
+// A composite value acquired with a Mutable method, such as [Message.Mutable],
// always references the source object.
//
// For example:
@@ -65,7 +65,7 @@ import (
// // appending to the List here may or may not modify the message.
// list.Append(protoreflect.ValueOfInt32(0))
//
-// Some operations, such as Message.Get, may return an "empty, read-only"
+// Some operations, such as [Message.Get], may return an "empty, read-only"
// composite Value. Modifying an empty, read-only value panics.
type Value value
@@ -306,7 +306,7 @@ func (v Value) Float() float64 {
}
}
-// String returns v as a string. Since this method implements fmt.Stringer,
+// String returns v as a string. Since this method implements [fmt.Stringer],
// this returns the formatted string value for any non-string type.
func (v Value) String() string {
switch v.typ {
@@ -327,7 +327,7 @@ func (v Value) Bytes() []byte {
}
}
-// Enum returns v as a EnumNumber and panics if the type is not a EnumNumber.
+// Enum returns v as a [EnumNumber] and panics if the type is not a [EnumNumber].
func (v Value) Enum() EnumNumber {
switch v.typ {
case enumType:
@@ -337,7 +337,7 @@ func (v Value) Enum() EnumNumber {
}
}
-// Message returns v as a Message and panics if the type is not a Message.
+// Message returns v as a [Message] and panics if the type is not a [Message].
func (v Value) Message() Message {
switch vi := v.getIface().(type) {
case Message:
@@ -347,7 +347,7 @@ func (v Value) Message() Message {
}
}
-// List returns v as a List and panics if the type is not a List.
+// List returns v as a [List] and panics if the type is not a [List].
func (v Value) List() List {
switch vi := v.getIface().(type) {
case List:
@@ -357,7 +357,7 @@ func (v Value) List() List {
}
}
-// Map returns v as a Map and panics if the type is not a Map.
+// Map returns v as a [Map] and panics if the type is not a [Map].
func (v Value) Map() Map {
switch vi := v.getIface().(type) {
case Map:
@@ -367,7 +367,7 @@ func (v Value) Map() Map {
}
}
-// MapKey returns v as a MapKey and panics for invalid MapKey types.
+// MapKey returns v as a [MapKey] and panics for invalid [MapKey] types.
func (v Value) MapKey() MapKey {
switch v.typ {
case boolType, int32Type, int64Type, uint32Type, uint64Type, stringType:
@@ -378,8 +378,8 @@ func (v Value) MapKey() MapKey {
}
// MapKey is used to index maps, where the Go type of the MapKey must match
-// the specified key Kind (see MessageDescriptor.IsMapEntry).
-// The following shows what Go type is used to represent each proto Kind:
+// the specified key [Kind] (see [MessageDescriptor.IsMapEntry]).
+// The following shows what Go type is used to represent each proto [Kind]:
//
// â•”â•â•â•â•â•â•â•â•â•â•¤â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•—
// ║ Go type │ Protobuf kind ║
@@ -392,13 +392,13 @@ func (v Value) MapKey() MapKey {
// ║ string │ StringKind ║
// â•šâ•â•â•â•â•â•â•â•â•â•§â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
//
-// A MapKey is constructed and accessed through a Value:
+// A MapKey is constructed and accessed through a [Value]:
//
// k := ValueOf("hash").MapKey() // convert string to MapKey
// s := k.String() // convert MapKey to string
//
-// The MapKey is a strict subset of valid types used in Value;
-// converting a Value to a MapKey with an invalid type panics.
+// The MapKey is a strict subset of valid types used in [Value];
+// converting a [Value] to a MapKey with an invalid type panics.
type MapKey value
// IsValid reports whether k is populated with a value.
@@ -426,13 +426,13 @@ func (k MapKey) Uint() uint64 {
return Value(k).Uint()
}
-// String returns k as a string. Since this method implements fmt.Stringer,
+// String returns k as a string. Since this method implements [fmt.Stringer],
// this returns the formatted string value for any non-string type.
func (k MapKey) String() string {
return Value(k).String()
}
-// Value returns k as a Value.
+// Value returns k as a [Value].
func (k MapKey) Value() Value {
return Value(k)
}
diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go121.go
index 702ddf22a2..4354701117 100644
--- a/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.go
+++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go121.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build !purego && !appengine
-// +build !purego,!appengine
+//go:build !purego && !appengine && go1.21
+// +build !purego,!appengine,go1.21
package protoreflect
@@ -14,16 +14,8 @@ import (
)
type (
- stringHeader struct {
- Data unsafe.Pointer
- Len int
- }
- sliceHeader struct {
- Data unsafe.Pointer
- Len int
- Cap int
- }
ifaceHeader struct {
+ _ [0]interface{} // if interfaces have greater alignment than unsafe.Pointer, this will enforce it.
Type unsafe.Pointer
Data unsafe.Pointer
}
@@ -73,25 +65,21 @@ type value struct {
}
func valueOfString(v string) Value {
- p := (*stringHeader)(unsafe.Pointer(&v))
- return Value{typ: stringType, ptr: p.Data, num: uint64(len(v))}
+ return Value{typ: stringType, ptr: unsafe.Pointer(unsafe.StringData(v)), num: uint64(len(v))}
}
func valueOfBytes(v []byte) Value {
- p := (*sliceHeader)(unsafe.Pointer(&v))
- return Value{typ: bytesType, ptr: p.Data, num: uint64(len(v))}
+ return Value{typ: bytesType, ptr: unsafe.Pointer(unsafe.SliceData(v)), num: uint64(len(v))}
}
func valueOfIface(v interface{}) Value {
p := (*ifaceHeader)(unsafe.Pointer(&v))
return Value{typ: p.Type, ptr: p.Data}
}
-func (v Value) getString() (x string) {
- *(*stringHeader)(unsafe.Pointer(&x)) = stringHeader{Data: v.ptr, Len: int(v.num)}
- return x
+func (v Value) getString() string {
+ return unsafe.String((*byte)(v.ptr), v.num)
}
-func (v Value) getBytes() (x []byte) {
- *(*sliceHeader)(unsafe.Pointer(&x)) = sliceHeader{Data: v.ptr, Len: int(v.num), Cap: int(v.num)}
- return x
+func (v Value) getBytes() []byte {
+ return unsafe.Slice((*byte)(v.ptr), v.num)
}
func (v Value) getIface() (x interface{}) {
*(*ifaceHeader)(unsafe.Pointer(&x)) = ifaceHeader{Type: v.typ, Data: v.ptr}
diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/ya.make b/vendor/google.golang.org/protobuf/reflect/protoreflect/ya.make
index 2ae7578304..7cef01fc14 100644
--- a/vendor/google.golang.org/protobuf/reflect/protoreflect/ya.make
+++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/ya.make
@@ -11,15 +11,7 @@ SRCS(
value.go
value_equal.go
value_union.go
- value_unsafe.go
-)
-
-GO_TEST_SRCS(
- proto_test.go
- source_test.go
- value_test.go
+ value_unsafe_go121.go
)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/reflect/protoregistry/gotest/ya.make b/vendor/google.golang.org/protobuf/reflect/protoregistry/gotest/ya.make
deleted file mode 100644
index a9d4a12c2a..0000000000
--- a/vendor/google.golang.org/protobuf/reflect/protoregistry/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/reflect/protoregistry)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go b/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go
index aeb5597744..6267dc52a6 100644
--- a/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go
+++ b/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go
@@ -5,12 +5,12 @@
// Package protoregistry provides data structures to register and lookup
// protobuf descriptor types.
//
-// The Files registry contains file descriptors and provides the ability
+// The [Files] registry contains file descriptors and provides the ability
// to iterate over the files or lookup a specific descriptor within the files.
-// Files only contains protobuf descriptors and has no understanding of Go
+// [Files] only contains protobuf descriptors and has no understanding of Go
// type information that may be associated with each descriptor.
//
-// The Types registry contains descriptor types for which there is a known
+// The [Types] registry contains descriptor types for which there is a known
// Go type associated with that descriptor. It provides the ability to iterate
// over the registered types or lookup a type by name.
package protoregistry
@@ -218,7 +218,7 @@ func (r *Files) checkGenProtoConflict(path string) {
// FindDescriptorByName looks up a descriptor by the full name.
//
-// This returns (nil, NotFound) if not found.
+// This returns (nil, [NotFound]) if not found.
func (r *Files) FindDescriptorByName(name protoreflect.FullName) (protoreflect.Descriptor, error) {
if r == nil {
return nil, NotFound
@@ -310,7 +310,7 @@ func (s *nameSuffix) Pop() (name protoreflect.Name) {
// FindFileByPath looks up a file by the path.
//
-// This returns (nil, NotFound) if not found.
+// This returns (nil, [NotFound]) if not found.
// This returns an error if multiple files have the same path.
func (r *Files) FindFileByPath(path string) (protoreflect.FileDescriptor, error) {
if r == nil {
@@ -431,7 +431,7 @@ func rangeTopLevelDescriptors(fd protoreflect.FileDescriptor, f func(protoreflec
// A compliant implementation must deterministically return the same type
// if no error is encountered.
//
-// The Types type implements this interface.
+// The [Types] type implements this interface.
type MessageTypeResolver interface {
// FindMessageByName looks up a message by its full name.
// E.g., "google.protobuf.Any"
@@ -451,7 +451,7 @@ type MessageTypeResolver interface {
// A compliant implementation must deterministically return the same type
// if no error is encountered.
//
-// The Types type implements this interface.
+// The [Types] type implements this interface.
type ExtensionTypeResolver interface {
// FindExtensionByName looks up a extension field by the field's full name.
// Note that this is the full name of the field as determined by
@@ -590,7 +590,7 @@ func (r *Types) register(kind string, desc protoreflect.Descriptor, typ interfac
// FindEnumByName looks up an enum by its full name.
// E.g., "google.protobuf.Field.Kind".
//
-// This returns (nil, NotFound) if not found.
+// This returns (nil, [NotFound]) if not found.
func (r *Types) FindEnumByName(enum protoreflect.FullName) (protoreflect.EnumType, error) {
if r == nil {
return nil, NotFound
@@ -611,7 +611,7 @@ func (r *Types) FindEnumByName(enum protoreflect.FullName) (protoreflect.EnumTyp
// FindMessageByName looks up a message by its full name,
// e.g. "google.protobuf.Any".
//
-// This returns (nil, NotFound) if not found.
+// This returns (nil, [NotFound]) if not found.
func (r *Types) FindMessageByName(message protoreflect.FullName) (protoreflect.MessageType, error) {
if r == nil {
return nil, NotFound
@@ -632,7 +632,7 @@ func (r *Types) FindMessageByName(message protoreflect.FullName) (protoreflect.M
// FindMessageByURL looks up a message by a URL identifier.
// See documentation on google.protobuf.Any.type_url for the URL format.
//
-// This returns (nil, NotFound) if not found.
+// This returns (nil, [NotFound]) if not found.
func (r *Types) FindMessageByURL(url string) (protoreflect.MessageType, error) {
// This function is similar to FindMessageByName but
// truncates anything before and including '/' in the URL.
@@ -662,7 +662,7 @@ func (r *Types) FindMessageByURL(url string) (protoreflect.MessageType, error) {
// where the extension is declared and is unrelated to the full name of the
// message being extended.
//
-// This returns (nil, NotFound) if not found.
+// This returns (nil, [NotFound]) if not found.
func (r *Types) FindExtensionByName(field protoreflect.FullName) (protoreflect.ExtensionType, error) {
if r == nil {
return nil, NotFound
@@ -703,7 +703,7 @@ func (r *Types) FindExtensionByName(field protoreflect.FullName) (protoreflect.E
// FindExtensionByNumber looks up a extension field by the field number
// within some parent message, identified by full name.
//
-// This returns (nil, NotFound) if not found.
+// This returns (nil, [NotFound]) if not found.
func (r *Types) FindExtensionByNumber(message protoreflect.FullName, field protoreflect.FieldNumber) (protoreflect.ExtensionType, error) {
if r == nil {
return nil, NotFound
diff --git a/vendor/google.golang.org/protobuf/reflect/protoregistry/registry_test.go b/vendor/google.golang.org/protobuf/reflect/protoregistry/registry_test.go
deleted file mode 100644
index 8baf12f03b..0000000000
--- a/vendor/google.golang.org/protobuf/reflect/protoregistry/registry_test.go
+++ /dev/null
@@ -1,655 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package protoregistry_test
-
-import (
- "fmt"
- "strings"
- "testing"
-
- "github.com/google/go-cmp/cmp"
- "github.com/google/go-cmp/cmp/cmpopts"
-
- "google.golang.org/protobuf/encoding/prototext"
- pimpl "google.golang.org/protobuf/internal/impl"
- "google.golang.org/protobuf/reflect/protodesc"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/reflect/protoregistry"
-
- testpb "google.golang.org/protobuf/internal/testprotos/registry"
- "google.golang.org/protobuf/types/descriptorpb"
-)
-
-func mustMakeFile(s string) protoreflect.FileDescriptor {
- pb := new(descriptorpb.FileDescriptorProto)
- if err := prototext.Unmarshal([]byte(s), pb); err != nil {
- panic(err)
- }
- fd, err := protodesc.NewFile(pb, nil)
- if err != nil {
- panic(err)
- }
- return fd
-}
-
-func TestFiles(t *testing.T) {
- type (
- file struct {
- Path string
- Pkg protoreflect.FullName
- }
- testFile struct {
- inFile protoreflect.FileDescriptor
- wantErr string
- }
- testFindDesc struct {
- inName protoreflect.FullName
- wantFound bool
- }
- testRangePkg struct {
- inPkg protoreflect.FullName
- wantFiles []file
- }
- testFindPath struct {
- inPath string
- wantFiles []file
- wantErr string
- }
- )
-
- tests := []struct {
- files []testFile
- findDescs []testFindDesc
- rangePkgs []testRangePkg
- findPaths []testFindPath
- }{{
- // Test that overlapping packages and files are permitted.
- files: []testFile{
- {inFile: mustMakeFile(`syntax:"proto2" name:"test1.proto" package:"foo.bar"`)},
- {inFile: mustMakeFile(`syntax:"proto2" name:"foo/bar/test.proto" package:"my.test"`)},
- {inFile: mustMakeFile(`syntax:"proto2" name:"foo/bar/test.proto" package:"foo.bar.baz"`), wantErr: "already registered"},
- {inFile: mustMakeFile(`syntax:"proto2" name:"test2.proto" package:"my.test.package"`)},
- {inFile: mustMakeFile(`syntax:"proto2" name:"weird" package:"foo.bar"`)},
- {inFile: mustMakeFile(`syntax:"proto2" name:"foo/bar/baz/../test.proto" package:"my.test"`)},
- },
-
- rangePkgs: []testRangePkg{{
- inPkg: "nothing",
- }, {
- inPkg: "",
- }, {
- inPkg: ".",
- }, {
- inPkg: "foo",
- }, {
- inPkg: "foo.",
- }, {
- inPkg: "foo..",
- }, {
- inPkg: "foo.bar",
- wantFiles: []file{
- {"test1.proto", "foo.bar"},
- {"weird", "foo.bar"},
- },
- }, {
- inPkg: "my.test",
- wantFiles: []file{
- {"foo/bar/baz/../test.proto", "my.test"},
- {"foo/bar/test.proto", "my.test"},
- },
- }, {
- inPkg: "fo",
- }},
-
- findPaths: []testFindPath{{
- inPath: "nothing",
- wantErr: "not found",
- }, {
- inPath: "weird",
- wantFiles: []file{
- {"weird", "foo.bar"},
- },
- }, {
- inPath: "foo/bar/test.proto",
- wantFiles: []file{
- {"foo/bar/test.proto", "my.test"},
- },
- }},
- }, {
- // Test when new enum conflicts with existing package.
- files: []testFile{{
- inFile: mustMakeFile(`syntax:"proto2" name:"test1a.proto" package:"foo.bar.baz"`),
- }, {
- inFile: mustMakeFile(`syntax:"proto2" name:"test1b.proto" enum_type:[{name:"foo" value:[{name:"VALUE" number:0}]}]`),
- wantErr: `file "test1b.proto" has a name conflict over foo`,
- }},
- }, {
- // Test when new package conflicts with existing enum.
- files: []testFile{{
- inFile: mustMakeFile(`syntax:"proto2" name:"test2a.proto" enum_type:[{name:"foo" value:[{name:"VALUE" number:0}]}]`),
- }, {
- inFile: mustMakeFile(`syntax:"proto2" name:"test2b.proto" package:"foo.bar.baz"`),
- wantErr: `file "test2b.proto" has a package name conflict over foo`,
- }},
- }, {
- // Test when new enum conflicts with existing enum in same package.
- files: []testFile{{
- inFile: mustMakeFile(`syntax:"proto2" name:"test3a.proto" package:"foo" enum_type:[{name:"BAR" value:[{name:"VALUE" number:0}]}]`),
- }, {
- inFile: mustMakeFile(`syntax:"proto2" name:"test3b.proto" package:"foo" enum_type:[{name:"BAR" value:[{name:"VALUE2" number:0}]}]`),
- wantErr: `file "test3b.proto" has a name conflict over foo.BAR`,
- }},
- }, {
- files: []testFile{{
- inFile: mustMakeFile(`
- syntax: "proto2"
- name: "test1.proto"
- package: "fizz.buzz"
- message_type: [{
- name: "Message"
- field: [
- {name:"Field" number:1 label:LABEL_OPTIONAL type:TYPE_STRING oneof_index:0}
- ]
- oneof_decl: [{name:"Oneof"}]
- extension_range: [{start:1000 end:2000}]
-
- enum_type: [
- {name:"Enum" value:[{name:"EnumValue" number:0}]}
- ]
- nested_type: [
- {name:"Message" field:[{name:"Field" number:1 label:LABEL_OPTIONAL type:TYPE_STRING}]}
- ]
- extension: [
- {name:"Extension" number:1001 label:LABEL_OPTIONAL type:TYPE_STRING extendee:".fizz.buzz.Message"}
- ]
- }]
- enum_type: [{
- name: "Enum"
- value: [{name:"EnumValue" number:0}]
- }]
- extension: [
- {name:"Extension" number:1000 label:LABEL_OPTIONAL type:TYPE_STRING extendee:".fizz.buzz.Message"}
- ]
- service: [{
- name: "Service"
- method: [{
- name: "Method"
- input_type: ".fizz.buzz.Message"
- output_type: ".fizz.buzz.Message"
- client_streaming: true
- server_streaming: true
- }]
- }]
- `),
- }, {
- inFile: mustMakeFile(`
- syntax: "proto2"
- name: "test2.proto"
- package: "fizz.buzz.gazz"
- enum_type: [{
- name: "Enum"
- value: [{name:"EnumValue" number:0}]
- }]
- `),
- }, {
- inFile: mustMakeFile(`
- syntax: "proto2"
- name: "test3.proto"
- package: "fizz.buzz"
- enum_type: [{
- name: "Enum1"
- value: [{name:"EnumValue1" number:0}]
- }, {
- name: "Enum2"
- value: [{name:"EnumValue2" number:0}]
- }]
- `),
- }, {
- // Make sure we can register without package name.
- inFile: mustMakeFile(`
- name: "weird"
- syntax: "proto2"
- message_type: [{
- name: "Message"
- nested_type: [{
- name: "Message"
- nested_type: [{
- name: "Message"
- }]
- }]
- }]
- `),
- }},
- findDescs: []testFindDesc{
- {inName: "fizz.buzz.message", wantFound: false},
- {inName: "fizz.buzz.Message", wantFound: true},
- {inName: "fizz.buzz.Message.X", wantFound: false},
- {inName: "fizz.buzz.Field", wantFound: false},
- {inName: "fizz.buzz.Oneof", wantFound: false},
- {inName: "fizz.buzz.Message.Field", wantFound: true},
- {inName: "fizz.buzz.Message.Field.X", wantFound: false},
- {inName: "fizz.buzz.Message.Oneof", wantFound: true},
- {inName: "fizz.buzz.Message.Oneof.X", wantFound: false},
- {inName: "fizz.buzz.Message.Message", wantFound: true},
- {inName: "fizz.buzz.Message.Message.X", wantFound: false},
- {inName: "fizz.buzz.Message.Enum", wantFound: true},
- {inName: "fizz.buzz.Message.Enum.X", wantFound: false},
- {inName: "fizz.buzz.Message.EnumValue", wantFound: true},
- {inName: "fizz.buzz.Message.EnumValue.X", wantFound: false},
- {inName: "fizz.buzz.Message.Extension", wantFound: true},
- {inName: "fizz.buzz.Message.Extension.X", wantFound: false},
- {inName: "fizz.buzz.enum", wantFound: false},
- {inName: "fizz.buzz.Enum", wantFound: true},
- {inName: "fizz.buzz.Enum.X", wantFound: false},
- {inName: "fizz.buzz.EnumValue", wantFound: true},
- {inName: "fizz.buzz.EnumValue.X", wantFound: false},
- {inName: "fizz.buzz.Enum.EnumValue", wantFound: false},
- {inName: "fizz.buzz.Extension", wantFound: true},
- {inName: "fizz.buzz.Extension.X", wantFound: false},
- {inName: "fizz.buzz.service", wantFound: false},
- {inName: "fizz.buzz.Service", wantFound: true},
- {inName: "fizz.buzz.Service.X", wantFound: false},
- {inName: "fizz.buzz.Method", wantFound: false},
- {inName: "fizz.buzz.Service.Method", wantFound: true},
- {inName: "fizz.buzz.Service.Method.X", wantFound: false},
-
- {inName: "fizz.buzz.gazz", wantFound: false},
- {inName: "fizz.buzz.gazz.Enum", wantFound: true},
- {inName: "fizz.buzz.gazz.EnumValue", wantFound: true},
- {inName: "fizz.buzz.gazz.Enum.EnumValue", wantFound: false},
-
- {inName: "fizz.buzz", wantFound: false},
- {inName: "fizz.buzz.Enum1", wantFound: true},
- {inName: "fizz.buzz.EnumValue1", wantFound: true},
- {inName: "fizz.buzz.Enum1.EnumValue1", wantFound: false},
- {inName: "fizz.buzz.Enum2", wantFound: true},
- {inName: "fizz.buzz.EnumValue2", wantFound: true},
- {inName: "fizz.buzz.Enum2.EnumValue2", wantFound: false},
- {inName: "fizz.buzz.Enum3", wantFound: false},
-
- {inName: "", wantFound: false},
- {inName: "Message", wantFound: true},
- {inName: "Message.Message", wantFound: true},
- {inName: "Message.Message.Message", wantFound: true},
- {inName: "Message.Message.Message.Message", wantFound: false},
- },
- }}
-
- sortFiles := cmpopts.SortSlices(func(x, y file) bool {
- return x.Path < y.Path || (x.Path == y.Path && x.Pkg < y.Pkg)
- })
- for _, tt := range tests {
- t.Run("", func(t *testing.T) {
- var files protoregistry.Files
- for i, tc := range tt.files {
- gotErr := files.RegisterFile(tc.inFile)
- if ((gotErr == nil) != (tc.wantErr == "")) || !strings.Contains(fmt.Sprint(gotErr), tc.wantErr) {
- t.Errorf("file %d, Register() = %v, want %v", i, gotErr, tc.wantErr)
- }
- }
-
- for _, tc := range tt.findDescs {
- d, _ := files.FindDescriptorByName(tc.inName)
- gotFound := d != nil
- if gotFound != tc.wantFound {
- t.Errorf("FindDescriptorByName(%v) find mismatch: got %v, want %v", tc.inName, gotFound, tc.wantFound)
- }
- }
-
- for _, tc := range tt.rangePkgs {
- var gotFiles []file
- var gotCnt int
- wantCnt := files.NumFilesByPackage(tc.inPkg)
- files.RangeFilesByPackage(tc.inPkg, func(fd protoreflect.FileDescriptor) bool {
- gotFiles = append(gotFiles, file{fd.Path(), fd.Package()})
- gotCnt++
- return true
- })
- if gotCnt != wantCnt {
- t.Errorf("NumFilesByPackage(%v) = %v, want %v", tc.inPkg, gotCnt, wantCnt)
- }
- if diff := cmp.Diff(tc.wantFiles, gotFiles, sortFiles); diff != "" {
- t.Errorf("RangeFilesByPackage(%v) mismatch (-want +got):\n%v", tc.inPkg, diff)
- }
- }
-
- for _, tc := range tt.findPaths {
- var gotFiles []file
- fd, gotErr := files.FindFileByPath(tc.inPath)
- if gotErr == nil {
- gotFiles = append(gotFiles, file{fd.Path(), fd.Package()})
- }
- if ((gotErr == nil) != (tc.wantErr == "")) || !strings.Contains(fmt.Sprint(gotErr), tc.wantErr) {
- t.Errorf("FindFileByPath(%v) = %v, want %v", tc.inPath, gotErr, tc.wantErr)
- }
- if diff := cmp.Diff(tc.wantFiles, gotFiles, sortFiles); diff != "" {
- t.Errorf("FindFileByPath(%v) mismatch (-want +got):\n%v", tc.inPath, diff)
- }
- }
- })
- }
-}
-
-func TestTypes(t *testing.T) {
- mt1 := pimpl.Export{}.MessageTypeOf(&testpb.Message1{})
- et1 := pimpl.Export{}.EnumTypeOf(testpb.Enum1_ONE)
- xt1 := testpb.E_StringField
- xt2 := testpb.E_Message4_MessageField
- registry := new(protoregistry.Types)
- if err := registry.RegisterMessage(mt1); err != nil {
- t.Fatalf("registry.RegisterMessage(%v) returns unexpected error: %v", mt1.Descriptor().FullName(), err)
- }
- if err := registry.RegisterEnum(et1); err != nil {
- t.Fatalf("registry.RegisterEnum(%v) returns unexpected error: %v", et1.Descriptor().FullName(), err)
- }
- if err := registry.RegisterExtension(xt1); err != nil {
- t.Fatalf("registry.RegisterExtension(%v) returns unexpected error: %v", xt1.TypeDescriptor().FullName(), err)
- }
- if err := registry.RegisterExtension(xt2); err != nil {
- t.Fatalf("registry.RegisterExtension(%v) returns unexpected error: %v", xt2.TypeDescriptor().FullName(), err)
- }
-
- t.Run("FindMessageByName", func(t *testing.T) {
- tests := []struct {
- name string
- messageType protoreflect.MessageType
- wantErr bool
- wantNotFound bool
- }{{
- name: "testprotos.Message1",
- messageType: mt1,
- }, {
- name: "testprotos.NoSuchMessage",
- wantErr: true,
- wantNotFound: true,
- }, {
- name: "testprotos.Enum1",
- wantErr: true,
- }, {
- name: "testprotos.Enum2",
- wantErr: true,
- }, {
- name: "testprotos.Enum3",
- wantErr: true,
- }}
- for _, tc := range tests {
- got, err := registry.FindMessageByName(protoreflect.FullName(tc.name))
- gotErr := err != nil
- if gotErr != tc.wantErr {
- t.Errorf("FindMessageByName(%v) = (_, %v), want error? %t", tc.name, err, tc.wantErr)
- continue
- }
- if tc.wantNotFound && err != protoregistry.NotFound {
- t.Errorf("FindMessageByName(%v) got error: %v, want NotFound error", tc.name, err)
- continue
- }
- if got != tc.messageType {
- t.Errorf("FindMessageByName(%v) got wrong value: %v", tc.name, got)
- }
- }
- })
-
- t.Run("FindMessageByURL", func(t *testing.T) {
- tests := []struct {
- name string
- messageType protoreflect.MessageType
- wantErr bool
- wantNotFound bool
- }{{
- name: "testprotos.Message1",
- messageType: mt1,
- }, {
- name: "type.googleapis.com/testprotos.Nada",
- wantErr: true,
- wantNotFound: true,
- }, {
- name: "testprotos.Enum1",
- wantErr: true,
- }}
- for _, tc := range tests {
- got, err := registry.FindMessageByURL(tc.name)
- gotErr := err != nil
- if gotErr != tc.wantErr {
- t.Errorf("FindMessageByURL(%v) = (_, %v), want error? %t", tc.name, err, tc.wantErr)
- continue
- }
- if tc.wantNotFound && err != protoregistry.NotFound {
- t.Errorf("FindMessageByURL(%v) got error: %v, want NotFound error", tc.name, err)
- continue
- }
- if got != tc.messageType {
- t.Errorf("FindMessageByURL(%v) got wrong value: %v", tc.name, got)
- }
- }
- })
-
- t.Run("FindEnumByName", func(t *testing.T) {
- tests := []struct {
- name string
- enumType protoreflect.EnumType
- wantErr bool
- wantNotFound bool
- }{{
- name: "testprotos.Enum1",
- enumType: et1,
- }, {
- name: "testprotos.None",
- wantErr: true,
- wantNotFound: true,
- }, {
- name: "testprotos.Message1",
- wantErr: true,
- }}
- for _, tc := range tests {
- got, err := registry.FindEnumByName(protoreflect.FullName(tc.name))
- gotErr := err != nil
- if gotErr != tc.wantErr {
- t.Errorf("FindEnumByName(%v) = (_, %v), want error? %t", tc.name, err, tc.wantErr)
- continue
- }
- if tc.wantNotFound && err != protoregistry.NotFound {
- t.Errorf("FindEnumByName(%v) got error: %v, want NotFound error", tc.name, err)
- continue
- }
- if got != tc.enumType {
- t.Errorf("FindEnumByName(%v) got wrong value: %v", tc.name, got)
- }
- }
- })
-
- t.Run("FindExtensionByName", func(t *testing.T) {
- tests := []struct {
- name string
- extensionType protoreflect.ExtensionType
- wantErr bool
- wantNotFound bool
- }{{
- name: "testprotos.string_field",
- extensionType: xt1,
- }, {
- name: "testprotos.Message4.message_field",
- extensionType: xt2,
- }, {
- name: "testprotos.None",
- wantErr: true,
- wantNotFound: true,
- }, {
- name: "testprotos.Message1",
- wantErr: true,
- }}
- for _, tc := range tests {
- got, err := registry.FindExtensionByName(protoreflect.FullName(tc.name))
- gotErr := err != nil
- if gotErr != tc.wantErr {
- t.Errorf("FindExtensionByName(%v) = (_, %v), want error? %t", tc.name, err, tc.wantErr)
- continue
- }
- if tc.wantNotFound && err != protoregistry.NotFound {
- t.Errorf("FindExtensionByName(%v) got error: %v, want NotFound error", tc.name, err)
- continue
- }
- if got != tc.extensionType {
- t.Errorf("FindExtensionByName(%v) got wrong value: %v", tc.name, got)
- }
- }
- })
-
- t.Run("FindExtensionByNumber", func(t *testing.T) {
- tests := []struct {
- parent string
- number int32
- extensionType protoreflect.ExtensionType
- wantErr bool
- wantNotFound bool
- }{{
- parent: "testprotos.Message1",
- number: 11,
- extensionType: xt1,
- }, {
- parent: "testprotos.Message1",
- number: 13,
- wantErr: true,
- wantNotFound: true,
- }, {
- parent: "testprotos.Message1",
- number: 21,
- extensionType: xt2,
- }, {
- parent: "testprotos.Message1",
- number: 23,
- wantErr: true,
- wantNotFound: true,
- }, {
- parent: "testprotos.NoSuchMessage",
- number: 11,
- wantErr: true,
- wantNotFound: true,
- }, {
- parent: "testprotos.Message1",
- number: 30,
- wantErr: true,
- wantNotFound: true,
- }, {
- parent: "testprotos.Message1",
- number: 99,
- wantErr: true,
- wantNotFound: true,
- }}
- for _, tc := range tests {
- got, err := registry.FindExtensionByNumber(protoreflect.FullName(tc.parent), protoreflect.FieldNumber(tc.number))
- gotErr := err != nil
- if gotErr != tc.wantErr {
- t.Errorf("FindExtensionByNumber(%v, %d) = (_, %v), want error? %t", tc.parent, tc.number, err, tc.wantErr)
- continue
- }
- if tc.wantNotFound && err != protoregistry.NotFound {
- t.Errorf("FindExtensionByNumber(%v, %d) got error %v, want NotFound error", tc.parent, tc.number, err)
- continue
- }
- if got != tc.extensionType {
- t.Errorf("FindExtensionByNumber(%v, %d) got wrong value: %v", tc.parent, tc.number, got)
- }
- }
- })
-
- sortTypes := cmp.Options{
- cmpopts.SortSlices(func(x, y protoreflect.EnumType) bool {
- return x.Descriptor().FullName() < y.Descriptor().FullName()
- }),
- cmpopts.SortSlices(func(x, y protoreflect.MessageType) bool {
- return x.Descriptor().FullName() < y.Descriptor().FullName()
- }),
- cmpopts.SortSlices(func(x, y protoreflect.ExtensionType) bool {
- return x.TypeDescriptor().FullName() < y.TypeDescriptor().FullName()
- }),
- }
- compare := cmp.Options{
- cmp.Comparer(func(x, y protoreflect.EnumType) bool {
- return x == y
- }),
- cmp.Comparer(func(x, y protoreflect.ExtensionType) bool {
- return x == y
- }),
- cmp.Comparer(func(x, y protoreflect.MessageType) bool {
- return x == y
- }),
- }
-
- t.Run("RangeEnums", func(t *testing.T) {
- want := []protoreflect.EnumType{et1}
- var got []protoreflect.EnumType
- var gotCnt int
- wantCnt := registry.NumEnums()
- registry.RangeEnums(func(et protoreflect.EnumType) bool {
- got = append(got, et)
- gotCnt++
- return true
- })
-
- if gotCnt != wantCnt {
- t.Errorf("NumEnums() = %v, want %v", gotCnt, wantCnt)
- }
- if diff := cmp.Diff(want, got, sortTypes, compare); diff != "" {
- t.Errorf("RangeEnums() mismatch (-want +got):\n%v", diff)
- }
- })
-
- t.Run("RangeMessages", func(t *testing.T) {
- want := []protoreflect.MessageType{mt1}
- var got []protoreflect.MessageType
- var gotCnt int
- wantCnt := registry.NumMessages()
- registry.RangeMessages(func(mt protoreflect.MessageType) bool {
- got = append(got, mt)
- gotCnt++
- return true
- })
-
- if gotCnt != wantCnt {
- t.Errorf("NumMessages() = %v, want %v", gotCnt, wantCnt)
- }
- if diff := cmp.Diff(want, got, sortTypes, compare); diff != "" {
- t.Errorf("RangeMessages() mismatch (-want +got):\n%v", diff)
- }
- })
-
- t.Run("RangeExtensions", func(t *testing.T) {
- want := []protoreflect.ExtensionType{xt1, xt2}
- var got []protoreflect.ExtensionType
- var gotCnt int
- wantCnt := registry.NumExtensions()
- registry.RangeExtensions(func(xt protoreflect.ExtensionType) bool {
- got = append(got, xt)
- gotCnt++
- return true
- })
-
- if gotCnt != wantCnt {
- t.Errorf("NumExtensions() = %v, want %v", gotCnt, wantCnt)
- }
- if diff := cmp.Diff(want, got, sortTypes, compare); diff != "" {
- t.Errorf("RangeExtensions() mismatch (-want +got):\n%v", diff)
- }
- })
-
- t.Run("RangeExtensionsByMessage", func(t *testing.T) {
- want := []protoreflect.ExtensionType{xt1, xt2}
- var got []protoreflect.ExtensionType
- var gotCnt int
- wantCnt := registry.NumExtensionsByMessage("testprotos.Message1")
- registry.RangeExtensionsByMessage("testprotos.Message1", func(xt protoreflect.ExtensionType) bool {
- got = append(got, xt)
- gotCnt++
- return true
- })
-
- if gotCnt != wantCnt {
- t.Errorf("NumExtensionsByMessage() = %v, want %v", gotCnt, wantCnt)
- }
- if diff := cmp.Diff(want, got, sortTypes, compare); diff != "" {
- t.Errorf("RangeExtensionsByMessage() mismatch (-want +got):\n%v", diff)
- }
- })
-}
diff --git a/vendor/google.golang.org/protobuf/reflect/protoregistry/ya.make b/vendor/google.golang.org/protobuf/reflect/protoregistry/ya.make
index 85b2be5127..a6fda0d69d 100644
--- a/vendor/google.golang.org/protobuf/reflect/protoregistry/ya.make
+++ b/vendor/google.golang.org/protobuf/reflect/protoregistry/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(registry.go)
-
-GO_XTEST_SRCS(registry_test.go)
+SRCS(
+ registry.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/testing/protocmp/util.go b/vendor/google.golang.org/protobuf/testing/protocmp/util.go
index ee66ae9893..dec34f20c4 100644
--- a/vendor/google.golang.org/protobuf/testing/protocmp/util.go
+++ b/vendor/google.golang.org/protobuf/testing/protocmp/util.go
@@ -23,34 +23,34 @@ var (
messageReflectType = reflect.TypeOf(Message{})
)
-// FilterEnum filters opt to only be applicable on standalone Enums,
+// FilterEnum filters opt to only be applicable on a standalone [Enum],
// singular fields of enums, list fields of enums, or map fields of enum values,
// where the enum is the same type as the specified enum.
//
// The Go type of the last path step may be an:
-// - Enum for singular fields, elements of a repeated field,
-// values of a map field, or standalone Enums
-// - []Enum for list fields
-// - map[K]Enum for map fields
-// - interface{} for a Message map entry value
+// - [Enum] for singular fields, elements of a repeated field,
+// values of a map field, or standalone [Enum] values
+// - [][Enum] for list fields
+// - map[K][Enum] for map fields
+// - interface{} for a [Message] map entry value
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func FilterEnum(enum protoreflect.Enum, opt cmp.Option) cmp.Option {
return FilterDescriptor(enum.Descriptor(), opt)
}
-// FilterMessage filters opt to only be applicable on standalone Messages,
+// FilterMessage filters opt to only be applicable on a standalone [Message] values,
// singular fields of messages, list fields of messages, or map fields of
// message values, where the message is the same type as the specified message.
//
// The Go type of the last path step may be an:
-// - Message for singular fields, elements of a repeated field,
-// values of a map field, or standalone Messages
-// - []Message for list fields
-// - map[K]Message for map fields
-// - interface{} for a Message map entry value
+// - [Message] for singular fields, elements of a repeated field,
+// values of a map field, or standalone [Message] values
+// - [][Message] for list fields
+// - map[K][Message] for map fields
+// - interface{} for a [Message] map entry value
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func FilterMessage(message proto.Message, opt cmp.Option) cmp.Option {
return FilterDescriptor(message.ProtoReflect().Descriptor(), opt)
}
@@ -62,9 +62,9 @@ func FilterMessage(message proto.Message, opt cmp.Option) cmp.Option {
// - T for singular fields
// - []T for list fields
// - map[K]T for map fields
-// - interface{} for a Message map entry value
+// - interface{} for a [Message] map entry value
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func FilterField(message proto.Message, name protoreflect.Name, opt cmp.Option) cmp.Option {
md := message.ProtoReflect().Descriptor()
return FilterDescriptor(mustFindFieldDescriptor(md, name), opt)
@@ -78,9 +78,9 @@ func FilterField(message proto.Message, name protoreflect.Name, opt cmp.Option)
// - T for singular fields
// - []T for list fields
// - map[K]T for map fields
-// - interface{} for a Message map entry value
+// - interface{} for a [Message] map entry value
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func FilterOneof(message proto.Message, name protoreflect.Name, opt cmp.Option) cmp.Option {
md := message.ProtoReflect().Descriptor()
return FilterDescriptor(mustFindOneofDescriptor(md, name), opt)
@@ -89,17 +89,17 @@ func FilterOneof(message proto.Message, name protoreflect.Name, opt cmp.Option)
// FilterDescriptor ignores the specified descriptor.
//
// The following descriptor types may be specified:
-// - protoreflect.EnumDescriptor
-// - protoreflect.MessageDescriptor
-// - protoreflect.FieldDescriptor
-// - protoreflect.OneofDescriptor
+// - [protoreflect.EnumDescriptor]
+// - [protoreflect.MessageDescriptor]
+// - [protoreflect.FieldDescriptor]
+// - [protoreflect.OneofDescriptor]
//
// For the behavior of each, see the corresponding filter function.
-// Since this filter accepts a protoreflect.FieldDescriptor, it can be used
-// to also filter for extension fields as a protoreflect.ExtensionDescriptor
-// is just an alias to protoreflect.FieldDescriptor.
+// Since this filter accepts a [protoreflect.FieldDescriptor], it can be used
+// to also filter for extension fields as a [protoreflect.ExtensionDescriptor]
+// is just an alias to [protoreflect.FieldDescriptor].
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func FilterDescriptor(desc protoreflect.Descriptor, opt cmp.Option) cmp.Option {
f := newNameFilters(desc)
return cmp.FilterPath(f.Filter, opt)
@@ -108,7 +108,7 @@ func FilterDescriptor(desc protoreflect.Descriptor, opt cmp.Option) cmp.Option {
// IgnoreEnums ignores all enums of the specified types.
// It is equivalent to FilterEnum(enum, cmp.Ignore()) for each enum.
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func IgnoreEnums(enums ...protoreflect.Enum) cmp.Option {
var ds []protoreflect.Descriptor
for _, e := range enums {
@@ -118,9 +118,9 @@ func IgnoreEnums(enums ...protoreflect.Enum) cmp.Option {
}
// IgnoreMessages ignores all messages of the specified types.
-// It is equivalent to FilterMessage(message, cmp.Ignore()) for each message.
+// It is equivalent to [FilterMessage](message, [cmp.Ignore]()) for each message.
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func IgnoreMessages(messages ...proto.Message) cmp.Option {
var ds []protoreflect.Descriptor
for _, m := range messages {
@@ -130,10 +130,10 @@ func IgnoreMessages(messages ...proto.Message) cmp.Option {
}
// IgnoreFields ignores the specified fields in the specified message.
-// It is equivalent to FilterField(message, name, cmp.Ignore()) for each field
+// It is equivalent to [FilterField](message, name, [cmp.Ignore]()) for each field
// in the message.
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func IgnoreFields(message proto.Message, names ...protoreflect.Name) cmp.Option {
var ds []protoreflect.Descriptor
md := message.ProtoReflect().Descriptor()
@@ -147,7 +147,7 @@ func IgnoreFields(message proto.Message, names ...protoreflect.Name) cmp.Option
// It is equivalent to FilterOneof(message, name, cmp.Ignore()) for each oneof
// in the message.
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func IgnoreOneofs(message proto.Message, names ...protoreflect.Name) cmp.Option {
var ds []protoreflect.Descriptor
md := message.ProtoReflect().Descriptor()
@@ -158,9 +158,9 @@ func IgnoreOneofs(message proto.Message, names ...protoreflect.Name) cmp.Option
}
// IgnoreDescriptors ignores the specified set of descriptors.
-// It is equivalent to FilterDescriptor(desc, cmp.Ignore()) for each descriptor.
+// It is equivalent to [FilterDescriptor](desc, [cmp.Ignore]()) for each descriptor.
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func IgnoreDescriptors(descs ...protoreflect.Descriptor) cmp.Option {
return cmp.FilterPath(newNameFilters(descs...).Filter, cmp.Ignore())
}
@@ -348,7 +348,7 @@ func (f *nameFilters) filterValue(v reflect.Value) bool {
// explicitly set to the default value.
// This option does not effect elements in a list or entries in a map.
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func IgnoreDefaultScalars() cmp.Option {
return cmp.FilterPath(func(p cmp.Path) bool {
// Filter for Message maps.
@@ -408,10 +408,10 @@ func equalFloat64(x, y float64) bool {
}
// IgnoreEmptyMessages ignores messages that are empty or unpopulated.
-// It applies to standalone Messages, singular message fields,
+// It applies to standalone [Message] values, singular message fields,
// list fields of messages, and map fields of message values.
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func IgnoreEmptyMessages() cmp.Option {
return cmp.FilterPath(func(p cmp.Path) bool {
vx, vy := p.Last().Values()
@@ -490,7 +490,7 @@ func isEmptyMessage(v reflect.Value) bool {
// IgnoreUnknown ignores unknown fields in all messages.
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func IgnoreUnknown() cmp.Option {
return cmp.FilterPath(func(p cmp.Path) bool {
// Filter for Message maps.
@@ -515,16 +515,16 @@ func IgnoreUnknown() cmp.Option {
// The element type T can be one of the following:
// - Go type for a protobuf scalar kind except for an enum
// (i.e., bool, int32, int64, uint32, uint64, float32, float64, string, and []byte)
-// - E where E is a concrete enum type that implements protoreflect.Enum
-// - M where M is a concrete message type that implement proto.Message
+// - E where E is a concrete enum type that implements [protoreflect.Enum]
+// - M where M is a concrete message type that implement [proto.Message]
//
// This option only applies to repeated fields within a protobuf message.
// It does not operate on higher-order Go types that seem like a repeated field.
// For example, a []T outside the context of a protobuf message will not be
// handled by this option. To sort Go slices that are not repeated fields,
-// consider using "github.com/google/go-cmp/cmp/cmpopts".SortSlices instead.
+// consider using [github.com/google/go-cmp/cmp/cmpopts.SortSlices] instead.
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func SortRepeated(lessFunc interface{}) cmp.Option {
t, ok := checkTTBFunc(lessFunc)
if !ok {
@@ -613,8 +613,8 @@ func checkTTBFunc(lessFunc interface{}) (reflect.Type, bool) {
// - Floating-point numbers are sorted in ascending order according to
// the total ordering defined by IEEE-754 (section 5.10).
// - Strings and bytes are sorted lexicographically in ascending order.
-// - Enums are sorted in ascending order based on its numeric value.
-// - Messages are sorted according to some arbitrary ordering
+// - [Enum] values are sorted in ascending order based on its numeric value.
+// - [Message] values are sorted according to some arbitrary ordering
// which is undefined and may change in future implementations.
//
// The ordering chosen for repeated messages is unlikely to be aesthetically
@@ -624,7 +624,7 @@ func checkTTBFunc(lessFunc interface{}) (reflect.Type, bool) {
// ... // user-provided definition for less
// }))
//
-// This must be used in conjunction with Transform.
+// This must be used in conjunction with [Transform].
func SortRepeatedFields(message proto.Message, names ...protoreflect.Name) cmp.Option {
var opts cmp.Options
md := message.ProtoReflect().Descriptor()
diff --git a/vendor/google.golang.org/protobuf/testing/protocmp/xform.go b/vendor/google.golang.org/protobuf/testing/protocmp/xform.go
index 364a55ca76..1527af7ad4 100644
--- a/vendor/google.golang.org/protobuf/testing/protocmp/xform.go
+++ b/vendor/google.golang.org/protobuf/testing/protocmp/xform.go
@@ -3,11 +3,11 @@
// license that can be found in the LICENSE file.
// Package protocmp provides protobuf specific options for the
-// "github.com/google/go-cmp/cmp" package.
+// [github.com/google/go-cmp/cmp] package.
//
-// The primary feature is the Transform option, which transform proto.Message
-// types into a Message map that is suitable for cmp to introspect upon.
-// All other options in this package must be used in conjunction with Transform.
+// The primary feature is the [Transform] option, which transform [proto.Message]
+// types into a [Message] map that is suitable for cmp to introspect upon.
+// All other options in this package must be used in conjunction with [Transform].
package protocmp
import (
@@ -33,7 +33,7 @@ var (
)
// Enum is a dynamic representation of a protocol buffer enum that is
-// suitable for cmp.Equal and cmp.Diff to compare upon.
+// suitable for [cmp.Equal] and [cmp.Diff] to compare upon.
type Enum struct {
num protoreflect.EnumNumber
ed protoreflect.EnumDescriptor
@@ -94,15 +94,15 @@ func (t1 messageMeta) Equal(t2 messageMeta) bool {
}
// Message is a dynamic representation of a protocol buffer message that is
-// suitable for cmp.Equal and cmp.Diff to directly operate upon.
+// suitable for [cmp.Equal] and [cmp.Diff] to directly operate upon.
//
// Every populated known field (excluding extension fields) is stored in the map
// with the key being the short name of the field (e.g., "field_name") and
// the value determined by the kind and cardinality of the field.
//
-// Singular scalars are represented by the same Go type as protoreflect.Value,
-// singular messages are represented by the Message type,
-// singular enums are represented by the Enum type,
+// Singular scalars are represented by the same Go type as [protoreflect.Value],
+// singular messages are represented by the [Message] type,
+// singular enums are represented by the [Enum] type,
// list fields are represented as a Go slice, and
// map fields are represented as a Go map.
//
@@ -112,7 +112,7 @@ func (t1 messageMeta) Equal(t2 messageMeta) bool {
//
// Every unknown field is stored in the map with the key being the field number
// encoded as a decimal string (e.g., "132") and the value being the raw bytes
-// of the encoded field (as the protoreflect.RawFields type).
+// of the encoded field (as the [protoreflect.RawFields] type).
//
// Message values must not be created by or mutated by users.
type Message map[string]interface{}
@@ -132,7 +132,7 @@ func (m Message) Descriptor() protoreflect.MessageDescriptor {
}
// ProtoReflect returns a reflective view of m.
-// It only implements the read-only operations of protoreflect.Message.
+// It only implements the read-only operations of [protoreflect.Message].
// Calling any mutating operations on m panics.
func (m Message) ProtoReflect() protoreflect.Message {
return (reflectMessage)(m)
@@ -162,11 +162,11 @@ func (m Message) String() string {
type option struct{}
-// Transform returns a cmp.Option that converts each proto.Message to a Message.
+// Transform returns a [cmp.Option] that converts each [proto.Message] to a [Message].
// The transformation does not mutate nor alias any converted messages.
//
// The google.protobuf.Any message is automatically unmarshaled such that the
-// "value" field is a Message representing the underlying message value
+// "value" field is a [Message] representing the underlying message value
// assuming it could be resolved and properly unmarshaled.
//
// This does not directly transform higher-order composite Go types.
diff --git a/vendor/google.golang.org/protobuf/testing/protocmp/ya.make b/vendor/google.golang.org/protobuf/testing/protocmp/ya.make
index a9aef9a860..293c3a4f2f 100644
--- a/vendor/google.golang.org/protobuf/testing/protocmp/ya.make
+++ b/vendor/google.golang.org/protobuf/testing/protocmp/ya.make
@@ -8,12 +8,4 @@ SRCS(
xform.go
)
-GO_TEST_SRCS(
- reflect_test.go
- util_test.go
- xform_test.go
-)
-
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/testing/protopack/pack.go b/vendor/google.golang.org/protobuf/testing/protopack/pack.go
index ada10f3391..1cecbac3f7 100644
--- a/vendor/google.golang.org/protobuf/testing/protopack/pack.go
+++ b/vendor/google.golang.org/protobuf/testing/protopack/pack.go
@@ -25,10 +25,10 @@ import (
"google.golang.org/protobuf/reflect/protoreflect"
)
-// Number is the field number; aliased from the protowire package for convenience.
+// Number is the field number; aliased from the [protowire] package for convenience.
type Number = protowire.Number
-// Number type constants; copied from the protowire package for convenience.
+// Number type constants; copied from the [protowire] package for convenience.
const (
MinValidNumber Number = protowire.MinValidNumber
FirstReservedNumber Number = protowire.FirstReservedNumber
@@ -36,10 +36,10 @@ const (
MaxValidNumber Number = protowire.MaxValidNumber
)
-// Type is the wire type; aliased from the protowire package for convenience.
+// Type is the wire type; aliased from the [protowire] package for convenience.
type Type = protowire.Type
-// Wire type constants; copied from the protowire package for convenience.
+// Wire type constants; copied from the [protowire] package for convenience.
const (
VarintType Type = protowire.VarintType
Fixed32Type Type = protowire.Fixed32Type
@@ -50,9 +50,9 @@ const (
)
type (
- // Token is any other type (e.g., Message, Tag, Varint, Float32, etc).
+ // Token is any other type (e.g., [Message], [Tag], [Varint], [Float32], etc).
Token token
- // Message is an ordered sequence of Tokens, where certain tokens may
+ // Message is an ordered sequence of [Token] values, where certain tokens may
// contain other tokens. It is functionally a concrete syntax tree that
// losslessly represents any arbitrary wire data (including invalid input).
Message []Token
@@ -96,10 +96,10 @@ type (
// using more bytes than is strictly necessary. The number of extra bytes
// alone is sufficient to losslessly represent the denormalized varint.
//
- // The value may be one of Tag, Bool, Varint, Svarint, or Uvarint,
+ // The value may be one of [Tag], [Bool], [Varint], [Svarint], or [Uvarint],
// where the varint representation of each token is denormalized.
//
- // Alternatively, the value may be one of String, Bytes, or LengthPrefix,
+ // Alternatively, the value may be one of [String], [Bytes], or [LengthPrefix],
// where the varint representation of the length-prefix is denormalized.
Denormalized struct {
Count uint // number of extra bytes
@@ -249,21 +249,21 @@ func (m Message) Marshal() []byte {
// Unmarshal parses the input protobuf wire data as a syntax tree.
// Any parsing error results in the remainder of the input being
-// concatenated to the message as a Raw type.
+// concatenated to the message as a [Raw] type.
//
// Each tag (a tuple of the field number and wire type) encountered is
-// inserted into the syntax tree as a Tag.
+// inserted into the syntax tree as a [Tag].
//
// The contents of each wire type is mapped to the following Go types:
//
-// VarintType => Uvarint
-// Fixed32Type => Uint32
-// Fixed64Type => Uint64
-// BytesType => Bytes
-// GroupType => Message
+// - [VarintType] ⇒ [Uvarint]
+// - [Fixed32Type] ⇒ [Uint32]
+// - [Fixed64Type] ⇒ [Uint64]
+// - [BytesType] ⇒ [Bytes]
+// - [StartGroupType] and [StartGroupType] ⇒ [Message]
//
// Since the wire format is not self-describing, this function cannot parse
-// sub-messages and will leave them as the Bytes type. Further manual parsing
+// sub-messages and will leave them as the [Bytes] type. Further manual parsing
// can be performed as such:
//
// var m, m1, m2 Message
@@ -280,25 +280,25 @@ func (m *Message) Unmarshal(in []byte) {
// UnmarshalDescriptor parses the input protobuf wire data as a syntax tree
// using the provided message descriptor for more accurate parsing of fields.
-// It operates like Unmarshal, but may use a wider range of Go types to
+// It operates like [Message.Unmarshal], but may use a wider range of Go types to
// represent the wire data.
//
// The contents of each wire type is mapped to one of the following Go types:
//
-// VarintType => Bool, Varint, Svarint, Uvarint
-// Fixed32Type => Int32, Uint32, Float32
-// Fixed64Type => Uint32, Uint64, Float64
-// BytesType => String, Bytes, LengthPrefix
-// GroupType => Message
+// - [VarintType] ⇒ [Bool], [Varint], [Svarint], [Uvarint]
+// - [Fixed32Type] ⇒ [Int32], [Uint32], [Float32]
+// - [Fixed64Type] ⇒ [Uint32], [Uint64], [Float64]
+// - [BytesType] ⇒ [String], [Bytes], [LengthPrefix]
+// - [StartGroupType] and [StartGroupType] ⇒ [Message]
//
-// If the field is unknown, it uses the same mapping as Unmarshal.
+// If the field is unknown, it uses the same mapping as [Message.Unmarshal].
// Known sub-messages are parsed as a Message and packed repeated fields are
-// parsed as a LengthPrefix.
+// parsed as a [LengthPrefix].
func (m *Message) UnmarshalDescriptor(in []byte, desc protoreflect.MessageDescriptor) {
m.unmarshal(in, desc, false)
}
-// UnmarshalAbductive is like UnmarshalDescriptor, but infers abductively
+// UnmarshalAbductive is like [Message.UnmarshalDescriptor], but infers abductively
// whether any unknown bytes values is a message based on whether it is
// a syntactically well-formed message.
//
diff --git a/vendor/google.golang.org/protobuf/testing/protopack/ya.make b/vendor/google.golang.org/protobuf/testing/protopack/ya.make
index 1e3ec30764..bdd0d42ea5 100644
--- a/vendor/google.golang.org/protobuf/testing/protopack/ya.make
+++ b/vendor/google.golang.org/protobuf/testing/protopack/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(pack.go)
-
-GO_TEST_SRCS(pack_test.go)
+SRCS(
+ pack.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/testing/prototest/enum.go b/vendor/google.golang.org/protobuf/testing/prototest/enum.go
deleted file mode 100644
index db9dacd459..0000000000
--- a/vendor/google.golang.org/protobuf/testing/prototest/enum.go
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package prototest
-
-import (
- "testing"
-
- "google.golang.org/protobuf/reflect/protoreflect"
-)
-
-// Enum tests an EnumType implementation.
-type Enum struct{}
-
-func (test Enum) Test(t testing.TB, et protoreflect.EnumType) {
- ed := et.Descriptor()
- values := ed.Values()
- for i := 0; i < values.Len(); i++ {
- evd := values.Get(i)
- num := evd.Number()
- e := et.New(num)
- if e.Descriptor() != ed {
- t.Errorf("enumType.New(%v).Descriptor() != enumType.Descriptor(), should match", num)
- }
- if e.Type() != et {
- t.Errorf("enumType.New(%v).Type() != enumType, should match", num)
- }
- if got, want := e.Number(), num; got != want {
- t.Errorf("enumType.New(%v).Number() = %v, want %v", num, got, want)
- }
- }
-}
diff --git a/vendor/google.golang.org/protobuf/testing/prototest/message.go b/vendor/google.golang.org/protobuf/testing/prototest/message.go
deleted file mode 100644
index d64b0af5f6..0000000000
--- a/vendor/google.golang.org/protobuf/testing/prototest/message.go
+++ /dev/null
@@ -1,893 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Package prototest exercises protobuf reflection.
-package prototest
-
-import (
- "bytes"
- "fmt"
- "math"
- "reflect"
- "sort"
- "strings"
- "testing"
-
- "google.golang.org/protobuf/encoding/prototext"
- "google.golang.org/protobuf/encoding/protowire"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/reflect/protoregistry"
-)
-
-// TODO: Test invalid field descriptors or oneof descriptors.
-// TODO: This should test the functionality that can be provided by fast-paths.
-
-// Message tests a message implementation.
-type Message struct {
- // Resolver is used to determine the list of extension fields to test with.
- // If nil, this defaults to using protoregistry.GlobalTypes.
- Resolver interface {
- FindExtensionByName(field protoreflect.FullName) (protoreflect.ExtensionType, error)
- FindExtensionByNumber(message protoreflect.FullName, field protoreflect.FieldNumber) (protoreflect.ExtensionType, error)
- RangeExtensionsByMessage(message protoreflect.FullName, f func(protoreflect.ExtensionType) bool)
- }
-}
-
-// Test performs tests on a MessageType implementation.
-func (test Message) Test(t testing.TB, mt protoreflect.MessageType) {
- testType(t, mt)
-
- md := mt.Descriptor()
- m1 := mt.New()
- for i := 0; i < md.Fields().Len(); i++ {
- fd := md.Fields().Get(i)
- testField(t, m1, fd)
- }
- if test.Resolver == nil {
- test.Resolver = protoregistry.GlobalTypes
- }
- var extTypes []protoreflect.ExtensionType
- test.Resolver.RangeExtensionsByMessage(md.FullName(), func(e protoreflect.ExtensionType) bool {
- extTypes = append(extTypes, e)
- return true
- })
- for _, xt := range extTypes {
- testField(t, m1, xt.TypeDescriptor())
- }
- for i := 0; i < md.Oneofs().Len(); i++ {
- testOneof(t, m1, md.Oneofs().Get(i))
- }
- testUnknown(t, m1)
-
- // Test round-trip marshal/unmarshal.
- m2 := mt.New().Interface()
- populateMessage(m2.ProtoReflect(), 1, nil)
- for _, xt := range extTypes {
- m2.ProtoReflect().Set(xt.TypeDescriptor(), newValue(m2.ProtoReflect(), xt.TypeDescriptor(), 1, nil))
- }
- b, err := proto.MarshalOptions{
- AllowPartial: true,
- }.Marshal(m2)
- if err != nil {
- t.Errorf("Marshal() = %v, want nil\n%v", err, prototext.Format(m2))
- }
- m3 := mt.New().Interface()
- if err := (proto.UnmarshalOptions{
- AllowPartial: true,
- Resolver: test.Resolver,
- }.Unmarshal(b, m3)); err != nil {
- t.Errorf("Unmarshal() = %v, want nil\n%v", err, prototext.Format(m2))
- }
- if !proto.Equal(m2, m3) {
- t.Errorf("round-trip marshal/unmarshal did not preserve message\nOriginal:\n%v\nNew:\n%v", prototext.Format(m2), prototext.Format(m3))
- }
-}
-
-func testType(t testing.TB, mt protoreflect.MessageType) {
- m := mt.New().Interface()
- want := reflect.TypeOf(m)
- if got := reflect.TypeOf(m.ProtoReflect().Interface()); got != want {
- t.Errorf("type mismatch: reflect.TypeOf(m) != reflect.TypeOf(m.ProtoReflect().Interface()): %v != %v", got, want)
- }
- if got := reflect.TypeOf(m.ProtoReflect().New().Interface()); got != want {
- t.Errorf("type mismatch: reflect.TypeOf(m) != reflect.TypeOf(m.ProtoReflect().New().Interface()): %v != %v", got, want)
- }
- if got := reflect.TypeOf(m.ProtoReflect().Type().Zero().Interface()); got != want {
- t.Errorf("type mismatch: reflect.TypeOf(m) != reflect.TypeOf(m.ProtoReflect().Type().Zero().Interface()): %v != %v", got, want)
- }
- if mt, ok := mt.(protoreflect.MessageFieldTypes); ok {
- testFieldTypes(t, mt)
- }
-}
-
-func testFieldTypes(t testing.TB, mt protoreflect.MessageFieldTypes) {
- descName := func(d protoreflect.Descriptor) protoreflect.FullName {
- if d == nil {
- return "<nil>"
- }
- return d.FullName()
- }
- typeName := func(mt protoreflect.MessageType) protoreflect.FullName {
- if mt == nil {
- return "<nil>"
- }
- return mt.Descriptor().FullName()
- }
- adjustExpr := func(idx int, expr string) string {
- expr = strings.Replace(expr, "fd.", "md.Fields().Get(i).", -1)
- expr = strings.Replace(expr, "(fd)", "(md.Fields().Get(i))", -1)
- expr = strings.Replace(expr, "mti.", "mt.Message(i).", -1)
- expr = strings.Replace(expr, "(i)", fmt.Sprintf("(%d)", idx), -1)
- return expr
- }
- checkEnumDesc := func(idx int, gotExpr, wantExpr string, got, want protoreflect.EnumDescriptor) {
- if got != want {
- t.Errorf("descriptor mismatch: %v != %v: %v != %v", adjustExpr(idx, gotExpr), adjustExpr(idx, wantExpr), descName(got), descName(want))
- }
- }
- checkMessageDesc := func(idx int, gotExpr, wantExpr string, got, want protoreflect.MessageDescriptor) {
- if got != want {
- t.Errorf("descriptor mismatch: %v != %v: %v != %v", adjustExpr(idx, gotExpr), adjustExpr(idx, wantExpr), descName(got), descName(want))
- }
- }
- checkMessageType := func(idx int, gotExpr, wantExpr string, got, want protoreflect.MessageType) {
- if got != want {
- t.Errorf("type mismatch: %v != %v: %v != %v", adjustExpr(idx, gotExpr), adjustExpr(idx, wantExpr), typeName(got), typeName(want))
- }
- }
-
- fds := mt.Descriptor().Fields()
- m := mt.New()
- for i := 0; i < fds.Len(); i++ {
- fd := fds.Get(i)
- switch {
- case fd.IsList():
- if fd.Enum() != nil {
- checkEnumDesc(i,
- "mt.Enum(i).Descriptor()", "fd.Enum()",
- mt.Enum(i).Descriptor(), fd.Enum())
- }
- if fd.Message() != nil {
- checkMessageDesc(i,
- "mt.Message(i).Descriptor()", "fd.Message()",
- mt.Message(i).Descriptor(), fd.Message())
- checkMessageType(i,
- "mt.Message(i)", "m.NewField(fd).List().NewElement().Message().Type()",
- mt.Message(i), m.NewField(fd).List().NewElement().Message().Type())
- }
- case fd.IsMap():
- mti := mt.Message(i)
- if m := mti.New(); m != nil {
- checkMessageDesc(i,
- "m.Descriptor()", "fd.Message()",
- m.Descriptor(), fd.Message())
- }
- if m := mti.Zero(); m != nil {
- checkMessageDesc(i,
- "m.Descriptor()", "fd.Message()",
- m.Descriptor(), fd.Message())
- }
- checkMessageDesc(i,
- "mti.Descriptor()", "fd.Message()",
- mti.Descriptor(), fd.Message())
- if mti := mti.(protoreflect.MessageFieldTypes); mti != nil {
- if fd.MapValue().Enum() != nil {
- checkEnumDesc(i,
- "mti.Enum(fd.MapValue().Index()).Descriptor()", "fd.MapValue().Enum()",
- mti.Enum(fd.MapValue().Index()).Descriptor(), fd.MapValue().Enum())
- }
- if fd.MapValue().Message() != nil {
- checkMessageDesc(i,
- "mti.Message(fd.MapValue().Index()).Descriptor()", "fd.MapValue().Message()",
- mti.Message(fd.MapValue().Index()).Descriptor(), fd.MapValue().Message())
- checkMessageType(i,
- "mti.Message(fd.MapValue().Index())", "m.NewField(fd).Map().NewValue().Message().Type()",
- mti.Message(fd.MapValue().Index()), m.NewField(fd).Map().NewValue().Message().Type())
- }
- }
- default:
- if fd.Enum() != nil {
- checkEnumDesc(i,
- "mt.Enum(i).Descriptor()", "fd.Enum()",
- mt.Enum(i).Descriptor(), fd.Enum())
- }
- if fd.Message() != nil {
- checkMessageDesc(i,
- "mt.Message(i).Descriptor()", "fd.Message()",
- mt.Message(i).Descriptor(), fd.Message())
- checkMessageType(i,
- "mt.Message(i)", "m.NewField(fd).Message().Type()",
- mt.Message(i), m.NewField(fd).Message().Type())
- }
- }
- }
-}
-
-// testField exercises set/get/has/clear of a field.
-func testField(t testing.TB, m protoreflect.Message, fd protoreflect.FieldDescriptor) {
- name := fd.FullName()
- num := fd.Number()
-
- switch {
- case fd.IsList():
- testFieldList(t, m, fd)
- case fd.IsMap():
- testFieldMap(t, m, fd)
- case fd.Message() != nil:
- default:
- if got, want := m.NewField(fd), fd.Default(); !valueEqual(got, want) {
- t.Errorf("Message.NewField(%v) = %v, want default value %v", name, formatValue(got), formatValue(want))
- }
- if fd.Kind() == protoreflect.FloatKind || fd.Kind() == protoreflect.DoubleKind {
- testFieldFloat(t, m, fd)
- }
- }
-
- // Set to a non-zero value, the zero value, different non-zero values.
- for _, n := range []seed{1, 0, minVal, maxVal} {
- v := newValue(m, fd, n, nil)
- m.Set(fd, v)
- wantHas := true
- if n == 0 {
- if fd.Syntax() == protoreflect.Proto3 && fd.Message() == nil {
- wantHas = false
- }
- if fd.IsExtension() {
- wantHas = true
- }
- if fd.Cardinality() == protoreflect.Repeated {
- wantHas = false
- }
- if fd.ContainingOneof() != nil {
- wantHas = true
- }
- }
- if fd.Syntax() == protoreflect.Proto3 && fd.Cardinality() != protoreflect.Repeated && fd.ContainingOneof() == nil && fd.Kind() == protoreflect.EnumKind && v.Enum() == 0 {
- wantHas = false
- }
- if got, want := m.Has(fd), wantHas; got != want {
- t.Errorf("after setting %q to %v:\nMessage.Has(%v) = %v, want %v", name, formatValue(v), num, got, want)
- }
- if got, want := m.Get(fd), v; !valueEqual(got, want) {
- t.Errorf("after setting %q:\nMessage.Get(%v) = %v, want %v", name, num, formatValue(got), formatValue(want))
- }
- found := false
- m.Range(func(d protoreflect.FieldDescriptor, got protoreflect.Value) bool {
- if fd != d {
- return true
- }
- found = true
- if want := v; !valueEqual(got, want) {
- t.Errorf("after setting %q:\nMessage.Range got value %v, want %v", name, formatValue(got), formatValue(want))
- }
- return true
- })
- if got, want := wantHas, found; got != want {
- t.Errorf("after setting %q:\nMessageRange saw field: %v, want %v", name, got, want)
- }
- }
-
- m.Clear(fd)
- if got, want := m.Has(fd), false; got != want {
- t.Errorf("after clearing %q:\nMessage.Has(%v) = %v, want %v", name, num, got, want)
- }
- switch {
- case fd.IsList():
- if got := m.Get(fd); got.List().Len() != 0 {
- t.Errorf("after clearing %q:\nMessage.Get(%v) = %v, want empty list", name, num, formatValue(got))
- }
- case fd.IsMap():
- if got := m.Get(fd); got.Map().Len() != 0 {
- t.Errorf("after clearing %q:\nMessage.Get(%v) = %v, want empty map", name, num, formatValue(got))
- }
- case fd.Message() == nil:
- if got, want := m.Get(fd), fd.Default(); !valueEqual(got, want) {
- t.Errorf("after clearing %q:\nMessage.Get(%v) = %v, want default %v", name, num, formatValue(got), formatValue(want))
- }
- }
-
- // Set to the default value.
- switch {
- case fd.IsList() || fd.IsMap():
- m.Set(fd, m.Mutable(fd))
- if got, want := m.Has(fd), (fd.IsExtension() && fd.Cardinality() != protoreflect.Repeated) || fd.ContainingOneof() != nil; got != want {
- t.Errorf("after setting %q to default:\nMessage.Has(%v) = %v, want %v", name, num, got, want)
- }
- case fd.Message() == nil:
- m.Set(fd, m.Get(fd))
- if got, want := m.Get(fd), fd.Default(); !valueEqual(got, want) {
- t.Errorf("after setting %q to default:\nMessage.Get(%v) = %v, want default %v", name, num, formatValue(got), formatValue(want))
- }
- }
- m.Clear(fd)
-
- // Set to the wrong type.
- v := protoreflect.ValueOfString("")
- if fd.Kind() == protoreflect.StringKind {
- v = protoreflect.ValueOfInt32(0)
- }
- if !panics(func() {
- m.Set(fd, v)
- }) {
- t.Errorf("setting %v to %T succeeds, want panic", name, v.Interface())
- }
-}
-
-// testFieldMap tests set/get/has/clear of entries in a map field.
-func testFieldMap(t testing.TB, m protoreflect.Message, fd protoreflect.FieldDescriptor) {
- name := fd.FullName()
- num := fd.Number()
-
- // New values.
- m.Clear(fd) // start with an empty map
- mapv := m.Get(fd).Map()
- if mapv.IsValid() {
- t.Errorf("after clearing field: message.Get(%v).IsValid() = true, want false", name)
- }
- if got, want := mapv.NewValue(), newMapValue(fd, mapv, 0, nil); !valueEqual(got, want) {
- t.Errorf("message.Get(%v).NewValue() = %v, want %v", name, formatValue(got), formatValue(want))
- }
- if !panics(func() {
- m.Set(fd, protoreflect.ValueOfMap(mapv))
- }) {
- t.Errorf("message.Set(%v, <invalid>) does not panic", name)
- }
- if !panics(func() {
- mapv.Set(newMapKey(fd, 0), newMapValue(fd, mapv, 0, nil))
- }) {
- t.Errorf("message.Get(%v).Set(...) of invalid map does not panic", name)
- }
- mapv = m.Mutable(fd).Map() // mutable map
- if !mapv.IsValid() {
- t.Errorf("message.Mutable(%v).IsValid() = false, want true", name)
- }
- if got, want := mapv.NewValue(), newMapValue(fd, mapv, 0, nil); !valueEqual(got, want) {
- t.Errorf("message.Mutable(%v).NewValue() = %v, want %v", name, formatValue(got), formatValue(want))
- }
-
- // Add values.
- want := make(testMap)
- for i, n := range []seed{1, 0, minVal, maxVal} {
- if got, want := m.Has(fd), i > 0; got != want {
- t.Errorf("after inserting %d elements to %q:\nMessage.Has(%v) = %v, want %v", i, name, num, got, want)
- }
-
- k := newMapKey(fd, n)
- v := newMapValue(fd, mapv, n, nil)
- mapv.Set(k, v)
- want.Set(k, v)
- if got, want := m.Get(fd), protoreflect.ValueOfMap(want); !valueEqual(got, want) {
- t.Errorf("after inserting %d elements to %q:\nMessage.Get(%v) = %v, want %v", i, name, num, formatValue(got), formatValue(want))
- }
- }
-
- // Set values.
- want.Range(func(k protoreflect.MapKey, v protoreflect.Value) bool {
- nv := newMapValue(fd, mapv, 10, nil)
- mapv.Set(k, nv)
- want.Set(k, nv)
- if got, want := m.Get(fd), protoreflect.ValueOfMap(want); !valueEqual(got, want) {
- t.Errorf("after setting element %v of %q:\nMessage.Get(%v) = %v, want %v", formatValue(k.Value()), name, num, formatValue(got), formatValue(want))
- }
- return true
- })
-
- // Clear values.
- want.Range(func(k protoreflect.MapKey, v protoreflect.Value) bool {
- mapv.Clear(k)
- want.Clear(k)
- if got, want := m.Has(fd), want.Len() > 0; got != want {
- t.Errorf("after clearing elements of %q:\nMessage.Has(%v) = %v, want %v", name, num, got, want)
- }
- if got, want := m.Get(fd), protoreflect.ValueOfMap(want); !valueEqual(got, want) {
- t.Errorf("after clearing elements of %q:\nMessage.Get(%v) = %v, want %v", name, num, formatValue(got), formatValue(want))
- }
- return true
- })
- if mapv := m.Get(fd).Map(); mapv.IsValid() {
- t.Errorf("after clearing all elements: message.Get(%v).IsValid() = true, want false %v", name, formatValue(protoreflect.ValueOfMap(mapv)))
- }
-
- // Non-existent map keys.
- missingKey := newMapKey(fd, 1)
- if got, want := mapv.Has(missingKey), false; got != want {
- t.Errorf("non-existent map key in %q: Map.Has(%v) = %v, want %v", name, formatValue(missingKey.Value()), got, want)
- }
- if got, want := mapv.Get(missingKey).IsValid(), false; got != want {
- t.Errorf("non-existent map key in %q: Map.Get(%v).IsValid() = %v, want %v", name, formatValue(missingKey.Value()), got, want)
- }
- mapv.Clear(missingKey) // noop
-
- // Mutable.
- if fd.MapValue().Message() == nil {
- if !panics(func() {
- mapv.Mutable(newMapKey(fd, 1))
- }) {
- t.Errorf("Mutable on %q succeeds, want panic", name)
- }
- } else {
- k := newMapKey(fd, 1)
- v := mapv.Mutable(k)
- if got, want := mapv.Len(), 1; got != want {
- t.Errorf("after Mutable on %q, Map.Len() = %v, want %v", name, got, want)
- }
- populateMessage(v.Message(), 1, nil)
- if !valueEqual(mapv.Get(k), v) {
- t.Errorf("after Mutable on %q, changing new mutable value does not change map entry", name)
- }
- mapv.Clear(k)
- }
-}
-
-type testMap map[interface{}]protoreflect.Value
-
-func (m testMap) Get(k protoreflect.MapKey) protoreflect.Value { return m[k.Interface()] }
-func (m testMap) Set(k protoreflect.MapKey, v protoreflect.Value) { m[k.Interface()] = v }
-func (m testMap) Has(k protoreflect.MapKey) bool { return m.Get(k).IsValid() }
-func (m testMap) Clear(k protoreflect.MapKey) { delete(m, k.Interface()) }
-func (m testMap) Mutable(k protoreflect.MapKey) protoreflect.Value { panic("unimplemented") }
-func (m testMap) Len() int { return len(m) }
-func (m testMap) NewValue() protoreflect.Value { panic("unimplemented") }
-func (m testMap) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) {
- for k, v := range m {
- if !f(protoreflect.ValueOf(k).MapKey(), v) {
- return
- }
- }
-}
-func (m testMap) IsValid() bool { return true }
-
-// testFieldList exercises set/get/append/truncate of values in a list.
-func testFieldList(t testing.TB, m protoreflect.Message, fd protoreflect.FieldDescriptor) {
- name := fd.FullName()
- num := fd.Number()
-
- m.Clear(fd) // start with an empty list
- list := m.Get(fd).List()
- if list.IsValid() {
- t.Errorf("message.Get(%v).IsValid() = true, want false", name)
- }
- if !panics(func() {
- m.Set(fd, protoreflect.ValueOfList(list))
- }) {
- t.Errorf("message.Set(%v, <invalid>) does not panic", name)
- }
- if !panics(func() {
- list.Append(newListElement(fd, list, 0, nil))
- }) {
- t.Errorf("message.Get(%v).Append(...) of invalid list does not panic", name)
- }
- if got, want := list.NewElement(), newListElement(fd, list, 0, nil); !valueEqual(got, want) {
- t.Errorf("message.Get(%v).NewElement() = %v, want %v", name, formatValue(got), formatValue(want))
- }
- list = m.Mutable(fd).List() // mutable list
- if !list.IsValid() {
- t.Errorf("message.Get(%v).IsValid() = false, want true", name)
- }
- if got, want := list.NewElement(), newListElement(fd, list, 0, nil); !valueEqual(got, want) {
- t.Errorf("message.Mutable(%v).NewElement() = %v, want %v", name, formatValue(got), formatValue(want))
- }
-
- // Append values.
- var want protoreflect.List = &testList{}
- for i, n := range []seed{1, 0, minVal, maxVal} {
- if got, want := m.Has(fd), i > 0; got != want {
- t.Errorf("after appending %d elements to %q:\nMessage.Has(%v) = %v, want %v", i, name, num, got, want)
- }
- v := newListElement(fd, list, n, nil)
- want.Append(v)
- list.Append(v)
-
- if got, want := m.Get(fd), protoreflect.ValueOfList(want); !valueEqual(got, want) {
- t.Errorf("after appending %d elements to %q:\nMessage.Get(%v) = %v, want %v", i+1, name, num, formatValue(got), formatValue(want))
- }
- }
-
- // Set values.
- for i := 0; i < want.Len(); i++ {
- v := newListElement(fd, list, seed(i+10), nil)
- want.Set(i, v)
- list.Set(i, v)
- if got, want := m.Get(fd), protoreflect.ValueOfList(want); !valueEqual(got, want) {
- t.Errorf("after setting element %d of %q:\nMessage.Get(%v) = %v, want %v", i, name, num, formatValue(got), formatValue(want))
- }
- }
-
- // Truncate.
- for want.Len() > 0 {
- n := want.Len() - 1
- want.Truncate(n)
- list.Truncate(n)
- if got, want := m.Has(fd), want.Len() > 0; got != want {
- t.Errorf("after truncating %q to %d:\nMessage.Has(%v) = %v, want %v", name, n, num, got, want)
- }
- if got, want := m.Get(fd), protoreflect.ValueOfList(want); !valueEqual(got, want) {
- t.Errorf("after truncating %q to %d:\nMessage.Get(%v) = %v, want %v", name, n, num, formatValue(got), formatValue(want))
- }
- }
-
- // AppendMutable.
- if fd.Message() == nil {
- if !panics(func() {
- list.AppendMutable()
- }) {
- t.Errorf("AppendMutable on %q succeeds, want panic", name)
- }
- } else {
- v := list.AppendMutable()
- if got, want := list.Len(), 1; got != want {
- t.Errorf("after AppendMutable on %q, list.Len() = %v, want %v", name, got, want)
- }
- populateMessage(v.Message(), 1, nil)
- if !valueEqual(list.Get(0), v) {
- t.Errorf("after AppendMutable on %q, changing new mutable value does not change list item 0", name)
- }
- want.Truncate(0)
- }
-}
-
-type testList struct {
- a []protoreflect.Value
-}
-
-func (l *testList) Append(v protoreflect.Value) { l.a = append(l.a, v) }
-func (l *testList) AppendMutable() protoreflect.Value { panic("unimplemented") }
-func (l *testList) Get(n int) protoreflect.Value { return l.a[n] }
-func (l *testList) Len() int { return len(l.a) }
-func (l *testList) Set(n int, v protoreflect.Value) { l.a[n] = v }
-func (l *testList) Truncate(n int) { l.a = l.a[:n] }
-func (l *testList) NewElement() protoreflect.Value { panic("unimplemented") }
-func (l *testList) IsValid() bool { return true }
-
-// testFieldFloat exercises some interesting floating-point scalar field values.
-func testFieldFloat(t testing.TB, m protoreflect.Message, fd protoreflect.FieldDescriptor) {
- name := fd.FullName()
- num := fd.Number()
-
- for _, v := range []float64{math.Inf(-1), math.Inf(1), math.NaN(), math.Copysign(0, -1)} {
- var val protoreflect.Value
- if fd.Kind() == protoreflect.FloatKind {
- val = protoreflect.ValueOfFloat32(float32(v))
- } else {
- val = protoreflect.ValueOfFloat64(float64(v))
- }
- m.Set(fd, val)
- // Note that Has is true for -0.
- if got, want := m.Has(fd), true; got != want {
- t.Errorf("after setting %v to %v: Message.Has(%v) = %v, want %v", name, v, num, got, want)
- }
- if got, want := m.Get(fd), val; !valueEqual(got, want) {
- t.Errorf("after setting %v: Message.Get(%v) = %v, want %v", name, num, formatValue(got), formatValue(want))
- }
- }
-}
-
-// testOneof tests the behavior of fields in a oneof.
-func testOneof(t testing.TB, m protoreflect.Message, od protoreflect.OneofDescriptor) {
- for _, mutable := range []bool{false, true} {
- for i := 0; i < od.Fields().Len(); i++ {
- fda := od.Fields().Get(i)
- if mutable {
- // Set fields by requesting a mutable reference.
- if !fda.IsMap() && !fda.IsList() && fda.Message() == nil {
- continue
- }
- _ = m.Mutable(fda)
- } else {
- // Set fields explicitly.
- m.Set(fda, newValue(m, fda, 1, nil))
- }
- if got, want := m.WhichOneof(od), fda; got != want {
- t.Errorf("after setting oneof field %q:\nWhichOneof(%q) = %v, want %v", fda.FullName(), fda.Name(), got, want)
- }
- for j := 0; j < od.Fields().Len(); j++ {
- fdb := od.Fields().Get(j)
- if got, want := m.Has(fdb), i == j; got != want {
- t.Errorf("after setting oneof field %q:\nGet(%q) = %v, want %v", fda.FullName(), fdb.FullName(), got, want)
- }
- }
- }
- }
-}
-
-// testUnknown tests the behavior of unknown fields.
-func testUnknown(t testing.TB, m protoreflect.Message) {
- var b []byte
- b = protowire.AppendTag(b, 1000, protowire.VarintType)
- b = protowire.AppendVarint(b, 1001)
- m.SetUnknown(protoreflect.RawFields(b))
- if got, want := []byte(m.GetUnknown()), b; !bytes.Equal(got, want) {
- t.Errorf("after setting unknown fields:\nGetUnknown() = %v, want %v", got, want)
- }
-}
-
-func formatValue(v protoreflect.Value) string {
- switch v := v.Interface().(type) {
- case protoreflect.List:
- var buf bytes.Buffer
- buf.WriteString("list[")
- for i := 0; i < v.Len(); i++ {
- if i > 0 {
- buf.WriteString(" ")
- }
- buf.WriteString(formatValue(v.Get(i)))
- }
- buf.WriteString("]")
- return buf.String()
- case protoreflect.Map:
- var buf bytes.Buffer
- buf.WriteString("map[")
- var keys []protoreflect.MapKey
- v.Range(func(k protoreflect.MapKey, v protoreflect.Value) bool {
- keys = append(keys, k)
- return true
- })
- sort.Slice(keys, func(i, j int) bool {
- return keys[i].String() < keys[j].String()
- })
- for i, k := range keys {
- if i > 0 {
- buf.WriteString(" ")
- }
- buf.WriteString(formatValue(k.Value()))
- buf.WriteString(":")
- buf.WriteString(formatValue(v.Get(k)))
- }
- buf.WriteString("]")
- return buf.String()
- case protoreflect.Message:
- b, err := prototext.Marshal(v.Interface())
- if err != nil {
- return fmt.Sprintf("<%v>", err)
- }
- return fmt.Sprintf("%v{%s}", v.Descriptor().FullName(), b)
- case string:
- return fmt.Sprintf("%q", v)
- default:
- return fmt.Sprint(v)
- }
-}
-
-func valueEqual(a, b protoreflect.Value) bool {
- ai, bi := a.Interface(), b.Interface()
- switch ai.(type) {
- case protoreflect.Message:
- return proto.Equal(
- a.Message().Interface(),
- b.Message().Interface(),
- )
- case protoreflect.List:
- lista, listb := a.List(), b.List()
- if lista.Len() != listb.Len() {
- return false
- }
- for i := 0; i < lista.Len(); i++ {
- if !valueEqual(lista.Get(i), listb.Get(i)) {
- return false
- }
- }
- return true
- case protoreflect.Map:
- mapa, mapb := a.Map(), b.Map()
- if mapa.Len() != mapb.Len() {
- return false
- }
- equal := true
- mapa.Range(func(k protoreflect.MapKey, v protoreflect.Value) bool {
- if !valueEqual(v, mapb.Get(k)) {
- equal = false
- return false
- }
- return true
- })
- return equal
- case []byte:
- return bytes.Equal(a.Bytes(), b.Bytes())
- case float32:
- // NaNs are equal, but must be the same NaN.
- return math.Float32bits(ai.(float32)) == math.Float32bits(bi.(float32))
- case float64:
- // NaNs are equal, but must be the same NaN.
- return math.Float64bits(ai.(float64)) == math.Float64bits(bi.(float64))
- default:
- return ai == bi
- }
-}
-
-// A seed is used to vary the content of a value.
-//
-// A seed of 0 is the zero value. Messages do not have a zero-value; a 0-seeded messages
-// is unpopulated.
-//
-// A seed of minVal or maxVal is the least or greatest value of the value type.
-type seed int
-
-const (
- minVal seed = -1
- maxVal seed = -2
-)
-
-// newSeed creates new seed values from a base, for example to create seeds for the
-// elements in a list. If the input seed is minVal or maxVal, so is the output.
-func newSeed(n seed, adjust ...int) seed {
- switch n {
- case minVal, maxVal:
- return n
- }
- for _, a := range adjust {
- n = 10*n + seed(a)
- }
- return n
-}
-
-// newValue returns a new value assignable to a field.
-//
-// The stack parameter is used to avoid infinite recursion when populating circular
-// data structures.
-func newValue(m protoreflect.Message, fd protoreflect.FieldDescriptor, n seed, stack []protoreflect.MessageDescriptor) protoreflect.Value {
- switch {
- case fd.IsList():
- if n == 0 {
- return m.New().Mutable(fd)
- }
- list := m.NewField(fd).List()
- list.Append(newListElement(fd, list, 0, stack))
- list.Append(newListElement(fd, list, minVal, stack))
- list.Append(newListElement(fd, list, maxVal, stack))
- list.Append(newListElement(fd, list, n, stack))
- return protoreflect.ValueOfList(list)
- case fd.IsMap():
- if n == 0 {
- return m.New().Mutable(fd)
- }
- mapv := m.NewField(fd).Map()
- mapv.Set(newMapKey(fd, 0), newMapValue(fd, mapv, 0, stack))
- mapv.Set(newMapKey(fd, minVal), newMapValue(fd, mapv, minVal, stack))
- mapv.Set(newMapKey(fd, maxVal), newMapValue(fd, mapv, maxVal, stack))
- mapv.Set(newMapKey(fd, n), newMapValue(fd, mapv, newSeed(n, 0), stack))
- return protoreflect.ValueOfMap(mapv)
- case fd.Message() != nil:
- return populateMessage(m.NewField(fd).Message(), n, stack)
- default:
- return newScalarValue(fd, n)
- }
-}
-
-func newListElement(fd protoreflect.FieldDescriptor, list protoreflect.List, n seed, stack []protoreflect.MessageDescriptor) protoreflect.Value {
- if fd.Message() == nil {
- return newScalarValue(fd, n)
- }
- return populateMessage(list.NewElement().Message(), n, stack)
-}
-
-func newMapKey(fd protoreflect.FieldDescriptor, n seed) protoreflect.MapKey {
- kd := fd.MapKey()
- return newScalarValue(kd, n).MapKey()
-}
-
-func newMapValue(fd protoreflect.FieldDescriptor, mapv protoreflect.Map, n seed, stack []protoreflect.MessageDescriptor) protoreflect.Value {
- vd := fd.MapValue()
- if vd.Message() == nil {
- return newScalarValue(vd, n)
- }
- return populateMessage(mapv.NewValue().Message(), n, stack)
-}
-
-func newScalarValue(fd protoreflect.FieldDescriptor, n seed) protoreflect.Value {
- switch fd.Kind() {
- case protoreflect.BoolKind:
- return protoreflect.ValueOfBool(n != 0)
- case protoreflect.EnumKind:
- vals := fd.Enum().Values()
- var i int
- switch n {
- case minVal:
- i = 0
- case maxVal:
- i = vals.Len() - 1
- default:
- i = int(n) % vals.Len()
- }
- return protoreflect.ValueOfEnum(vals.Get(i).Number())
- case protoreflect.Int32Kind, protoreflect.Sint32Kind, protoreflect.Sfixed32Kind:
- switch n {
- case minVal:
- return protoreflect.ValueOfInt32(math.MinInt32)
- case maxVal:
- return protoreflect.ValueOfInt32(math.MaxInt32)
- default:
- return protoreflect.ValueOfInt32(int32(n))
- }
- case protoreflect.Uint32Kind, protoreflect.Fixed32Kind:
- switch n {
- case minVal:
- // Only use 0 for the zero value.
- return protoreflect.ValueOfUint32(1)
- case maxVal:
- return protoreflect.ValueOfUint32(math.MaxInt32)
- default:
- return protoreflect.ValueOfUint32(uint32(n))
- }
- case protoreflect.Int64Kind, protoreflect.Sint64Kind, protoreflect.Sfixed64Kind:
- switch n {
- case minVal:
- return protoreflect.ValueOfInt64(math.MinInt64)
- case maxVal:
- return protoreflect.ValueOfInt64(math.MaxInt64)
- default:
- return protoreflect.ValueOfInt64(int64(n))
- }
- case protoreflect.Uint64Kind, protoreflect.Fixed64Kind:
- switch n {
- case minVal:
- // Only use 0 for the zero value.
- return protoreflect.ValueOfUint64(1)
- case maxVal:
- return protoreflect.ValueOfUint64(math.MaxInt64)
- default:
- return protoreflect.ValueOfUint64(uint64(n))
- }
- case protoreflect.FloatKind:
- switch n {
- case minVal:
- return protoreflect.ValueOfFloat32(math.SmallestNonzeroFloat32)
- case maxVal:
- return protoreflect.ValueOfFloat32(math.MaxFloat32)
- default:
- return protoreflect.ValueOfFloat32(1.5 * float32(n))
- }
- case protoreflect.DoubleKind:
- switch n {
- case minVal:
- return protoreflect.ValueOfFloat64(math.SmallestNonzeroFloat64)
- case maxVal:
- return protoreflect.ValueOfFloat64(math.MaxFloat64)
- default:
- return protoreflect.ValueOfFloat64(1.5 * float64(n))
- }
- case protoreflect.StringKind:
- if n == 0 {
- return protoreflect.ValueOfString("")
- }
- return protoreflect.ValueOfString(fmt.Sprintf("%d", n))
- case protoreflect.BytesKind:
- if n == 0 {
- return protoreflect.ValueOfBytes(nil)
- }
- return protoreflect.ValueOfBytes([]byte{byte(n >> 24), byte(n >> 16), byte(n >> 8), byte(n)})
- }
- panic("unhandled kind")
-}
-
-func populateMessage(m protoreflect.Message, n seed, stack []protoreflect.MessageDescriptor) protoreflect.Value {
- if n == 0 {
- return protoreflect.ValueOfMessage(m)
- }
- md := m.Descriptor()
- for _, x := range stack {
- if md == x {
- return protoreflect.ValueOfMessage(m)
- }
- }
- stack = append(stack, md)
- for i := 0; i < md.Fields().Len(); i++ {
- fd := md.Fields().Get(i)
- if fd.IsWeak() {
- continue
- }
- m.Set(fd, newValue(m, fd, newSeed(n, i), stack))
- }
- return protoreflect.ValueOfMessage(m)
-}
-
-func panics(f func()) (didPanic bool) {
- defer func() {
- if err := recover(); err != nil {
- didPanic = true
- }
- }()
- f()
- return false
-}
diff --git a/vendor/google.golang.org/protobuf/testing/prototest/ya.make b/vendor/google.golang.org/protobuf/testing/prototest/ya.make
deleted file mode 100644
index 8b13cdadf1..0000000000
--- a/vendor/google.golang.org/protobuf/testing/prototest/ya.make
+++ /dev/null
@@ -1,14 +0,0 @@
-GO_LIBRARY()
-
-LICENSE(BSD-3-Clause)
-
-SRCS(
- enum.go
- message.go
-)
-
-GO_XTEST_SRCS(prototest_test.go)
-
-END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go b/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go
index 04c00f737c..38daa858d0 100644
--- a/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go
+++ b/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go
@@ -48,6 +48,94 @@ import (
sync "sync"
)
+// The full set of known editions.
+type Edition int32
+
+const (
+ // A placeholder for an unknown edition value.
+ Edition_EDITION_UNKNOWN Edition = 0
+ // Legacy syntax "editions". These pre-date editions, but behave much like
+ // distinct editions. These can't be used to specify the edition of proto
+ // files, but feature definitions must supply proto2/proto3 defaults for
+ // backwards compatibility.
+ Edition_EDITION_PROTO2 Edition = 998
+ Edition_EDITION_PROTO3 Edition = 999
+ // Editions that have been released. The specific values are arbitrary and
+ // should not be depended on, but they will always be time-ordered for easy
+ // comparison.
+ Edition_EDITION_2023 Edition = 1000
+ // Placeholder editions for testing feature resolution. These should not be
+ // used or relyed on outside of tests.
+ Edition_EDITION_1_TEST_ONLY Edition = 1
+ Edition_EDITION_2_TEST_ONLY Edition = 2
+ Edition_EDITION_99997_TEST_ONLY Edition = 99997
+ Edition_EDITION_99998_TEST_ONLY Edition = 99998
+ Edition_EDITION_99999_TEST_ONLY Edition = 99999
+)
+
+// Enum value maps for Edition.
+var (
+ Edition_name = map[int32]string{
+ 0: "EDITION_UNKNOWN",
+ 998: "EDITION_PROTO2",
+ 999: "EDITION_PROTO3",
+ 1000: "EDITION_2023",
+ 1: "EDITION_1_TEST_ONLY",
+ 2: "EDITION_2_TEST_ONLY",
+ 99997: "EDITION_99997_TEST_ONLY",
+ 99998: "EDITION_99998_TEST_ONLY",
+ 99999: "EDITION_99999_TEST_ONLY",
+ }
+ Edition_value = map[string]int32{
+ "EDITION_UNKNOWN": 0,
+ "EDITION_PROTO2": 998,
+ "EDITION_PROTO3": 999,
+ "EDITION_2023": 1000,
+ "EDITION_1_TEST_ONLY": 1,
+ "EDITION_2_TEST_ONLY": 2,
+ "EDITION_99997_TEST_ONLY": 99997,
+ "EDITION_99998_TEST_ONLY": 99998,
+ "EDITION_99999_TEST_ONLY": 99999,
+ }
+)
+
+func (x Edition) Enum() *Edition {
+ p := new(Edition)
+ *p = x
+ return p
+}
+
+func (x Edition) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (Edition) Descriptor() protoreflect.EnumDescriptor {
+ return file_google_protobuf_descriptor_proto_enumTypes[0].Descriptor()
+}
+
+func (Edition) Type() protoreflect.EnumType {
+ return &file_google_protobuf_descriptor_proto_enumTypes[0]
+}
+
+func (x Edition) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *Edition) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = Edition(num)
+ return nil
+}
+
+// Deprecated: Use Edition.Descriptor instead.
+func (Edition) EnumDescriptor() ([]byte, []int) {
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{0}
+}
+
// The verification state of the extension range.
type ExtensionRangeOptions_VerificationState int32
@@ -80,11 +168,11 @@ func (x ExtensionRangeOptions_VerificationState) String() string {
}
func (ExtensionRangeOptions_VerificationState) Descriptor() protoreflect.EnumDescriptor {
- return file_google_protobuf_descriptor_proto_enumTypes[0].Descriptor()
+ return file_google_protobuf_descriptor_proto_enumTypes[1].Descriptor()
}
func (ExtensionRangeOptions_VerificationState) Type() protoreflect.EnumType {
- return &file_google_protobuf_descriptor_proto_enumTypes[0]
+ return &file_google_protobuf_descriptor_proto_enumTypes[1]
}
func (x ExtensionRangeOptions_VerificationState) Number() protoreflect.EnumNumber {
@@ -125,9 +213,10 @@ const (
FieldDescriptorProto_TYPE_BOOL FieldDescriptorProto_Type = 8
FieldDescriptorProto_TYPE_STRING FieldDescriptorProto_Type = 9
// Tag-delimited aggregate.
- // Group type is deprecated and not supported in proto3. However, Proto3
+ // Group type is deprecated and not supported after google.protobuf. However, Proto3
// implementations should still be able to parse the group wire format and
- // treat group fields as unknown fields.
+ // treat group fields as unknown fields. In Editions, the group wire format
+ // can be enabled via the `message_encoding` feature.
FieldDescriptorProto_TYPE_GROUP FieldDescriptorProto_Type = 10
FieldDescriptorProto_TYPE_MESSAGE FieldDescriptorProto_Type = 11 // Length-delimited aggregate.
// New in version 2.
@@ -195,11 +284,11 @@ func (x FieldDescriptorProto_Type) String() string {
}
func (FieldDescriptorProto_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_google_protobuf_descriptor_proto_enumTypes[1].Descriptor()
+ return file_google_protobuf_descriptor_proto_enumTypes[2].Descriptor()
}
func (FieldDescriptorProto_Type) Type() protoreflect.EnumType {
- return &file_google_protobuf_descriptor_proto_enumTypes[1]
+ return &file_google_protobuf_descriptor_proto_enumTypes[2]
}
func (x FieldDescriptorProto_Type) Number() protoreflect.EnumNumber {
@@ -226,21 +315,24 @@ type FieldDescriptorProto_Label int32
const (
// 0 is reserved for errors
FieldDescriptorProto_LABEL_OPTIONAL FieldDescriptorProto_Label = 1
- FieldDescriptorProto_LABEL_REQUIRED FieldDescriptorProto_Label = 2
FieldDescriptorProto_LABEL_REPEATED FieldDescriptorProto_Label = 3
+ // The required label is only allowed in google.protobuf. In proto3 and Editions
+ // it's explicitly prohibited. In Editions, the `field_presence` feature
+ // can be used to get this behavior.
+ FieldDescriptorProto_LABEL_REQUIRED FieldDescriptorProto_Label = 2
)
// Enum value maps for FieldDescriptorProto_Label.
var (
FieldDescriptorProto_Label_name = map[int32]string{
1: "LABEL_OPTIONAL",
- 2: "LABEL_REQUIRED",
3: "LABEL_REPEATED",
+ 2: "LABEL_REQUIRED",
}
FieldDescriptorProto_Label_value = map[string]int32{
"LABEL_OPTIONAL": 1,
- "LABEL_REQUIRED": 2,
"LABEL_REPEATED": 3,
+ "LABEL_REQUIRED": 2,
}
)
@@ -255,11 +347,11 @@ func (x FieldDescriptorProto_Label) String() string {
}
func (FieldDescriptorProto_Label) Descriptor() protoreflect.EnumDescriptor {
- return file_google_protobuf_descriptor_proto_enumTypes[2].Descriptor()
+ return file_google_protobuf_descriptor_proto_enumTypes[3].Descriptor()
}
func (FieldDescriptorProto_Label) Type() protoreflect.EnumType {
- return &file_google_protobuf_descriptor_proto_enumTypes[2]
+ return &file_google_protobuf_descriptor_proto_enumTypes[3]
}
func (x FieldDescriptorProto_Label) Number() protoreflect.EnumNumber {
@@ -316,11 +408,11 @@ func (x FileOptions_OptimizeMode) String() string {
}
func (FileOptions_OptimizeMode) Descriptor() protoreflect.EnumDescriptor {
- return file_google_protobuf_descriptor_proto_enumTypes[3].Descriptor()
+ return file_google_protobuf_descriptor_proto_enumTypes[4].Descriptor()
}
func (FileOptions_OptimizeMode) Type() protoreflect.EnumType {
- return &file_google_protobuf_descriptor_proto_enumTypes[3]
+ return &file_google_protobuf_descriptor_proto_enumTypes[4]
}
func (x FileOptions_OptimizeMode) Number() protoreflect.EnumNumber {
@@ -382,11 +474,11 @@ func (x FieldOptions_CType) String() string {
}
func (FieldOptions_CType) Descriptor() protoreflect.EnumDescriptor {
- return file_google_protobuf_descriptor_proto_enumTypes[4].Descriptor()
+ return file_google_protobuf_descriptor_proto_enumTypes[5].Descriptor()
}
func (FieldOptions_CType) Type() protoreflect.EnumType {
- return &file_google_protobuf_descriptor_proto_enumTypes[4]
+ return &file_google_protobuf_descriptor_proto_enumTypes[5]
}
func (x FieldOptions_CType) Number() protoreflect.EnumNumber {
@@ -444,11 +536,11 @@ func (x FieldOptions_JSType) String() string {
}
func (FieldOptions_JSType) Descriptor() protoreflect.EnumDescriptor {
- return file_google_protobuf_descriptor_proto_enumTypes[5].Descriptor()
+ return file_google_protobuf_descriptor_proto_enumTypes[6].Descriptor()
}
func (FieldOptions_JSType) Type() protoreflect.EnumType {
- return &file_google_protobuf_descriptor_proto_enumTypes[5]
+ return &file_google_protobuf_descriptor_proto_enumTypes[6]
}
func (x FieldOptions_JSType) Number() protoreflect.EnumNumber {
@@ -506,11 +598,11 @@ func (x FieldOptions_OptionRetention) String() string {
}
func (FieldOptions_OptionRetention) Descriptor() protoreflect.EnumDescriptor {
- return file_google_protobuf_descriptor_proto_enumTypes[6].Descriptor()
+ return file_google_protobuf_descriptor_proto_enumTypes[7].Descriptor()
}
func (FieldOptions_OptionRetention) Type() protoreflect.EnumType {
- return &file_google_protobuf_descriptor_proto_enumTypes[6]
+ return &file_google_protobuf_descriptor_proto_enumTypes[7]
}
func (x FieldOptions_OptionRetention) Number() protoreflect.EnumNumber {
@@ -590,11 +682,11 @@ func (x FieldOptions_OptionTargetType) String() string {
}
func (FieldOptions_OptionTargetType) Descriptor() protoreflect.EnumDescriptor {
- return file_google_protobuf_descriptor_proto_enumTypes[7].Descriptor()
+ return file_google_protobuf_descriptor_proto_enumTypes[8].Descriptor()
}
func (FieldOptions_OptionTargetType) Type() protoreflect.EnumType {
- return &file_google_protobuf_descriptor_proto_enumTypes[7]
+ return &file_google_protobuf_descriptor_proto_enumTypes[8]
}
func (x FieldOptions_OptionTargetType) Number() protoreflect.EnumNumber {
@@ -652,11 +744,11 @@ func (x MethodOptions_IdempotencyLevel) String() string {
}
func (MethodOptions_IdempotencyLevel) Descriptor() protoreflect.EnumDescriptor {
- return file_google_protobuf_descriptor_proto_enumTypes[8].Descriptor()
+ return file_google_protobuf_descriptor_proto_enumTypes[9].Descriptor()
}
func (MethodOptions_IdempotencyLevel) Type() protoreflect.EnumType {
- return &file_google_protobuf_descriptor_proto_enumTypes[8]
+ return &file_google_protobuf_descriptor_proto_enumTypes[9]
}
func (x MethodOptions_IdempotencyLevel) Number() protoreflect.EnumNumber {
@@ -678,6 +770,363 @@ func (MethodOptions_IdempotencyLevel) EnumDescriptor() ([]byte, []int) {
return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{17, 0}
}
+type FeatureSet_FieldPresence int32
+
+const (
+ FeatureSet_FIELD_PRESENCE_UNKNOWN FeatureSet_FieldPresence = 0
+ FeatureSet_EXPLICIT FeatureSet_FieldPresence = 1
+ FeatureSet_IMPLICIT FeatureSet_FieldPresence = 2
+ FeatureSet_LEGACY_REQUIRED FeatureSet_FieldPresence = 3
+)
+
+// Enum value maps for FeatureSet_FieldPresence.
+var (
+ FeatureSet_FieldPresence_name = map[int32]string{
+ 0: "FIELD_PRESENCE_UNKNOWN",
+ 1: "EXPLICIT",
+ 2: "IMPLICIT",
+ 3: "LEGACY_REQUIRED",
+ }
+ FeatureSet_FieldPresence_value = map[string]int32{
+ "FIELD_PRESENCE_UNKNOWN": 0,
+ "EXPLICIT": 1,
+ "IMPLICIT": 2,
+ "LEGACY_REQUIRED": 3,
+ }
+)
+
+func (x FeatureSet_FieldPresence) Enum() *FeatureSet_FieldPresence {
+ p := new(FeatureSet_FieldPresence)
+ *p = x
+ return p
+}
+
+func (x FeatureSet_FieldPresence) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (FeatureSet_FieldPresence) Descriptor() protoreflect.EnumDescriptor {
+ return file_google_protobuf_descriptor_proto_enumTypes[10].Descriptor()
+}
+
+func (FeatureSet_FieldPresence) Type() protoreflect.EnumType {
+ return &file_google_protobuf_descriptor_proto_enumTypes[10]
+}
+
+func (x FeatureSet_FieldPresence) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *FeatureSet_FieldPresence) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = FeatureSet_FieldPresence(num)
+ return nil
+}
+
+// Deprecated: Use FeatureSet_FieldPresence.Descriptor instead.
+func (FeatureSet_FieldPresence) EnumDescriptor() ([]byte, []int) {
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 0}
+}
+
+type FeatureSet_EnumType int32
+
+const (
+ FeatureSet_ENUM_TYPE_UNKNOWN FeatureSet_EnumType = 0
+ FeatureSet_OPEN FeatureSet_EnumType = 1
+ FeatureSet_CLOSED FeatureSet_EnumType = 2
+)
+
+// Enum value maps for FeatureSet_EnumType.
+var (
+ FeatureSet_EnumType_name = map[int32]string{
+ 0: "ENUM_TYPE_UNKNOWN",
+ 1: "OPEN",
+ 2: "CLOSED",
+ }
+ FeatureSet_EnumType_value = map[string]int32{
+ "ENUM_TYPE_UNKNOWN": 0,
+ "OPEN": 1,
+ "CLOSED": 2,
+ }
+)
+
+func (x FeatureSet_EnumType) Enum() *FeatureSet_EnumType {
+ p := new(FeatureSet_EnumType)
+ *p = x
+ return p
+}
+
+func (x FeatureSet_EnumType) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (FeatureSet_EnumType) Descriptor() protoreflect.EnumDescriptor {
+ return file_google_protobuf_descriptor_proto_enumTypes[11].Descriptor()
+}
+
+func (FeatureSet_EnumType) Type() protoreflect.EnumType {
+ return &file_google_protobuf_descriptor_proto_enumTypes[11]
+}
+
+func (x FeatureSet_EnumType) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *FeatureSet_EnumType) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = FeatureSet_EnumType(num)
+ return nil
+}
+
+// Deprecated: Use FeatureSet_EnumType.Descriptor instead.
+func (FeatureSet_EnumType) EnumDescriptor() ([]byte, []int) {
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 1}
+}
+
+type FeatureSet_RepeatedFieldEncoding int32
+
+const (
+ FeatureSet_REPEATED_FIELD_ENCODING_UNKNOWN FeatureSet_RepeatedFieldEncoding = 0
+ FeatureSet_PACKED FeatureSet_RepeatedFieldEncoding = 1
+ FeatureSet_EXPANDED FeatureSet_RepeatedFieldEncoding = 2
+)
+
+// Enum value maps for FeatureSet_RepeatedFieldEncoding.
+var (
+ FeatureSet_RepeatedFieldEncoding_name = map[int32]string{
+ 0: "REPEATED_FIELD_ENCODING_UNKNOWN",
+ 1: "PACKED",
+ 2: "EXPANDED",
+ }
+ FeatureSet_RepeatedFieldEncoding_value = map[string]int32{
+ "REPEATED_FIELD_ENCODING_UNKNOWN": 0,
+ "PACKED": 1,
+ "EXPANDED": 2,
+ }
+)
+
+func (x FeatureSet_RepeatedFieldEncoding) Enum() *FeatureSet_RepeatedFieldEncoding {
+ p := new(FeatureSet_RepeatedFieldEncoding)
+ *p = x
+ return p
+}
+
+func (x FeatureSet_RepeatedFieldEncoding) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (FeatureSet_RepeatedFieldEncoding) Descriptor() protoreflect.EnumDescriptor {
+ return file_google_protobuf_descriptor_proto_enumTypes[12].Descriptor()
+}
+
+func (FeatureSet_RepeatedFieldEncoding) Type() protoreflect.EnumType {
+ return &file_google_protobuf_descriptor_proto_enumTypes[12]
+}
+
+func (x FeatureSet_RepeatedFieldEncoding) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *FeatureSet_RepeatedFieldEncoding) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = FeatureSet_RepeatedFieldEncoding(num)
+ return nil
+}
+
+// Deprecated: Use FeatureSet_RepeatedFieldEncoding.Descriptor instead.
+func (FeatureSet_RepeatedFieldEncoding) EnumDescriptor() ([]byte, []int) {
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 2}
+}
+
+type FeatureSet_Utf8Validation int32
+
+const (
+ FeatureSet_UTF8_VALIDATION_UNKNOWN FeatureSet_Utf8Validation = 0
+ FeatureSet_NONE FeatureSet_Utf8Validation = 1
+ FeatureSet_VERIFY FeatureSet_Utf8Validation = 2
+)
+
+// Enum value maps for FeatureSet_Utf8Validation.
+var (
+ FeatureSet_Utf8Validation_name = map[int32]string{
+ 0: "UTF8_VALIDATION_UNKNOWN",
+ 1: "NONE",
+ 2: "VERIFY",
+ }
+ FeatureSet_Utf8Validation_value = map[string]int32{
+ "UTF8_VALIDATION_UNKNOWN": 0,
+ "NONE": 1,
+ "VERIFY": 2,
+ }
+)
+
+func (x FeatureSet_Utf8Validation) Enum() *FeatureSet_Utf8Validation {
+ p := new(FeatureSet_Utf8Validation)
+ *p = x
+ return p
+}
+
+func (x FeatureSet_Utf8Validation) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (FeatureSet_Utf8Validation) Descriptor() protoreflect.EnumDescriptor {
+ return file_google_protobuf_descriptor_proto_enumTypes[13].Descriptor()
+}
+
+func (FeatureSet_Utf8Validation) Type() protoreflect.EnumType {
+ return &file_google_protobuf_descriptor_proto_enumTypes[13]
+}
+
+func (x FeatureSet_Utf8Validation) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *FeatureSet_Utf8Validation) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = FeatureSet_Utf8Validation(num)
+ return nil
+}
+
+// Deprecated: Use FeatureSet_Utf8Validation.Descriptor instead.
+func (FeatureSet_Utf8Validation) EnumDescriptor() ([]byte, []int) {
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 3}
+}
+
+type FeatureSet_MessageEncoding int32
+
+const (
+ FeatureSet_MESSAGE_ENCODING_UNKNOWN FeatureSet_MessageEncoding = 0
+ FeatureSet_LENGTH_PREFIXED FeatureSet_MessageEncoding = 1
+ FeatureSet_DELIMITED FeatureSet_MessageEncoding = 2
+)
+
+// Enum value maps for FeatureSet_MessageEncoding.
+var (
+ FeatureSet_MessageEncoding_name = map[int32]string{
+ 0: "MESSAGE_ENCODING_UNKNOWN",
+ 1: "LENGTH_PREFIXED",
+ 2: "DELIMITED",
+ }
+ FeatureSet_MessageEncoding_value = map[string]int32{
+ "MESSAGE_ENCODING_UNKNOWN": 0,
+ "LENGTH_PREFIXED": 1,
+ "DELIMITED": 2,
+ }
+)
+
+func (x FeatureSet_MessageEncoding) Enum() *FeatureSet_MessageEncoding {
+ p := new(FeatureSet_MessageEncoding)
+ *p = x
+ return p
+}
+
+func (x FeatureSet_MessageEncoding) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (FeatureSet_MessageEncoding) Descriptor() protoreflect.EnumDescriptor {
+ return file_google_protobuf_descriptor_proto_enumTypes[14].Descriptor()
+}
+
+func (FeatureSet_MessageEncoding) Type() protoreflect.EnumType {
+ return &file_google_protobuf_descriptor_proto_enumTypes[14]
+}
+
+func (x FeatureSet_MessageEncoding) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *FeatureSet_MessageEncoding) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = FeatureSet_MessageEncoding(num)
+ return nil
+}
+
+// Deprecated: Use FeatureSet_MessageEncoding.Descriptor instead.
+func (FeatureSet_MessageEncoding) EnumDescriptor() ([]byte, []int) {
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 4}
+}
+
+type FeatureSet_JsonFormat int32
+
+const (
+ FeatureSet_JSON_FORMAT_UNKNOWN FeatureSet_JsonFormat = 0
+ FeatureSet_ALLOW FeatureSet_JsonFormat = 1
+ FeatureSet_LEGACY_BEST_EFFORT FeatureSet_JsonFormat = 2
+)
+
+// Enum value maps for FeatureSet_JsonFormat.
+var (
+ FeatureSet_JsonFormat_name = map[int32]string{
+ 0: "JSON_FORMAT_UNKNOWN",
+ 1: "ALLOW",
+ 2: "LEGACY_BEST_EFFORT",
+ }
+ FeatureSet_JsonFormat_value = map[string]int32{
+ "JSON_FORMAT_UNKNOWN": 0,
+ "ALLOW": 1,
+ "LEGACY_BEST_EFFORT": 2,
+ }
+)
+
+func (x FeatureSet_JsonFormat) Enum() *FeatureSet_JsonFormat {
+ p := new(FeatureSet_JsonFormat)
+ *p = x
+ return p
+}
+
+func (x FeatureSet_JsonFormat) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (FeatureSet_JsonFormat) Descriptor() protoreflect.EnumDescriptor {
+ return file_google_protobuf_descriptor_proto_enumTypes[15].Descriptor()
+}
+
+func (FeatureSet_JsonFormat) Type() protoreflect.EnumType {
+ return &file_google_protobuf_descriptor_proto_enumTypes[15]
+}
+
+func (x FeatureSet_JsonFormat) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *FeatureSet_JsonFormat) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = FeatureSet_JsonFormat(num)
+ return nil
+}
+
+// Deprecated: Use FeatureSet_JsonFormat.Descriptor instead.
+func (FeatureSet_JsonFormat) EnumDescriptor() ([]byte, []int) {
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 5}
+}
+
// Represents the identified object's effect on the element in the original
// .proto file.
type GeneratedCodeInfo_Annotation_Semantic int32
@@ -716,11 +1165,11 @@ func (x GeneratedCodeInfo_Annotation_Semantic) String() string {
}
func (GeneratedCodeInfo_Annotation_Semantic) Descriptor() protoreflect.EnumDescriptor {
- return file_google_protobuf_descriptor_proto_enumTypes[9].Descriptor()
+ return file_google_protobuf_descriptor_proto_enumTypes[16].Descriptor()
}
func (GeneratedCodeInfo_Annotation_Semantic) Type() protoreflect.EnumType {
- return &file_google_protobuf_descriptor_proto_enumTypes[9]
+ return &file_google_protobuf_descriptor_proto_enumTypes[16]
}
func (x GeneratedCodeInfo_Annotation_Semantic) Number() protoreflect.EnumNumber {
@@ -739,7 +1188,7 @@ func (x *GeneratedCodeInfo_Annotation_Semantic) UnmarshalJSON(b []byte) error {
// Deprecated: Use GeneratedCodeInfo_Annotation_Semantic.Descriptor instead.
func (GeneratedCodeInfo_Annotation_Semantic) EnumDescriptor() ([]byte, []int) {
- return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{20, 0, 0}
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{22, 0, 0}
}
// The protocol compiler can output a FileDescriptorSet containing the .proto
@@ -822,8 +1271,8 @@ type FileDescriptorProto struct {
//
// If `edition` is present, this value must be "editions".
Syntax *string `protobuf:"bytes,12,opt,name=syntax" json:"syntax,omitempty"`
- // The edition of the proto file, which is an opaque string.
- Edition *string `protobuf:"bytes,13,opt,name=edition" json:"edition,omitempty"`
+ // The edition of the proto file.
+ Edition *Edition `protobuf:"varint,14,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"`
}
func (x *FileDescriptorProto) Reset() {
@@ -942,11 +1391,11 @@ func (x *FileDescriptorProto) GetSyntax() string {
return ""
}
-func (x *FileDescriptorProto) GetEdition() string {
+func (x *FileDescriptorProto) GetEdition() Edition {
if x != nil && x.Edition != nil {
return *x.Edition
}
- return ""
+ return Edition_EDITION_UNKNOWN
}
// Describes a message type.
@@ -1079,13 +1528,14 @@ type ExtensionRangeOptions struct {
// The parser stores options it doesn't recognize here. See above.
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
- // go/protobuf-stripping-extension-declarations
- // Like Metadata, but we use a repeated field to hold all extension
- // declarations. This should avoid the size increases of transforming a large
- // extension range into small ranges in generated binaries.
+ // For external users: DO NOT USE. We are in the process of open sourcing
+ // extension declaration and executing internal cleanups before it can be
+ // used externally.
Declaration []*ExtensionRangeOptions_Declaration `protobuf:"bytes,2,rep,name=declaration" json:"declaration,omitempty"`
+ // Any features defined in the specific edition.
+ Features *FeatureSet `protobuf:"bytes,50,opt,name=features" json:"features,omitempty"`
// The verification state of the range.
- // TODO(b/278783756): flip the default to DECLARATION once all empty ranges
+ // TODO: flip the default to DECLARATION once all empty ranges
// are marked as UNVERIFIED.
Verification *ExtensionRangeOptions_VerificationState `protobuf:"varint,3,opt,name=verification,enum=google.protobuf.ExtensionRangeOptions_VerificationState,def=1" json:"verification,omitempty"`
}
@@ -1141,6 +1591,13 @@ func (x *ExtensionRangeOptions) GetDeclaration() []*ExtensionRangeOptions_Declar
return nil
}
+func (x *ExtensionRangeOptions) GetFeatures() *FeatureSet {
+ if x != nil {
+ return x.Features
+ }
+ return nil
+}
+
func (x *ExtensionRangeOptions) GetVerification() ExtensionRangeOptions_VerificationState {
if x != nil && x.Verification != nil {
return *x.Verification
@@ -1772,6 +2229,8 @@ type FileOptions struct {
// is empty. When this option is not set, the package name will be used for
// determining the ruby package.
RubyPackage *string `protobuf:"bytes,45,opt,name=ruby_package,json=rubyPackage" json:"ruby_package,omitempty"`
+ // Any features defined in the specific edition.
+ Features *FeatureSet `protobuf:"bytes,50,opt,name=features" json:"features,omitempty"`
// The parser stores options it doesn't recognize here.
// See the documentation for the "Options" section above.
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
@@ -1963,6 +2422,13 @@ func (x *FileOptions) GetRubyPackage() string {
return ""
}
+func (x *FileOptions) GetFeatures() *FeatureSet {
+ if x != nil {
+ return x.Features
+ }
+ return nil
+}
+
func (x *FileOptions) GetUninterpretedOption() []*UninterpretedOption {
if x != nil {
return x.UninterpretedOption
@@ -2039,11 +2505,13 @@ type MessageOptions struct {
// This should only be used as a temporary measure against broken builds due
// to the change in behavior for JSON field name conflicts.
//
- // TODO(b/261750190) This is legacy behavior we plan to remove once downstream
+ // TODO This is legacy behavior we plan to remove once downstream
// teams have had time to migrate.
//
// Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
DeprecatedLegacyJsonFieldConflicts *bool `protobuf:"varint,11,opt,name=deprecated_legacy_json_field_conflicts,json=deprecatedLegacyJsonFieldConflicts" json:"deprecated_legacy_json_field_conflicts,omitempty"`
+ // Any features defined in the specific edition.
+ Features *FeatureSet `protobuf:"bytes,12,opt,name=features" json:"features,omitempty"`
// The parser stores options it doesn't recognize here. See above.
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
}
@@ -2123,6 +2591,13 @@ func (x *MessageOptions) GetDeprecatedLegacyJsonFieldConflicts() bool {
return false
}
+func (x *MessageOptions) GetFeatures() *FeatureSet {
+ if x != nil {
+ return x.Features
+ }
+ return nil
+}
+
func (x *MessageOptions) GetUninterpretedOption() []*UninterpretedOption {
if x != nil {
return x.UninterpretedOption
@@ -2147,7 +2622,9 @@ type FieldOptions struct {
// a more efficient representation on the wire. Rather than repeatedly
// writing the tag and type for each element, the entire array is encoded as
// a single length-delimited blob. In proto3, only explicit setting it to
- // false will avoid using packed encoding.
+ // false will avoid using packed encoding. This option is prohibited in
+ // Editions, but the `repeated_field_encoding` feature can be used to control
+ // the behavior.
Packed *bool `protobuf:"varint,2,opt,name=packed" json:"packed,omitempty"`
// The jstype option determines the JavaScript type used for values of the
// field. The option is permitted only for 64 bit integral and fixed types
@@ -2205,11 +2682,12 @@ type FieldOptions struct {
Weak *bool `protobuf:"varint,10,opt,name=weak,def=0" json:"weak,omitempty"`
// Indicate that the field value should not be printed out when using debug
// formats, e.g. when the field contains sensitive credentials.
- DebugRedact *bool `protobuf:"varint,16,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"`
- Retention *FieldOptions_OptionRetention `protobuf:"varint,17,opt,name=retention,enum=google.protobuf.FieldOptions_OptionRetention" json:"retention,omitempty"`
- // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
- Target *FieldOptions_OptionTargetType `protobuf:"varint,18,opt,name=target,enum=google.protobuf.FieldOptions_OptionTargetType" json:"target,omitempty"`
- Targets []FieldOptions_OptionTargetType `protobuf:"varint,19,rep,name=targets,enum=google.protobuf.FieldOptions_OptionTargetType" json:"targets,omitempty"`
+ DebugRedact *bool `protobuf:"varint,16,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"`
+ Retention *FieldOptions_OptionRetention `protobuf:"varint,17,opt,name=retention,enum=google.protobuf.FieldOptions_OptionRetention" json:"retention,omitempty"`
+ Targets []FieldOptions_OptionTargetType `protobuf:"varint,19,rep,name=targets,enum=google.protobuf.FieldOptions_OptionTargetType" json:"targets,omitempty"`
+ EditionDefaults []*FieldOptions_EditionDefault `protobuf:"bytes,20,rep,name=edition_defaults,json=editionDefaults" json:"edition_defaults,omitempty"`
+ // Any features defined in the specific edition.
+ Features *FeatureSet `protobuf:"bytes,21,opt,name=features" json:"features,omitempty"`
// The parser stores options it doesn't recognize here. See above.
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
}
@@ -2320,17 +2798,23 @@ func (x *FieldOptions) GetRetention() FieldOptions_OptionRetention {
return FieldOptions_RETENTION_UNKNOWN
}
-// Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
-func (x *FieldOptions) GetTarget() FieldOptions_OptionTargetType {
- if x != nil && x.Target != nil {
- return *x.Target
+func (x *FieldOptions) GetTargets() []FieldOptions_OptionTargetType {
+ if x != nil {
+ return x.Targets
}
- return FieldOptions_TARGET_TYPE_UNKNOWN
+ return nil
}
-func (x *FieldOptions) GetTargets() []FieldOptions_OptionTargetType {
+func (x *FieldOptions) GetEditionDefaults() []*FieldOptions_EditionDefault {
if x != nil {
- return x.Targets
+ return x.EditionDefaults
+ }
+ return nil
+}
+
+func (x *FieldOptions) GetFeatures() *FeatureSet {
+ if x != nil {
+ return x.Features
}
return nil
}
@@ -2348,6 +2832,8 @@ type OneofOptions struct {
unknownFields protoimpl.UnknownFields
extensionFields protoimpl.ExtensionFields
+ // Any features defined in the specific edition.
+ Features *FeatureSet `protobuf:"bytes,1,opt,name=features" json:"features,omitempty"`
// The parser stores options it doesn't recognize here. See above.
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
}
@@ -2384,6 +2870,13 @@ func (*OneofOptions) Descriptor() ([]byte, []int) {
return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{13}
}
+func (x *OneofOptions) GetFeatures() *FeatureSet {
+ if x != nil {
+ return x.Features
+ }
+ return nil
+}
+
func (x *OneofOptions) GetUninterpretedOption() []*UninterpretedOption {
if x != nil {
return x.UninterpretedOption
@@ -2409,11 +2902,13 @@ type EnumOptions struct {
// and strips underscored from the fields before comparison in proto3 only.
// The new behavior takes `json_name` into account and applies to proto2 as
// well.
- // TODO(b/261750190) Remove this legacy behavior once downstream teams have
+ // TODO Remove this legacy behavior once downstream teams have
// had time to migrate.
//
// Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
DeprecatedLegacyJsonFieldConflicts *bool `protobuf:"varint,6,opt,name=deprecated_legacy_json_field_conflicts,json=deprecatedLegacyJsonFieldConflicts" json:"deprecated_legacy_json_field_conflicts,omitempty"`
+ // Any features defined in the specific edition.
+ Features *FeatureSet `protobuf:"bytes,7,opt,name=features" json:"features,omitempty"`
// The parser stores options it doesn't recognize here. See above.
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
}
@@ -2477,6 +2972,13 @@ func (x *EnumOptions) GetDeprecatedLegacyJsonFieldConflicts() bool {
return false
}
+func (x *EnumOptions) GetFeatures() *FeatureSet {
+ if x != nil {
+ return x.Features
+ }
+ return nil
+}
+
func (x *EnumOptions) GetUninterpretedOption() []*UninterpretedOption {
if x != nil {
return x.UninterpretedOption
@@ -2495,13 +2997,20 @@ type EnumValueOptions struct {
// for the enum value, or it will be completely ignored; in the very least,
// this is a formalization for deprecating enum values.
Deprecated *bool `protobuf:"varint,1,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
+ // Any features defined in the specific edition.
+ Features *FeatureSet `protobuf:"bytes,2,opt,name=features" json:"features,omitempty"`
+ // Indicate that fields annotated with this enum value should not be printed
+ // out when using debug formats, e.g. when the field contains sensitive
+ // credentials.
+ DebugRedact *bool `protobuf:"varint,3,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"`
// The parser stores options it doesn't recognize here. See above.
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
}
// Default values for EnumValueOptions fields.
const (
- Default_EnumValueOptions_Deprecated = bool(false)
+ Default_EnumValueOptions_Deprecated = bool(false)
+ Default_EnumValueOptions_DebugRedact = bool(false)
)
func (x *EnumValueOptions) Reset() {
@@ -2543,6 +3052,20 @@ func (x *EnumValueOptions) GetDeprecated() bool {
return Default_EnumValueOptions_Deprecated
}
+func (x *EnumValueOptions) GetFeatures() *FeatureSet {
+ if x != nil {
+ return x.Features
+ }
+ return nil
+}
+
+func (x *EnumValueOptions) GetDebugRedact() bool {
+ if x != nil && x.DebugRedact != nil {
+ return *x.DebugRedact
+ }
+ return Default_EnumValueOptions_DebugRedact
+}
+
func (x *EnumValueOptions) GetUninterpretedOption() []*UninterpretedOption {
if x != nil {
return x.UninterpretedOption
@@ -2556,6 +3079,8 @@ type ServiceOptions struct {
unknownFields protoimpl.UnknownFields
extensionFields protoimpl.ExtensionFields
+ // Any features defined in the specific edition.
+ Features *FeatureSet `protobuf:"bytes,34,opt,name=features" json:"features,omitempty"`
// Is this service deprecated?
// Depending on the target platform, this can emit Deprecated annotations
// for the service, or it will be completely ignored; in the very least,
@@ -2602,6 +3127,13 @@ func (*ServiceOptions) Descriptor() ([]byte, []int) {
return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{16}
}
+func (x *ServiceOptions) GetFeatures() *FeatureSet {
+ if x != nil {
+ return x.Features
+ }
+ return nil
+}
+
func (x *ServiceOptions) GetDeprecated() bool {
if x != nil && x.Deprecated != nil {
return *x.Deprecated
@@ -2628,6 +3160,8 @@ type MethodOptions struct {
// this is a formalization for deprecating methods.
Deprecated *bool `protobuf:"varint,33,opt,name=deprecated,def=0" json:"deprecated,omitempty"`
IdempotencyLevel *MethodOptions_IdempotencyLevel `protobuf:"varint,34,opt,name=idempotency_level,json=idempotencyLevel,enum=google.protobuf.MethodOptions_IdempotencyLevel,def=0" json:"idempotency_level,omitempty"`
+ // Any features defined in the specific edition.
+ Features *FeatureSet `protobuf:"bytes,35,opt,name=features" json:"features,omitempty"`
// The parser stores options it doesn't recognize here. See above.
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
}
@@ -2684,6 +3218,13 @@ func (x *MethodOptions) GetIdempotencyLevel() MethodOptions_IdempotencyLevel {
return Default_MethodOptions_IdempotencyLevel
}
+func (x *MethodOptions) GetFeatures() *FeatureSet {
+ if x != nil {
+ return x.Features
+ }
+ return nil
+}
+
func (x *MethodOptions) GetUninterpretedOption() []*UninterpretedOption {
if x != nil {
return x.UninterpretedOption
@@ -2794,6 +3335,171 @@ func (x *UninterpretedOption) GetAggregateValue() string {
return ""
}
+// TODO Enums in C++ gencode (and potentially other languages) are
+// not well scoped. This means that each of the feature enums below can clash
+// with each other. The short names we've chosen maximize call-site
+// readability, but leave us very open to this scenario. A future feature will
+// be designed and implemented to handle this, hopefully before we ever hit a
+// conflict here.
+type FeatureSet struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+ extensionFields protoimpl.ExtensionFields
+
+ FieldPresence *FeatureSet_FieldPresence `protobuf:"varint,1,opt,name=field_presence,json=fieldPresence,enum=google.protobuf.FeatureSet_FieldPresence" json:"field_presence,omitempty"`
+ EnumType *FeatureSet_EnumType `protobuf:"varint,2,opt,name=enum_type,json=enumType,enum=google.protobuf.FeatureSet_EnumType" json:"enum_type,omitempty"`
+ RepeatedFieldEncoding *FeatureSet_RepeatedFieldEncoding `protobuf:"varint,3,opt,name=repeated_field_encoding,json=repeatedFieldEncoding,enum=google.protobuf.FeatureSet_RepeatedFieldEncoding" json:"repeated_field_encoding,omitempty"`
+ Utf8Validation *FeatureSet_Utf8Validation `protobuf:"varint,4,opt,name=utf8_validation,json=utf8Validation,enum=google.protobuf.FeatureSet_Utf8Validation" json:"utf8_validation,omitempty"`
+ MessageEncoding *FeatureSet_MessageEncoding `protobuf:"varint,5,opt,name=message_encoding,json=messageEncoding,enum=google.protobuf.FeatureSet_MessageEncoding" json:"message_encoding,omitempty"`
+ JsonFormat *FeatureSet_JsonFormat `protobuf:"varint,6,opt,name=json_format,json=jsonFormat,enum=google.protobuf.FeatureSet_JsonFormat" json:"json_format,omitempty"`
+}
+
+func (x *FeatureSet) Reset() {
+ *x = FeatureSet{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[19]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *FeatureSet) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FeatureSet) ProtoMessage() {}
+
+func (x *FeatureSet) ProtoReflect() protoreflect.Message {
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[19]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FeatureSet.ProtoReflect.Descriptor instead.
+func (*FeatureSet) Descriptor() ([]byte, []int) {
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19}
+}
+
+func (x *FeatureSet) GetFieldPresence() FeatureSet_FieldPresence {
+ if x != nil && x.FieldPresence != nil {
+ return *x.FieldPresence
+ }
+ return FeatureSet_FIELD_PRESENCE_UNKNOWN
+}
+
+func (x *FeatureSet) GetEnumType() FeatureSet_EnumType {
+ if x != nil && x.EnumType != nil {
+ return *x.EnumType
+ }
+ return FeatureSet_ENUM_TYPE_UNKNOWN
+}
+
+func (x *FeatureSet) GetRepeatedFieldEncoding() FeatureSet_RepeatedFieldEncoding {
+ if x != nil && x.RepeatedFieldEncoding != nil {
+ return *x.RepeatedFieldEncoding
+ }
+ return FeatureSet_REPEATED_FIELD_ENCODING_UNKNOWN
+}
+
+func (x *FeatureSet) GetUtf8Validation() FeatureSet_Utf8Validation {
+ if x != nil && x.Utf8Validation != nil {
+ return *x.Utf8Validation
+ }
+ return FeatureSet_UTF8_VALIDATION_UNKNOWN
+}
+
+func (x *FeatureSet) GetMessageEncoding() FeatureSet_MessageEncoding {
+ if x != nil && x.MessageEncoding != nil {
+ return *x.MessageEncoding
+ }
+ return FeatureSet_MESSAGE_ENCODING_UNKNOWN
+}
+
+func (x *FeatureSet) GetJsonFormat() FeatureSet_JsonFormat {
+ if x != nil && x.JsonFormat != nil {
+ return *x.JsonFormat
+ }
+ return FeatureSet_JSON_FORMAT_UNKNOWN
+}
+
+// A compiled specification for the defaults of a set of features. These
+// messages are generated from FeatureSet extensions and can be used to seed
+// feature resolution. The resolution with this object becomes a simple search
+// for the closest matching edition, followed by proto merges.
+type FeatureSetDefaults struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Defaults []*FeatureSetDefaults_FeatureSetEditionDefault `protobuf:"bytes,1,rep,name=defaults" json:"defaults,omitempty"`
+ // The minimum supported edition (inclusive) when this was constructed.
+ // Editions before this will not have defaults.
+ MinimumEdition *Edition `protobuf:"varint,4,opt,name=minimum_edition,json=minimumEdition,enum=google.protobuf.Edition" json:"minimum_edition,omitempty"`
+ // The maximum known edition (inclusive) when this was constructed. Editions
+ // after this will not have reliable defaults.
+ MaximumEdition *Edition `protobuf:"varint,5,opt,name=maximum_edition,json=maximumEdition,enum=google.protobuf.Edition" json:"maximum_edition,omitempty"`
+}
+
+func (x *FeatureSetDefaults) Reset() {
+ *x = FeatureSetDefaults{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[20]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *FeatureSetDefaults) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FeatureSetDefaults) ProtoMessage() {}
+
+func (x *FeatureSetDefaults) ProtoReflect() protoreflect.Message {
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[20]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FeatureSetDefaults.ProtoReflect.Descriptor instead.
+func (*FeatureSetDefaults) Descriptor() ([]byte, []int) {
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{20}
+}
+
+func (x *FeatureSetDefaults) GetDefaults() []*FeatureSetDefaults_FeatureSetEditionDefault {
+ if x != nil {
+ return x.Defaults
+ }
+ return nil
+}
+
+func (x *FeatureSetDefaults) GetMinimumEdition() Edition {
+ if x != nil && x.MinimumEdition != nil {
+ return *x.MinimumEdition
+ }
+ return Edition_EDITION_UNKNOWN
+}
+
+func (x *FeatureSetDefaults) GetMaximumEdition() Edition {
+ if x != nil && x.MaximumEdition != nil {
+ return *x.MaximumEdition
+ }
+ return Edition_EDITION_UNKNOWN
+}
+
// Encapsulates information about the original source file from which a
// FileDescriptorProto was generated.
type SourceCodeInfo struct {
@@ -2855,7 +3561,7 @@ type SourceCodeInfo struct {
func (x *SourceCodeInfo) Reset() {
*x = SourceCodeInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[19]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2868,7 +3574,7 @@ func (x *SourceCodeInfo) String() string {
func (*SourceCodeInfo) ProtoMessage() {}
func (x *SourceCodeInfo) ProtoReflect() protoreflect.Message {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[19]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2881,7 +3587,7 @@ func (x *SourceCodeInfo) ProtoReflect() protoreflect.Message {
// Deprecated: Use SourceCodeInfo.ProtoReflect.Descriptor instead.
func (*SourceCodeInfo) Descriptor() ([]byte, []int) {
- return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19}
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{21}
}
func (x *SourceCodeInfo) GetLocation() []*SourceCodeInfo_Location {
@@ -2907,7 +3613,7 @@ type GeneratedCodeInfo struct {
func (x *GeneratedCodeInfo) Reset() {
*x = GeneratedCodeInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[20]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2920,7 +3626,7 @@ func (x *GeneratedCodeInfo) String() string {
func (*GeneratedCodeInfo) ProtoMessage() {}
func (x *GeneratedCodeInfo) ProtoReflect() protoreflect.Message {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[20]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2933,7 +3639,7 @@ func (x *GeneratedCodeInfo) ProtoReflect() protoreflect.Message {
// Deprecated: Use GeneratedCodeInfo.ProtoReflect.Descriptor instead.
func (*GeneratedCodeInfo) Descriptor() ([]byte, []int) {
- return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{20}
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{22}
}
func (x *GeneratedCodeInfo) GetAnnotation() []*GeneratedCodeInfo_Annotation {
@@ -2956,7 +3662,7 @@ type DescriptorProto_ExtensionRange struct {
func (x *DescriptorProto_ExtensionRange) Reset() {
*x = DescriptorProto_ExtensionRange{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[21]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2969,7 +3675,7 @@ func (x *DescriptorProto_ExtensionRange) String() string {
func (*DescriptorProto_ExtensionRange) ProtoMessage() {}
func (x *DescriptorProto_ExtensionRange) ProtoReflect() protoreflect.Message {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[21]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3021,7 +3727,7 @@ type DescriptorProto_ReservedRange struct {
func (x *DescriptorProto_ReservedRange) Reset() {
*x = DescriptorProto_ReservedRange{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[22]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3034,7 +3740,7 @@ func (x *DescriptorProto_ReservedRange) String() string {
func (*DescriptorProto_ReservedRange) ProtoMessage() {}
func (x *DescriptorProto_ReservedRange) ProtoReflect() protoreflect.Message {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[22]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3078,10 +3784,6 @@ type ExtensionRangeOptions_Declaration struct {
// Metadata.type, Declaration.type must have a leading dot for messages
// and enums.
Type *string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"`
- // Deprecated. Please use "repeated".
- //
- // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
- IsRepeated *bool `protobuf:"varint,4,opt,name=is_repeated,json=isRepeated" json:"is_repeated,omitempty"`
// If true, indicates that the number is reserved in the extension range,
// and any extension field with the number will fail to compile. Set this
// when a declared extension field is deleted.
@@ -3094,7 +3796,7 @@ type ExtensionRangeOptions_Declaration struct {
func (x *ExtensionRangeOptions_Declaration) Reset() {
*x = ExtensionRangeOptions_Declaration{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[23]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3107,7 +3809,7 @@ func (x *ExtensionRangeOptions_Declaration) String() string {
func (*ExtensionRangeOptions_Declaration) ProtoMessage() {}
func (x *ExtensionRangeOptions_Declaration) ProtoReflect() protoreflect.Message {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[23]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3144,14 +3846,6 @@ func (x *ExtensionRangeOptions_Declaration) GetType() string {
return ""
}
-// Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
-func (x *ExtensionRangeOptions_Declaration) GetIsRepeated() bool {
- if x != nil && x.IsRepeated != nil {
- return *x.IsRepeated
- }
- return false
-}
-
func (x *ExtensionRangeOptions_Declaration) GetReserved() bool {
if x != nil && x.Reserved != nil {
return *x.Reserved
@@ -3184,7 +3878,7 @@ type EnumDescriptorProto_EnumReservedRange struct {
func (x *EnumDescriptorProto_EnumReservedRange) Reset() {
*x = EnumDescriptorProto_EnumReservedRange{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[24]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3197,7 +3891,7 @@ func (x *EnumDescriptorProto_EnumReservedRange) String() string {
func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage() {}
func (x *EnumDescriptorProto_EnumReservedRange) ProtoReflect() protoreflect.Message {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[24]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[26]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3227,6 +3921,61 @@ func (x *EnumDescriptorProto_EnumReservedRange) GetEnd() int32 {
return 0
}
+type FieldOptions_EditionDefault struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Edition *Edition `protobuf:"varint,3,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"`
+ Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` // Textproto value.
+}
+
+func (x *FieldOptions_EditionDefault) Reset() {
+ *x = FieldOptions_EditionDefault{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[27]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *FieldOptions_EditionDefault) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FieldOptions_EditionDefault) ProtoMessage() {}
+
+func (x *FieldOptions_EditionDefault) ProtoReflect() protoreflect.Message {
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[27]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FieldOptions_EditionDefault.ProtoReflect.Descriptor instead.
+func (*FieldOptions_EditionDefault) Descriptor() ([]byte, []int) {
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 0}
+}
+
+func (x *FieldOptions_EditionDefault) GetEdition() Edition {
+ if x != nil && x.Edition != nil {
+ return *x.Edition
+ }
+ return Edition_EDITION_UNKNOWN
+}
+
+func (x *FieldOptions_EditionDefault) GetValue() string {
+ if x != nil && x.Value != nil {
+ return *x.Value
+ }
+ return ""
+}
+
// The name of the uninterpreted option. Each string represents a segment in
// a dot-separated name. is_extension is true iff a segment represents an
// extension (denoted with parentheses in options specs in .proto files).
@@ -3244,7 +3993,7 @@ type UninterpretedOption_NamePart struct {
func (x *UninterpretedOption_NamePart) Reset() {
*x = UninterpretedOption_NamePart{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[25]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3257,7 +4006,7 @@ func (x *UninterpretedOption_NamePart) String() string {
func (*UninterpretedOption_NamePart) ProtoMessage() {}
func (x *UninterpretedOption_NamePart) ProtoReflect() protoreflect.Message {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[25]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[28]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3287,6 +4036,65 @@ func (x *UninterpretedOption_NamePart) GetIsExtension() bool {
return false
}
+// A map from every known edition with a unique set of defaults to its
+// defaults. Not all editions may be contained here. For a given edition,
+// the defaults at the closest matching edition ordered at or before it should
+// be used. This field must be in strict ascending order by edition.
+type FeatureSetDefaults_FeatureSetEditionDefault struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Edition *Edition `protobuf:"varint,3,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"`
+ Features *FeatureSet `protobuf:"bytes,2,opt,name=features" json:"features,omitempty"`
+}
+
+func (x *FeatureSetDefaults_FeatureSetEditionDefault) Reset() {
+ *x = FeatureSetDefaults_FeatureSetEditionDefault{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[29]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *FeatureSetDefaults_FeatureSetEditionDefault) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FeatureSetDefaults_FeatureSetEditionDefault) ProtoMessage() {}
+
+func (x *FeatureSetDefaults_FeatureSetEditionDefault) ProtoReflect() protoreflect.Message {
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[29]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FeatureSetDefaults_FeatureSetEditionDefault.ProtoReflect.Descriptor instead.
+func (*FeatureSetDefaults_FeatureSetEditionDefault) Descriptor() ([]byte, []int) {
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{20, 0}
+}
+
+func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetEdition() Edition {
+ if x != nil && x.Edition != nil {
+ return *x.Edition
+ }
+ return Edition_EDITION_UNKNOWN
+}
+
+func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetFeatures() *FeatureSet {
+ if x != nil {
+ return x.Features
+ }
+ return nil
+}
+
type SourceCodeInfo_Location struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -3388,7 +4196,7 @@ type SourceCodeInfo_Location struct {
func (x *SourceCodeInfo_Location) Reset() {
*x = SourceCodeInfo_Location{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[26]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3401,7 +4209,7 @@ func (x *SourceCodeInfo_Location) String() string {
func (*SourceCodeInfo_Location) ProtoMessage() {}
func (x *SourceCodeInfo_Location) ProtoReflect() protoreflect.Message {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[26]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3414,7 +4222,7 @@ func (x *SourceCodeInfo_Location) ProtoReflect() protoreflect.Message {
// Deprecated: Use SourceCodeInfo_Location.ProtoReflect.Descriptor instead.
func (*SourceCodeInfo_Location) Descriptor() ([]byte, []int) {
- return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 0}
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{21, 0}
}
func (x *SourceCodeInfo_Location) GetPath() []int32 {
@@ -3475,7 +4283,7 @@ type GeneratedCodeInfo_Annotation struct {
func (x *GeneratedCodeInfo_Annotation) Reset() {
*x = GeneratedCodeInfo_Annotation{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[27]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3488,7 +4296,7 @@ func (x *GeneratedCodeInfo_Annotation) String() string {
func (*GeneratedCodeInfo_Annotation) ProtoMessage() {}
func (x *GeneratedCodeInfo_Annotation) ProtoReflect() protoreflect.Message {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[27]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3501,7 +4309,7 @@ func (x *GeneratedCodeInfo_Annotation) ProtoReflect() protoreflect.Message {
// Deprecated: Use GeneratedCodeInfo_Annotation.ProtoReflect.Descriptor instead.
func (*GeneratedCodeInfo_Annotation) Descriptor() ([]byte, []int) {
- return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{20, 0}
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{22, 0}
}
func (x *GeneratedCodeInfo_Annotation) GetPath() []int32 {
@@ -3550,7 +4358,7 @@ var file_google_protobuf_descriptor_proto_rawDesc = []byte{
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73,
0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x66, 0x69,
- 0x6c, 0x65, 0x22, 0xfe, 0x04, 0x0a, 0x13, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72,
+ 0x6c, 0x65, 0x22, 0x98, 0x05, 0x0a, 0x13, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72,
0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18,
0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
@@ -3588,527 +4396,687 @@ var file_google_protobuf_descriptor_proto_rawDesc = []byte{
0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66,
0x6f, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66,
0x6f, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x64, 0x69,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x64, 0x69, 0x74,
- 0x69, 0x6f, 0x6e, 0x22, 0xb9, 0x06, 0x0a, 0x0f, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
- 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x66,
- 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65,
- 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74,
- 0x6f, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x43, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65,
- 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69,
- 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f,
- 0x74, 0x6f, 0x52, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a,
- 0x0b, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50,
- 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65,
- 0x12, 0x41, 0x0a, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54,
- 0x79, 0x70, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67,
+ 0x09, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x12, 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69,
+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69,
+ 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb9, 0x06,
+ 0x0a, 0x0f, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74,
+ 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63,
+ 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x66, 0x69, 0x65,
+ 0x6c, 0x64, 0x12, 0x43, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18,
+ 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73,
+ 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x65, 0x78,
+ 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x73, 0x74, 0x65,
+ 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
- 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0e, 0x65,
- 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x44, 0x0a,
- 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x64, 0x65, 0x63, 0x6c, 0x18, 0x08, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x44,
- 0x65, 0x63, 0x6c, 0x12, 0x39, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x55,
- 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65,
- 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
+ 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a,
+ 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x09, 0x65, 0x6e,
+ 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
+ 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x58, 0x0a,
+ 0x0f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65,
+ 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65,
- 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64,
- 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65,
- 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65,
- 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x7a, 0x0a, 0x0e, 0x45, 0x78,
- 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05,
- 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61,
- 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
- 0x03, 0x65, 0x6e, 0x64, 0x12, 0x40, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
- 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x37, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76,
- 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a,
- 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22,
- 0xad, 0x04, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e,
- 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69,
- 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74,
- 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13,
- 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x12, 0x59, 0x0a, 0x0b, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2e, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0x88, 0x01,
- 0x02, 0x52, 0x0b, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x68,
- 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
- 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x65, 0x72,
- 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x3a, 0x0a,
- 0x55, 0x4e, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x45, 0x44, 0x52, 0x0c, 0x76, 0x65, 0x72, 0x69,
- 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xb3, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x63,
- 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62,
- 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
- 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a,
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
- 0x65, 0x12, 0x23, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65,
- 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76,
- 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76,
- 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x34,
- 0x0a, 0x11, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74,
- 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x45, 0x43, 0x4c, 0x41, 0x52, 0x41, 0x54, 0x49,
- 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49,
- 0x45, 0x44, 0x10, 0x01, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22,
- 0xc1, 0x06, 0x0a, 0x14, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06,
- 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75,
- 0x6d, 0x62, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72,
- 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c,
- 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73,
- 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x79, 0x70,
- 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65,
- 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65,
- 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
- 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x69,
- 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, 0x6e, 0x65, 0x6f,
- 0x66, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x4e,
- 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18,
- 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0xb6, 0x02, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f,
- 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12,
- 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x02, 0x12,
- 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x03, 0x12,
- 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04,
- 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x05,
- 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 0x34,
- 0x10, 0x06, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44,
- 0x33, 0x32, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x4f,
- 0x4c, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x52, 0x49,
- 0x4e, 0x47, 0x10, 0x09, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x4f,
- 0x55, 0x50, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53,
- 0x53, 0x41, 0x47, 0x45, 0x10, 0x0b, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42,
- 0x59, 0x54, 0x45, 0x53, 0x10, 0x0c, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55,
- 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x0d, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f,
- 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x0e, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53,
- 0x46, 0x49, 0x58, 0x45, 0x44, 0x33, 0x32, 0x10, 0x0f, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50,
- 0x45, 0x5f, 0x53, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 0x34, 0x10, 0x10, 0x12, 0x0f, 0x0a, 0x0b,
- 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x11, 0x12, 0x0f, 0x0a,
- 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x12, 0x22, 0x43,
- 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42, 0x45, 0x4c,
- 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x4c,
- 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x02, 0x12,
- 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x45,
- 0x44, 0x10, 0x03, 0x22, 0x63, 0x0a, 0x14, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x65, 0x73, 0x63,
- 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
- 0x37, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
- 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xe3, 0x02, 0x0a, 0x13, 0x45, 0x6e, 0x75,
- 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f,
- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44,
- 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05,
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5d, 0x0a,
- 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18,
- 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63,
- 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d,
- 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x72,
- 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d,
- 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20,
- 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x61, 0x6d,
- 0x65, 0x1a, 0x3b, 0x0a, 0x11, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65,
- 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18,
+ 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
+ 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
+ 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x44, 0x0a, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66,
+ 0x5f, 0x64, 0x65, 0x63, 0x6c, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x6e,
+ 0x65, 0x6f, 0x66, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x09, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x65, 0x63, 0x6c, 0x12, 0x39, 0x0a,
+ 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f,
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
+ 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
+ 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x55, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x65,
+ 0x72, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
+ 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65,
+ 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12,
+ 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
+ 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64,
+ 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x7a, 0x0a, 0x0e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
+ 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18,
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03,
- 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0x83,
- 0x01, 0x0a, 0x18, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x73, 0x63,
- 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
- 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
- 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56,
- 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
+ 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x40,
+ 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65,
+ 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x1a, 0x37, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67,
+ 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
+ 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0xc7, 0x04, 0x0a, 0x15, 0x45, 0x78,
+ 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72,
+ 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74,
+ 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65,
+ 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x59, 0x0a,
+ 0x0b, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61,
+ 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x6c, 0x61,
+ 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0x88, 0x01, 0x02, 0x52, 0x0b, 0x64, 0x65, 0x63,
+ 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74,
+ 0x75, 0x72, 0x65, 0x73, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61,
+ 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
+ 0x73, 0x12, 0x68, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
+ 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
+ 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74,
+ 0x65, 0x3a, 0x0a, 0x55, 0x4e, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x45, 0x44, 0x52, 0x0c, 0x76,
+ 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x94, 0x01, 0x0a, 0x0b,
+ 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6e,
+ 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d,
+ 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65,
+ 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
+ 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64,
+ 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01,
+ 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4a, 0x04, 0x08, 0x04,
+ 0x10, 0x05, 0x22, 0x34, 0x0a, 0x11, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x45, 0x43, 0x4c, 0x41,
+ 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x56, 0x45,
+ 0x52, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x01, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80,
+ 0x80, 0x80, 0x02, 0x22, 0xc1, 0x06, 0x0a, 0x14, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73,
+ 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04,
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
+ 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
+ 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65,
+ 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44,
+ 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c,
+ 0x61, 0x62, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x3e, 0x0a, 0x04, 0x74,
+ 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c,
+ 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f,
+ 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74,
+ 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
+ 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65,
+ 0x6e, 0x64, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65,
+ 0x6e, 0x64, 0x65, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f,
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66,
+ 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x6e, 0x65,
+ 0x6f, 0x66, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a,
+ 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x6a, 0x73,
+ 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a,
+ 0x73, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
+ 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x61, 0x6c, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x33, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0xb6, 0x02, 0x0a, 0x04, 0x54, 0x79,
+ 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x55, 0x42, 0x4c,
+ 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x41,
+ 0x54, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x36,
+ 0x34, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x49, 0x4e, 0x54,
+ 0x36, 0x34, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54,
+ 0x33, 0x32, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58,
+ 0x45, 0x44, 0x36, 0x34, 0x10, 0x06, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46,
+ 0x49, 0x58, 0x45, 0x44, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45,
+ 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f,
+ 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x09, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45,
+ 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45,
+ 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x0b, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59,
+ 0x50, 0x45, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x0c, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59,
+ 0x50, 0x45, 0x5f, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x0d, 0x12, 0x0d, 0x0a, 0x09, 0x54,
+ 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x0e, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59,
+ 0x50, 0x45, 0x5f, 0x53, 0x46, 0x49, 0x58, 0x45, 0x44, 0x33, 0x32, 0x10, 0x0f, 0x12, 0x11, 0x0a,
+ 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 0x34, 0x10, 0x10,
+ 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10,
+ 0x11, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x54, 0x36, 0x34,
+ 0x10, 0x12, 0x22, 0x43, 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x0e, 0x4c,
+ 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x01, 0x12,
+ 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x45,
+ 0x44, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x51,
+ 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x02, 0x22, 0x63, 0x0a, 0x14, 0x4f, 0x6e, 0x65, 0x6f, 0x66,
+ 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
+ 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
+ 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xe3, 0x02, 0x0a,
+ 0x13, 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61,
+ 0x6c, 0x75, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f,
+ 0x74, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x6f, 0x70, 0x74,
+ 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75,
+ 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x73, 0x12, 0x5d, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x61,
+ 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d,
+ 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
+ 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67,
+ 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65,
+ 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d,
+ 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65,
+ 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x3b, 0x0a, 0x11, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x73,
+ 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74,
+ 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74,
+ 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65,
+ 0x6e, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x18, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65,
0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63,
- 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x6d, 0x65, 0x74,
- 0x68, 0x6f, 0x64, 0x12, 0x39, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x89,
- 0x02, 0x0a, 0x15, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
- 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f,
- 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x07,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
+ 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x07, 0x6f,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67,
+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,
+ 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
+ 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x16, 0x53, 0x65, 0x72,
+ 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
+ 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64,
+ 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52,
+ 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x39, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69,
+ 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x22, 0x89, 0x02, 0x0a, 0x15, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73,
+ 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04,
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
+ 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12,
+ 0x1f, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65,
+ 0x12, 0x38, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x10, 0x63, 0x6c,
+ 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x05,
+ 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0f, 0x63, 0x6c, 0x69,
+ 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x0a, 0x10,
+ 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67,
+ 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0f, 0x73,
+ 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x22, 0xca,
+ 0x09, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21,
+ 0x0a, 0x0c, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67,
+ 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x5f,
+ 0x63, 0x6c, 0x61, 0x73, 0x73, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x12, 0x6a, 0x61, 0x76, 0x61, 0x4f, 0x75, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x6e,
+ 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x6d, 0x75, 0x6c, 0x74,
+ 0x69, 0x70, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08,
+ 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x11, 0x6a, 0x61, 0x76, 0x61, 0x4d, 0x75, 0x6c,
+ 0x74, 0x69, 0x70, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x1d, 0x6a, 0x61,
+ 0x76, 0x61, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x71, 0x75, 0x61,
+ 0x6c, 0x73, 0x5f, 0x61, 0x6e, 0x64, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x14, 0x20, 0x01, 0x28,
+ 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x19, 0x6a, 0x61, 0x76, 0x61, 0x47, 0x65, 0x6e, 0x65, 0x72,
+ 0x61, 0x74, 0x65, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x48, 0x61, 0x73, 0x68,
+ 0x12, 0x3a, 0x0a, 0x16, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f,
+ 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x75, 0x74, 0x66, 0x38, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08,
+ 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x53, 0x74, 0x72,
+ 0x69, 0x6e, 0x67, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x74, 0x66, 0x38, 0x12, 0x53, 0x0a, 0x0c,
+ 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01,
+ 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x3a, 0x05, 0x53,
+ 0x50, 0x45, 0x45, 0x44, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x46, 0x6f,
+ 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x6f, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18,
+ 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x6f, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65,
+ 0x12, 0x35, 0x0a, 0x13, 0x63, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73,
+ 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66,
+ 0x61, 0x6c, 0x73, 0x65, 0x52, 0x11, 0x63, 0x63, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53,
+ 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x15, 0x6a, 0x61, 0x76, 0x61, 0x5f,
+ 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73,
+ 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x13, 0x6a,
+ 0x61, 0x76, 0x61, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
+ 0x65, 0x73, 0x12, 0x35, 0x0a, 0x13, 0x70, 0x79, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63,
+ 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x3a,
+ 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x11, 0x70, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69,
+ 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x14, 0x70, 0x68, 0x70,
+ 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
+ 0x73, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x12,
+ 0x70, 0x68, 0x70, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
+ 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64,
+ 0x18, 0x17, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64,
+ 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x63, 0x5f,
+ 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x73, 0x18, 0x1f, 0x20,
+ 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, 0x72, 0x75, 0x65, 0x52, 0x0e, 0x63, 0x63, 0x45, 0x6e, 0x61,
+ 0x62, 0x6c, 0x65, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x62, 0x6a,
+ 0x63, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x24,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x62, 0x6a, 0x63, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50,
+ 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x73, 0x68, 0x61, 0x72, 0x70, 0x5f,
+ 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0f, 0x63, 0x73, 0x68, 0x61, 0x72, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
+ 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x77, 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78,
+ 0x18, 0x27, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x77, 0x69, 0x66, 0x74, 0x50, 0x72, 0x65,
+ 0x66, 0x69, 0x78, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x68, 0x70, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73,
+ 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70,
+ 0x68, 0x70, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x23, 0x0a,
+ 0x0d, 0x70, 0x68, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x29,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x68, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
+ 0x63, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x70, 0x68, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
+ 0x74, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x2c, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x14, 0x70, 0x68, 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4e,
+ 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x75, 0x62, 0x79,
+ 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
+ 0x72, 0x75, 0x62, 0x79, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x66,
+ 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x10, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
- 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
- 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53,
- 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76,
- 0x65, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65,
- 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x22, 0x91, 0x09, 0x0a, 0x0b, 0x46,
- 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6a, 0x61,
- 0x76, 0x61, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a,
- 0x14, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6c, 0x61, 0x73,
- 0x73, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6a, 0x61, 0x76,
- 0x61, 0x4f, 0x75, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x6e, 0x61, 0x6d, 0x65, 0x12,
- 0x35, 0x0a, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65,
- 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61,
- 0x6c, 0x73, 0x65, 0x52, 0x11, 0x6a, 0x61, 0x76, 0x61, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c,
- 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x1d, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x67,
- 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x5f, 0x61,
- 0x6e, 0x64, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18,
- 0x01, 0x52, 0x19, 0x6a, 0x61, 0x76, 0x61, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x45,
- 0x71, 0x75, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3a, 0x0a, 0x16,
- 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x65, 0x63,
- 0x6b, 0x5f, 0x75, 0x74, 0x66, 0x38, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61,
- 0x6c, 0x73, 0x65, 0x52, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x43,
- 0x68, 0x65, 0x63, 0x6b, 0x55, 0x74, 0x66, 0x38, 0x12, 0x53, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x69,
- 0x6d, 0x69, 0x7a, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74,
- 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x3a, 0x05, 0x53, 0x50, 0x45, 0x45, 0x44,
- 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x46, 0x6f, 0x72, 0x12, 0x1d, 0x0a,
- 0x0a, 0x67, 0x6f, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x09, 0x67, 0x6f, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x13,
- 0x63, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
- 0x63, 0x65, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65,
- 0x52, 0x11, 0x63, 0x63, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69,
- 0x63, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x15, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x67, 0x65, 0x6e, 0x65,
- 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x11, 0x20, 0x01,
- 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x47,
- 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x35,
- 0x0a, 0x13, 0x70, 0x79, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c,
- 0x73, 0x65, 0x52, 0x11, 0x70, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x14, 0x70, 0x68, 0x70, 0x5f, 0x67, 0x65, 0x6e,
- 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x2a, 0x20,
- 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x12, 0x70, 0x68, 0x70, 0x47,
- 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x25,
- 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x17, 0x20, 0x01,
- 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65,
- 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x63, 0x5f, 0x65, 0x6e, 0x61, 0x62,
- 0x6c, 0x65, 0x5f, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x73, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x08, 0x3a,
- 0x04, 0x74, 0x72, 0x75, 0x65, 0x52, 0x0e, 0x63, 0x63, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41,
- 0x72, 0x65, 0x6e, 0x61, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x62, 0x6a, 0x63, 0x5f, 0x63, 0x6c,
- 0x61, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x24, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0f, 0x6f, 0x62, 0x6a, 0x63, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x65, 0x66, 0x69,
- 0x78, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x73, 0x68, 0x61, 0x72, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
- 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x73, 0x68,
- 0x61, 0x72, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c,
- 0x73, 0x77, 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x27, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0b, 0x73, 0x77, 0x69, 0x66, 0x74, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12,
- 0x28, 0x0a, 0x10, 0x70, 0x68, 0x70, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x65,
- 0x66, 0x69, 0x78, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x68, 0x70, 0x43, 0x6c,
- 0x61, 0x73, 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x68, 0x70,
- 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0c, 0x70, 0x68, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x34,
- 0x0a, 0x16, 0x70, 0x68, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6e,
- 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14,
- 0x70, 0x68, 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x73,
- 0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x75, 0x62, 0x79, 0x5f, 0x70, 0x61, 0x63,
- 0x6b, 0x61, 0x67, 0x65, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x75, 0x62, 0x79,
- 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74,
- 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
- 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72,
- 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e,
- 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x22, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x4d, 0x6f, 0x64,
- 0x65, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x50, 0x45, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09,
- 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4c,
- 0x49, 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x03, 0x2a, 0x09, 0x08,
- 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x26, 0x10, 0x27, 0x22, 0xbb,
- 0x03, 0x0a, 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x12, 0x3c, 0x0a, 0x17, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74,
- 0x5f, 0x77, 0x69, 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x53, 0x65, 0x74, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12,
- 0x4c, 0x0a, 0x1f, 0x6e, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x5f, 0x64,
- 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
- 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52,
- 0x1c, 0x6e, 0x6f, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72,
- 0x69, 0x70, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x25, 0x0a,
- 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63,
- 0x61, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x72,
- 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72,
- 0x79, 0x12, 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f,
- 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c,
- 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28,
- 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
- 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64,
- 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69,
- 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74,
- 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13,
- 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04,
- 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07,
- 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0x85, 0x09, 0x0a,
- 0x0c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a,
- 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
- 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x54, 0x79, 0x70,
- 0x65, 0x3a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x52, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65,
- 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x06, 0x6a, 0x73, 0x74, 0x79,
- 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x09,
- 0x4a, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x52, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70,
- 0x65, 0x12, 0x19, 0x0a, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a,
- 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x12, 0x2e, 0x0a, 0x0f,
- 0x75, 0x6e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x7a, 0x79, 0x18,
- 0x0f, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0e, 0x75, 0x6e,
- 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4c, 0x61, 0x7a, 0x79, 0x12, 0x25, 0x0a, 0x0a,
- 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
- 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
- 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28,
- 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x12, 0x28,
- 0x0a, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x10,
- 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x62,
- 0x75, 0x67, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65,
- 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69,
- 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x74, 0x65,
- 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18,
- 0x12, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65,
- 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65,
- 0x74, 0x12, 0x48, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x13, 0x20, 0x03,
- 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79,
- 0x70, 0x65, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75,
- 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69,
- 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2f, 0x0a, 0x05, 0x43, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a,
- 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f,
- 0x52, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x50,
- 0x49, 0x45, 0x43, 0x45, 0x10, 0x02, 0x22, 0x35, 0x0a, 0x06, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65,
- 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12,
- 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0d,
- 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x22, 0x55, 0x0a,
- 0x0f, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e,
- 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e,
- 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45, 0x4e,
- 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x14,
- 0x0a, 0x10, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x4f, 0x55, 0x52,
- 0x43, 0x45, 0x10, 0x02, 0x22, 0x8c, 0x02, 0x0a, 0x10, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54,
- 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52,
- 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
- 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50,
- 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x41, 0x52, 0x47,
- 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58, 0x54, 0x45, 0x4e, 0x53, 0x49, 0x4f,
- 0x4e, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52,
- 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45,
- 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50,
- 0x45, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41, 0x52,
- 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x4e, 0x45, 0x4f, 0x46, 0x10, 0x05,
- 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
- 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x06, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54,
- 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59,
- 0x10, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50,
- 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, 0x54,
- 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f,
- 0x44, 0x10, 0x09, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04,
- 0x08, 0x04, 0x10, 0x05, 0x22, 0x73, 0x0a, 0x0c, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70,
+ 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74,
+ 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70,
0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65,
0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74,
- 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09,
- 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x98, 0x02, 0x0a, 0x0b, 0x45, 0x6e,
- 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x6c,
- 0x6f, 0x77, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a,
- 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65,
+ 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3a,
+ 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x09,
+ 0x0a, 0x05, 0x53, 0x50, 0x45, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x44,
+ 0x45, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x49, 0x54, 0x45,
+ 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x03, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10,
+ 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x26, 0x10, 0x27, 0x22, 0xf4, 0x03, 0x0a, 0x0e,
+ 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c,
+ 0x0a, 0x17, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x77, 0x69,
+ 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x3a,
+ 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53,
+ 0x65, 0x74, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x4c, 0x0a, 0x1f,
+ 0x6e, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x5f, 0x64, 0x65, 0x73, 0x63,
+ 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x1c, 0x6e, 0x6f,
+ 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
+ 0x6f, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65,
0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05,
0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
- 0x64, 0x12, 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f,
- 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c,
- 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
- 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
- 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64,
- 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69,
- 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74,
- 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13,
- 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04,
- 0x08, 0x05, 0x10, 0x06, 0x22, 0x9e, 0x01, 0x0a, 0x10, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c,
- 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70,
- 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66,
- 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64,
- 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65,
- 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72,
- 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10,
- 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9c, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
- 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72,
- 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61,
- 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12,
+ 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x07,
+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x56,
+ 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x65, 0x67,
+ 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63,
+ 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02,
+ 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x65,
+ 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e,
+ 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72,
+ 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75,
+ 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12,
0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64,
0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24,
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70,
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65,
0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80,
- 0x80, 0x80, 0x80, 0x02, 0x22, 0xe0, 0x02, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63,
- 0x61, 0x74, 0x65, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73,
- 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x71, 0x0a,
- 0x11, 0x69, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6c, 0x65, 0x76,
- 0x65, 0x6c, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f,
- 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74,
- 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50,
- 0x4f, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x10,
- 0x69, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c,
- 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65,
- 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72,
- 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x50, 0x0a, 0x10, 0x49, 0x64,
- 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x17,
- 0x0a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x55, 0x4e,
- 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x4f, 0x5f, 0x53, 0x49,
- 0x44, 0x45, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54, 0x53, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a,
- 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x2a, 0x09, 0x08, 0xe8,
- 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9a, 0x03, 0x0a, 0x13, 0x55, 0x6e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
- 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e,
+ 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06,
+ 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09,
+ 0x10, 0x0a, 0x22, 0xad, 0x0a, 0x0a, 0x0c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x73, 0x2e, 0x43, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x52,
+ 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x47,
+ 0x0a, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24,
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
+ 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53,
+ 0x54, 0x79, 0x70, 0x65, 0x3a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x52,
+ 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x18,
+ 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x6c, 0x61,
+ 0x7a, 0x79, 0x12, 0x2e, 0x0a, 0x0f, 0x75, 0x6e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64,
+ 0x5f, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c,
+ 0x73, 0x65, 0x52, 0x0e, 0x75, 0x6e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4c, 0x61,
+ 0x7a, 0x79, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64,
+ 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x04, 0x77, 0x65, 0x61,
+ 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04,
+ 0x77, 0x65, 0x61, 0x6b, 0x12, 0x28, 0x0a, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65,
+ 0x64, 0x61, 0x63, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73,
+ 0x65, 0x52, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x12, 0x4b,
+ 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28,
+ 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e,
+ 0x52, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x07, 0x74,
+ 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67,
+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
+ 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x74, 0x61,
+ 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x57, 0x0a, 0x10, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
+ 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45,
+ 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x0f, 0x65,
+ 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x37,
+ 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
+ 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66,
+ 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74,
+ 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
+ 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72,
+ 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e,
+ 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x1a, 0x5a, 0x0a, 0x0e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61,
+ 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07,
+ 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2f, 0x0a,
+ 0x05, 0x43, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47,
+ 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f, 0x52, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c,
+ 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x49, 0x45, 0x43, 0x45, 0x10, 0x02, 0x22, 0x35,
+ 0x0a, 0x06, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e,
+ 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x53, 0x54,
+ 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x55, 0x4d,
+ 0x42, 0x45, 0x52, 0x10, 0x02, 0x22, 0x55, 0x0a, 0x0f, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52,
+ 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45,
+ 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12,
+ 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x55, 0x4e,
+ 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54,
+ 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x10, 0x02, 0x22, 0x8c, 0x02, 0x0a,
+ 0x10, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70,
+ 0x65, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45,
+ 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41,
+ 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x01,
+ 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
+ 0x45, 0x58, 0x54, 0x45, 0x4e, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10,
+ 0x02, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45,
+ 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41,
+ 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10,
+ 0x04, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45,
+ 0x5f, 0x4f, 0x4e, 0x45, 0x4f, 0x46, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x52, 0x47,
+ 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x06, 0x12, 0x1a,
+ 0x0a, 0x16, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e,
+ 0x55, 0x4d, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x10, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41,
+ 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43,
+ 0x45, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59,
+ 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x10, 0x09, 0x2a, 0x09, 0x08, 0xe8, 0x07,
+ 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x12,
+ 0x10, 0x13, 0x22, 0xac, 0x01, 0x0a, 0x0c, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53,
+ 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14,
+ 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70,
+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e,
+ 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64,
+ 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80,
+ 0x02, 0x22, 0xd1, 0x02, 0x0a, 0x0b, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x69,
+ 0x61, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64,
+ 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70,
+ 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a,
+ 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69,
+ 0x63, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x22, 0x64,
+ 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a,
+ 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74,
+ 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x07, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74,
+ 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e,
+ 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e,
+ 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52,
+ 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70,
+ 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a,
+ 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x81, 0x02, 0x0a, 0x10, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61,
+ 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65,
+ 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05,
+ 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
+ 0x64, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74,
+ 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x0c, 0x64, 0x65,
+ 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
+ 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65,
+ 0x64, 0x61, 0x63, 0x74, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70,
+ 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65,
+ 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74,
+ 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09,
+ 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0xd5, 0x01, 0x0a, 0x0e, 0x53, 0x65,
+ 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x08,
+ 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b,
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
+ 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61,
+ 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
+ 0x74, 0x65, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65,
+ 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x58, 0x0a, 0x14,
+ 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70,
+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e,
+ 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64,
+ 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80,
+ 0x02, 0x22, 0x99, 0x03, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
+ 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a,
+ 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x71, 0x0a, 0x11, 0x69, 0x64,
+ 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18,
+ 0x22, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70,
+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63,
+ 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45,
+ 0x4e, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x10, 0x69, 0x64, 0x65,
+ 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x37, 0x0a,
+ 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x23, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65,
+ 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65,
+ 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7,
+ 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70,
+ 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69,
+ 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x22, 0x50, 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c,
+ 0x65, 0x76, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45,
+ 0x4e, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a,
+ 0x0f, 0x4e, 0x4f, 0x5f, 0x53, 0x49, 0x44, 0x45, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54, 0x53,
+ 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e, 0x54,
+ 0x10, 0x02, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9a, 0x03,
+ 0x0a, 0x13, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65,
+ 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61,
+ 0x72, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x64, 0x65, 0x6e,
+ 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x56, 0x61,
+ 0x6c, 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
+ 0x10, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75,
+ 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e,
+ 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6e,
+ 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
+ 0x21, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
+ 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c,
+ 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c,
+ 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
+ 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61,
+ 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
+ 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x4a,
+ 0x0a, 0x08, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x61,
+ 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x6e,
+ 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x65, 0x78,
+ 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x0b, 0x69,
+ 0x73, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xfc, 0x09, 0x0a, 0x0a, 0x46,
+ 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x8b, 0x01, 0x0a, 0x0e, 0x66, 0x69,
+ 0x65, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e,
+ 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x39, 0x88,
+ 0x01, 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, 0x58, 0x50,
+ 0x4c, 0x49, 0x43, 0x49, 0x54, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x49, 0x4d, 0x50,
+ 0x4c, 0x49, 0x43, 0x49, 0x54, 0x18, 0xe7, 0x07, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, 0x58, 0x50,
+ 0x4c, 0x49, 0x43, 0x49, 0x54, 0x18, 0xe8, 0x07, 0x52, 0x0d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x50,
+ 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x66, 0x0a, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x5f,
+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61,
+ 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65,
+ 0x42, 0x23, 0x88, 0x01, 0x01, 0x98, 0x01, 0x06, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0b, 0x12, 0x06,
+ 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x4f, 0x50,
+ 0x45, 0x4e, 0x18, 0xe7, 0x07, 0x52, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12,
+ 0x92, 0x01, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65,
+ 0x6c, 0x64, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x52,
+ 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e, 0x63, 0x6f,
+ 0x64, 0x69, 0x6e, 0x67, 0x42, 0x27, 0x88, 0x01, 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2,
+ 0x01, 0x0d, 0x12, 0x08, 0x45, 0x58, 0x50, 0x41, 0x4e, 0x44, 0x45, 0x44, 0x18, 0xe6, 0x07, 0xa2,
+ 0x01, 0x0b, 0x12, 0x06, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x44, 0x18, 0xe7, 0x07, 0x52, 0x15, 0x72,
+ 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e, 0x63, 0x6f,
+ 0x64, 0x69, 0x6e, 0x67, 0x12, 0x78, 0x0a, 0x0f, 0x75, 0x74, 0x66, 0x38, 0x5f, 0x76, 0x61, 0x6c,
+ 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e,
+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
+ 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x55, 0x74, 0x66, 0x38, 0x56,
+ 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x23, 0x88, 0x01, 0x01, 0x98, 0x01,
+ 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x18, 0xe6, 0x07,
+ 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, 0x18, 0xe7, 0x07, 0x52, 0x0e,
+ 0x75, 0x74, 0x66, 0x38, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x78,
+ 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69,
+ 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75,
+ 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x63,
+ 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x20, 0x88, 0x01, 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01,
+ 0xa2, 0x01, 0x14, 0x12, 0x0f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x5f, 0x50, 0x52, 0x45, 0x46,
+ 0x49, 0x58, 0x45, 0x44, 0x18, 0xe6, 0x07, 0x52, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
+ 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x7c, 0x0a, 0x0b, 0x6a, 0x73, 0x6f, 0x6e,
+ 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72,
- 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x64,
- 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2c, 0x0a,
- 0x12, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61,
- 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x70, 0x6f, 0x73, 0x69, 0x74,
- 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6e,
- 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76,
- 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x6f, 0x75,
- 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52,
- 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0c,
- 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01,
- 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
- 0x27, 0x0a, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67,
- 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x4a, 0x0a, 0x08, 0x4e, 0x61, 0x6d, 0x65,
- 0x50, 0x61, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x72,
- 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72,
- 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
- 0x6e, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x45, 0x78, 0x74, 0x65, 0x6e,
- 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa7, 0x02, 0x0a, 0x0e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43,
- 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xce, 0x01,
- 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, 0x61,
- 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, 0x61,
- 0x74, 0x68, 0x12, 0x16, 0x0a, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05,
- 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x6c, 0x65,
- 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d,
- 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e,
- 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x10, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
- 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65,
- 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,
- 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x65,
- 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xd0,
- 0x02, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65,
- 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4d, 0x0a, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72,
- 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x6e, 0x6e,
- 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x1a, 0xeb, 0x01, 0x0a, 0x0a, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05,
- 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f,
- 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62,
- 0x65, 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x65, 0x67, 0x69,
- 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
- 0x65, 0x6e, 0x64, 0x12, 0x52, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
- 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x52, 0x08, 0x73,
- 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x22, 0x28, 0x0a, 0x08, 0x53, 0x65, 0x6d, 0x61, 0x6e,
- 0x74, 0x69, 0x63, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a,
- 0x03, 0x53, 0x45, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x49, 0x41, 0x53, 0x10,
- 0x02, 0x42, 0x7e, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x10, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x48, 0x01, 0x5a, 0x2d, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x64,
- 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, 0x02,
- 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
- 0x6e,
+ 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x46,
+ 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x33, 0x88, 0x01, 0x01, 0x98, 0x01, 0x03, 0x98, 0x01, 0x06,
+ 0x98, 0x01, 0x01, 0xa2, 0x01, 0x17, 0x12, 0x12, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x42,
+ 0x45, 0x53, 0x54, 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52, 0x54, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0a,
+ 0x12, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x18, 0xe7, 0x07, 0x52, 0x0a, 0x6a, 0x73, 0x6f, 0x6e,
+ 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x5c, 0x0a, 0x0d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50,
+ 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x49, 0x45, 0x4c, 0x44,
+ 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
+ 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58, 0x50, 0x4c, 0x49, 0x43, 0x49, 0x54, 0x10,
+ 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4d, 0x50, 0x4c, 0x49, 0x43, 0x49, 0x54, 0x10, 0x02, 0x12,
+ 0x13, 0x0a, 0x0f, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52,
+ 0x45, 0x44, 0x10, 0x03, 0x22, 0x37, 0x0a, 0x08, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65,
+ 0x12, 0x15, 0x0a, 0x11, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,
+ 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x50, 0x45, 0x4e, 0x10,
+ 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10, 0x02, 0x22, 0x56, 0x0a,
+ 0x15, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e,
+ 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54,
+ 0x45, 0x44, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e,
+ 0x47, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50,
+ 0x41, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58, 0x50, 0x41, 0x4e,
+ 0x44, 0x45, 0x44, 0x10, 0x02, 0x22, 0x43, 0x0a, 0x0e, 0x55, 0x74, 0x66, 0x38, 0x56, 0x61, 0x6c,
+ 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x54, 0x46, 0x38, 0x5f,
+ 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
+ 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0a,
+ 0x0a, 0x06, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, 0x10, 0x02, 0x22, 0x53, 0x0a, 0x0f, 0x4d, 0x65,
+ 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a,
+ 0x18, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e,
+ 0x47, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4c,
+ 0x45, 0x4e, 0x47, 0x54, 0x48, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x49, 0x58, 0x45, 0x44, 0x10, 0x01,
+ 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x45, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x10, 0x02, 0x22,
+ 0x48, 0x0a, 0x0a, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x17, 0x0a,
+ 0x13, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x4b,
+ 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x10,
+ 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x42, 0x45, 0x53, 0x54,
+ 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0xe9,
+ 0x07, 0x2a, 0x06, 0x08, 0xe9, 0x07, 0x10, 0xea, 0x07, 0x2a, 0x06, 0x08, 0x8b, 0x4e, 0x10, 0x90,
+ 0x4e, 0x4a, 0x06, 0x08, 0xe7, 0x07, 0x10, 0xe8, 0x07, 0x22, 0xfe, 0x02, 0x0a, 0x12, 0x46, 0x65,
+ 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73,
+ 0x12, 0x58, 0x0a, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x44,
+ 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53,
+ 0x65, 0x74, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
+ 0x52, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x0f, 0x6d, 0x69,
+ 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20,
+ 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6d,
+ 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a,
+ 0x0f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
+ 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
+ 0x1a, 0x87, 0x01, 0x0a, 0x18, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x45,
+ 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a,
+ 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18,
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
+ 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f,
+ 0x6e, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74,
+ 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0xa7, 0x02, 0x0a, 0x0e, 0x53,
+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a,
+ 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f,
+ 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x1a, 0xce, 0x01, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x12, 0x16, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02,
+ 0x10, 0x01, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x04, 0x73, 0x70, 0x61, 0x6e,
+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x73, 0x70, 0x61, 0x6e,
+ 0x12, 0x29, 0x0a, 0x10, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d,
+ 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x65, 0x61, 0x64,
+ 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x74,
+ 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73,
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67,
+ 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x6c, 0x65, 0x61, 0x64,
+ 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6d,
+ 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x6c, 0x65, 0x61,
+ 0x64, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x6d,
+ 0x65, 0x6e, 0x74, 0x73, 0x22, 0xd0, 0x02, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
+ 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4d, 0x0a, 0x0a, 0x61, 0x6e,
+ 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d,
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
+ 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e,
+ 0x66, 0x6f, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x61,
+ 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xeb, 0x01, 0x0a, 0x0a, 0x41, 0x6e,
+ 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68,
+ 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68,
+ 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c,
+ 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
+ 0x52, 0x05, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x52, 0x0a, 0x08, 0x73, 0x65, 0x6d,
+ 0x61, 0x6e, 0x74, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65,
+ 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e,
+ 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e,
+ 0x74, 0x69, 0x63, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x22, 0x28, 0x0a,
+ 0x08, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e,
+ 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x45, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05,
+ 0x41, 0x4c, 0x49, 0x41, 0x53, 0x10, 0x02, 0x2a, 0xea, 0x01, 0x0a, 0x07, 0x45, 0x64, 0x69, 0x74,
+ 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55,
+ 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0e, 0x45, 0x44, 0x49, 0x54,
+ 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x32, 0x10, 0xe6, 0x07, 0x12, 0x13, 0x0a,
+ 0x0e, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x33, 0x10,
+ 0xe7, 0x07, 0x12, 0x11, 0x0a, 0x0c, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x32, 0x30,
+ 0x32, 0x33, 0x10, 0xe8, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e,
+ 0x5f, 0x31, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x01, 0x12, 0x17,
+ 0x0a, 0x13, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x32, 0x5f, 0x54, 0x45, 0x53, 0x54,
+ 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44, 0x49, 0x54, 0x49,
+ 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x37, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e,
+ 0x4c, 0x59, 0x10, 0x9d, 0x8d, 0x06, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f,
+ 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x38, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c,
+ 0x59, 0x10, 0x9e, 0x8d, 0x06, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e,
+ 0x5f, 0x39, 0x39, 0x39, 0x39, 0x39, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59,
+ 0x10, 0x9f, 0x8d, 0x06, 0x42, 0x7e, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x10, 0x44, 0x65, 0x73,
+ 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x48, 0x01, 0x5a,
+ 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
+ 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65,
+ 0x73, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x70, 0x62, 0xf8, 0x01,
+ 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e,
}
var (
@@ -4123,103 +5091,136 @@ func file_google_protobuf_descriptor_proto_rawDescGZIP() []byte {
return file_google_protobuf_descriptor_proto_rawDescData
}
-var file_google_protobuf_descriptor_proto_enumTypes = make([]protoimpl.EnumInfo, 10)
-var file_google_protobuf_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
+var file_google_protobuf_descriptor_proto_enumTypes = make([]protoimpl.EnumInfo, 17)
+var file_google_protobuf_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 32)
var file_google_protobuf_descriptor_proto_goTypes = []interface{}{
- (ExtensionRangeOptions_VerificationState)(0), // 0: google.protobuf.ExtensionRangeOptions.VerificationState
- (FieldDescriptorProto_Type)(0), // 1: google.protobuf.FieldDescriptorProto.Type
- (FieldDescriptorProto_Label)(0), // 2: google.protobuf.FieldDescriptorProto.Label
- (FileOptions_OptimizeMode)(0), // 3: google.protobuf.FileOptions.OptimizeMode
- (FieldOptions_CType)(0), // 4: google.protobuf.FieldOptions.CType
- (FieldOptions_JSType)(0), // 5: google.protobuf.FieldOptions.JSType
- (FieldOptions_OptionRetention)(0), // 6: google.protobuf.FieldOptions.OptionRetention
- (FieldOptions_OptionTargetType)(0), // 7: google.protobuf.FieldOptions.OptionTargetType
- (MethodOptions_IdempotencyLevel)(0), // 8: google.protobuf.MethodOptions.IdempotencyLevel
- (GeneratedCodeInfo_Annotation_Semantic)(0), // 9: google.protobuf.GeneratedCodeInfo.Annotation.Semantic
- (*FileDescriptorSet)(nil), // 10: google.protobuf.FileDescriptorSet
- (*FileDescriptorProto)(nil), // 11: google.protobuf.FileDescriptorProto
- (*DescriptorProto)(nil), // 12: google.protobuf.DescriptorProto
- (*ExtensionRangeOptions)(nil), // 13: google.protobuf.ExtensionRangeOptions
- (*FieldDescriptorProto)(nil), // 14: google.protobuf.FieldDescriptorProto
- (*OneofDescriptorProto)(nil), // 15: google.protobuf.OneofDescriptorProto
- (*EnumDescriptorProto)(nil), // 16: google.protobuf.EnumDescriptorProto
- (*EnumValueDescriptorProto)(nil), // 17: google.protobuf.EnumValueDescriptorProto
- (*ServiceDescriptorProto)(nil), // 18: google.protobuf.ServiceDescriptorProto
- (*MethodDescriptorProto)(nil), // 19: google.protobuf.MethodDescriptorProto
- (*FileOptions)(nil), // 20: google.protobuf.FileOptions
- (*MessageOptions)(nil), // 21: google.protobuf.MessageOptions
- (*FieldOptions)(nil), // 22: google.protobuf.FieldOptions
- (*OneofOptions)(nil), // 23: google.protobuf.OneofOptions
- (*EnumOptions)(nil), // 24: google.protobuf.EnumOptions
- (*EnumValueOptions)(nil), // 25: google.protobuf.EnumValueOptions
- (*ServiceOptions)(nil), // 26: google.protobuf.ServiceOptions
- (*MethodOptions)(nil), // 27: google.protobuf.MethodOptions
- (*UninterpretedOption)(nil), // 28: google.protobuf.UninterpretedOption
- (*SourceCodeInfo)(nil), // 29: google.protobuf.SourceCodeInfo
- (*GeneratedCodeInfo)(nil), // 30: google.protobuf.GeneratedCodeInfo
- (*DescriptorProto_ExtensionRange)(nil), // 31: google.protobuf.DescriptorProto.ExtensionRange
- (*DescriptorProto_ReservedRange)(nil), // 32: google.protobuf.DescriptorProto.ReservedRange
- (*ExtensionRangeOptions_Declaration)(nil), // 33: google.protobuf.ExtensionRangeOptions.Declaration
- (*EnumDescriptorProto_EnumReservedRange)(nil), // 34: google.protobuf.EnumDescriptorProto.EnumReservedRange
- (*UninterpretedOption_NamePart)(nil), // 35: google.protobuf.UninterpretedOption.NamePart
- (*SourceCodeInfo_Location)(nil), // 36: google.protobuf.SourceCodeInfo.Location
- (*GeneratedCodeInfo_Annotation)(nil), // 37: google.protobuf.GeneratedCodeInfo.Annotation
+ (Edition)(0), // 0: google.protobuf.Edition
+ (ExtensionRangeOptions_VerificationState)(0), // 1: google.protobuf.ExtensionRangeOptions.VerificationState
+ (FieldDescriptorProto_Type)(0), // 2: google.protobuf.FieldDescriptorProto.Type
+ (FieldDescriptorProto_Label)(0), // 3: google.protobuf.FieldDescriptorProto.Label
+ (FileOptions_OptimizeMode)(0), // 4: google.protobuf.FileOptions.OptimizeMode
+ (FieldOptions_CType)(0), // 5: google.protobuf.FieldOptions.CType
+ (FieldOptions_JSType)(0), // 6: google.protobuf.FieldOptions.JSType
+ (FieldOptions_OptionRetention)(0), // 7: google.protobuf.FieldOptions.OptionRetention
+ (FieldOptions_OptionTargetType)(0), // 8: google.protobuf.FieldOptions.OptionTargetType
+ (MethodOptions_IdempotencyLevel)(0), // 9: google.protobuf.MethodOptions.IdempotencyLevel
+ (FeatureSet_FieldPresence)(0), // 10: google.protobuf.FeatureSet.FieldPresence
+ (FeatureSet_EnumType)(0), // 11: google.protobuf.FeatureSet.EnumType
+ (FeatureSet_RepeatedFieldEncoding)(0), // 12: google.protobuf.FeatureSet.RepeatedFieldEncoding
+ (FeatureSet_Utf8Validation)(0), // 13: google.protobuf.FeatureSet.Utf8Validation
+ (FeatureSet_MessageEncoding)(0), // 14: google.protobuf.FeatureSet.MessageEncoding
+ (FeatureSet_JsonFormat)(0), // 15: google.protobuf.FeatureSet.JsonFormat
+ (GeneratedCodeInfo_Annotation_Semantic)(0), // 16: google.protobuf.GeneratedCodeInfo.Annotation.Semantic
+ (*FileDescriptorSet)(nil), // 17: google.protobuf.FileDescriptorSet
+ (*FileDescriptorProto)(nil), // 18: google.protobuf.FileDescriptorProto
+ (*DescriptorProto)(nil), // 19: google.protobuf.DescriptorProto
+ (*ExtensionRangeOptions)(nil), // 20: google.protobuf.ExtensionRangeOptions
+ (*FieldDescriptorProto)(nil), // 21: google.protobuf.FieldDescriptorProto
+ (*OneofDescriptorProto)(nil), // 22: google.protobuf.OneofDescriptorProto
+ (*EnumDescriptorProto)(nil), // 23: google.protobuf.EnumDescriptorProto
+ (*EnumValueDescriptorProto)(nil), // 24: google.protobuf.EnumValueDescriptorProto
+ (*ServiceDescriptorProto)(nil), // 25: google.protobuf.ServiceDescriptorProto
+ (*MethodDescriptorProto)(nil), // 26: google.protobuf.MethodDescriptorProto
+ (*FileOptions)(nil), // 27: google.protobuf.FileOptions
+ (*MessageOptions)(nil), // 28: google.protobuf.MessageOptions
+ (*FieldOptions)(nil), // 29: google.protobuf.FieldOptions
+ (*OneofOptions)(nil), // 30: google.protobuf.OneofOptions
+ (*EnumOptions)(nil), // 31: google.protobuf.EnumOptions
+ (*EnumValueOptions)(nil), // 32: google.protobuf.EnumValueOptions
+ (*ServiceOptions)(nil), // 33: google.protobuf.ServiceOptions
+ (*MethodOptions)(nil), // 34: google.protobuf.MethodOptions
+ (*UninterpretedOption)(nil), // 35: google.protobuf.UninterpretedOption
+ (*FeatureSet)(nil), // 36: google.protobuf.FeatureSet
+ (*FeatureSetDefaults)(nil), // 37: google.protobuf.FeatureSetDefaults
+ (*SourceCodeInfo)(nil), // 38: google.protobuf.SourceCodeInfo
+ (*GeneratedCodeInfo)(nil), // 39: google.protobuf.GeneratedCodeInfo
+ (*DescriptorProto_ExtensionRange)(nil), // 40: google.protobuf.DescriptorProto.ExtensionRange
+ (*DescriptorProto_ReservedRange)(nil), // 41: google.protobuf.DescriptorProto.ReservedRange
+ (*ExtensionRangeOptions_Declaration)(nil), // 42: google.protobuf.ExtensionRangeOptions.Declaration
+ (*EnumDescriptorProto_EnumReservedRange)(nil), // 43: google.protobuf.EnumDescriptorProto.EnumReservedRange
+ (*FieldOptions_EditionDefault)(nil), // 44: google.protobuf.FieldOptions.EditionDefault
+ (*UninterpretedOption_NamePart)(nil), // 45: google.protobuf.UninterpretedOption.NamePart
+ (*FeatureSetDefaults_FeatureSetEditionDefault)(nil), // 46: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ (*SourceCodeInfo_Location)(nil), // 47: google.protobuf.SourceCodeInfo.Location
+ (*GeneratedCodeInfo_Annotation)(nil), // 48: google.protobuf.GeneratedCodeInfo.Annotation
}
var file_google_protobuf_descriptor_proto_depIdxs = []int32{
- 11, // 0: google.protobuf.FileDescriptorSet.file:type_name -> google.protobuf.FileDescriptorProto
- 12, // 1: google.protobuf.FileDescriptorProto.message_type:type_name -> google.protobuf.DescriptorProto
- 16, // 2: google.protobuf.FileDescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto
- 18, // 3: google.protobuf.FileDescriptorProto.service:type_name -> google.protobuf.ServiceDescriptorProto
- 14, // 4: google.protobuf.FileDescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto
- 20, // 5: google.protobuf.FileDescriptorProto.options:type_name -> google.protobuf.FileOptions
- 29, // 6: google.protobuf.FileDescriptorProto.source_code_info:type_name -> google.protobuf.SourceCodeInfo
- 14, // 7: google.protobuf.DescriptorProto.field:type_name -> google.protobuf.FieldDescriptorProto
- 14, // 8: google.protobuf.DescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto
- 12, // 9: google.protobuf.DescriptorProto.nested_type:type_name -> google.protobuf.DescriptorProto
- 16, // 10: google.protobuf.DescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto
- 31, // 11: google.protobuf.DescriptorProto.extension_range:type_name -> google.protobuf.DescriptorProto.ExtensionRange
- 15, // 12: google.protobuf.DescriptorProto.oneof_decl:type_name -> google.protobuf.OneofDescriptorProto
- 21, // 13: google.protobuf.DescriptorProto.options:type_name -> google.protobuf.MessageOptions
- 32, // 14: google.protobuf.DescriptorProto.reserved_range:type_name -> google.protobuf.DescriptorProto.ReservedRange
- 28, // 15: google.protobuf.ExtensionRangeOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 33, // 16: google.protobuf.ExtensionRangeOptions.declaration:type_name -> google.protobuf.ExtensionRangeOptions.Declaration
- 0, // 17: google.protobuf.ExtensionRangeOptions.verification:type_name -> google.protobuf.ExtensionRangeOptions.VerificationState
- 2, // 18: google.protobuf.FieldDescriptorProto.label:type_name -> google.protobuf.FieldDescriptorProto.Label
- 1, // 19: google.protobuf.FieldDescriptorProto.type:type_name -> google.protobuf.FieldDescriptorProto.Type
- 22, // 20: google.protobuf.FieldDescriptorProto.options:type_name -> google.protobuf.FieldOptions
- 23, // 21: google.protobuf.OneofDescriptorProto.options:type_name -> google.protobuf.OneofOptions
- 17, // 22: google.protobuf.EnumDescriptorProto.value:type_name -> google.protobuf.EnumValueDescriptorProto
- 24, // 23: google.protobuf.EnumDescriptorProto.options:type_name -> google.protobuf.EnumOptions
- 34, // 24: google.protobuf.EnumDescriptorProto.reserved_range:type_name -> google.protobuf.EnumDescriptorProto.EnumReservedRange
- 25, // 25: google.protobuf.EnumValueDescriptorProto.options:type_name -> google.protobuf.EnumValueOptions
- 19, // 26: google.protobuf.ServiceDescriptorProto.method:type_name -> google.protobuf.MethodDescriptorProto
- 26, // 27: google.protobuf.ServiceDescriptorProto.options:type_name -> google.protobuf.ServiceOptions
- 27, // 28: google.protobuf.MethodDescriptorProto.options:type_name -> google.protobuf.MethodOptions
- 3, // 29: google.protobuf.FileOptions.optimize_for:type_name -> google.protobuf.FileOptions.OptimizeMode
- 28, // 30: google.protobuf.FileOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 28, // 31: google.protobuf.MessageOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 4, // 32: google.protobuf.FieldOptions.ctype:type_name -> google.protobuf.FieldOptions.CType
- 5, // 33: google.protobuf.FieldOptions.jstype:type_name -> google.protobuf.FieldOptions.JSType
- 6, // 34: google.protobuf.FieldOptions.retention:type_name -> google.protobuf.FieldOptions.OptionRetention
- 7, // 35: google.protobuf.FieldOptions.target:type_name -> google.protobuf.FieldOptions.OptionTargetType
- 7, // 36: google.protobuf.FieldOptions.targets:type_name -> google.protobuf.FieldOptions.OptionTargetType
- 28, // 37: google.protobuf.FieldOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 28, // 38: google.protobuf.OneofOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 28, // 39: google.protobuf.EnumOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 28, // 40: google.protobuf.EnumValueOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 28, // 41: google.protobuf.ServiceOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 8, // 42: google.protobuf.MethodOptions.idempotency_level:type_name -> google.protobuf.MethodOptions.IdempotencyLevel
- 28, // 43: google.protobuf.MethodOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 35, // 44: google.protobuf.UninterpretedOption.name:type_name -> google.protobuf.UninterpretedOption.NamePart
- 36, // 45: google.protobuf.SourceCodeInfo.location:type_name -> google.protobuf.SourceCodeInfo.Location
- 37, // 46: google.protobuf.GeneratedCodeInfo.annotation:type_name -> google.protobuf.GeneratedCodeInfo.Annotation
- 13, // 47: google.protobuf.DescriptorProto.ExtensionRange.options:type_name -> google.protobuf.ExtensionRangeOptions
- 9, // 48: google.protobuf.GeneratedCodeInfo.Annotation.semantic:type_name -> google.protobuf.GeneratedCodeInfo.Annotation.Semantic
- 49, // [49:49] is the sub-list for method output_type
- 49, // [49:49] is the sub-list for method input_type
- 49, // [49:49] is the sub-list for extension type_name
- 49, // [49:49] is the sub-list for extension extendee
- 0, // [0:49] is the sub-list for field type_name
+ 18, // 0: google.protobuf.FileDescriptorSet.file:type_name -> google.protobuf.FileDescriptorProto
+ 19, // 1: google.protobuf.FileDescriptorProto.message_type:type_name -> google.protobuf.DescriptorProto
+ 23, // 2: google.protobuf.FileDescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto
+ 25, // 3: google.protobuf.FileDescriptorProto.service:type_name -> google.protobuf.ServiceDescriptorProto
+ 21, // 4: google.protobuf.FileDescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto
+ 27, // 5: google.protobuf.FileDescriptorProto.options:type_name -> google.protobuf.FileOptions
+ 38, // 6: google.protobuf.FileDescriptorProto.source_code_info:type_name -> google.protobuf.SourceCodeInfo
+ 0, // 7: google.protobuf.FileDescriptorProto.edition:type_name -> google.protobuf.Edition
+ 21, // 8: google.protobuf.DescriptorProto.field:type_name -> google.protobuf.FieldDescriptorProto
+ 21, // 9: google.protobuf.DescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto
+ 19, // 10: google.protobuf.DescriptorProto.nested_type:type_name -> google.protobuf.DescriptorProto
+ 23, // 11: google.protobuf.DescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto
+ 40, // 12: google.protobuf.DescriptorProto.extension_range:type_name -> google.protobuf.DescriptorProto.ExtensionRange
+ 22, // 13: google.protobuf.DescriptorProto.oneof_decl:type_name -> google.protobuf.OneofDescriptorProto
+ 28, // 14: google.protobuf.DescriptorProto.options:type_name -> google.protobuf.MessageOptions
+ 41, // 15: google.protobuf.DescriptorProto.reserved_range:type_name -> google.protobuf.DescriptorProto.ReservedRange
+ 35, // 16: google.protobuf.ExtensionRangeOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 42, // 17: google.protobuf.ExtensionRangeOptions.declaration:type_name -> google.protobuf.ExtensionRangeOptions.Declaration
+ 36, // 18: google.protobuf.ExtensionRangeOptions.features:type_name -> google.protobuf.FeatureSet
+ 1, // 19: google.protobuf.ExtensionRangeOptions.verification:type_name -> google.protobuf.ExtensionRangeOptions.VerificationState
+ 3, // 20: google.protobuf.FieldDescriptorProto.label:type_name -> google.protobuf.FieldDescriptorProto.Label
+ 2, // 21: google.protobuf.FieldDescriptorProto.type:type_name -> google.protobuf.FieldDescriptorProto.Type
+ 29, // 22: google.protobuf.FieldDescriptorProto.options:type_name -> google.protobuf.FieldOptions
+ 30, // 23: google.protobuf.OneofDescriptorProto.options:type_name -> google.protobuf.OneofOptions
+ 24, // 24: google.protobuf.EnumDescriptorProto.value:type_name -> google.protobuf.EnumValueDescriptorProto
+ 31, // 25: google.protobuf.EnumDescriptorProto.options:type_name -> google.protobuf.EnumOptions
+ 43, // 26: google.protobuf.EnumDescriptorProto.reserved_range:type_name -> google.protobuf.EnumDescriptorProto.EnumReservedRange
+ 32, // 27: google.protobuf.EnumValueDescriptorProto.options:type_name -> google.protobuf.EnumValueOptions
+ 26, // 28: google.protobuf.ServiceDescriptorProto.method:type_name -> google.protobuf.MethodDescriptorProto
+ 33, // 29: google.protobuf.ServiceDescriptorProto.options:type_name -> google.protobuf.ServiceOptions
+ 34, // 30: google.protobuf.MethodDescriptorProto.options:type_name -> google.protobuf.MethodOptions
+ 4, // 31: google.protobuf.FileOptions.optimize_for:type_name -> google.protobuf.FileOptions.OptimizeMode
+ 36, // 32: google.protobuf.FileOptions.features:type_name -> google.protobuf.FeatureSet
+ 35, // 33: google.protobuf.FileOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 36, // 34: google.protobuf.MessageOptions.features:type_name -> google.protobuf.FeatureSet
+ 35, // 35: google.protobuf.MessageOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 5, // 36: google.protobuf.FieldOptions.ctype:type_name -> google.protobuf.FieldOptions.CType
+ 6, // 37: google.protobuf.FieldOptions.jstype:type_name -> google.protobuf.FieldOptions.JSType
+ 7, // 38: google.protobuf.FieldOptions.retention:type_name -> google.protobuf.FieldOptions.OptionRetention
+ 8, // 39: google.protobuf.FieldOptions.targets:type_name -> google.protobuf.FieldOptions.OptionTargetType
+ 44, // 40: google.protobuf.FieldOptions.edition_defaults:type_name -> google.protobuf.FieldOptions.EditionDefault
+ 36, // 41: google.protobuf.FieldOptions.features:type_name -> google.protobuf.FeatureSet
+ 35, // 42: google.protobuf.FieldOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 36, // 43: google.protobuf.OneofOptions.features:type_name -> google.protobuf.FeatureSet
+ 35, // 44: google.protobuf.OneofOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 36, // 45: google.protobuf.EnumOptions.features:type_name -> google.protobuf.FeatureSet
+ 35, // 46: google.protobuf.EnumOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 36, // 47: google.protobuf.EnumValueOptions.features:type_name -> google.protobuf.FeatureSet
+ 35, // 48: google.protobuf.EnumValueOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 36, // 49: google.protobuf.ServiceOptions.features:type_name -> google.protobuf.FeatureSet
+ 35, // 50: google.protobuf.ServiceOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 9, // 51: google.protobuf.MethodOptions.idempotency_level:type_name -> google.protobuf.MethodOptions.IdempotencyLevel
+ 36, // 52: google.protobuf.MethodOptions.features:type_name -> google.protobuf.FeatureSet
+ 35, // 53: google.protobuf.MethodOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 45, // 54: google.protobuf.UninterpretedOption.name:type_name -> google.protobuf.UninterpretedOption.NamePart
+ 10, // 55: google.protobuf.FeatureSet.field_presence:type_name -> google.protobuf.FeatureSet.FieldPresence
+ 11, // 56: google.protobuf.FeatureSet.enum_type:type_name -> google.protobuf.FeatureSet.EnumType
+ 12, // 57: google.protobuf.FeatureSet.repeated_field_encoding:type_name -> google.protobuf.FeatureSet.RepeatedFieldEncoding
+ 13, // 58: google.protobuf.FeatureSet.utf8_validation:type_name -> google.protobuf.FeatureSet.Utf8Validation
+ 14, // 59: google.protobuf.FeatureSet.message_encoding:type_name -> google.protobuf.FeatureSet.MessageEncoding
+ 15, // 60: google.protobuf.FeatureSet.json_format:type_name -> google.protobuf.FeatureSet.JsonFormat
+ 46, // 61: google.protobuf.FeatureSetDefaults.defaults:type_name -> google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ 0, // 62: google.protobuf.FeatureSetDefaults.minimum_edition:type_name -> google.protobuf.Edition
+ 0, // 63: google.protobuf.FeatureSetDefaults.maximum_edition:type_name -> google.protobuf.Edition
+ 47, // 64: google.protobuf.SourceCodeInfo.location:type_name -> google.protobuf.SourceCodeInfo.Location
+ 48, // 65: google.protobuf.GeneratedCodeInfo.annotation:type_name -> google.protobuf.GeneratedCodeInfo.Annotation
+ 20, // 66: google.protobuf.DescriptorProto.ExtensionRange.options:type_name -> google.protobuf.ExtensionRangeOptions
+ 0, // 67: google.protobuf.FieldOptions.EditionDefault.edition:type_name -> google.protobuf.Edition
+ 0, // 68: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition:type_name -> google.protobuf.Edition
+ 36, // 69: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features:type_name -> google.protobuf.FeatureSet
+ 16, // 70: google.protobuf.GeneratedCodeInfo.Annotation.semantic:type_name -> google.protobuf.GeneratedCodeInfo.Annotation.Semantic
+ 71, // [71:71] is the sub-list for method output_type
+ 71, // [71:71] is the sub-list for method input_type
+ 71, // [71:71] is the sub-list for extension type_name
+ 71, // [71:71] is the sub-list for extension extendee
+ 0, // [0:71] is the sub-list for field type_name
}
func init() { file_google_protobuf_descriptor_proto_init() }
@@ -4475,19 +5476,21 @@ func file_google_protobuf_descriptor_proto_init() {
}
}
file_google_protobuf_descriptor_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SourceCodeInfo); i {
+ switch v := v.(*FeatureSet); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
+ case 3:
+ return &v.extensionFields
default:
return nil
}
}
file_google_protobuf_descriptor_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GeneratedCodeInfo); i {
+ switch v := v.(*FeatureSetDefaults); i {
case 0:
return &v.state
case 1:
@@ -4499,7 +5502,7 @@ func file_google_protobuf_descriptor_proto_init() {
}
}
file_google_protobuf_descriptor_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DescriptorProto_ExtensionRange); i {
+ switch v := v.(*SourceCodeInfo); i {
case 0:
return &v.state
case 1:
@@ -4511,7 +5514,7 @@ func file_google_protobuf_descriptor_proto_init() {
}
}
file_google_protobuf_descriptor_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DescriptorProto_ReservedRange); i {
+ switch v := v.(*GeneratedCodeInfo); i {
case 0:
return &v.state
case 1:
@@ -4523,7 +5526,7 @@ func file_google_protobuf_descriptor_proto_init() {
}
}
file_google_protobuf_descriptor_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ExtensionRangeOptions_Declaration); i {
+ switch v := v.(*DescriptorProto_ExtensionRange); i {
case 0:
return &v.state
case 1:
@@ -4535,7 +5538,7 @@ func file_google_protobuf_descriptor_proto_init() {
}
}
file_google_protobuf_descriptor_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EnumDescriptorProto_EnumReservedRange); i {
+ switch v := v.(*DescriptorProto_ReservedRange); i {
case 0:
return &v.state
case 1:
@@ -4547,7 +5550,7 @@ func file_google_protobuf_descriptor_proto_init() {
}
}
file_google_protobuf_descriptor_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UninterpretedOption_NamePart); i {
+ switch v := v.(*ExtensionRangeOptions_Declaration); i {
case 0:
return &v.state
case 1:
@@ -4559,7 +5562,7 @@ func file_google_protobuf_descriptor_proto_init() {
}
}
file_google_protobuf_descriptor_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SourceCodeInfo_Location); i {
+ switch v := v.(*EnumDescriptorProto_EnumReservedRange); i {
case 0:
return &v.state
case 1:
@@ -4571,6 +5574,54 @@ func file_google_protobuf_descriptor_proto_init() {
}
}
file_google_protobuf_descriptor_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FieldOptions_EditionDefault); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_google_protobuf_descriptor_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UninterpretedOption_NamePart); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_google_protobuf_descriptor_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FeatureSetDefaults_FeatureSetEditionDefault); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_google_protobuf_descriptor_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SourceCodeInfo_Location); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_google_protobuf_descriptor_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GeneratedCodeInfo_Annotation); i {
case 0:
return &v.state
@@ -4588,8 +5639,8 @@ func file_google_protobuf_descriptor_proto_init() {
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_google_protobuf_descriptor_proto_rawDesc,
- NumEnums: 10,
- NumMessages: 28,
+ NumEnums: 17,
+ NumMessages: 32,
NumExtensions: 0,
NumServices: 0,
},
diff --git a/vendor/google.golang.org/protobuf/types/descriptorpb/ya.make b/vendor/google.golang.org/protobuf/types/descriptorpb/ya.make
index a3372ee0ac..a96c8d9d3c 100644
--- a/vendor/google.golang.org/protobuf/types/descriptorpb/ya.make
+++ b/vendor/google.golang.org/protobuf/types/descriptorpb/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(descriptor.pb.go)
+SRCS(
+ descriptor.pb.go
+)
END()
diff --git a/vendor/google.golang.org/protobuf/types/dynamicpb/dynamic.go b/vendor/google.golang.org/protobuf/types/dynamicpb/dynamic.go
index f77ef0de15..54ae1ab87d 100644
--- a/vendor/google.golang.org/protobuf/types/dynamicpb/dynamic.go
+++ b/vendor/google.golang.org/protobuf/types/dynamicpb/dynamic.go
@@ -49,12 +49,13 @@ type extensionType struct {
// A Message is a dynamically constructed protocol buffer message.
//
-// Message implements the proto.Message interface, and may be used with all
-// standard proto package functions such as Marshal, Unmarshal, and so forth.
+// Message implements the [google.golang.org/protobuf/proto.Message] interface,
+// and may be used with all standard proto package functions
+// such as Marshal, Unmarshal, and so forth.
//
-// Message also implements the protoreflect.Message interface. See the protoreflect
-// package documentation for that interface for how to get and set fields and
-// otherwise interact with the contents of a Message.
+// Message also implements the [protoreflect.Message] interface.
+// See the [protoreflect] package documentation for that interface for how to
+// get and set fields and otherwise interact with the contents of a Message.
//
// Reflection API functions which construct messages, such as NewField,
// return new dynamic messages of the appropriate type. Functions which take
@@ -87,7 +88,7 @@ func NewMessage(desc protoreflect.MessageDescriptor) *Message {
// ProtoMessage implements the legacy message interface.
func (m *Message) ProtoMessage() {}
-// ProtoReflect implements the protoreflect.ProtoMessage interface.
+// ProtoReflect implements the [protoreflect.ProtoMessage] interface.
func (m *Message) ProtoReflect() protoreflect.Message {
return m
}
@@ -115,25 +116,25 @@ func (m *Message) Type() protoreflect.MessageType {
}
// New returns a newly allocated empty message with the same descriptor.
-// See protoreflect.Message for details.
+// See [protoreflect.Message] for details.
func (m *Message) New() protoreflect.Message {
return m.Type().New()
}
// Interface returns the message.
-// See protoreflect.Message for details.
+// See [protoreflect.Message] for details.
func (m *Message) Interface() protoreflect.ProtoMessage {
return m
}
-// ProtoMethods is an internal detail of the protoreflect.Message interface.
+// ProtoMethods is an internal detail of the [protoreflect.Message] interface.
// Users should never call this directly.
func (m *Message) ProtoMethods() *protoiface.Methods {
return nil
}
// Range visits every populated field in undefined order.
-// See protoreflect.Message for details.
+// See [protoreflect.Message] for details.
func (m *Message) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
for num, v := range m.known {
fd := m.ext[num]
@@ -150,7 +151,7 @@ func (m *Message) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value)
}
// Has reports whether a field is populated.
-// See protoreflect.Message for details.
+// See [protoreflect.Message] for details.
func (m *Message) Has(fd protoreflect.FieldDescriptor) bool {
m.checkField(fd)
if fd.IsExtension() && m.ext[fd.Number()] != fd {
@@ -164,7 +165,7 @@ func (m *Message) Has(fd protoreflect.FieldDescriptor) bool {
}
// Clear clears a field.
-// See protoreflect.Message for details.
+// See [protoreflect.Message] for details.
func (m *Message) Clear(fd protoreflect.FieldDescriptor) {
m.checkField(fd)
num := fd.Number()
@@ -173,7 +174,7 @@ func (m *Message) Clear(fd protoreflect.FieldDescriptor) {
}
// Get returns the value of a field.
-// See protoreflect.Message for details.
+// See [protoreflect.Message] for details.
func (m *Message) Get(fd protoreflect.FieldDescriptor) protoreflect.Value {
m.checkField(fd)
num := fd.Number()
@@ -212,7 +213,7 @@ func (m *Message) Get(fd protoreflect.FieldDescriptor) protoreflect.Value {
}
// Mutable returns a mutable reference to a repeated, map, or message field.
-// See protoreflect.Message for details.
+// See [protoreflect.Message] for details.
func (m *Message) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
m.checkField(fd)
if !fd.IsMap() && !fd.IsList() && fd.Message() == nil {
@@ -241,7 +242,7 @@ func (m *Message) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
}
// Set stores a value in a field.
-// See protoreflect.Message for details.
+// See [protoreflect.Message] for details.
func (m *Message) Set(fd protoreflect.FieldDescriptor, v protoreflect.Value) {
m.checkField(fd)
if m.known == nil {
@@ -284,7 +285,7 @@ func (m *Message) clearOtherOneofFields(fd protoreflect.FieldDescriptor) {
}
// NewField returns a new value for assignable to the field of a given descriptor.
-// See protoreflect.Message for details.
+// See [protoreflect.Message] for details.
func (m *Message) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
m.checkField(fd)
switch {
@@ -305,7 +306,7 @@ func (m *Message) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
}
// WhichOneof reports which field in a oneof is populated, returning nil if none are populated.
-// See protoreflect.Message for details.
+// See [protoreflect.Message] for details.
func (m *Message) WhichOneof(od protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
for i := 0; i < od.Fields().Len(); i++ {
fd := od.Fields().Get(i)
@@ -317,13 +318,13 @@ func (m *Message) WhichOneof(od protoreflect.OneofDescriptor) protoreflect.Field
}
// GetUnknown returns the raw unknown fields.
-// See protoreflect.Message for details.
+// See [protoreflect.Message] for details.
func (m *Message) GetUnknown() protoreflect.RawFields {
return m.unknown
}
// SetUnknown sets the raw unknown fields.
-// See protoreflect.Message for details.
+// See [protoreflect.Message] for details.
func (m *Message) SetUnknown(r protoreflect.RawFields) {
if m.known == nil {
panic(errors.New("%v: modification of read-only message", m.typ.desc.FullName()))
@@ -332,7 +333,7 @@ func (m *Message) SetUnknown(r protoreflect.RawFields) {
}
// IsValid reports whether the message is valid.
-// See protoreflect.Message for details.
+// See [protoreflect.Message] for details.
func (m *Message) IsValid() bool {
return m.known != nil
}
diff --git a/vendor/google.golang.org/protobuf/types/dynamicpb/dynamic_test.go b/vendor/google.golang.org/protobuf/types/dynamicpb/dynamic_test.go
deleted file mode 100644
index 99d77d0a80..0000000000
--- a/vendor/google.golang.org/protobuf/types/dynamicpb/dynamic_test.go
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright 2019 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package dynamicpb_test
-
-import (
- "testing"
-
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/reflect/protoregistry"
- "google.golang.org/protobuf/testing/prototest"
- "google.golang.org/protobuf/types/dynamicpb"
-
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- test3pb "google.golang.org/protobuf/internal/testprotos/test3"
-)
-
-func TestConformance(t *testing.T) {
- for _, message := range []proto.Message{
- (*testpb.TestAllTypes)(nil),
- (*test3pb.TestAllTypes)(nil),
- (*testpb.TestAllExtensions)(nil),
- } {
- mt := dynamicpb.NewMessageType(message.ProtoReflect().Descriptor())
- prototest.Message{}.Test(t, mt)
- }
-}
-
-func TestDynamicExtensions(t *testing.T) {
- for _, message := range []proto.Message{
- (*testpb.TestAllExtensions)(nil),
- } {
- mt := dynamicpb.NewMessageType(message.ProtoReflect().Descriptor())
- prototest.Message{
- Resolver: extResolver{},
- }.Test(t, mt)
- }
-}
-
-func TestDynamicEnums(t *testing.T) {
- for _, enum := range []protoreflect.Enum{
- testpb.TestAllTypes_FOO,
- test3pb.TestAllTypes_FOO,
- } {
- et := dynamicpb.NewEnumType(enum.Descriptor())
- prototest.Enum{}.Test(t, et)
- }
-}
-
-type extResolver struct{}
-
-func (extResolver) FindExtensionByName(field protoreflect.FullName) (protoreflect.ExtensionType, error) {
- xt, err := protoregistry.GlobalTypes.FindExtensionByName(field)
- if err != nil {
- return nil, err
- }
- return dynamicpb.NewExtensionType(xt.TypeDescriptor().Descriptor()), nil
-}
-
-func (extResolver) FindExtensionByNumber(message protoreflect.FullName, field protoreflect.FieldNumber) (protoreflect.ExtensionType, error) {
- xt, err := protoregistry.GlobalTypes.FindExtensionByNumber(message, field)
- if err != nil {
- return nil, err
- }
- return dynamicpb.NewExtensionType(xt.TypeDescriptor().Descriptor()), nil
-}
-
-func (extResolver) RangeExtensionsByMessage(message protoreflect.FullName, f func(protoreflect.ExtensionType) bool) {
- protoregistry.GlobalTypes.RangeExtensionsByMessage(message, func(xt protoreflect.ExtensionType) bool {
- return f(dynamicpb.NewExtensionType(xt.TypeDescriptor().Descriptor()))
- })
-}
diff --git a/vendor/google.golang.org/protobuf/types/dynamicpb/gotest/ya.make b/vendor/google.golang.org/protobuf/types/dynamicpb/gotest/ya.make
deleted file mode 100644
index 3cbbcb0e62..0000000000
--- a/vendor/google.golang.org/protobuf/types/dynamicpb/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/types/dynamicpb)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/types/dynamicpb/types.go b/vendor/google.golang.org/protobuf/types/dynamicpb/types.go
index 5a8010f18f..c432817bb9 100644
--- a/vendor/google.golang.org/protobuf/types/dynamicpb/types.go
+++ b/vendor/google.golang.org/protobuf/types/dynamicpb/types.go
@@ -23,13 +23,20 @@ type extField struct {
// A Types is a collection of dynamically constructed descriptors.
// Its methods are safe for concurrent use.
//
-// Types implements protoregistry.MessageTypeResolver and protoregistry.ExtensionTypeResolver.
-// A Types may be used as a proto.UnmarshalOptions.Resolver.
+// Types implements [protoregistry.MessageTypeResolver] and [protoregistry.ExtensionTypeResolver].
+// A Types may be used as a [google.golang.org/protobuf/proto.UnmarshalOptions.Resolver].
type Types struct {
+ // atomicExtFiles is used with sync/atomic and hence must be the first word
+ // of the struct to guarantee 64-bit alignment.
+ //
+ // TODO(stapelberg): once we only support Go 1.19 and newer, switch this
+ // field to be of type atomic.Uint64 to guarantee alignment on
+ // stack-allocated values, too.
+ atomicExtFiles uint64
+ extMu sync.Mutex
+
files *protoregistry.Files
- extMu sync.Mutex
- atomicExtFiles uint64
extensionsByMessage map[extField]protoreflect.ExtensionDescriptor
}
@@ -45,7 +52,7 @@ func NewTypes(f *protoregistry.Files) *Types {
// FindEnumByName looks up an enum by its full name;
// e.g., "google.protobuf.Field.Kind".
//
-// This returns (nil, protoregistry.NotFound) if not found.
+// This returns (nil, [protoregistry.NotFound]) if not found.
func (t *Types) FindEnumByName(name protoreflect.FullName) (protoreflect.EnumType, error) {
d, err := t.files.FindDescriptorByName(name)
if err != nil {
@@ -63,7 +70,7 @@ func (t *Types) FindEnumByName(name protoreflect.FullName) (protoreflect.EnumTyp
// where the extension is declared and is unrelated to the full name of the
// message being extended.
//
-// This returns (nil, protoregistry.NotFound) if not found.
+// This returns (nil, [protoregistry.NotFound]) if not found.
func (t *Types) FindExtensionByName(name protoreflect.FullName) (protoreflect.ExtensionType, error) {
d, err := t.files.FindDescriptorByName(name)
if err != nil {
@@ -79,7 +86,7 @@ func (t *Types) FindExtensionByName(name protoreflect.FullName) (protoreflect.Ex
// FindExtensionByNumber looks up an extension field by the field number
// within some parent message, identified by full name.
//
-// This returns (nil, protoregistry.NotFound) if not found.
+// This returns (nil, [protoregistry.NotFound]) if not found.
func (t *Types) FindExtensionByNumber(message protoreflect.FullName, field protoreflect.FieldNumber) (protoreflect.ExtensionType, error) {
// Construct the extension number map lazily, since not every user will need it.
// Update the map if new files are added to the registry.
@@ -96,7 +103,7 @@ func (t *Types) FindExtensionByNumber(message protoreflect.FullName, field proto
// FindMessageByName looks up a message by its full name;
// e.g. "google.protobuf.Any".
//
-// This returns (nil, protoregistry.NotFound) if not found.
+// This returns (nil, [protoregistry.NotFound]) if not found.
func (t *Types) FindMessageByName(name protoreflect.FullName) (protoreflect.MessageType, error) {
d, err := t.files.FindDescriptorByName(name)
if err != nil {
@@ -112,7 +119,7 @@ func (t *Types) FindMessageByName(name protoreflect.FullName) (protoreflect.Mess
// FindMessageByURL looks up a message by a URL identifier.
// See documentation on google.protobuf.Any.type_url for the URL format.
//
-// This returns (nil, protoregistry.NotFound) if not found.
+// This returns (nil, [protoregistry.NotFound]) if not found.
func (t *Types) FindMessageByURL(url string) (protoreflect.MessageType, error) {
// This function is similar to FindMessageByName but
// truncates anything before and including '/' in the URL.
diff --git a/vendor/google.golang.org/protobuf/types/dynamicpb/types_test.go b/vendor/google.golang.org/protobuf/types/dynamicpb/types_test.go
deleted file mode 100644
index 1878f79443..0000000000
--- a/vendor/google.golang.org/protobuf/types/dynamicpb/types_test.go
+++ /dev/null
@@ -1,174 +0,0 @@
-// Copyright 2023 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package dynamicpb_test
-
-import (
- "strings"
- "testing"
-
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/reflect/protoregistry"
- "google.golang.org/protobuf/types/descriptorpb"
- "google.golang.org/protobuf/types/dynamicpb"
-
- registrypb "google.golang.org/protobuf/internal/testprotos/registry"
-)
-
-var _ protoregistry.ExtensionTypeResolver = &dynamicpb.Types{}
-var _ protoregistry.MessageTypeResolver = &dynamicpb.Types{}
-
-func newTestTypes() *dynamicpb.Types {
- files := &protoregistry.Files{}
- files.RegisterFile(registrypb.File_internal_testprotos_registry_test_proto)
- return dynamicpb.NewTypes(files)
-}
-
-func TestDynamicTypesTypeMismatch(t *testing.T) {
- types := newTestTypes()
- const messageName = "testprotos.Message1"
- const enumName = "testprotos.Enum1"
-
- _, err := types.FindEnumByName(messageName)
- want := "found wrong type: got message, want enum"
- if err == nil || !strings.Contains(err.Error(), want) {
- t.Errorf("types.FindEnumByName(%q) = _, %q, want %q", messageName, err, want)
- }
-
- _, err = types.FindMessageByName(enumName)
- want = "found wrong type: got enum, want message"
- if err == nil || !strings.Contains(err.Error(), want) {
- t.Errorf("types.FindMessageByName(%q) = _, %q, want %q", messageName, err, want)
- }
-
- _, err = types.FindExtensionByName(enumName)
- want = "found wrong type: got enum, want extension"
- if err == nil || !strings.Contains(err.Error(), want) {
- t.Errorf("types.FindExtensionByName(%q) = _, %q, want %q", messageName, err, want)
- }
-}
-
-func TestDynamicTypesEnumNotFound(t *testing.T) {
- types := newTestTypes()
- for _, name := range []protoreflect.FullName{
- "Enum1",
- "testprotos.DoesNotExist",
- } {
- _, err := types.FindEnumByName(name)
- if err != protoregistry.NotFound {
- t.Errorf("types.FindEnumByName(%q) = _, %v; want protoregistry.NotFound", name, err)
- }
- }
-}
-
-func TestDynamicTypesFindEnumByName(t *testing.T) {
- types := newTestTypes()
- name := protoreflect.FullName("testprotos.Enum1")
- et, err := types.FindEnumByName(name)
- if err != nil {
- t.Fatalf("types.FindEnumByName(%q) = %v", name, err)
- }
- if got, want := et.Descriptor().FullName(), name; got != want {
- t.Fatalf("types.FindEnumByName(%q).Descriptor().FullName() = %q, want %q", name, got, want)
- }
-}
-
-func TestDynamicTypesMessageNotFound(t *testing.T) {
- types := newTestTypes()
- for _, name := range []protoreflect.FullName{
- "Message1",
- "testprotos.DoesNotExist",
- } {
- _, err := types.FindMessageByName(name)
- if err != protoregistry.NotFound {
- t.Errorf("types.FindMessageByName(%q) = _, %v; want protoregistry.NotFound", name, err)
- }
- }
-}
-
-func TestDynamicTypesFindMessageByName(t *testing.T) {
- types := newTestTypes()
- name := protoreflect.FullName("testprotos.Message1")
- mt, err := types.FindMessageByName(name)
- if err != nil {
- t.Fatalf("types.FindMessageByName(%q) = %v", name, err)
- }
- if got, want := mt.Descriptor().FullName(), name; got != want {
- t.Fatalf("types.FindMessageByName(%q).Descriptor().FullName() = %q, want %q", name, got, want)
- }
-}
-
-func TestDynamicTypesExtensionNotFound(t *testing.T) {
- types := newTestTypes()
- for _, name := range []protoreflect.FullName{
- "string_field",
- "testprotos.DoesNotExist",
- } {
- _, err := types.FindExtensionByName(name)
- if err != protoregistry.NotFound {
- t.Errorf("types.FindExtensionByName(%q) = _, %v; want protoregistry.NotFound", name, err)
- }
- }
- messageName := protoreflect.FullName("testprotos.Message1")
- if _, err := types.FindExtensionByNumber(messageName, 100); err != protoregistry.NotFound {
- t.Errorf("types.FindExtensionByNumber(%q, 100) = _, %v; want protoregistry.NotFound", messageName, 100)
- }
-}
-
-func TestDynamicTypesFindExtensionByNameOrNumber(t *testing.T) {
- types := newTestTypes()
- messageName := protoreflect.FullName("testprotos.Message1")
- mt, err := types.FindMessageByName(messageName)
- if err != nil {
- t.Fatalf("types.FindMessageByName(%q) = %v", messageName, err)
- }
- for _, extensionName := range []protoreflect.FullName{
- "testprotos.string_field",
- "testprotos.Message4.message_field",
- } {
- xt, err := types.FindExtensionByName(extensionName)
- if err != nil {
- t.Fatalf("types.FindExtensionByName(%q) = %v", extensionName, err)
- }
- if got, want := xt.TypeDescriptor().FullName(), extensionName; got != want {
- t.Fatalf("types.FindExtensionByName(%q).TypeDescriptor().FullName() = %q, want %q", extensionName, got, want)
- }
- if got, want := xt.TypeDescriptor().ContainingMessage(), mt.Descriptor(); got != want {
- t.Fatalf("xt.TypeDescriptor().ContainingMessage() = %q, want %q", got.FullName(), want.FullName())
- }
- number := xt.TypeDescriptor().Number()
- xt2, err := types.FindExtensionByNumber(messageName, number)
- if err != nil {
- t.Fatalf("types.FindExtensionByNumber(%q, %v) = %v", messageName, number, err)
- }
- if xt != xt2 {
- t.Fatalf("FindExtensionByName returned a differet extension than FindExtensionByNumber")
- }
- }
-}
-
-func TestDynamicTypesFilesChangeAfterCreation(t *testing.T) {
- files := &protoregistry.Files{}
- files.RegisterFile(descriptorpb.File_google_protobuf_descriptor_proto)
- types := dynamicpb.NewTypes(files)
-
- // Not found: Files registry does not contain this file.
- const message = "testprotos.Message1"
- const number = 11
- if _, err := types.FindMessageByName(message); err != protoregistry.NotFound {
- t.Errorf("types.FindMessageByName(%q) = %v, want protoregistry.NotFound", message, err)
- }
- if _, err := types.FindExtensionByNumber(message, number); err != protoregistry.NotFound {
- t.Errorf("types.FindExtensionByNumber(%q, %v) = %v, want protoregistry.NotFound", message, number, err)
- }
-
- // Found: Add the file to the registry and recheck.
- files.RegisterFile(registrypb.File_internal_testprotos_registry_test_proto)
- if _, err := types.FindMessageByName(message); err != nil {
- t.Errorf("types.FindMessageByName(%q) = %v, want nil", message, err)
- }
- if _, err := types.FindExtensionByNumber(message, number); err != nil {
- t.Errorf("types.FindExtensionByNumber(%q, %v) = %v, want nil", message, number, err)
- }
-}
diff --git a/vendor/google.golang.org/protobuf/types/dynamicpb/ya.make b/vendor/google.golang.org/protobuf/types/dynamicpb/ya.make
index b18fd02368..ecab55dc87 100644
--- a/vendor/google.golang.org/protobuf/types/dynamicpb/ya.make
+++ b/vendor/google.golang.org/protobuf/types/dynamicpb/ya.make
@@ -7,11 +7,4 @@ SRCS(
types.go
)
-GO_XTEST_SRCS(
- dynamic_test.go
- types_test.go
-)
-
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go b/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go
index 580b232f47..9de51be540 100644
--- a/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go
+++ b/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go
@@ -237,7 +237,8 @@ type Any struct {
//
// Note: this functionality is not currently available in the official
// protobuf release, and it is not used for type URLs beginning with
- // type.googleapis.com.
+ // type.googleapis.com. As of May 2023, there are no widely used type server
+ // implementations and no plans to implement one.
//
// Schemes other than `http`, `https` (or the empty scheme) might be
// used with implementation specific semantics.
diff --git a/vendor/google.golang.org/protobuf/types/known/anypb/any_test.go b/vendor/google.golang.org/protobuf/types/known/anypb/any_test.go
deleted file mode 100644
index 68e6391cf7..0000000000
--- a/vendor/google.golang.org/protobuf/types/known/anypb/any_test.go
+++ /dev/null
@@ -1,184 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package anypb_test
-
-import (
- "testing"
-
- "github.com/google/go-cmp/cmp"
- "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/testing/protocmp"
-
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- apb "google.golang.org/protobuf/types/known/anypb"
- epb "google.golang.org/protobuf/types/known/emptypb"
- wpb "google.golang.org/protobuf/types/known/wrapperspb"
-)
-
-func mustMarshal(m proto.Message) []byte {
- b, err := proto.MarshalOptions{AllowPartial: true, Deterministic: true}.Marshal(m)
- if err != nil {
- panic(err)
- }
- return b
-}
-
-func TestMessage(t *testing.T) {
- tests := []struct {
- inAny *apb.Any
- inTarget proto.Message
- wantIs bool
- wantName protoreflect.FullName
- }{{
- inAny: nil,
- inTarget: nil,
- wantIs: false,
- wantName: "",
- }, {
- inAny: new(apb.Any),
- inTarget: nil,
- wantIs: false,
- wantName: "",
- }, {
- inAny: new(apb.Any),
- inTarget: (*testpb.TestAllTypes)(nil),
- wantIs: false,
- wantName: "",
- }, {
- inAny: &apb.Any{TypeUrl: "foo"},
- inTarget: (*testpb.TestAllTypes)(nil),
- wantIs: false,
- wantName: "foo",
- }, {
- inAny: &apb.Any{TypeUrl: "foo$"},
- inTarget: (*testpb.TestAllTypes)(nil),
- wantIs: false,
- wantName: "",
- }, {
- inAny: &apb.Any{TypeUrl: "/foo"},
- inTarget: (*testpb.TestAllTypes)(nil),
- wantIs: false,
- wantName: "foo",
- }, {
- inAny: &apb.Any{TypeUrl: "/bar/foo"},
- inTarget: (*testpb.TestAllTypes)(nil),
- wantIs: false,
- wantName: "foo",
- }, {
- inAny: &apb.Any{TypeUrl: "google.golang.org/bar/foo"},
- inTarget: (*testpb.TestAllTypes)(nil),
- wantIs: false,
- wantName: "foo",
- }, {
- inAny: &apb.Any{TypeUrl: "goproto.proto.test.TestAllTypes"},
- inTarget: (*testpb.TestAllTypes)(nil),
- wantIs: true,
- wantName: "goproto.proto.test.TestAllTypes",
- }, {
- inAny: &apb.Any{TypeUrl: "goproto.proto.test.TestAllTypes$"},
- inTarget: (*testpb.TestAllTypes)(nil),
- wantIs: false,
- wantName: "",
- }, {
- inAny: &apb.Any{TypeUrl: "/goproto.proto.test.TestAllTypes"},
- inTarget: (*testpb.TestAllTypes)(nil),
- wantIs: true,
- wantName: "goproto.proto.test.TestAllTypes",
- }, {
- inAny: &apb.Any{TypeUrl: "google.golang.org/foo/goproto.proto.test.TestAllTypes"},
- inTarget: (*testpb.TestAllTypes)(nil),
- wantIs: true,
- wantName: "goproto.proto.test.TestAllTypes",
- }}
-
- for _, tt := range tests {
- gotIs := tt.inAny.MessageIs(tt.inTarget)
- if gotIs != tt.wantIs {
- t.Errorf("MessageIs(%v, %v) = %v, want %v", tt.inAny, tt.inTarget, gotIs, tt.wantIs)
- }
- gotName := tt.inAny.MessageName()
- if gotName != tt.wantName {
- t.Errorf("MessageName(%v) = %v, want %v", tt.inAny, gotName, tt.wantName)
- }
- }
-}
-
-func TestRoundtrip(t *testing.T) {
- tests := []struct {
- msg proto.Message
- any *apb.Any
- }{{
- msg: &testpb.TestAllTypes{},
- any: &apb.Any{
- TypeUrl: "type.googleapis.com/goproto.proto.test.TestAllTypes",
- },
- }, {
- msg: &testpb.TestAllTypes{
- OptionalString: proto.String("hello, world!"),
- },
- any: &apb.Any{
- TypeUrl: "type.googleapis.com/goproto.proto.test.TestAllTypes",
- Value: mustMarshal(&testpb.TestAllTypes{
- OptionalString: proto.String("hello, world!"),
- }),
- },
- }, {
- msg: &wpb.StringValue{Value: ""},
- any: &apb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.StringValue",
- },
- }, {
- msg: wpb.String("hello, world"),
- any: &apb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.StringValue",
- Value: mustMarshal(wpb.String("hello, world")),
- },
- }, {
- msg: &apb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.StringValue",
- Value: mustMarshal(wpb.String("hello, world")),
- },
- any: &apb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.Any",
- Value: mustMarshal(&apb.Any{
- TypeUrl: "type.googleapis.com/google.protobuf.StringValue",
- Value: mustMarshal(wpb.String("hello, world")),
- }),
- },
- }}
-
- for _, tt := range tests {
- // Unmarshal to the wrong message type.
- var empty epb.Empty
- if err := tt.any.UnmarshalTo(&empty); err == nil {
- t.Errorf("UnmarshalTo(empty) = nil, want non-nil")
- }
-
- gotAny := new(apb.Any)
- if err := gotAny.MarshalFrom(tt.msg); err != nil {
- t.Errorf("MarshalFrom() error: %v", err)
- }
- if diff := cmp.Diff(tt.any, gotAny, protocmp.Transform()); diff != "" {
- t.Errorf("MarshalFrom() output mismatch (-want +got):\n%s", diff)
- }
-
- gotPB := tt.msg.ProtoReflect().New().Interface()
- if err := tt.any.UnmarshalTo(gotPB); err != nil {
- t.Errorf("UnmarshalTo() error: %v", err)
- }
- if diff := cmp.Diff(tt.msg, gotPB, protocmp.Transform()); diff != "" {
- t.Errorf("UnmarshalTo() output mismatch (-want +got):\n%s", diff)
- }
-
- gotPB, err := tt.any.UnmarshalNew()
- if err != nil {
- t.Errorf("UnmarshalNew() error: %v", err)
- }
- if diff := cmp.Diff(tt.msg, gotPB, protocmp.Transform()); diff != "" {
- t.Errorf("UnmarshalNew() output mismatch (-want +got):\n%s", diff)
- }
- }
-}
diff --git a/vendor/google.golang.org/protobuf/types/known/anypb/gotest/ya.make b/vendor/google.golang.org/protobuf/types/known/anypb/gotest/ya.make
deleted file mode 100644
index de0d09b9d4..0000000000
--- a/vendor/google.golang.org/protobuf/types/known/anypb/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/types/known/anypb)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/types/known/anypb/ya.make b/vendor/google.golang.org/protobuf/types/known/anypb/ya.make
index ebf72e63f7..3131b76dff 100644
--- a/vendor/google.golang.org/protobuf/types/known/anypb/ya.make
+++ b/vendor/google.golang.org/protobuf/types/known/anypb/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(any.pb.go)
-
-GO_XTEST_SRCS(any_test.go)
+SRCS(
+ any.pb.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/types/known/apipb/ya.make b/vendor/google.golang.org/protobuf/types/known/apipb/ya.make
index 65289b517d..80955cac9e 100644
--- a/vendor/google.golang.org/protobuf/types/known/apipb/ya.make
+++ b/vendor/google.golang.org/protobuf/types/known/apipb/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(api.pb.go)
+SRCS(
+ api.pb.go
+)
END()
diff --git a/vendor/google.golang.org/protobuf/types/known/durationpb/duration_test.go b/vendor/google.golang.org/protobuf/types/known/durationpb/duration_test.go
deleted file mode 100644
index 0e86eb122b..0000000000
--- a/vendor/google.golang.org/protobuf/types/known/durationpb/duration_test.go
+++ /dev/null
@@ -1,100 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package durationpb_test
-
-import (
- "math"
- "strings"
- "testing"
- "time"
-
- "github.com/google/go-cmp/cmp"
- "github.com/google/go-cmp/cmp/cmpopts"
- "google.golang.org/protobuf/internal/detrand"
- "google.golang.org/protobuf/testing/protocmp"
-
- durpb "google.golang.org/protobuf/types/known/durationpb"
-)
-
-func init() {
- detrand.Disable()
-}
-
-const (
- minGoSeconds = math.MinInt64 / int64(1e9)
- maxGoSeconds = math.MaxInt64 / int64(1e9)
- absSeconds = 315576000000 // 10000yr * 365.25day/yr * 24hr/day * 60min/hr * 60sec/min
-)
-
-func TestToDuration(t *testing.T) {
- tests := []struct {
- in time.Duration
- want *durpb.Duration
- }{
- {in: time.Duration(0), want: &durpb.Duration{Seconds: 0, Nanos: 0}},
- {in: -time.Second, want: &durpb.Duration{Seconds: -1, Nanos: 0}},
- {in: +time.Second, want: &durpb.Duration{Seconds: +1, Nanos: 0}},
- {in: -time.Second - time.Millisecond, want: &durpb.Duration{Seconds: -1, Nanos: -1e6}},
- {in: +time.Second + time.Millisecond, want: &durpb.Duration{Seconds: +1, Nanos: +1e6}},
- {in: time.Duration(math.MinInt64), want: &durpb.Duration{Seconds: minGoSeconds, Nanos: int32(math.MinInt64 - 1e9*minGoSeconds)}},
- {in: time.Duration(math.MaxInt64), want: &durpb.Duration{Seconds: maxGoSeconds, Nanos: int32(math.MaxInt64 - 1e9*maxGoSeconds)}},
- }
-
- for _, tt := range tests {
- got := durpb.New(tt.in)
- if diff := cmp.Diff(tt.want, got, protocmp.Transform()); diff != "" {
- t.Errorf("New(%v) mismatch (-want +got):\n%s", tt.in, diff)
- }
- }
-}
-
-func TestFromDuration(t *testing.T) {
- tests := []struct {
- in *durpb.Duration
- wantDur time.Duration
- wantErr error
- }{
- {in: nil, wantDur: time.Duration(0), wantErr: textError("invalid nil Duration")},
- {in: new(durpb.Duration), wantDur: time.Duration(0)},
- {in: &durpb.Duration{Seconds: -1, Nanos: 0}, wantDur: -time.Second},
- {in: &durpb.Duration{Seconds: +1, Nanos: 0}, wantDur: +time.Second},
- {in: &durpb.Duration{Seconds: 0, Nanos: -1}, wantDur: -time.Nanosecond},
- {in: &durpb.Duration{Seconds: 0, Nanos: +1}, wantDur: +time.Nanosecond},
- {in: &durpb.Duration{Seconds: -100, Nanos: 0}, wantDur: -100 * time.Second},
- {in: &durpb.Duration{Seconds: +100, Nanos: 0}, wantDur: +100 * time.Second},
- {in: &durpb.Duration{Seconds: -100, Nanos: -987}, wantDur: -100*time.Second - 987*time.Nanosecond},
- {in: &durpb.Duration{Seconds: +100, Nanos: +987}, wantDur: +100*time.Second + 987*time.Nanosecond},
- {in: &durpb.Duration{Seconds: minGoSeconds, Nanos: int32(math.MinInt64 - 1e9*minGoSeconds)}, wantDur: time.Duration(math.MinInt64)},
- {in: &durpb.Duration{Seconds: maxGoSeconds, Nanos: int32(math.MaxInt64 - 1e9*maxGoSeconds)}, wantDur: time.Duration(math.MaxInt64)},
- {in: &durpb.Duration{Seconds: minGoSeconds - 1, Nanos: int32(math.MinInt64 - 1e9*minGoSeconds)}, wantDur: time.Duration(math.MinInt64)},
- {in: &durpb.Duration{Seconds: maxGoSeconds + 1, Nanos: int32(math.MaxInt64 - 1e9*maxGoSeconds)}, wantDur: time.Duration(math.MaxInt64)},
- {in: &durpb.Duration{Seconds: minGoSeconds, Nanos: int32(math.MinInt64-1e9*minGoSeconds) - 1}, wantDur: time.Duration(math.MinInt64)},
- {in: &durpb.Duration{Seconds: maxGoSeconds, Nanos: int32(math.MaxInt64-1e9*maxGoSeconds) + 1}, wantDur: time.Duration(math.MaxInt64)},
- {in: &durpb.Duration{Seconds: -123, Nanos: +456}, wantDur: -123*time.Second + 456*time.Nanosecond, wantErr: textError("duration (seconds:-123 nanos:456) has seconds and nanos with different signs")},
- {in: &durpb.Duration{Seconds: +123, Nanos: -456}, wantDur: +123*time.Second - 456*time.Nanosecond, wantErr: textError("duration (seconds:123 nanos:-456) has seconds and nanos with different signs")},
- {in: &durpb.Duration{Seconds: math.MinInt64}, wantDur: time.Duration(math.MinInt64), wantErr: textError("duration (seconds:-9223372036854775808) exceeds -10000 years")},
- {in: &durpb.Duration{Seconds: math.MaxInt64}, wantDur: time.Duration(math.MaxInt64), wantErr: textError("duration (seconds:9223372036854775807) exceeds +10000 years")},
- {in: &durpb.Duration{Seconds: -absSeconds, Nanos: -(1e9 - 1)}, wantDur: time.Duration(math.MinInt64)},
- {in: &durpb.Duration{Seconds: +absSeconds, Nanos: +(1e9 - 1)}, wantDur: time.Duration(math.MaxInt64)},
- {in: &durpb.Duration{Seconds: -absSeconds - 1, Nanos: 0}, wantDur: time.Duration(math.MinInt64), wantErr: textError("duration (seconds:-315576000001) exceeds -10000 years")},
- {in: &durpb.Duration{Seconds: +absSeconds + 1, Nanos: 0}, wantDur: time.Duration(math.MaxInt64), wantErr: textError("duration (seconds:315576000001) exceeds +10000 years")},
- }
-
- for _, tt := range tests {
- gotDur := tt.in.AsDuration()
- if diff := cmp.Diff(tt.wantDur, gotDur); diff != "" {
- t.Errorf("AsDuration(%v) mismatch (-want +got):\n%s", tt.in, diff)
- }
- gotErr := tt.in.CheckValid()
- if diff := cmp.Diff(tt.wantErr, gotErr, cmpopts.EquateErrors()); diff != "" {
- t.Errorf("CheckValid(%v) mismatch (-want +got):\n%s", tt.in, diff)
- }
- }
-}
-
-type textError string
-
-func (e textError) Error() string { return string(e) }
-func (e textError) Is(err error) bool { return err != nil && strings.Contains(err.Error(), e.Error()) }
diff --git a/vendor/google.golang.org/protobuf/types/known/durationpb/gotest/ya.make b/vendor/google.golang.org/protobuf/types/known/durationpb/gotest/ya.make
deleted file mode 100644
index 43d69e2405..0000000000
--- a/vendor/google.golang.org/protobuf/types/known/durationpb/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/types/known/durationpb)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/types/known/durationpb/ya.make b/vendor/google.golang.org/protobuf/types/known/durationpb/ya.make
index 7ffe306ca2..daf68e86d1 100644
--- a/vendor/google.golang.org/protobuf/types/known/durationpb/ya.make
+++ b/vendor/google.golang.org/protobuf/types/known/durationpb/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(duration.pb.go)
-
-GO_XTEST_SRCS(duration_test.go)
+SRCS(
+ duration.pb.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/types/known/emptypb/ya.make b/vendor/google.golang.org/protobuf/types/known/emptypb/ya.make
index db818008b6..8840533fca 100644
--- a/vendor/google.golang.org/protobuf/types/known/emptypb/ya.make
+++ b/vendor/google.golang.org/protobuf/types/known/emptypb/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(empty.pb.go)
+SRCS(
+ empty.pb.go
+)
END()
diff --git a/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask_test.go b/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask_test.go
deleted file mode 100644
index 19756c509a..0000000000
--- a/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask_test.go
+++ /dev/null
@@ -1,338 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package fieldmaskpb_test
-
-import (
- "testing"
-
- "github.com/google/go-cmp/cmp"
- "github.com/google/go-cmp/cmp/cmpopts"
- "google.golang.org/protobuf/proto"
-
- testpb "google.golang.org/protobuf/internal/testprotos/test"
- fmpb "google.golang.org/protobuf/types/known/fieldmaskpb"
-)
-
-func TestAppend(t *testing.T) {
- tests := []struct {
- inMessage proto.Message
- inPaths []string
- wantPaths []string
- wantError error
- }{{
- inMessage: (*fmpb.FieldMask)(nil),
- inPaths: []string{},
- wantPaths: []string{},
- }, {
- inMessage: (*fmpb.FieldMask)(nil),
- inPaths: []string{"paths", "paths"},
- wantPaths: []string{"paths", "paths"},
- }, {
- inMessage: (*fmpb.FieldMask)(nil),
- inPaths: []string{"paths", "<INVALID>", "paths"},
- wantPaths: []string{"paths"},
- wantError: cmpopts.AnyError,
- }, {
- inMessage: (*testpb.TestAllTypes)(nil),
- inPaths: []string{"optional_int32", "OptionalGroup.optional_nested_message", "map_uint32_uint32", "map_string_nested_message.corecursive", "oneof_bool"},
- wantPaths: []string{"optional_int32", "OptionalGroup.optional_nested_message", "map_uint32_uint32"},
- wantError: cmpopts.AnyError,
- }, {
- inMessage: (*testpb.TestAllTypes)(nil),
- inPaths: []string{"optional_nested_message", "optional_nested_message.corecursive", "optional_nested_message.corecursive.optional_nested_message", "optional_nested_message.corecursive.optional_nested_message.corecursive"},
- wantPaths: []string{"optional_nested_message", "optional_nested_message.corecursive", "optional_nested_message.corecursive.optional_nested_message", "optional_nested_message.corecursive.optional_nested_message.corecursive"},
- }, {
- inMessage: (*testpb.TestAllTypes)(nil),
- inPaths: []string{"optional_int32", "optional_nested_message.corecursive.optional_int64", "optional_nested_message.corecursive.<INVALID>", "optional_int64"},
- wantPaths: []string{"optional_int32", "optional_nested_message.corecursive.optional_int64"},
- wantError: cmpopts.AnyError,
- }, {
- inMessage: (*testpb.TestAllTypes)(nil),
- inPaths: []string{"optional_int32", "optional_nested_message.corecursive.oneof_uint32", "optional_nested_message.oneof_field", "optional_int64"},
- wantPaths: []string{"optional_int32", "optional_nested_message.corecursive.oneof_uint32"},
- wantError: cmpopts.AnyError,
- }}
-
- for _, tt := range tests {
- t.Run("", func(t *testing.T) {
- var mask fmpb.FieldMask
- gotError := mask.Append(tt.inMessage, tt.inPaths...)
- gotPaths := mask.GetPaths()
- if diff := cmp.Diff(tt.wantPaths, gotPaths, cmpopts.EquateEmpty()); diff != "" {
- t.Errorf("Append() paths mismatch (-want +got):\n%s", diff)
- }
- if diff := cmp.Diff(tt.wantError, gotError, cmpopts.EquateErrors()); diff != "" {
- t.Errorf("Append() error mismatch (-want +got):\n%s", diff)
- }
- })
- }
-}
-
-func TestCombine(t *testing.T) {
- tests := []struct {
- in [][]string
- wantUnion []string
- wantIntersect []string
- }{{
- in: [][]string{
- {},
- {},
- },
- wantUnion: []string{},
- wantIntersect: []string{},
- }, {
- in: [][]string{
- {"a"},
- {},
- },
- wantUnion: []string{"a"},
- wantIntersect: []string{},
- }, {
- in: [][]string{
- {"a"},
- {"a"},
- },
- wantUnion: []string{"a"},
- wantIntersect: []string{"a"},
- }, {
- in: [][]string{
- {"a"},
- {"b"},
- {"c"},
- },
- wantUnion: []string{"a", "b", "c"},
- wantIntersect: []string{},
- }, {
- in: [][]string{
- {"a", "b"},
- {"b.b"},
- {"b"},
- {"b", "a.A"},
- {"b", "c", "c.a", "c.b"},
- },
- wantUnion: []string{"a", "b", "c"},
- wantIntersect: []string{"b.b"},
- }, {
- in: [][]string{
- {"a.b", "a.c.d"},
- {"a"},
- },
- wantUnion: []string{"a"},
- wantIntersect: []string{"a.b", "a.c.d"},
- }, {
- in: [][]string{
- {},
- {"a.b", "a.c", "d"},
- },
- wantUnion: []string{"a.b", "a.c", "d"},
- wantIntersect: []string{},
- }}
-
- for _, tt := range tests {
- t.Run("", func(t *testing.T) {
- var masks []*fmpb.FieldMask
- for _, paths := range tt.in {
- masks = append(masks, &fmpb.FieldMask{Paths: paths})
- }
-
- union := fmpb.Union(masks[0], masks[1], masks[2:]...)
- gotUnion := union.GetPaths()
- if diff := cmp.Diff(tt.wantUnion, gotUnion, cmpopts.EquateEmpty()); diff != "" {
- t.Errorf("Union() mismatch (-want +got):\n%s", diff)
- }
-
- intersect := fmpb.Intersect(masks[0], masks[1], masks[2:]...)
- gotIntersect := intersect.GetPaths()
- if diff := cmp.Diff(tt.wantIntersect, gotIntersect, cmpopts.EquateEmpty()); diff != "" {
- t.Errorf("Intersect() mismatch (-want +got):\n%s", diff)
- }
- })
- }
-}
-
-func TestNormalize(t *testing.T) {
- tests := []struct {
- in []string
- want []string
- }{{
- in: []string{},
- want: []string{},
- }, {
- in: []string{"a"},
- want: []string{"a"},
- }, {
- in: []string{"foo", "foo.bar", "foo.baz"},
- want: []string{"foo"},
- }, {
- in: []string{"foo.bar", "foo.baz"},
- want: []string{"foo.bar", "foo.baz"},
- }, {
- in: []string{"", "a.", ".b", "a.b", ".", "", "a.", ".b", "a.b", "."},
- want: []string{"", "a.", "a.b"},
- }, {
- in: []string{"e.a", "e.b", "e.c", "e.d", "e.f", "e.g", "e.b.a", "e$c", "e.b.c"},
- want: []string{"e.a", "e.b", "e.c", "e.d", "e.f", "e.g", "e$c"},
- }, {
- in: []string{"a", "aa", "aaa", "a$", "AAA", "aA.a", "a.a", "a", "aa", "aaa", "a$", "AAA", "aA.a"},
- want: []string{"AAA", "a", "aA.a", "aa", "aaa", "a$"},
- }, {
- in: []string{"a.b", "aa.bb.cc", ".", "a$b", "aa", "a.", "a", "b.c.d", ".a", "", "a$", "a$", "a.b", "a", "a.bb", ""},
- want: []string{"", "a", "aa", "a$", "a$b", "b.c.d"},
- }}
-
- for _, tt := range tests {
- t.Run("", func(t *testing.T) {
- mask := &fmpb.FieldMask{
- Paths: append([]string(nil), tt.in...),
- }
- mask.Normalize()
- got := mask.GetPaths()
- if diff := cmp.Diff(tt.want, got, cmpopts.EquateEmpty()); diff != "" {
- t.Errorf("Normalize() mismatch (-want +got):\n%s", diff)
- }
- })
- }
-}
-
-func TestIsValid(t *testing.T) {
- tests := []struct {
- message proto.Message
- paths []string
- want bool
- }{{
- message: (*testpb.TestAllTypes)(nil),
- paths: []string{"no_such_field"},
- want: false,
- }, {
- message: (*testpb.TestAllTypes)(nil),
- paths: []string{""},
- want: false,
- }, {
- message: (*testpb.TestAllTypes)(nil),
- paths: []string{
- "optional_int32",
- "optional_int32",
- "optional_int64",
- "optional_uint32",
- "optional_uint64",
- "optional_sint32",
- "optional_sint64",
- "optional_fixed32",
- "optional_fixed64",
- "optional_sfixed32",
- "optional_sfixed64",
- "optional_float",
- "optional_double",
- "optional_bool",
- "optional_string",
- "optional_bytes",
- "OptionalGroup",
- "optional_nested_message",
- "optional_foreign_message",
- "optional_import_message",
- "optional_nested_enum",
- "optional_foreign_enum",
- "optional_import_enum",
- "repeated_int32",
- "repeated_int64",
- "repeated_uint32",
- "repeated_uint64",
- "repeated_sint32",
- "repeated_sint64",
- "repeated_fixed32",
- "repeated_fixed64",
- "repeated_sfixed32",
- "repeated_sfixed64",
- "repeated_float",
- "repeated_double",
- "repeated_bool",
- "repeated_string",
- "repeated_bytes",
- "RepeatedGroup",
- "repeated_nested_message",
- "repeated_foreign_message",
- "repeated_importmessage",
- "repeated_nested_enum",
- "repeated_foreign_enum",
- "repeated_importenum",
- "map_int32_int32",
- "map_int64_int64",
- "map_uint32_uint32",
- "map_uint64_uint64",
- "map_sint32_sint32",
- "map_sint64_sint64",
- "map_fixed32_fixed32",
- "map_fixed64_fixed64",
- "map_sfixed32_sfixed32",
- "map_sfixed64_sfixed64",
- "map_int32_float",
- "map_int32_double",
- "map_bool_bool",
- "map_string_string",
- "map_string_bytes",
- "map_string_nested_message",
- "map_string_nested_enum",
- "oneof_uint32",
- "oneof_nested_message",
- "oneof_string",
- "oneof_bytes",
- "oneof_bool",
- "oneof_uint64",
- "oneof_float",
- "oneof_double",
- "oneof_enum",
- "OneofGroup",
- },
- want: true,
- }, {
- message: (*testpb.TestAllTypes)(nil),
- paths: []string{
- "optional_nested_message.a",
- "optional_nested_message.corecursive",
- "optional_nested_message.corecursive.optional_int32",
- "optional_nested_message.corecursive.optional_nested_message.corecursive.optional_nested_message.a",
- "OptionalGroup.a",
- "OptionalGroup.optional_nested_message",
- "OptionalGroup.optional_nested_message.corecursive",
- "oneof_nested_message.a",
- "oneof_nested_message.corecursive",
- },
- want: true,
- }, {
- message: (*testpb.TestAllTypes)(nil),
- paths: []string{"repeated_nested_message.a"},
- want: false,
- }, {
- message: (*testpb.TestAllTypes)(nil),
- paths: []string{"repeated_nested_message[0]"},
- want: false,
- }, {
- message: (*testpb.TestAllTypes)(nil),
- paths: []string{"repeated_nested_message[0].a"},
- want: false,
- }, {
- message: (*testpb.TestAllTypes)(nil),
- paths: []string{"map_string_nested_message.a"},
- want: false,
- }, {
- message: (*testpb.TestAllTypes)(nil),
- paths: []string{`map_string_nested_message["key"]`},
- want: false,
- }, {
- message: (*testpb.TestAllExtensions)(nil),
- paths: []string{"nested_string_extension"},
- want: false,
- }}
-
- for _, tt := range tests {
- t.Run("", func(t *testing.T) {
- mask := &fmpb.FieldMask{Paths: tt.paths}
- got := mask.IsValid(tt.message)
- if got != tt.want {
- t.Errorf("IsValid() returns %v want %v", got, tt.want)
- }
- })
- }
-}
diff --git a/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/gotest/ya.make b/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/gotest/ya.make
deleted file mode 100644
index ce2fea2f3b..0000000000
--- a/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/types/known/fieldmaskpb)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/ya.make b/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/ya.make
index 757c73d505..70645c7531 100644
--- a/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/ya.make
+++ b/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(field_mask.pb.go)
-
-GO_XTEST_SRCS(field_mask_test.go)
+SRCS(
+ field_mask.pb.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/types/known/sourcecontextpb/ya.make b/vendor/google.golang.org/protobuf/types/known/sourcecontextpb/ya.make
index 30efab6845..dd030d8079 100644
--- a/vendor/google.golang.org/protobuf/types/known/sourcecontextpb/ya.make
+++ b/vendor/google.golang.org/protobuf/types/known/sourcecontextpb/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(source_context.pb.go)
+SRCS(
+ source_context.pb.go
+)
END()
diff --git a/vendor/google.golang.org/protobuf/types/known/structpb/gotest/ya.make b/vendor/google.golang.org/protobuf/types/known/structpb/gotest/ya.make
deleted file mode 100644
index 9e8f6b5f17..0000000000
--- a/vendor/google.golang.org/protobuf/types/known/structpb/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/types/known/structpb)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/types/known/structpb/struct_test.go b/vendor/google.golang.org/protobuf/types/known/structpb/struct_test.go
deleted file mode 100644
index 643f740229..0000000000
--- a/vendor/google.golang.org/protobuf/types/known/structpb/struct_test.go
+++ /dev/null
@@ -1,512 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package structpb_test
-
-import (
- "encoding/json"
- "math"
- "testing"
-
- "github.com/google/go-cmp/cmp"
- "github.com/google/go-cmp/cmp/cmpopts"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/testing/protocmp"
-
- spb "google.golang.org/protobuf/types/known/structpb"
-)
-
-var equateJSON = cmpopts.AcyclicTransformer("UnmarshalJSON", func(in []byte) (out interface{}) {
- if err := json.Unmarshal(in, &out); err != nil {
- return in
- }
- return out
-})
-
-func TestToStruct(t *testing.T) {
- tests := []struct {
- in map[string]interface{}
- wantPB *spb.Struct
- wantErr error
- }{{
- in: nil,
- wantPB: new(spb.Struct),
- }, {
- in: make(map[string]interface{}),
- wantPB: new(spb.Struct),
- }, {
- in: map[string]interface{}{
- "nil": nil,
- "bool": bool(false),
- "int": int(-123),
- "int32": int32(math.MinInt32),
- "int64": int64(math.MinInt64),
- "uint": uint(123),
- "uint32": uint32(math.MaxInt32),
- "uint64": uint64(math.MaxInt64),
- "float32": float32(123.456),
- "float64": float64(123.456),
- "string": string("hello, world!"),
- "bytes": []byte("\xde\xad\xbe\xef"),
- "map": map[string]interface{}{"k1": "v1", "k2": "v2"},
- "slice": []interface{}{"one", "two", "three"},
- },
- wantPB: &spb.Struct{Fields: map[string]*spb.Value{
- "nil": spb.NewNullValue(),
- "bool": spb.NewBoolValue(false),
- "int": spb.NewNumberValue(float64(-123)),
- "int32": spb.NewNumberValue(float64(math.MinInt32)),
- "int64": spb.NewNumberValue(float64(math.MinInt64)),
- "uint": spb.NewNumberValue(float64(123)),
- "uint32": spb.NewNumberValue(float64(math.MaxInt32)),
- "uint64": spb.NewNumberValue(float64(math.MaxInt64)),
- "float32": spb.NewNumberValue(float64(float32(123.456))),
- "float64": spb.NewNumberValue(float64(float64(123.456))),
- "string": spb.NewStringValue("hello, world!"),
- "bytes": spb.NewStringValue("3q2+7w=="),
- "map": spb.NewStructValue(&spb.Struct{Fields: map[string]*spb.Value{
- "k1": spb.NewStringValue("v1"),
- "k2": spb.NewStringValue("v2"),
- }}),
- "slice": spb.NewListValue(&spb.ListValue{Values: []*spb.Value{
- spb.NewStringValue("one"),
- spb.NewStringValue("two"),
- spb.NewStringValue("three"),
- }}),
- }},
- }, {
- in: map[string]interface{}{"\xde\xad\xbe\xef": "<invalid UTF-8>"},
- wantErr: cmpopts.AnyError,
- }, {
- in: map[string]interface{}{"<invalid UTF-8>": "\xde\xad\xbe\xef"},
- wantErr: cmpopts.AnyError,
- }, {
- in: map[string]interface{}{"key": protoreflect.Name("named string")},
- wantErr: cmpopts.AnyError,
- }}
-
- for _, tt := range tests {
- gotPB, gotErr := spb.NewStruct(tt.in)
- if diff := cmp.Diff(tt.wantPB, gotPB, protocmp.Transform()); diff != "" {
- t.Errorf("NewStruct(%v) output mismatch (-want +got):\n%s", tt.in, diff)
- }
- if diff := cmp.Diff(tt.wantErr, gotErr, cmpopts.EquateErrors()); diff != "" {
- t.Errorf("NewStruct(%v) error mismatch (-want +got):\n%s", tt.in, diff)
- }
- }
-}
-
-func TestFromStruct(t *testing.T) {
- tests := []struct {
- in *spb.Struct
- want map[string]interface{}
- }{{
- in: nil,
- want: make(map[string]interface{}),
- }, {
- in: new(spb.Struct),
- want: make(map[string]interface{}),
- }, {
- in: &spb.Struct{Fields: make(map[string]*spb.Value)},
- want: make(map[string]interface{}),
- }, {
- in: &spb.Struct{Fields: map[string]*spb.Value{
- "nil": spb.NewNullValue(),
- "bool": spb.NewBoolValue(false),
- "int": spb.NewNumberValue(float64(-123)),
- "int32": spb.NewNumberValue(float64(math.MinInt32)),
- "int64": spb.NewNumberValue(float64(math.MinInt64)),
- "uint": spb.NewNumberValue(float64(123)),
- "uint32": spb.NewNumberValue(float64(math.MaxInt32)),
- "uint64": spb.NewNumberValue(float64(math.MaxInt64)),
- "float32": spb.NewNumberValue(float64(float32(123.456))),
- "float64": spb.NewNumberValue(float64(float64(123.456))),
- "string": spb.NewStringValue("hello, world!"),
- "bytes": spb.NewStringValue("3q2+7w=="),
- "map": spb.NewStructValue(&spb.Struct{Fields: map[string]*spb.Value{
- "k1": spb.NewStringValue("v1"),
- "k2": spb.NewStringValue("v2"),
- }}),
- "slice": spb.NewListValue(&spb.ListValue{Values: []*spb.Value{
- spb.NewStringValue("one"),
- spb.NewStringValue("two"),
- spb.NewStringValue("three"),
- }}),
- }},
- want: map[string]interface{}{
- "nil": nil,
- "bool": bool(false),
- "int": float64(-123),
- "int32": float64(math.MinInt32),
- "int64": float64(math.MinInt64),
- "uint": float64(123),
- "uint32": float64(math.MaxInt32),
- "uint64": float64(math.MaxInt64),
- "float32": float64(float32(123.456)),
- "float64": float64(float64(123.456)),
- "string": string("hello, world!"),
- "bytes": string("3q2+7w=="),
- "map": map[string]interface{}{"k1": "v1", "k2": "v2"},
- "slice": []interface{}{"one", "two", "three"},
- },
- }}
-
- for _, tt := range tests {
- got := tt.in.AsMap()
- if diff := cmp.Diff(tt.want, got); diff != "" {
- t.Errorf("AsMap(%v) mismatch (-want +got):\n%s", tt.in, diff)
- }
- gotJSON, err := json.Marshal(got)
- if err != nil {
- t.Errorf("Marshal error: %v", err)
- }
- wantJSON, err := tt.in.MarshalJSON()
- if err != nil {
- t.Errorf("Marshal error: %v", err)
- }
- if diff := cmp.Diff(wantJSON, gotJSON, equateJSON); diff != "" {
- t.Errorf("MarshalJSON(%v) mismatch (-want +got):\n%s", tt.in, diff)
- }
- }
-}
-
-func TestToListValue(t *testing.T) {
- tests := []struct {
- in []interface{}
- wantPB *spb.ListValue
- wantErr error
- }{{
- in: nil,
- wantPB: new(spb.ListValue),
- }, {
- in: make([]interface{}, 0),
- wantPB: new(spb.ListValue),
- }, {
- in: []interface{}{
- nil,
- bool(false),
- int(-123),
- int32(math.MinInt32),
- int64(math.MinInt64),
- uint(123),
- uint32(math.MaxInt32),
- uint64(math.MaxInt64),
- float32(123.456),
- float64(123.456),
- string("hello, world!"),
- []byte("\xde\xad\xbe\xef"),
- map[string]interface{}{"k1": "v1", "k2": "v2"},
- []interface{}{"one", "two", "three"},
- },
- wantPB: &spb.ListValue{Values: []*spb.Value{
- spb.NewNullValue(),
- spb.NewBoolValue(false),
- spb.NewNumberValue(float64(-123)),
- spb.NewNumberValue(float64(math.MinInt32)),
- spb.NewNumberValue(float64(math.MinInt64)),
- spb.NewNumberValue(float64(123)),
- spb.NewNumberValue(float64(math.MaxInt32)),
- spb.NewNumberValue(float64(math.MaxInt64)),
- spb.NewNumberValue(float64(float32(123.456))),
- spb.NewNumberValue(float64(float64(123.456))),
- spb.NewStringValue("hello, world!"),
- spb.NewStringValue("3q2+7w=="),
- spb.NewStructValue(&spb.Struct{Fields: map[string]*spb.Value{
- "k1": spb.NewStringValue("v1"),
- "k2": spb.NewStringValue("v2"),
- }}),
- spb.NewListValue(&spb.ListValue{Values: []*spb.Value{
- spb.NewStringValue("one"),
- spb.NewStringValue("two"),
- spb.NewStringValue("three"),
- }}),
- }},
- }, {
- in: []interface{}{"\xde\xad\xbe\xef"},
- wantErr: cmpopts.AnyError,
- }, {
- in: []interface{}{protoreflect.Name("named string")},
- wantErr: cmpopts.AnyError,
- }}
-
- for _, tt := range tests {
- gotPB, gotErr := spb.NewList(tt.in)
- if diff := cmp.Diff(tt.wantPB, gotPB, protocmp.Transform()); diff != "" {
- t.Errorf("NewListValue(%v) output mismatch (-want +got):\n%s", tt.in, diff)
- }
- if diff := cmp.Diff(tt.wantErr, gotErr, cmpopts.EquateErrors()); diff != "" {
- t.Errorf("NewListValue(%v) error mismatch (-want +got):\n%s", tt.in, diff)
- }
- }
-}
-
-func TestFromListValue(t *testing.T) {
- tests := []struct {
- in *spb.ListValue
- want []interface{}
- }{{
- in: nil,
- want: make([]interface{}, 0),
- }, {
- in: new(spb.ListValue),
- want: make([]interface{}, 0),
- }, {
- in: &spb.ListValue{Values: make([]*spb.Value, 0)},
- want: make([]interface{}, 0),
- }, {
- in: &spb.ListValue{Values: []*spb.Value{
- spb.NewNullValue(),
- spb.NewBoolValue(false),
- spb.NewNumberValue(float64(-123)),
- spb.NewNumberValue(float64(math.MinInt32)),
- spb.NewNumberValue(float64(math.MinInt64)),
- spb.NewNumberValue(float64(123)),
- spb.NewNumberValue(float64(math.MaxInt32)),
- spb.NewNumberValue(float64(math.MaxInt64)),
- spb.NewNumberValue(float64(float32(123.456))),
- spb.NewNumberValue(float64(float64(123.456))),
- spb.NewStringValue("hello, world!"),
- spb.NewStringValue("3q2+7w=="),
- spb.NewStructValue(&spb.Struct{Fields: map[string]*spb.Value{
- "k1": spb.NewStringValue("v1"),
- "k2": spb.NewStringValue("v2"),
- }}),
- spb.NewListValue(&spb.ListValue{Values: []*spb.Value{
- spb.NewStringValue("one"),
- spb.NewStringValue("two"),
- spb.NewStringValue("three"),
- }}),
- }},
- want: []interface{}{
- nil,
- bool(false),
- float64(-123),
- float64(math.MinInt32),
- float64(math.MinInt64),
- float64(123),
- float64(math.MaxInt32),
- float64(math.MaxInt64),
- float64(float32(123.456)),
- float64(float64(123.456)),
- string("hello, world!"),
- string("3q2+7w=="),
- map[string]interface{}{"k1": "v1", "k2": "v2"},
- []interface{}{"one", "two", "three"},
- },
- }}
-
- for _, tt := range tests {
- got := tt.in.AsSlice()
- if diff := cmp.Diff(tt.want, got); diff != "" {
- t.Errorf("AsSlice(%v) mismatch (-want +got):\n%s", tt.in, diff)
- }
- gotJSON, err := json.Marshal(got)
- if err != nil {
- t.Errorf("Marshal error: %v", err)
- }
- wantJSON, err := tt.in.MarshalJSON()
- if err != nil {
- t.Errorf("Marshal error: %v", err)
- }
- if diff := cmp.Diff(wantJSON, gotJSON, equateJSON); diff != "" {
- t.Errorf("MarshalJSON(%v) mismatch (-want +got):\n%s", tt.in, diff)
- }
- }
-}
-
-func TestToValue(t *testing.T) {
- tests := []struct {
- in interface{}
- wantPB *spb.Value
- wantErr error
- }{{
- in: nil,
- wantPB: spb.NewNullValue(),
- }, {
- in: bool(false),
- wantPB: spb.NewBoolValue(false),
- }, {
- in: int(-123),
- wantPB: spb.NewNumberValue(float64(-123)),
- }, {
- in: int32(math.MinInt32),
- wantPB: spb.NewNumberValue(float64(math.MinInt32)),
- }, {
- in: int64(math.MinInt64),
- wantPB: spb.NewNumberValue(float64(math.MinInt64)),
- }, {
- in: uint(123),
- wantPB: spb.NewNumberValue(float64(123)),
- }, {
- in: uint32(math.MaxInt32),
- wantPB: spb.NewNumberValue(float64(math.MaxInt32)),
- }, {
- in: uint64(math.MaxInt64),
- wantPB: spb.NewNumberValue(float64(math.MaxInt64)),
- }, {
- in: float32(123.456),
- wantPB: spb.NewNumberValue(float64(float32(123.456))),
- }, {
- in: float64(123.456),
- wantPB: spb.NewNumberValue(float64(float64(123.456))),
- }, {
- in: string("hello, world!"),
- wantPB: spb.NewStringValue("hello, world!"),
- }, {
- in: []byte("\xde\xad\xbe\xef"),
- wantPB: spb.NewStringValue("3q2+7w=="),
- }, {
- in: map[string]interface{}(nil),
- wantPB: spb.NewStructValue(nil),
- }, {
- in: make(map[string]interface{}),
- wantPB: spb.NewStructValue(nil),
- }, {
- in: map[string]interface{}{"k1": "v1", "k2": "v2"},
- wantPB: spb.NewStructValue(&spb.Struct{Fields: map[string]*spb.Value{
- "k1": spb.NewStringValue("v1"),
- "k2": spb.NewStringValue("v2"),
- }}),
- }, {
- in: []interface{}(nil),
- wantPB: spb.NewListValue(nil),
- }, {
- in: make([]interface{}, 0),
- wantPB: spb.NewListValue(nil),
- }, {
- in: []interface{}{"one", "two", "three"},
- wantPB: spb.NewListValue(&spb.ListValue{Values: []*spb.Value{
- spb.NewStringValue("one"),
- spb.NewStringValue("two"),
- spb.NewStringValue("three"),
- }}),
- }, {
- in: "\xde\xad\xbe\xef",
- wantErr: cmpopts.AnyError,
- }, {
- in: protoreflect.Name("named string"),
- wantErr: cmpopts.AnyError,
- }}
-
- for _, tt := range tests {
- gotPB, gotErr := spb.NewValue(tt.in)
- if diff := cmp.Diff(tt.wantPB, gotPB, protocmp.Transform()); diff != "" {
- t.Errorf("NewValue(%v) output mismatch (-want +got):\n%s", tt.in, diff)
- }
- if diff := cmp.Diff(tt.wantErr, gotErr, cmpopts.EquateErrors()); diff != "" {
- t.Errorf("NewValue(%v) error mismatch (-want +got):\n%s", tt.in, diff)
- }
- }
-}
-
-func TestFromValue(t *testing.T) {
- tests := []struct {
- in *spb.Value
- want interface{}
- }{{
- in: nil,
- want: nil,
- }, {
- in: new(spb.Value),
- want: nil,
- }, {
- in: &spb.Value{Kind: (*spb.Value_NullValue)(nil)},
- want: nil,
- }, {
- in: spb.NewNullValue(),
- want: nil,
- }, {
- in: &spb.Value{Kind: &spb.Value_NullValue{NullValue: math.MinInt32}},
- want: nil,
- }, {
- in: &spb.Value{Kind: (*spb.Value_BoolValue)(nil)},
- want: nil,
- }, {
- in: spb.NewBoolValue(false),
- want: bool(false),
- }, {
- in: &spb.Value{Kind: (*spb.Value_NumberValue)(nil)},
- want: nil,
- }, {
- in: spb.NewNumberValue(float64(math.MinInt32)),
- want: float64(math.MinInt32),
- }, {
- in: spb.NewNumberValue(float64(math.MinInt64)),
- want: float64(math.MinInt64),
- }, {
- in: spb.NewNumberValue(float64(123)),
- want: float64(123),
- }, {
- in: spb.NewNumberValue(float64(math.MaxInt32)),
- want: float64(math.MaxInt32),
- }, {
- in: spb.NewNumberValue(float64(math.MaxInt64)),
- want: float64(math.MaxInt64),
- }, {
- in: spb.NewNumberValue(float64(float32(123.456))),
- want: float64(float32(123.456)),
- }, {
- in: spb.NewNumberValue(float64(float64(123.456))),
- want: float64(float64(123.456)),
- }, {
- in: spb.NewNumberValue(math.NaN()),
- want: string("NaN"),
- }, {
- in: spb.NewNumberValue(math.Inf(-1)),
- want: string("-Infinity"),
- }, {
- in: spb.NewNumberValue(math.Inf(+1)),
- want: string("Infinity"),
- }, {
- in: &spb.Value{Kind: (*spb.Value_StringValue)(nil)},
- want: nil,
- }, {
- in: spb.NewStringValue("hello, world!"),
- want: string("hello, world!"),
- }, {
- in: spb.NewStringValue("3q2+7w=="),
- want: string("3q2+7w=="),
- }, {
- in: &spb.Value{Kind: (*spb.Value_StructValue)(nil)},
- want: nil,
- }, {
- in: &spb.Value{Kind: &spb.Value_StructValue{}},
- want: make(map[string]interface{}),
- }, {
- in: spb.NewListValue(&spb.ListValue{Values: []*spb.Value{
- spb.NewStringValue("one"),
- spb.NewStringValue("two"),
- spb.NewStringValue("three"),
- }}),
- want: []interface{}{"one", "two", "three"},
- }, {
- in: &spb.Value{Kind: (*spb.Value_ListValue)(nil)},
- want: nil,
- }, {
- in: &spb.Value{Kind: &spb.Value_ListValue{}},
- want: make([]interface{}, 0),
- }, {
- in: spb.NewListValue(&spb.ListValue{Values: []*spb.Value{
- spb.NewStringValue("one"),
- spb.NewStringValue("two"),
- spb.NewStringValue("three"),
- }}),
- want: []interface{}{"one", "two", "three"},
- }}
-
- for _, tt := range tests {
- got := tt.in.AsInterface()
- if diff := cmp.Diff(tt.want, got); diff != "" {
- t.Errorf("AsInterface(%v) mismatch (-want +got):\n%s", tt.in, diff)
- }
- gotJSON, gotErr := json.Marshal(got)
- if gotErr != nil {
- t.Errorf("Marshal error: %v", gotErr)
- }
- wantJSON, wantErr := tt.in.MarshalJSON()
- if diff := cmp.Diff(wantJSON, gotJSON, equateJSON); diff != "" && wantErr == nil {
- t.Errorf("MarshalJSON(%v) mismatch (-want +got):\n%s", tt.in, diff)
- }
- }
-}
diff --git a/vendor/google.golang.org/protobuf/types/known/structpb/ya.make b/vendor/google.golang.org/protobuf/types/known/structpb/ya.make
index 9349972753..3051fe3900 100644
--- a/vendor/google.golang.org/protobuf/types/known/structpb/ya.make
+++ b/vendor/google.golang.org/protobuf/types/known/structpb/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(struct.pb.go)
-
-GO_XTEST_SRCS(struct_test.go)
+SRCS(
+ struct.pb.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/types/known/timestamppb/gotest/ya.make b/vendor/google.golang.org/protobuf/types/known/timestamppb/gotest/ya.make
deleted file mode 100644
index e18fcbe75e..0000000000
--- a/vendor/google.golang.org/protobuf/types/known/timestamppb/gotest/ya.make
+++ /dev/null
@@ -1,5 +0,0 @@
-GO_TEST_FOR(vendor/google.golang.org/protobuf/types/known/timestamppb)
-
-LICENSE(BSD-3-Clause)
-
-END()
diff --git a/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp_test.go b/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp_test.go
deleted file mode 100644
index dfd666dee3..0000000000
--- a/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp_test.go
+++ /dev/null
@@ -1,104 +0,0 @@
-// Copyright 2020 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package timestamppb_test
-
-import (
- "math"
- "strings"
- "testing"
- "time"
-
- "github.com/google/go-cmp/cmp"
- "github.com/google/go-cmp/cmp/cmpopts"
- "google.golang.org/protobuf/internal/detrand"
- "google.golang.org/protobuf/testing/protocmp"
-
- tspb "google.golang.org/protobuf/types/known/timestamppb"
-)
-
-func init() {
- detrand.Disable()
-}
-
-const (
- minTimestamp = -62135596800 // Seconds between 1970-01-01T00:00:00Z and 0001-01-01T00:00:00Z, inclusive
- maxTimestamp = +253402300799 // Seconds between 1970-01-01T00:00:00Z and 9999-12-31T23:59:59Z, inclusive
-)
-
-func TestToTimestamp(t *testing.T) {
- tests := []struct {
- in time.Time
- want *tspb.Timestamp
- }{
- {in: time.Time{}, want: &tspb.Timestamp{Seconds: -62135596800, Nanos: 0}},
- {in: time.Unix(0, 0), want: &tspb.Timestamp{Seconds: 0, Nanos: 0}},
- {in: time.Unix(math.MinInt64, 0), want: &tspb.Timestamp{Seconds: math.MinInt64, Nanos: 0}},
- {in: time.Unix(math.MaxInt64, 1e9-1), want: &tspb.Timestamp{Seconds: math.MaxInt64, Nanos: 1e9 - 1}},
- {in: time.Date(1, 1, 1, 0, 0, 0, 0, time.UTC), want: &tspb.Timestamp{Seconds: minTimestamp, Nanos: 0}},
- {in: time.Date(1, 1, 1, 0, 0, 0, 0, time.UTC).Add(-time.Nanosecond), want: &tspb.Timestamp{Seconds: minTimestamp - 1, Nanos: 1e9 - 1}},
- {in: time.Date(9999, 12, 31, 23, 59, 59, 1e9-1, time.UTC), want: &tspb.Timestamp{Seconds: maxTimestamp, Nanos: 1e9 - 1}},
- {in: time.Date(9999, 12, 31, 23, 59, 59, 1e9-1, time.UTC).Add(+time.Nanosecond), want: &tspb.Timestamp{Seconds: maxTimestamp + 1}},
- {in: time.Date(1961, 1, 26, 0, 0, 0, 0, time.UTC), want: &tspb.Timestamp{Seconds: -281836800, Nanos: 0}},
- {in: time.Date(2011, 1, 26, 0, 0, 0, 0, time.UTC), want: &tspb.Timestamp{Seconds: 1296000000, Nanos: 0}},
- {in: time.Date(2011, 1, 26, 3, 25, 45, 940483, time.UTC), want: &tspb.Timestamp{Seconds: 1296012345, Nanos: 940483}},
- }
-
- for _, tt := range tests {
- got := tspb.New(tt.in)
- if diff := cmp.Diff(tt.want, got, protocmp.Transform()); diff != "" {
- t.Errorf("New(%v) mismatch (-want +got):\n%s", tt.in, diff)
- }
- }
-}
-
-func TestFromTimestamp(t *testing.T) {
- tests := []struct {
- in *tspb.Timestamp
- wantTime time.Time
- wantErr error
- }{
- {in: nil, wantTime: time.Unix(0, 0), wantErr: textError("invalid nil Timestamp")},
- {in: new(tspb.Timestamp), wantTime: time.Unix(0, 0)},
- {in: &tspb.Timestamp{Seconds: -62135596800, Nanos: 0}, wantTime: time.Time{}},
- {in: &tspb.Timestamp{Seconds: -1, Nanos: -1}, wantTime: time.Unix(-1, -1), wantErr: textError("timestamp (seconds:-1 nanos:-1) has out-of-range nanos")},
- {in: &tspb.Timestamp{Seconds: -1, Nanos: 0}, wantTime: time.Unix(-1, 0)},
- {in: &tspb.Timestamp{Seconds: -1, Nanos: +1}, wantTime: time.Unix(-1, +1)},
- {in: &tspb.Timestamp{Seconds: 0, Nanos: -1}, wantTime: time.Unix(0, -1), wantErr: textError("timestamp (nanos:-1) has out-of-range nanos")},
- {in: &tspb.Timestamp{Seconds: 0, Nanos: 0}, wantTime: time.Unix(0, 0)},
- {in: &tspb.Timestamp{Seconds: 0, Nanos: +1}, wantTime: time.Unix(0, +1)},
- {in: &tspb.Timestamp{Seconds: +1, Nanos: -1}, wantTime: time.Unix(+1, -1), wantErr: textError("timestamp (seconds:1 nanos:-1) has out-of-range nanos")},
- {in: &tspb.Timestamp{Seconds: +1, Nanos: 0}, wantTime: time.Unix(+1, 0)},
- {in: &tspb.Timestamp{Seconds: +1, Nanos: +1}, wantTime: time.Unix(+1, +1)},
- {in: &tspb.Timestamp{Seconds: -9876543210, Nanos: -1098765432}, wantTime: time.Unix(-9876543210, -1098765432), wantErr: textError("timestamp (seconds:-9876543210 nanos:-1098765432) has out-of-range nanos")},
- {in: &tspb.Timestamp{Seconds: +9876543210, Nanos: -1098765432}, wantTime: time.Unix(+9876543210, -1098765432), wantErr: textError("timestamp (seconds:9876543210 nanos:-1098765432) has out-of-range nanos")},
- {in: &tspb.Timestamp{Seconds: -9876543210, Nanos: +1098765432}, wantTime: time.Unix(-9876543210, +1098765432), wantErr: textError("timestamp (seconds:-9876543210 nanos:1098765432) has out-of-range nanos")},
- {in: &tspb.Timestamp{Seconds: +9876543210, Nanos: +1098765432}, wantTime: time.Unix(+9876543210, +1098765432), wantErr: textError("timestamp (seconds:9876543210 nanos:1098765432) has out-of-range nanos")},
- {in: &tspb.Timestamp{Seconds: math.MinInt64, Nanos: 0}, wantTime: time.Unix(math.MinInt64, 0), wantErr: textError("timestamp (seconds:-9223372036854775808) before 0001-01-01")},
- {in: &tspb.Timestamp{Seconds: math.MaxInt64, Nanos: 1e9 - 1}, wantTime: time.Unix(math.MaxInt64, 1e9-1), wantErr: textError("timestamp (seconds:9223372036854775807 nanos:999999999) after 9999-12-31")},
- {in: &tspb.Timestamp{Seconds: minTimestamp, Nanos: 0}, wantTime: time.Date(1, 1, 1, 0, 0, 0, 0, time.UTC)},
- {in: &tspb.Timestamp{Seconds: minTimestamp - 1, Nanos: 1e9 - 1}, wantTime: time.Date(1, 1, 1, 0, 0, 0, 0, time.UTC).Add(-time.Nanosecond), wantErr: textError("timestamp (seconds:-62135596801 nanos:999999999) before 0001-01-01")},
- {in: &tspb.Timestamp{Seconds: maxTimestamp, Nanos: 1e9 - 1}, wantTime: time.Date(9999, 12, 31, 23, 59, 59, 1e9-1, time.UTC)},
- {in: &tspb.Timestamp{Seconds: maxTimestamp + 1}, wantTime: time.Date(9999, 12, 31, 23, 59, 59, 1e9-1, time.UTC).Add(+time.Nanosecond), wantErr: textError("timestamp (seconds:253402300800) after 9999-12-31")},
- {in: &tspb.Timestamp{Seconds: -281836800, Nanos: 0}, wantTime: time.Date(1961, 1, 26, 0, 0, 0, 0, time.UTC)},
- {in: &tspb.Timestamp{Seconds: 1296000000, Nanos: 0}, wantTime: time.Date(2011, 1, 26, 0, 0, 0, 0, time.UTC)},
- {in: &tspb.Timestamp{Seconds: 1296012345, Nanos: 940483}, wantTime: time.Date(2011, 1, 26, 3, 25, 45, 940483, time.UTC)},
- }
-
- for _, tt := range tests {
- gotTime := tt.in.AsTime()
- if diff := cmp.Diff(tt.wantTime, gotTime); diff != "" {
- t.Errorf("AsTime(%v) mismatch (-want +got):\n%s", tt.in, diff)
- }
- gotErr := tt.in.CheckValid()
- if diff := cmp.Diff(tt.wantErr, gotErr, cmpopts.EquateErrors()); diff != "" {
- t.Errorf("CheckValid(%v) mismatch (-want +got):\n%s", tt.in, diff)
- }
- }
-}
-
-type textError string
-
-func (e textError) Error() string { return string(e) }
-func (e textError) Is(err error) bool { return err != nil && strings.Contains(err.Error(), e.Error()) }
diff --git a/vendor/google.golang.org/protobuf/types/known/timestamppb/ya.make b/vendor/google.golang.org/protobuf/types/known/timestamppb/ya.make
index 6b2c795268..6fe94ace5b 100644
--- a/vendor/google.golang.org/protobuf/types/known/timestamppb/ya.make
+++ b/vendor/google.golang.org/protobuf/types/known/timestamppb/ya.make
@@ -2,10 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(timestamp.pb.go)
-
-GO_XTEST_SRCS(timestamp_test.go)
+SRCS(
+ timestamp.pb.go
+)
END()
-
-RECURSE(gotest)
diff --git a/vendor/google.golang.org/protobuf/types/known/typepb/ya.make b/vendor/google.golang.org/protobuf/types/known/typepb/ya.make
index 17db33ddd4..c5f0eb05c3 100644
--- a/vendor/google.golang.org/protobuf/types/known/typepb/ya.make
+++ b/vendor/google.golang.org/protobuf/types/known/typepb/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(type.pb.go)
+SRCS(
+ type.pb.go
+)
END()
diff --git a/vendor/google.golang.org/protobuf/types/known/wrapperspb/ya.make b/vendor/google.golang.org/protobuf/types/known/wrapperspb/ya.make
index 3233e5f877..2728112ab8 100644
--- a/vendor/google.golang.org/protobuf/types/known/wrapperspb/ya.make
+++ b/vendor/google.golang.org/protobuf/types/known/wrapperspb/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(wrappers.pb.go)
+SRCS(
+ wrappers.pb.go
+)
END()
diff --git a/vendor/google.golang.org/protobuf/types/pluginpb/plugin.pb.go b/vendor/google.golang.org/protobuf/types/pluginpb/plugin.pb.go
index d0bb96a9d2..69892f41bd 100644
--- a/vendor/google.golang.org/protobuf/types/pluginpb/plugin.pb.go
+++ b/vendor/google.golang.org/protobuf/types/pluginpb/plugin.pb.go
@@ -1,32 +1,9 @@
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
//
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-// * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-// * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-// * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file or at
+// https://developers.google.com/open-source/licenses/bsd
// Author: kenton@google.com (Kenton Varda)
//
@@ -58,8 +35,9 @@ import (
type CodeGeneratorResponse_Feature int32
const (
- CodeGeneratorResponse_FEATURE_NONE CodeGeneratorResponse_Feature = 0
- CodeGeneratorResponse_FEATURE_PROTO3_OPTIONAL CodeGeneratorResponse_Feature = 1
+ CodeGeneratorResponse_FEATURE_NONE CodeGeneratorResponse_Feature = 0
+ CodeGeneratorResponse_FEATURE_PROTO3_OPTIONAL CodeGeneratorResponse_Feature = 1
+ CodeGeneratorResponse_FEATURE_SUPPORTS_EDITIONS CodeGeneratorResponse_Feature = 2
)
// Enum value maps for CodeGeneratorResponse_Feature.
@@ -67,10 +45,12 @@ var (
CodeGeneratorResponse_Feature_name = map[int32]string{
0: "FEATURE_NONE",
1: "FEATURE_PROTO3_OPTIONAL",
+ 2: "FEATURE_SUPPORTS_EDITIONS",
}
CodeGeneratorResponse_Feature_value = map[string]int32{
- "FEATURE_NONE": 0,
- "FEATURE_PROTO3_OPTIONAL": 1,
+ "FEATURE_NONE": 0,
+ "FEATURE_PROTO3_OPTIONAL": 1,
+ "FEATURE_SUPPORTS_EDITIONS": 2,
}
)
@@ -201,6 +181,11 @@ type CodeGeneratorRequest struct {
// they import. The files will appear in topological order, so each file
// appears before any file that imports it.
//
+ // Note: the files listed in files_to_generate will include runtime-retention
+ // options only, but all other files will include source-retention options.
+ // The source_file_descriptors field below is available in case you need
+ // source-retention options for files_to_generate.
+ //
// protoc guarantees that all proto_files will be written after
// the fields above, even though this is not technically guaranteed by the
// protobuf wire format. This theoretically could allow a plugin to stream
@@ -212,6 +197,10 @@ type CodeGeneratorRequest struct {
// Type names of fields and extensions in the FileDescriptorProto are always
// fully qualified.
ProtoFile []*descriptorpb.FileDescriptorProto `protobuf:"bytes,15,rep,name=proto_file,json=protoFile" json:"proto_file,omitempty"`
+ // File descriptors with all options, including source-retention options.
+ // These descriptors are only provided for the files listed in
+ // files_to_generate.
+ SourceFileDescriptors []*descriptorpb.FileDescriptorProto `protobuf:"bytes,17,rep,name=source_file_descriptors,json=sourceFileDescriptors" json:"source_file_descriptors,omitempty"`
// The version number of protocol compiler.
CompilerVersion *Version `protobuf:"bytes,3,opt,name=compiler_version,json=compilerVersion" json:"compiler_version,omitempty"`
}
@@ -269,6 +258,13 @@ func (x *CodeGeneratorRequest) GetProtoFile() []*descriptorpb.FileDescriptorProt
return nil
}
+func (x *CodeGeneratorRequest) GetSourceFileDescriptors() []*descriptorpb.FileDescriptorProto {
+ if x != nil {
+ return x.SourceFileDescriptors
+ }
+ return nil
+}
+
func (x *CodeGeneratorRequest) GetCompilerVersion() *Version {
if x != nil {
return x.CompilerVersion
@@ -493,7 +489,7 @@ var file_google_protobuf_compiler_plugin_proto_rawDesc = []byte{
0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61,
0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68,
0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x22, 0xf1, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x64,
+ 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x22, 0xcf, 0x02, 0x0a, 0x14, 0x43, 0x6f, 0x64,
0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x67, 0x65, 0x6e,
0x65, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c,
@@ -503,45 +499,53 @@ var file_google_protobuf_compiler_plugin_proto_rawDesc = []byte{
0x74, 0x6f, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72,
- 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x4c,
- 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
- 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69,
- 0x6c, 0x65, 0x72, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x63, 0x6f, 0x6d,
- 0x70, 0x69, 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x03, 0x0a,
- 0x15, 0x43, 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2d, 0x0a, 0x12,
- 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72,
- 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72,
- 0x74, 0x65, 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x48, 0x0a, 0x04, 0x66,
- 0x69, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70,
- 0x69, 0x6c, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
- 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52,
- 0x04, 0x66, 0x69, 0x6c, 0x65, 0x1a, 0xb1, 0x01, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12,
- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
- 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73,
- 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63,
- 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
- 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
- 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x10, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f,
- 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
- 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x38, 0x0a, 0x07, 0x46, 0x65, 0x61,
- 0x74, 0x75, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f,
- 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52,
- 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x33, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41,
- 0x4c, 0x10, 0x01, 0x42, 0x72, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69,
- 0x6c, 0x65, 0x72, 0x42, 0x0c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
- 0x73, 0x5a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
- 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79,
- 0x70, 0x65, 0x73, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x70, 0x62, 0xaa, 0x02, 0x18, 0x47,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43,
- 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72,
+ 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x5c,
+ 0x0a, 0x17, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x65,
+ 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
+ 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x15, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c,
+ 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x4c, 0x0a, 0x10,
+ 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65,
+ 0x72, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x69,
+ 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xb3, 0x03, 0x0a, 0x15, 0x43,
+ 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2d, 0x0a, 0x12, 0x73, 0x75,
+ 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65,
+ 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x48, 0x0a, 0x04, 0x66, 0x69, 0x6c,
+ 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c,
+ 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x66,
+ 0x69, 0x6c, 0x65, 0x1a, 0xb1, 0x01, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04,
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
+ 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f,
+ 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x65, 0x72,
+ 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e,
+ 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74,
+ 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64,
+ 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
+ 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65,
+ 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43,
+ 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x57, 0x0a, 0x07, 0x46, 0x65, 0x61, 0x74, 0x75,
+ 0x72, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4e, 0x4f,
+ 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f,
+ 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x33, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10,
+ 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x53, 0x55, 0x50,
+ 0x50, 0x4f, 0x52, 0x54, 0x53, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x10, 0x02,
+ 0x42, 0x72, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72,
+ 0x42, 0x0c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x29,
+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
+ 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73,
+ 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x70, 0x62, 0xaa, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x70,
+ 0x69, 0x6c, 0x65, 0x72,
}
var (
@@ -569,14 +573,15 @@ var file_google_protobuf_compiler_plugin_proto_goTypes = []interface{}{
}
var file_google_protobuf_compiler_plugin_proto_depIdxs = []int32{
5, // 0: google.protobuf.compiler.CodeGeneratorRequest.proto_file:type_name -> google.protobuf.FileDescriptorProto
- 1, // 1: google.protobuf.compiler.CodeGeneratorRequest.compiler_version:type_name -> google.protobuf.compiler.Version
- 4, // 2: google.protobuf.compiler.CodeGeneratorResponse.file:type_name -> google.protobuf.compiler.CodeGeneratorResponse.File
- 6, // 3: google.protobuf.compiler.CodeGeneratorResponse.File.generated_code_info:type_name -> google.protobuf.GeneratedCodeInfo
- 4, // [4:4] is the sub-list for method output_type
- 4, // [4:4] is the sub-list for method input_type
- 4, // [4:4] is the sub-list for extension type_name
- 4, // [4:4] is the sub-list for extension extendee
- 0, // [0:4] is the sub-list for field type_name
+ 5, // 1: google.protobuf.compiler.CodeGeneratorRequest.source_file_descriptors:type_name -> google.protobuf.FileDescriptorProto
+ 1, // 2: google.protobuf.compiler.CodeGeneratorRequest.compiler_version:type_name -> google.protobuf.compiler.Version
+ 4, // 3: google.protobuf.compiler.CodeGeneratorResponse.file:type_name -> google.protobuf.compiler.CodeGeneratorResponse.File
+ 6, // 4: google.protobuf.compiler.CodeGeneratorResponse.File.generated_code_info:type_name -> google.protobuf.GeneratedCodeInfo
+ 5, // [5:5] is the sub-list for method output_type
+ 5, // [5:5] is the sub-list for method input_type
+ 5, // [5:5] is the sub-list for extension type_name
+ 5, // [5:5] is the sub-list for extension extendee
+ 0, // [0:5] is the sub-list for field type_name
}
func init() { file_google_protobuf_compiler_plugin_proto_init() }
diff --git a/vendor/google.golang.org/protobuf/types/pluginpb/ya.make b/vendor/google.golang.org/protobuf/types/pluginpb/ya.make
index 040213ac06..7b8a798f38 100644
--- a/vendor/google.golang.org/protobuf/types/pluginpb/ya.make
+++ b/vendor/google.golang.org/protobuf/types/pluginpb/ya.make
@@ -2,6 +2,8 @@ GO_LIBRARY()
LICENSE(BSD-3-Clause)
-SRCS(plugin.pb.go)
+SRCS(
+ plugin.pb.go
+)
END()