xref: /aosp_15_r20/external/golang-protobuf/internal/testprotos/test/ext.pb.go (revision 1c12ee1efe575feb122dbf939ff15148a3b3e8f2)
1*1c12ee1eSDan Willemsen// Copyright 2018 The Go Authors. All rights reserved.
2*1c12ee1eSDan Willemsen// Use of this source code is governed by a BSD-style
3*1c12ee1eSDan Willemsen// license that can be found in the LICENSE file.
4*1c12ee1eSDan Willemsen
5*1c12ee1eSDan Willemsen// Code generated by protoc-gen-go. DO NOT EDIT.
6*1c12ee1eSDan Willemsen// source: internal/testprotos/test/ext.proto
7*1c12ee1eSDan Willemsen
8*1c12ee1eSDan Willemsenpackage test
9*1c12ee1eSDan Willemsen
10*1c12ee1eSDan Willemsenimport (
11*1c12ee1eSDan Willemsen	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12*1c12ee1eSDan Willemsen	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13*1c12ee1eSDan Willemsen	reflect "reflect"
14*1c12ee1eSDan Willemsen)
15*1c12ee1eSDan Willemsen
16*1c12ee1eSDan Willemsenvar file_internal_testprotos_test_ext_proto_extTypes = []protoimpl.ExtensionInfo{
17*1c12ee1eSDan Willemsen	{
18*1c12ee1eSDan Willemsen		ExtendedType:  (*TestAllExtensions)(nil),
19*1c12ee1eSDan Willemsen		ExtensionType: (*int32)(nil),
20*1c12ee1eSDan Willemsen		Field:         2000,
21*1c12ee1eSDan Willemsen		Name:          "goproto.proto.test.foreign_int32_extension",
22*1c12ee1eSDan Willemsen		Tag:           "varint,2000,opt,name=foreign_int32_extension",
23*1c12ee1eSDan Willemsen		Filename:      "internal/testprotos/test/ext.proto",
24*1c12ee1eSDan Willemsen	},
25*1c12ee1eSDan Willemsen}
26*1c12ee1eSDan Willemsen
27*1c12ee1eSDan Willemsen// Extension fields to TestAllExtensions.
28*1c12ee1eSDan Willemsenvar (
29*1c12ee1eSDan Willemsen	// optional int32 foreign_int32_extension = 2000;
30*1c12ee1eSDan Willemsen	E_ForeignInt32Extension = &file_internal_testprotos_test_ext_proto_extTypes[0]
31*1c12ee1eSDan Willemsen)
32*1c12ee1eSDan Willemsen
33*1c12ee1eSDan Willemsenvar File_internal_testprotos_test_ext_proto protoreflect.FileDescriptor
34*1c12ee1eSDan Willemsen
35*1c12ee1eSDan Willemsenvar file_internal_testprotos_test_ext_proto_rawDesc = []byte{
36*1c12ee1eSDan Willemsen	0x0a, 0x22, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
37*1c12ee1eSDan Willemsen	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70,
38*1c12ee1eSDan Willemsen	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
39*1c12ee1eSDan Willemsen	0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
40*1c12ee1eSDan Willemsen	0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65,
41*1c12ee1eSDan Willemsen	0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x5e, 0x0a,
42*1c12ee1eSDan Willemsen	0x17, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x65,
43*1c12ee1eSDan Willemsen	0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f,
44*1c12ee1eSDan Willemsen	0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65,
45*1c12ee1eSDan Willemsen	0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
46*1c12ee1eSDan Willemsen	0xd0, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x49,
47*1c12ee1eSDan Willemsen	0x6e, 0x74, 0x33, 0x32, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x35, 0x5a,
48*1c12ee1eSDan Willemsen	0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
49*1c12ee1eSDan Willemsen	0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65,
50*1c12ee1eSDan Willemsen	0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f,
51*1c12ee1eSDan Willemsen	0x74, 0x65, 0x73, 0x74,
52*1c12ee1eSDan Willemsen}
53*1c12ee1eSDan Willemsen
54*1c12ee1eSDan Willemsenvar file_internal_testprotos_test_ext_proto_goTypes = []interface{}{
55*1c12ee1eSDan Willemsen	(*TestAllExtensions)(nil), // 0: goproto.proto.test.TestAllExtensions
56*1c12ee1eSDan Willemsen}
57*1c12ee1eSDan Willemsenvar file_internal_testprotos_test_ext_proto_depIdxs = []int32{
58*1c12ee1eSDan Willemsen	0, // 0: goproto.proto.test.foreign_int32_extension:extendee -> goproto.proto.test.TestAllExtensions
59*1c12ee1eSDan Willemsen	1, // [1:1] is the sub-list for method output_type
60*1c12ee1eSDan Willemsen	1, // [1:1] is the sub-list for method input_type
61*1c12ee1eSDan Willemsen	1, // [1:1] is the sub-list for extension type_name
62*1c12ee1eSDan Willemsen	0, // [0:1] is the sub-list for extension extendee
63*1c12ee1eSDan Willemsen	0, // [0:0] is the sub-list for field type_name
64*1c12ee1eSDan Willemsen}
65*1c12ee1eSDan Willemsen
66*1c12ee1eSDan Willemsenfunc init() { file_internal_testprotos_test_ext_proto_init() }
67*1c12ee1eSDan Willemsenfunc file_internal_testprotos_test_ext_proto_init() {
68*1c12ee1eSDan Willemsen	if File_internal_testprotos_test_ext_proto != nil {
69*1c12ee1eSDan Willemsen		return
70*1c12ee1eSDan Willemsen	}
71*1c12ee1eSDan Willemsen	file_internal_testprotos_test_test_proto_init()
72*1c12ee1eSDan Willemsen	type x struct{}
73*1c12ee1eSDan Willemsen	out := protoimpl.TypeBuilder{
74*1c12ee1eSDan Willemsen		File: protoimpl.DescBuilder{
75*1c12ee1eSDan Willemsen			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
76*1c12ee1eSDan Willemsen			RawDescriptor: file_internal_testprotos_test_ext_proto_rawDesc,
77*1c12ee1eSDan Willemsen			NumEnums:      0,
78*1c12ee1eSDan Willemsen			NumMessages:   0,
79*1c12ee1eSDan Willemsen			NumExtensions: 1,
80*1c12ee1eSDan Willemsen			NumServices:   0,
81*1c12ee1eSDan Willemsen		},
82*1c12ee1eSDan Willemsen		GoTypes:           file_internal_testprotos_test_ext_proto_goTypes,
83*1c12ee1eSDan Willemsen		DependencyIndexes: file_internal_testprotos_test_ext_proto_depIdxs,
84*1c12ee1eSDan Willemsen		ExtensionInfos:    file_internal_testprotos_test_ext_proto_extTypes,
85*1c12ee1eSDan Willemsen	}.Build()
86*1c12ee1eSDan Willemsen	File_internal_testprotos_test_ext_proto = out.File
87*1c12ee1eSDan Willemsen	file_internal_testprotos_test_ext_proto_rawDesc = nil
88*1c12ee1eSDan Willemsen	file_internal_testprotos_test_ext_proto_goTypes = nil
89*1c12ee1eSDan Willemsen	file_internal_testprotos_test_ext_proto_depIdxs = nil
90*1c12ee1eSDan Willemsen}
91