blob: 79eec4180d468557e7d037dd8f5bb7c8da783d58 [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
Joe Tsai58b42d82019-05-22 16:27:51 -040017const (
18 // Verify that runtime/protoimpl is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
22)
Joe Tsai5d72cc22019-03-28 01:13:26 -070023
Damien Neile475eaa2019-01-26 14:24:59 -080024type PublicImportMessage struct {
Joe Tsai82760ce2019-06-20 03:09:57 -070025 state protoimpl.MessageState
Joe Tsaic0e4bb22019-07-06 13:05:11 -070026 sizeCache protoimpl.SizeCache
27 unknownFields protoimpl.UnknownFields
Damien Neile475eaa2019-01-26 14:24:59 -080028}
29
Joe Tsai61968ce2019-04-01 12:59:24 -070030func (x *PublicImportMessage) Reset() {
31 *x = PublicImportMessage{}
Damien Neile475eaa2019-01-26 14:24:59 -080032}
Joe Tsai61968ce2019-04-01 12:59:24 -070033
34func (x *PublicImportMessage) String() string {
35 return protoimpl.X.MessageStringOf(x)
36}
37
38func (*PublicImportMessage) ProtoMessage() {}
39
40func (x *PublicImportMessage) ProtoReflect() protoreflect.Message {
Joe Tsai82760ce2019-06-20 03:09:57 -070041 mi := &file_test_test_public_proto_msgTypes[0]
42 if protoimpl.UnsafeEnabled && x != nil {
43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
44 if ms.LoadMessageInfo() == nil {
45 ms.StoreMessageInfo(mi)
46 }
47 return ms
48 }
49 return mi.MessageOf(x)
Joe Tsai61968ce2019-04-01 12:59:24 -070050}
Joe Tsai8e506a82019-03-16 00:05:34 -070051
Joe Tsai43761bd2019-07-17 18:06:47 -070052// Deprecated: Use PublicImportMessage.ProtoReflect.Descriptor 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 Tsaiaf570872019-07-14 23:04:40 -0700113 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -0700114 out := protoimpl.TypeBuilder{
115 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -0700116 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -0700117 RawDescriptor: file_test_test_public_proto_rawDesc,
118 NumEnums: 0,
119 NumMessages: 1,
120 NumExtensions: 0,
121 NumServices: 0,
122 },
123 GoTypes: file_test_test_public_proto_goTypes,
124 DependencyIndexes: file_test_test_public_proto_depIdxs,
125 MessageInfos: file_test_test_public_proto_msgTypes,
126 }.Build()
127 File_test_test_public_proto = out.File
Joe Tsai7ca70982019-04-15 13:57:56 -0700128 file_test_test_public_proto_rawDesc = nil
129 file_test_test_public_proto_goTypes = nil
130 file_test_test_public_proto_depIdxs = nil
Damien Neile475eaa2019-01-26 14:24:59 -0800131}