blob: f71877669e280ea271364f20d28b56d555561378 [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{}
Joe Tsaiae313d42019-10-16 10:25:54 -070025 if protoimpl.UnsafeEnabled {
26 mi := &file_test_test_public_proto_msgTypes[0]
27 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
28 ms.StoreMessageInfo(mi)
29 }
Damien Neile475eaa2019-01-26 14:24:59 -080030}
Joe Tsai61968ce2019-04-01 12:59:24 -070031
32func (x *PublicImportMessage) String() string {
33 return protoimpl.X.MessageStringOf(x)
34}
35
36func (*PublicImportMessage) ProtoMessage() {}
37
38func (x *PublicImportMessage) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -070039 mi := &file_test_test_public_proto_msgTypes[0]
40 if protoimpl.UnsafeEnabled && x != nil {
41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42 if ms.LoadMessageInfo() == nil {
43 ms.StoreMessageInfo(mi)
44 }
45 return ms
46 }
47 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -070048}
Joe Tsai8e506a82019-03-16 00:05:34 -070049
Joe Tsai43761bd2019-07-17 18:06:47 -070050// Deprecated: Use PublicImportMessage.ProtoReflect.Descriptor instead.
Damien Neile475eaa2019-01-26 14:24:59 -080051func (*PublicImportMessage) Descriptor() ([]byte, []int) {
Joe Tsai7ca70982019-04-15 13:57:56 -070052 return file_test_test_public_proto_rawDescGZIP(), []int{0}
Damien Neile475eaa2019-01-26 14:24:59 -080053}
54
Joe Tsai5d72cc22019-03-28 01:13:26 -070055var File_test_test_public_proto protoreflect.FileDescriptor
56
Joe Tsai7ca70982019-04-15 13:57:56 -070057var file_test_test_public_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -080058 0x0a, 0x16, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c,
59 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
60 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13,
61 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73,
Damien Neile89e6242019-05-13 23:55:40 -070062 0x61, 0x67, 0x65, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
63 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
64 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
65 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
Damien Neile475eaa2019-01-26 14:24:59 -080066}
67
Joe Tsai5d72cc22019-03-28 01:13:26 -070068var (
Joe Tsai7ca70982019-04-15 13:57:56 -070069 file_test_test_public_proto_rawDescOnce sync.Once
70 file_test_test_public_proto_rawDescData = file_test_test_public_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -070071)
Damien Neile475eaa2019-01-26 14:24:59 -080072
Joe Tsai7ca70982019-04-15 13:57:56 -070073func file_test_test_public_proto_rawDescGZIP() []byte {
74 file_test_test_public_proto_rawDescOnce.Do(func() {
75 file_test_test_public_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_test_public_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -070076 })
Joe Tsai7ca70982019-04-15 13:57:56 -070077 return file_test_test_public_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -070078}
Damien Neile475eaa2019-01-26 14:24:59 -080079
Joe Tsai4fe96632019-05-22 05:12:36 -040080var file_test_test_public_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
Joe Tsai7ca70982019-04-15 13:57:56 -070081var file_test_test_public_proto_goTypes = []interface{}{
Damien Neile475eaa2019-01-26 14:24:59 -080082 (*PublicImportMessage)(nil), // 0: goproto.proto.test.PublicImportMessage
83}
Joe Tsaid8881392019-06-06 13:01:53 -070084var file_test_test_public_proto_depIdxs = []int32{
Joe Tsai73288392019-08-14 11:55:31 -070085 0, // [0:0] is the sub-list for method output_type
86 0, // [0:0] is the sub-list for method input_type
87 0, // [0:0] is the sub-list for extension type_name
88 0, // [0:0] is the sub-list for extension extendee
89 0, // [0:0] is the sub-list for field type_name
Joe Tsaid8881392019-06-06 13:01:53 -070090}
Damien Neile475eaa2019-01-26 14:24:59 -080091
Joe Tsai7ca70982019-04-15 13:57:56 -070092func init() { file_test_test_public_proto_init() }
93func file_test_test_public_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -080094 if File_test_test_public_proto != nil {
95 return
96 }
Joe Tsaic0e4bb22019-07-06 13:05:11 -070097 if !protoimpl.UnsafeEnabled {
98 file_test_test_public_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
99 switch v := v.(*PublicImportMessage); i {
100 case 0:
Joe Tsai82760ce2019-06-20 03:09:57 -0700101 return &v.state
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700102 case 1:
Joe Tsai82760ce2019-06-20 03:09:57 -0700103 return &v.sizeCache
104 case 2:
Joe Tsaic0e4bb22019-07-06 13:05:11 -0700105 return &v.unknownFields
106 default:
107 return nil
108 }
109 }
110 }
Joe Tsaiaf570872019-07-14 23:04:40 -0700111 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -0700112 out := protoimpl.TypeBuilder{
113 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -0700114 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -0700115 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}