blob: a6b2aa1d9ef26338e757b52f850815c03dd9d6c5 [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 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsai5d72cc22019-03-28 01:13:26 -07009 sync "sync"
Damien Neile475eaa2019-01-26 14:24:59 -080010)
11
Joe Tsai58b42d82019-05-22 16:27:51 -040012const (
13 // Verify that runtime/protoimpl is sufficiently up-to-date.
14 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
15 // Verify that this generated code is sufficiently up-to-date.
16 _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
17)
Joe Tsai5d72cc22019-03-28 01:13:26 -070018
Damien Neile475eaa2019-01-26 14:24:59 -080019type PublicImportMessage struct {
Joe Tsai82760ce2019-06-20 03:09:57 -070020 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -070021 sizeCache protoimpl.SizeCache
22 unknownFields protoimpl.UnknownFields
Damien Neile475eaa2019-01-26 14:24:59 -080023}
24
Joe Tsai61968ce2019-04-01 12:59:24 -070025func (x *PublicImportMessage) Reset() {
26 *x = PublicImportMessage{}
Damien Neile475eaa2019-01-26 14:24:59 -080027}
Joe Tsai61968ce2019-04-01 12:59:24 -070028
29func (x *PublicImportMessage) String() string {
30 return protoimpl.X.MessageStringOf(x)
31}
32
33func (*PublicImportMessage) ProtoMessage() {}
34
35func (x *PublicImportMessage) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -070036 mi := &file_test_test_public_proto_msgTypes[0]
37 if protoimpl.UnsafeEnabled && x != nil {
38 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
39 if ms.LoadMessageInfo() == nil {
40 ms.StoreMessageInfo(mi)
41 }
42 return ms
43 }
44 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -070045}
Joe Tsai8e506a82019-03-16 00:05:34 -070046
47// Deprecated: Use PublicImportMessage.ProtoReflect.Type instead.
Damien Neile475eaa2019-01-26 14:24:59 -080048func (*PublicImportMessage) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070049 return file_test_test_public_proto_rawDescGZIP(), []int{0}
Damien Neile475eaa2019-01-26 14:24:59 -080050}
51
Joe Tsai5d72cc22019-03-28 01:13:26 -070052var File_test_test_public_proto protoreflect.FileDescriptor
53
Joe Tsai7ca70982019-04-15 13:57:56 -070054var file_test_test_public_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -080055 0x0a, 0x16, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c,
56 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
57 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13,
58 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73,
Damien Neile89e6242019-05-13 23:55:40 -070059 0x61, 0x67, 0x65, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
60 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
61 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
62 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
Damien Neile475eaa2019-01-26 14:24:59 -080063}
64
Joe Tsai5d72cc22019-03-28 01:13:26 -070065var (
Joe Tsai7ca70982019-04-15 13:57:56 -070066 file_test_test_public_proto_rawDescOnce sync.Once
67 file_test_test_public_proto_rawDescData = file_test_test_public_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -070068)
Damien Neile475eaa2019-01-26 14:24:59 -080069
Joe Tsai7ca70982019-04-15 13:57:56 -070070func file_test_test_public_proto_rawDescGZIP() []byte {
71 file_test_test_public_proto_rawDescOnce.Do(func() {
72 file_test_test_public_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_test_public_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -070073 })
Joe Tsai7ca70982019-04-15 13:57:56 -070074 return file_test_test_public_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -070075}
Damien Neile475eaa2019-01-26 14:24:59 -080076
Joe Tsai4fe96632019-05-22 05:12:36 -040077var file_test_test_public_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
Joe Tsai7ca70982019-04-15 13:57:56 -070078var file_test_test_public_proto_goTypes = []interface{}{
Damien Neile475eaa2019-01-26 14:24:59 -080079 (*PublicImportMessage)(nil), // 0: goproto.proto.test.PublicImportMessage
80}
Joe Tsaid8881392019-06-06 13:01:53 -070081var file_test_test_public_proto_depIdxs = []int32{
82 0, // starting offset of method output_type sub-list
83 0, // starting offset of method input_type sub-list
84 0, // starting offset of extension type_name sub-list
85 0, // starting offset of extension extendee sub-list
86 0, // starting offset of field type_name sub-list
87}
Damien Neile475eaa2019-01-26 14:24:59 -080088
Joe Tsai7ca70982019-04-15 13:57:56 -070089func init() { file_test_test_public_proto_init() }
90func file_test_test_public_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -080091 if File_test_test_public_proto != nil {
92 return
93 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -070094 if !protoimpl.UnsafeEnabled {
95 file_test_test_public_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
96 switch v := v.(*PublicImportMessage); i {
97 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -070098 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -070099 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -0700100 return &v.sizeCache
101 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700102 return &v.unknownFields
103 default:
104 return nil
105 }
106 }
107 }
Joe Tsaid8881392019-06-06 13:01:53 -0700108 out := protoimpl.TypeBuilder{
109 File: protoimpl.DescBuilder{
110 RawDescriptor: file_test_test_public_proto_rawDesc,
111 NumEnums: 0,
112 NumMessages: 1,
113 NumExtensions: 0,
114 NumServices: 0,
115 },
116 GoTypes: file_test_test_public_proto_goTypes,
117 DependencyIndexes: file_test_test_public_proto_depIdxs,
118 MessageInfos: file_test_test_public_proto_msgTypes,
119 }.Build()
120 File_test_test_public_proto = out.File
Joe Tsai7ca70982019-04-15 13:57:56 -0700121 file_test_test_public_proto_rawDesc = nil
122 file_test_test_public_proto_goTypes = nil
123 file_test_test_public_proto_depIdxs = nil
Damien Neile475eaa2019-01-26 14:24:59 -0800124}