blob: edef5f95ff4d70d7e7ee1d9d5d4eb5175c584552 [file] [log] [blame]
Damien Neile475eaa2019-01-26 14:24:59 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
Joe Tsai19058432019-02-27 21:46:29 -08002// source: test/test_public.proto
Damien Neile475eaa2019-01-26 14:24:59 -08003
4package test
5
6import (
Damien Neile89e6242019-05-13 23:55:40 -07007 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
Damien Neile89e6242019-05-13 23:55:40 -07008 protoiface "google.golang.org/protobuf/runtime/protoiface"
9 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsai5d72cc22019-03-28 01:13:26 -070010 sync "sync"
Damien Neile475eaa2019-01-26 14:24:59 -080011)
12
Joe Tsai58b42d82019-05-22 16:27:51 -040013const (
14 // Verify that runtime/protoimpl is sufficiently up-to-date.
15 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
16 // Verify that this generated code is sufficiently up-to-date.
17 _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
18)
Joe Tsai5d72cc22019-03-28 01:13:26 -070019
Damien Neile475eaa2019-01-26 14:24:59 -080020type PublicImportMessage struct {
Joe Tsai82760ce2019-06-20 03:09:57 -070021 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -070022 sizeCache protoimpl.SizeCache
23 unknownFields protoimpl.UnknownFields
Damien Neile475eaa2019-01-26 14:24:59 -080024}
25
Joe Tsai61968ce2019-04-01 12:59:24 -070026func (x *PublicImportMessage) Reset() {
27 *x = PublicImportMessage{}
Damien Neile475eaa2019-01-26 14:24:59 -080028}
Joe Tsai61968ce2019-04-01 12:59:24 -070029
30func (x *PublicImportMessage) String() string {
31 return protoimpl.X.MessageStringOf(x)
32}
33
34func (*PublicImportMessage) ProtoMessage() {}
35
36func (x *PublicImportMessage) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -070037 mi := &file_test_test_public_proto_msgTypes[0]
38 if protoimpl.UnsafeEnabled && x != nil {
39 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
40 if ms.LoadMessageInfo() == nil {
41 ms.StoreMessageInfo(mi)
42 }
43 return ms
44 }
45 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -070046}
Joe Tsai8e506a82019-03-16 00:05:34 -070047
Joe Tsai82760ce2019-06-20 03:09:57 -070048func (x *PublicImportMessage) XXX_Methods() *protoiface.Methods {
Joe Tsai7ca70982019-04-15 13:57:56 -070049 return file_test_test_public_proto_msgTypes[0].Methods()
Damien Neil0d3e8cc2019-04-01 13:31:55 -070050}
51
Joe Tsai8e506a82019-03-16 00:05:34 -070052// Deprecated: Use PublicImportMessage.ProtoReflect.Type instead.
Damien Neile475eaa2019-01-26 14:24:59 -080053func (*PublicImportMessage) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070054 return file_test_test_public_proto_rawDescGZIP(), []int{0}
Damien Neile475eaa2019-01-26 14:24:59 -080055}
56
Joe Tsai5d72cc22019-03-28 01:13:26 -070057var File_test_test_public_proto protoreflect.FileDescriptor
58
Joe Tsai7ca70982019-04-15 13:57:56 -070059var file_test_test_public_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -080060 0x0a, 0x16, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c,
61 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
62 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13,
63 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73,
Damien Neile89e6242019-05-13 23:55:40 -070064 0x61, 0x67, 0x65, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
65 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
66 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
67 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
Damien Neile475eaa2019-01-26 14:24:59 -080068}
69
Joe Tsai5d72cc22019-03-28 01:13:26 -070070var (
Joe Tsai7ca70982019-04-15 13:57:56 -070071 file_test_test_public_proto_rawDescOnce sync.Once
72 file_test_test_public_proto_rawDescData = file_test_test_public_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -070073)
Damien Neile475eaa2019-01-26 14:24:59 -080074
Joe Tsai7ca70982019-04-15 13:57:56 -070075func file_test_test_public_proto_rawDescGZIP() []byte {
76 file_test_test_public_proto_rawDescOnce.Do(func() {
77 file_test_test_public_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_test_public_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -070078 })
Joe Tsai7ca70982019-04-15 13:57:56 -070079 return file_test_test_public_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -070080}
Damien Neile475eaa2019-01-26 14:24:59 -080081
Joe Tsai4fe96632019-05-22 05:12:36 -040082var file_test_test_public_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
Joe Tsai7ca70982019-04-15 13:57:56 -070083var file_test_test_public_proto_goTypes = []interface{}{
Damien Neile475eaa2019-01-26 14:24:59 -080084 (*PublicImportMessage)(nil), // 0: goproto.proto.test.PublicImportMessage
85}
Joe Tsaid8881392019-06-06 13:01:53 -070086var file_test_test_public_proto_depIdxs = []int32{
87 0, // starting offset of method output_type sub-list
88 0, // starting offset of method input_type sub-list
89 0, // starting offset of extension type_name sub-list
90 0, // starting offset of extension extendee sub-list
91 0, // starting offset of field type_name sub-list
92}
Damien Neile475eaa2019-01-26 14:24:59 -080093
Joe Tsai7ca70982019-04-15 13:57:56 -070094func init() { file_test_test_public_proto_init() }
95func file_test_test_public_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -080096 if File_test_test_public_proto != nil {
97 return
98 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -070099 if !protoimpl.UnsafeEnabled {
100 file_test_test_public_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
101 switch v := v.(*PublicImportMessage); i {
102 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -0700103 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700104 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -0700105 return &v.sizeCache
106 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700107 return &v.unknownFields
108 default:
109 return nil
110 }
111 }
112 }
Joe Tsaid8881392019-06-06 13:01:53 -0700113 out := protoimpl.TypeBuilder{
114 File: protoimpl.DescBuilder{
115 RawDescriptor: file_test_test_public_proto_rawDesc,
116 NumEnums: 0,
117 NumMessages: 1,
118 NumExtensions: 0,
119 NumServices: 0,
120 },
121 GoTypes: file_test_test_public_proto_goTypes,
122 DependencyIndexes: file_test_test_public_proto_depIdxs,
123 MessageInfos: file_test_test_public_proto_msgTypes,
124 }.Build()
125 File_test_test_public_proto = out.File
Joe Tsai7ca70982019-04-15 13:57:56 -0700126 file_test_test_public_proto_rawDesc = nil
127 file_test_test_public_proto_goTypes = nil
128 file_test_test_public_proto_depIdxs = nil
Damien Neile475eaa2019-01-26 14:24:59 -0800129}