go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/server/redisconn/adminpb/admin.pb.go (about) 1 // Copyright 2021 The LUCI Authors. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.31.0 18 // protoc v3.21.7 19 // source: go.chromium.org/luci/server/redisconn/adminpb/admin.proto 20 21 package adminpb 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 emptypb "google.golang.org/protobuf/types/known/emptypb" 27 reflect "reflect" 28 sync "sync" 29 ) 30 31 const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36 ) 37 38 type FlushAllRequest struct { 39 state protoimpl.MessageState 40 sizeCache protoimpl.SizeCache 41 unknownFields protoimpl.UnknownFields 42 43 Async bool `protobuf:"varint,1,opt,name=async,proto3" json:"async,omitempty"` // flush asynchronously using "FLUSHALL ASYNC" 44 } 45 46 func (x *FlushAllRequest) Reset() { 47 *x = FlushAllRequest{} 48 if protoimpl.UnsafeEnabled { 49 mi := &file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_msgTypes[0] 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 ms.StoreMessageInfo(mi) 52 } 53 } 54 55 func (x *FlushAllRequest) String() string { 56 return protoimpl.X.MessageStringOf(x) 57 } 58 59 func (*FlushAllRequest) ProtoMessage() {} 60 61 func (x *FlushAllRequest) ProtoReflect() protoreflect.Message { 62 mi := &file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_msgTypes[0] 63 if protoimpl.UnsafeEnabled && x != nil { 64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 65 if ms.LoadMessageInfo() == nil { 66 ms.StoreMessageInfo(mi) 67 } 68 return ms 69 } 70 return mi.MessageOf(x) 71 } 72 73 // Deprecated: Use FlushAllRequest.ProtoReflect.Descriptor instead. 74 func (*FlushAllRequest) Descriptor() ([]byte, []int) { 75 return file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_rawDescGZIP(), []int{0} 76 } 77 78 func (x *FlushAllRequest) GetAsync() bool { 79 if x != nil { 80 return x.Async 81 } 82 return false 83 } 84 85 var File_go_chromium_org_luci_server_redisconn_adminpb_admin_proto protoreflect.FileDescriptor 86 87 var file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_rawDesc = []byte{ 88 0x0a, 0x39, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 89 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x72, 0x65, 90 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x70, 0x62, 0x2f, 91 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x73, 0x65, 0x72, 92 0x76, 0x65, 0x72, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x1a, 0x1b, 0x67, 93 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 94 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x27, 0x0a, 0x0f, 0x46, 0x6c, 95 0x75, 0x73, 0x68, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 96 0x05, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x73, 97 0x79, 0x6e, 0x63, 0x32, 0x4e, 0x0a, 0x05, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x45, 0x0a, 0x08, 98 0x46, 0x6c, 0x75, 0x73, 0x68, 0x41, 0x6c, 0x6c, 0x12, 0x21, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 99 0x72, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x2e, 0x46, 0x6c, 0x75, 0x73, 100 0x68, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 101 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 102 0x70, 0x74, 0x79, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 103 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 104 0x65, 0x72, 0x2f, 0x72, 0x65, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x2f, 0x61, 0x64, 0x6d, 105 0x69, 0x6e, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 106 } 107 108 var ( 109 file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_rawDescOnce sync.Once 110 file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_rawDescData = file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_rawDesc 111 ) 112 113 func file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_rawDescGZIP() []byte { 114 file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_rawDescOnce.Do(func() { 115 file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_rawDescData) 116 }) 117 return file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_rawDescData 118 } 119 120 var file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 121 var file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_goTypes = []interface{}{ 122 (*FlushAllRequest)(nil), // 0: server.redisconn.FlushAllRequest 123 (*emptypb.Empty)(nil), // 1: google.protobuf.Empty 124 } 125 var file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_depIdxs = []int32{ 126 0, // 0: server.redisconn.Admin.FlushAll:input_type -> server.redisconn.FlushAllRequest 127 1, // 1: server.redisconn.Admin.FlushAll:output_type -> google.protobuf.Empty 128 1, // [1:2] is the sub-list for method output_type 129 0, // [0:1] is the sub-list for method input_type 130 0, // [0:0] is the sub-list for extension type_name 131 0, // [0:0] is the sub-list for extension extendee 132 0, // [0:0] is the sub-list for field type_name 133 } 134 135 func init() { file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_init() } 136 func file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_init() { 137 if File_go_chromium_org_luci_server_redisconn_adminpb_admin_proto != nil { 138 return 139 } 140 if !protoimpl.UnsafeEnabled { 141 file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 142 switch v := v.(*FlushAllRequest); i { 143 case 0: 144 return &v.state 145 case 1: 146 return &v.sizeCache 147 case 2: 148 return &v.unknownFields 149 default: 150 return nil 151 } 152 } 153 } 154 type x struct{} 155 out := protoimpl.TypeBuilder{ 156 File: protoimpl.DescBuilder{ 157 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 158 RawDescriptor: file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_rawDesc, 159 NumEnums: 0, 160 NumMessages: 1, 161 NumExtensions: 0, 162 NumServices: 1, 163 }, 164 GoTypes: file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_goTypes, 165 DependencyIndexes: file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_depIdxs, 166 MessageInfos: file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_msgTypes, 167 }.Build() 168 File_go_chromium_org_luci_server_redisconn_adminpb_admin_proto = out.File 169 file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_rawDesc = nil 170 file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_goTypes = nil 171 file_go_chromium_org_luci_server_redisconn_adminpb_admin_proto_depIdxs = nil 172 }