blob: e98a6dbb8d1534a64f0f31b067551a2c1ecb6cb0 [file] [log] [blame]
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001// Copyright 2018 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
Damien Neil0fc22452019-03-08 17:18:11 -08005// Code generated by protoc-gen-go. DO NOT EDIT.
6// source: test/ext.proto
7
8package test
9
10import (
Damien Neile89e6242019-05-13 23:55:40 -070011 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
Damien Neile89e6242019-05-13 23:55:40 -070012 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsaiaf570872019-07-14 23:04:40 -070013 reflect "reflect"
Damien Neil0fc22452019-03-08 17:18:11 -080014)
15
Damien Neilf1e905b2019-08-08 15:45:59 -070016var file_test_ext_proto_extTypes = []protoimpl.ExtensionInfo{
Joe Tsaiafb455e2019-03-14 16:08:22 -070017 {
18 ExtendedType: (*TestAllExtensions)(nil),
19 ExtensionType: (*int32)(nil),
20 Field: 2000,
21 Name: "goproto.proto.test.foreign_int32_extension",
22 Tag: "varint,2000,opt,name=foreign_int32_extension",
23 Filename: "test/ext.proto",
24 },
Damien Neil0fc22452019-03-08 17:18:11 -080025}
Joe Tsai4a7d6332019-08-06 16:45:11 -070026
27// Extension fields to TestAllExtensions.
Joe Tsaiafb455e2019-03-14 16:08:22 -070028var (
Joe Tsai4a7d6332019-08-06 16:45:11 -070029 // optional int32 foreign_int32_extension = 2000;
Damien Neilf1e905b2019-08-08 15:45:59 -070030 E_ForeignInt32Extension = &file_test_ext_proto_extTypes[0]
Joe Tsaiafb455e2019-03-14 16:08:22 -070031)
Joe Tsai4a7d6332019-08-06 16:45:11 -070032
Joe Tsai5d72cc22019-03-28 01:13:26 -070033var File_test_ext_proto protoreflect.FileDescriptor
34
Joe Tsai7ca70982019-04-15 13:57:56 -070035var file_test_ext_proto_rawDesc = []byte{
Damien Neil0fc22452019-03-08 17:18:11 -080036 0x0a, 0x0e, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
37 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
38 0x74, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e,
39 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x5e, 0x0a, 0x17, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e,
40 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
41 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
42 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74,
43 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd0, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15,
44 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x78, 0x74, 0x65,
Damien Neile89e6242019-05-13 23:55:40 -070045 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
46 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
47 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73,
48 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
Damien Neil0fc22452019-03-08 17:18:11 -080049}
50
Joe Tsai7ca70982019-04-15 13:57:56 -070051var file_test_ext_proto_goTypes = []interface{}{
Damien Neil0fc22452019-03-08 17:18:11 -080052 (*TestAllExtensions)(nil), // 0: goproto.proto.test.TestAllExtensions
53}
Joe Tsai7ca70982019-04-15 13:57:56 -070054var file_test_ext_proto_depIdxs = []int32{
Joe Tsai73288392019-08-14 11:55:31 -070055 0, // 0: goproto.proto.test.foreign_int32_extension:extendee -> goproto.proto.test.TestAllExtensions
56 1, // [1:1] is the sub-list for method output_type
57 1, // [1:1] is the sub-list for method input_type
58 1, // [1:1] is the sub-list for extension type_name
59 0, // [0:1] is the sub-list for extension extendee
60 0, // [0:0] is the sub-list for field type_name
Damien Neil0fc22452019-03-08 17:18:11 -080061}
62
Joe Tsai7ca70982019-04-15 13:57:56 -070063func init() { file_test_ext_proto_init() }
64func file_test_ext_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -080065 if File_test_ext_proto != nil {
66 return
67 }
Joe Tsai7ca70982019-04-15 13:57:56 -070068 file_test_test_proto_init()
Joe Tsaiaf570872019-07-14 23:04:40 -070069 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -070070 out := protoimpl.TypeBuilder{
71 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -070072 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -070073 RawDescriptor: file_test_ext_proto_rawDesc,
74 NumEnums: 0,
75 NumMessages: 0,
76 NumExtensions: 1,
77 NumServices: 0,
78 },
79 GoTypes: file_test_ext_proto_goTypes,
80 DependencyIndexes: file_test_ext_proto_depIdxs,
Damien Neilf1e905b2019-08-08 15:45:59 -070081 ExtensionInfos: file_test_ext_proto_extTypes,
Joe Tsaid8881392019-06-06 13:01:53 -070082 }.Build()
83 File_test_ext_proto = out.File
Joe Tsai7ca70982019-04-15 13:57:56 -070084 file_test_ext_proto_rawDesc = nil
85 file_test_ext_proto_goTypes = nil
86 file_test_ext_proto_depIdxs = nil
Damien Neil0fc22452019-03-08 17:18:11 -080087}