mpagenko | af80163 | 2020-07-03 10:00:42 +0000 | [diff] [blame] | 1 | // Protocol Buffers - Google's data interchange format |
| 2 | // Copyright 2008 Google Inc. All rights reserved. |
| 3 | // https://developers.google.com/protocol-buffers/ |
| 4 | // |
| 5 | // Redistribution and use in source and binary forms, with or without |
| 6 | // modification, are permitted provided that the following conditions are |
| 7 | // met: |
| 8 | // |
| 9 | // * Redistributions of source code must retain the above copyright |
| 10 | // notice, this list of conditions and the following disclaimer. |
| 11 | // * Redistributions in binary form must reproduce the above |
| 12 | // copyright notice, this list of conditions and the following disclaimer |
| 13 | // in the documentation and/or other materials provided with the |
| 14 | // distribution. |
| 15 | // * Neither the name of Google Inc. nor the names of its |
| 16 | // contributors may be used to endorse or promote products derived from |
| 17 | // this software without specific prior written permission. |
| 18 | // |
| 19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 | |
| 31 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 32 | // source: google/protobuf/empty.proto |
| 33 | |
| 34 | package emptypb |
| 35 | |
| 36 | import ( |
| 37 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 38 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 39 | reflect "reflect" |
| 40 | sync "sync" |
| 41 | ) |
| 42 | |
| 43 | // A generic empty message that you can re-use to avoid defining duplicated |
| 44 | // empty messages in your APIs. A typical example is to use it as the request |
| 45 | // or the response type of an API method. For instance: |
| 46 | // |
| 47 | // service Foo { |
| 48 | // rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); |
| 49 | // } |
| 50 | // |
| 51 | // The JSON representation for `Empty` is empty JSON object `{}`. |
| 52 | type Empty struct { |
| 53 | state protoimpl.MessageState |
| 54 | sizeCache protoimpl.SizeCache |
| 55 | unknownFields protoimpl.UnknownFields |
| 56 | } |
| 57 | |
| 58 | func (x *Empty) Reset() { |
| 59 | *x = Empty{} |
| 60 | if protoimpl.UnsafeEnabled { |
| 61 | mi := &file_google_protobuf_empty_proto_msgTypes[0] |
| 62 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 63 | ms.StoreMessageInfo(mi) |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | func (x *Empty) String() string { |
| 68 | return protoimpl.X.MessageStringOf(x) |
| 69 | } |
| 70 | |
| 71 | func (*Empty) ProtoMessage() {} |
| 72 | |
| 73 | func (x *Empty) ProtoReflect() protoreflect.Message { |
| 74 | mi := &file_google_protobuf_empty_proto_msgTypes[0] |
| 75 | if protoimpl.UnsafeEnabled && x != nil { |
| 76 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 77 | if ms.LoadMessageInfo() == nil { |
| 78 | ms.StoreMessageInfo(mi) |
| 79 | } |
| 80 | return ms |
| 81 | } |
| 82 | return mi.MessageOf(x) |
| 83 | } |
| 84 | |
| 85 | // Deprecated: Use Empty.ProtoReflect.Descriptor instead. |
| 86 | func (*Empty) Descriptor() ([]byte, []int) { |
| 87 | return file_google_protobuf_empty_proto_rawDescGZIP(), []int{0} |
| 88 | } |
| 89 | |
| 90 | var File_google_protobuf_empty_proto protoreflect.FileDescriptor |
| 91 | |
| 92 | var file_google_protobuf_empty_proto_rawDesc = []byte{ |
| 93 | 0x0a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 94 | 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, |
| 95 | 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x07, |
| 96 | 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x76, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x67, |
| 97 | 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x0a, |
| 98 | 0x45, 0x6d, 0x70, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, |
| 99 | 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, |
| 100 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x70, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, |
| 101 | 0x65, 0x6d, 0x70, 0x74, 0x79, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, |
| 102 | 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 103 | 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, |
| 104 | 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 105 | } |
| 106 | |
| 107 | var ( |
| 108 | file_google_protobuf_empty_proto_rawDescOnce sync.Once |
| 109 | file_google_protobuf_empty_proto_rawDescData = file_google_protobuf_empty_proto_rawDesc |
| 110 | ) |
| 111 | |
| 112 | func file_google_protobuf_empty_proto_rawDescGZIP() []byte { |
| 113 | file_google_protobuf_empty_proto_rawDescOnce.Do(func() { |
| 114 | file_google_protobuf_empty_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_empty_proto_rawDescData) |
| 115 | }) |
| 116 | return file_google_protobuf_empty_proto_rawDescData |
| 117 | } |
| 118 | |
| 119 | var file_google_protobuf_empty_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 120 | var file_google_protobuf_empty_proto_goTypes = []interface{}{ |
| 121 | (*Empty)(nil), // 0: google.protobuf.Empty |
| 122 | } |
| 123 | var file_google_protobuf_empty_proto_depIdxs = []int32{ |
| 124 | 0, // [0:0] is the sub-list for method output_type |
| 125 | 0, // [0:0] is the sub-list for method input_type |
| 126 | 0, // [0:0] is the sub-list for extension type_name |
| 127 | 0, // [0:0] is the sub-list for extension extendee |
| 128 | 0, // [0:0] is the sub-list for field type_name |
| 129 | } |
| 130 | |
| 131 | func init() { file_google_protobuf_empty_proto_init() } |
| 132 | func file_google_protobuf_empty_proto_init() { |
| 133 | if File_google_protobuf_empty_proto != nil { |
| 134 | return |
| 135 | } |
| 136 | if !protoimpl.UnsafeEnabled { |
| 137 | file_google_protobuf_empty_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 138 | switch v := v.(*Empty); i { |
| 139 | case 0: |
| 140 | return &v.state |
| 141 | case 1: |
| 142 | return &v.sizeCache |
| 143 | case 2: |
| 144 | return &v.unknownFields |
| 145 | default: |
| 146 | return nil |
| 147 | } |
| 148 | } |
| 149 | } |
| 150 | type x struct{} |
| 151 | out := protoimpl.TypeBuilder{ |
| 152 | File: protoimpl.DescBuilder{ |
| 153 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 154 | RawDescriptor: file_google_protobuf_empty_proto_rawDesc, |
| 155 | NumEnums: 0, |
| 156 | NumMessages: 1, |
| 157 | NumExtensions: 0, |
| 158 | NumServices: 0, |
| 159 | }, |
| 160 | GoTypes: file_google_protobuf_empty_proto_goTypes, |
| 161 | DependencyIndexes: file_google_protobuf_empty_proto_depIdxs, |
| 162 | MessageInfos: file_google_protobuf_empty_proto_msgTypes, |
| 163 | }.Build() |
| 164 | File_google_protobuf_empty_proto = out.File |
| 165 | file_google_protobuf_empty_proto_rawDesc = nil |
| 166 | file_google_protobuf_empty_proto_goTypes = nil |
| 167 | file_google_protobuf_empty_proto_depIdxs = nil |
| 168 | } |