blob: a012badf0d0be325758b0f8f0c058baf0d4869b1 [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 Tsaiaf570872019-07-14 23:04:40 -07009 reflect "reflect"
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 Tsai43761bd2019-07-17 18:06:47 -070048// Deprecated: Use PublicImportMessage.ProtoReflect.Descriptor instead.
Damien Neile475eaa2019-01-26 14:24:59 -080049func (*PublicImportMessage) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070050 return file_test_test_public_proto_rawDescGZIP(), []int{0}
Damien Neile475eaa2019-01-26 14:24:59 -080051}
52
Joe Tsai5d72cc22019-03-28 01:13:26 -070053var File_test_test_public_proto protoreflect.FileDescriptor
54
Joe Tsai7ca70982019-04-15 13:57:56 -070055var file_test_test_public_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -080056 0x0a, 0x16, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c,
57 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
58 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13,
59 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73,
Damien Neile89e6242019-05-13 23:55:40 -070060 0x61, 0x67, 0x65, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
61 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
62 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
63 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
Damien Neile475eaa2019-01-26 14:24:59 -080064}
65
Joe Tsai5d72cc22019-03-28 01:13:26 -070066var (
Joe Tsai7ca70982019-04-15 13:57:56 -070067 file_test_test_public_proto_rawDescOnce sync.Once
68 file_test_test_public_proto_rawDescData = file_test_test_public_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -070069)
Damien Neile475eaa2019-01-26 14:24:59 -080070
Joe Tsai7ca70982019-04-15 13:57:56 -070071func file_test_test_public_proto_rawDescGZIP() []byte {
72 file_test_test_public_proto_rawDescOnce.Do(func() {
73 file_test_test_public_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_test_public_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -070074 })
Joe Tsai7ca70982019-04-15 13:57:56 -070075 return file_test_test_public_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -070076}
Damien Neile475eaa2019-01-26 14:24:59 -080077
Joe Tsai4fe96632019-05-22 05:12:36 -040078var file_test_test_public_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
Joe Tsai7ca70982019-04-15 13:57:56 -070079var file_test_test_public_proto_goTypes = []interface{}{
Damien Neile475eaa2019-01-26 14:24:59 -080080 (*PublicImportMessage)(nil), // 0: goproto.proto.test.PublicImportMessage
81}
Joe Tsaid8881392019-06-06 13:01:53 -070082var file_test_test_public_proto_depIdxs = []int32{
83 0, // starting offset of method output_type sub-list
84 0, // starting offset of method input_type sub-list
85 0, // starting offset of extension type_name sub-list
86 0, // starting offset of extension extendee sub-list
87 0, // starting offset of field type_name sub-list
88}
Damien Neile475eaa2019-01-26 14:24:59 -080089
Joe Tsai7ca70982019-04-15 13:57:56 -070090func init() { file_test_test_public_proto_init() }
91func file_test_test_public_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -080092 if File_test_test_public_proto != nil {
93 return
94 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -070095 if !protoimpl.UnsafeEnabled {
96 file_test_test_public_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
97 switch v := v.(*PublicImportMessage); i {
98 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -070099 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700100 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -0700101 return &v.sizeCache
102 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700103 return &v.unknownFields
104 default:
105 return nil
106 }
107 }
108 }
Joe Tsaiaf570872019-07-14 23:04:40 -0700109 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -0700110 out := protoimpl.TypeBuilder{
111 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -0700112 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -0700113 RawDescriptor: file_test_test_public_proto_rawDesc,
114 NumEnums: 0,
115 NumMessages: 1,
116 NumExtensions: 0,
117 NumServices: 0,
118 },
119 GoTypes: file_test_test_public_proto_goTypes,
120 DependencyIndexes: file_test_test_public_proto_depIdxs,
121 MessageInfos: file_test_test_public_proto_msgTypes,
122 }.Build()
123 File_test_test_public_proto = out.File
Joe Tsai7ca70982019-04-15 13:57:56 -0700124 file_test_test_public_proto_rawDesc = nil
125 file_test_test_public_proto_goTypes = nil
126 file_test_test_public_proto_depIdxs = nil
Damien Neile475eaa2019-01-26 14:24:59 -0800127}