blob: 00558557a7e6a769ef20a7fa43fe5705fda13c82 [file] [log] [blame]
Joe Tsai8d5e6d62019-08-06 01:15:48 -07001// Copyright 2019 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 Neile475eaa2019-01-26 14:24:59 -08005// Code generated by protoc-gen-go. DO NOT EDIT.
Joe Tsai19058432019-02-27 21:46:29 -08006// source: test/test_public.proto
Damien Neile475eaa2019-01-26 14:24:59 -08007
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"
Joe Tsai5d72cc22019-03-28 01:13:26 -070014 sync "sync"
Damien Neile475eaa2019-01-26 14:24:59 -080015)
16
Damien Neile475eaa2019-01-26 14:24:59 -080017type PublicImportMessage struct {
Joe Tsai82760ce2019-06-20 03:09:57 -070018 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -070019 sizeCache protoimpl.SizeCache
20 unknownFields protoimpl.UnknownFields
Damien Neile475eaa2019-01-26 14:24:59 -080021}
22
Joe Tsai61968ce2019-04-01 12:59:24 -070023func (x *PublicImportMessage) Reset() {
24 *x = PublicImportMessage{}
Damien Neile475eaa2019-01-26 14:24:59 -080025}
Joe Tsai61968ce2019-04-01 12:59:24 -070026
27func (x *PublicImportMessage) String() string {
28 return protoimpl.X.MessageStringOf(x)
29}
30
31func (*PublicImportMessage) ProtoMessage() {}
32
33func (x *PublicImportMessage) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -070034 mi := &file_test_test_public_proto_msgTypes[0]
35 if protoimpl.UnsafeEnabled && x != nil {
36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
37 if ms.LoadMessageInfo() == nil {
38 ms.StoreMessageInfo(mi)
39 }
40 return ms
41 }
42 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -070043}
Joe Tsai8e506a82019-03-16 00:05:34 -070044
Joe Tsai43761bd2019-07-17 18:06:47 -070045// Deprecated: Use PublicImportMessage.ProtoReflect.Descriptor instead.
Damien Neile475eaa2019-01-26 14:24:59 -080046func (*PublicImportMessage) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070047 return file_test_test_public_proto_rawDescGZIP(), []int{0}
Damien Neile475eaa2019-01-26 14:24:59 -080048}
49
Joe Tsai5d72cc22019-03-28 01:13:26 -070050var File_test_test_public_proto protoreflect.FileDescriptor
51
Joe Tsai7ca70982019-04-15 13:57:56 -070052var file_test_test_public_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -080053 0x0a, 0x16, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c,
54 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
55 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13,
56 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73,
Damien Neile89e6242019-05-13 23:55:40 -070057 0x61, 0x67, 0x65, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
58 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
59 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
60 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
Damien Neile475eaa2019-01-26 14:24:59 -080061}
62
Joe Tsai5d72cc22019-03-28 01:13:26 -070063var (
Joe Tsai7ca70982019-04-15 13:57:56 -070064 file_test_test_public_proto_rawDescOnce sync.Once
65 file_test_test_public_proto_rawDescData = file_test_test_public_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -070066)
Damien Neile475eaa2019-01-26 14:24:59 -080067
Joe Tsai7ca70982019-04-15 13:57:56 -070068func file_test_test_public_proto_rawDescGZIP() []byte {
69 file_test_test_public_proto_rawDescOnce.Do(func() {
70 file_test_test_public_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_test_public_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -070071 })
Joe Tsai7ca70982019-04-15 13:57:56 -070072 return file_test_test_public_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -070073}
Damien Neile475eaa2019-01-26 14:24:59 -080074
Joe Tsai4fe96632019-05-22 05:12:36 -040075var file_test_test_public_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
Joe Tsai7ca70982019-04-15 13:57:56 -070076var file_test_test_public_proto_goTypes = []interface{}{
Damien Neile475eaa2019-01-26 14:24:59 -080077 (*PublicImportMessage)(nil), // 0: goproto.proto.test.PublicImportMessage
78}
Joe Tsaid8881392019-06-06 13:01:53 -070079var file_test_test_public_proto_depIdxs = []int32{
Joe Tsai73288392019-08-14 11:55:31 -070080 0, // [0:0] is the sub-list for method output_type
81 0, // [0:0] is the sub-list for method input_type
82 0, // [0:0] is the sub-list for extension type_name
83 0, // [0:0] is the sub-list for extension extendee
84 0, // [0:0] is the sub-list for field type_name
Joe Tsaid8881392019-06-06 13:01:53 -070085}
Damien Neile475eaa2019-01-26 14:24:59 -080086
Joe Tsai7ca70982019-04-15 13:57:56 -070087func init() { file_test_test_public_proto_init() }
88func file_test_test_public_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -080089 if File_test_test_public_proto != nil {
90 return
91 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -070092 if !protoimpl.UnsafeEnabled {
93 file_test_test_public_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
94 switch v := v.(*PublicImportMessage); i {
95 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -070096 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -070097 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -070098 return &v.sizeCache
99 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700100 return &v.unknownFields
101 default:
102 return nil
103 }
104 }
105 }
Joe Tsaiaf570872019-07-14 23:04:40 -0700106 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -0700107 out := protoimpl.TypeBuilder{
108 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -0700109 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -0700110 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}