Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 1 | // 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 Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 5 | // Code generated by protoc-gen-go. DO NOT EDIT. |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 6 | // source: internal/testprotos/test/test_public.proto |
Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 7 | |
| 8 | package test |
| 9 | |
| 10 | import ( |
Damien Neil | e89e624 | 2019-05-13 23:55:40 -0700 | [diff] [blame] | 11 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
Damien Neil | e89e624 | 2019-05-13 23:55:40 -0700 | [diff] [blame] | 12 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 13 | reflect "reflect" |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 14 | sync "sync" |
Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 15 | ) |
| 16 | |
Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 17 | type PublicImportMessage struct { |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 18 | state protoimpl.MessageState |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 19 | sizeCache protoimpl.SizeCache |
| 20 | unknownFields protoimpl.UnknownFields |
Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 21 | } |
| 22 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 23 | func (x *PublicImportMessage) Reset() { |
| 24 | *x = PublicImportMessage{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 25 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 26 | mi := &file_internal_testprotos_test_test_public_proto_msgTypes[0] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 27 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 28 | ms.StoreMessageInfo(mi) |
| 29 | } |
Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 30 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 31 | |
| 32 | func (x *PublicImportMessage) String() string { |
| 33 | return protoimpl.X.MessageStringOf(x) |
| 34 | } |
| 35 | |
| 36 | func (*PublicImportMessage) ProtoMessage() {} |
| 37 | |
| 38 | func (x *PublicImportMessage) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 39 | mi := &file_internal_testprotos_test_test_public_proto_msgTypes[0] |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 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 Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 48 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 49 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 50 | // Deprecated: Use PublicImportMessage.ProtoReflect.Descriptor instead. |
Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 51 | func (*PublicImportMessage) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 52 | return file_internal_testprotos_test_test_public_proto_rawDescGZIP(), []int{0} |
Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 53 | } |
| 54 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 55 | var File_internal_testprotos_test_test_public_proto protoreflect.FileDescriptor |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 56 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 57 | var file_internal_testprotos_test_test_public_proto_rawDesc = []byte{ |
| 58 | 0x0a, 0x2a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, |
| 59 | 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, |
| 60 | 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, |
| 61 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, |
| 62 | 0x22, 0x15, 0x0a, 0x13, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, |
| 63 | 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 64 | 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, |
| 65 | 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, |
| 66 | 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, |
Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 67 | } |
| 68 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 69 | var ( |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 70 | file_internal_testprotos_test_test_public_proto_rawDescOnce sync.Once |
| 71 | file_internal_testprotos_test_test_public_proto_rawDescData = file_internal_testprotos_test_test_public_proto_rawDesc |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 72 | ) |
Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 73 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 74 | func file_internal_testprotos_test_test_public_proto_rawDescGZIP() []byte { |
| 75 | file_internal_testprotos_test_test_public_proto_rawDescOnce.Do(func() { |
| 76 | file_internal_testprotos_test_test_public_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_test_test_public_proto_rawDescData) |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 77 | }) |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 78 | return file_internal_testprotos_test_test_public_proto_rawDescData |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 79 | } |
Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 80 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 81 | var file_internal_testprotos_test_test_public_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 82 | var file_internal_testprotos_test_test_public_proto_goTypes = []interface{}{ |
Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 83 | (*PublicImportMessage)(nil), // 0: goproto.proto.test.PublicImportMessage |
| 84 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 85 | var file_internal_testprotos_test_test_public_proto_depIdxs = []int32{ |
Joe Tsai | 7328839 | 2019-08-14 11:55:31 -0700 | [diff] [blame] | 86 | 0, // [0:0] is the sub-list for method output_type |
| 87 | 0, // [0:0] is the sub-list for method input_type |
| 88 | 0, // [0:0] is the sub-list for extension type_name |
| 89 | 0, // [0:0] is the sub-list for extension extendee |
| 90 | 0, // [0:0] is the sub-list for field type_name |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 91 | } |
Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 92 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 93 | func init() { file_internal_testprotos_test_test_public_proto_init() } |
| 94 | func file_internal_testprotos_test_test_public_proto_init() { |
| 95 | if File_internal_testprotos_test_test_public_proto != nil { |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 96 | return |
| 97 | } |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 98 | if !protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 99 | file_internal_testprotos_test_test_public_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 100 | switch v := v.(*PublicImportMessage); i { |
| 101 | case 0: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 102 | return &v.state |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 103 | case 1: |
Joe Tsai | 82760ce | 2019-06-20 03:09:57 -0700 | [diff] [blame] | 104 | return &v.sizeCache |
| 105 | case 2: |
Joe Tsai | c0e4bb2 | 2019-07-06 13:05:11 -0700 | [diff] [blame] | 106 | return &v.unknownFields |
| 107 | default: |
| 108 | return nil |
| 109 | } |
| 110 | } |
| 111 | } |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 112 | type x struct{} |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 113 | out := protoimpl.TypeBuilder{ |
| 114 | File: protoimpl.DescBuilder{ |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 115 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 116 | RawDescriptor: file_internal_testprotos_test_test_public_proto_rawDesc, |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 117 | NumEnums: 0, |
| 118 | NumMessages: 1, |
| 119 | NumExtensions: 0, |
| 120 | NumServices: 0, |
| 121 | }, |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 122 | GoTypes: file_internal_testprotos_test_test_public_proto_goTypes, |
| 123 | DependencyIndexes: file_internal_testprotos_test_test_public_proto_depIdxs, |
| 124 | MessageInfos: file_internal_testprotos_test_test_public_proto_msgTypes, |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 125 | }.Build() |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 126 | File_internal_testprotos_test_test_public_proto = out.File |
| 127 | file_internal_testprotos_test_test_public_proto_rawDesc = nil |
| 128 | file_internal_testprotos_test_test_public_proto_goTypes = nil |
| 129 | file_internal_testprotos_test_test_public_proto_depIdxs = nil |
Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame] | 130 | } |