vitess.io/vitess@v0.16.2/go/vt/proto/throttlerservice/throttlerservice.pb.go (about) 1 // 2 //Copyright 2019 The Vitess Authors. 3 // 4 //Licensed under the Apache License, Version 2.0 (the "License"); 5 //you may not use this file except in compliance with the License. 6 //You may obtain a copy of the License at 7 // 8 //http://www.apache.org/licenses/LICENSE-2.0 9 // 10 //Unless required by applicable law or agreed to in writing, software 11 //distributed under the License is distributed on an "AS IS" BASIS, 12 //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 //See the License for the specific language governing permissions and 14 //limitations under the License. 15 16 // gRPC RPC interface for the internal resharding throttler (go/vt/throttler) 17 // which is used by vreplication. 18 19 // Code generated by protoc-gen-go. DO NOT EDIT. 20 // versions: 21 // protoc-gen-go v1.28.1 22 // protoc v3.21.3 23 // source: throttlerservice.proto 24 25 package throttlerservice 26 27 import ( 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30 reflect "reflect" 31 throttlerdata "vitess.io/vitess/go/vt/proto/throttlerdata" 32 ) 33 34 const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39 ) 40 41 var File_throttlerservice_proto protoreflect.FileDescriptor 42 43 var file_throttlerservice_proto_rawDesc = []byte{ 44 0x0a, 0x16, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 45 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 46 0x6c, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x13, 0x74, 0x68, 0x72, 0x6f, 47 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 48 0xf3, 0x03, 0x0a, 0x09, 0x54, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x12, 0x4d, 0x0a, 49 0x08, 0x4d, 0x61, 0x78, 0x52, 0x61, 0x74, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x74, 0x68, 0x72, 0x6f, 50 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x61, 0x78, 0x52, 0x61, 0x74, 51 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x74, 0x68, 0x72, 0x6f, 52 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x61, 0x78, 0x52, 0x61, 0x74, 53 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0a, 54 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x52, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x74, 0x68, 0x72, 55 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x61, 56 0x78, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x74, 57 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x74, 58 0x4d, 0x61, 0x78, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 59 0x00, 0x12, 0x65, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 60 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 61 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 62 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 63 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 64 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 65 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6e, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 66 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 67 0x29, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 68 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 69 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x74, 0x68, 0x72, 70 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 71 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 72 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x65, 73 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 74 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 75 0x65, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 76 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 77 0x74, 0x6c, 0x65, 0x72, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x6f, 78 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 79 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2f, 0x5a, 0x2d, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2e, 80 0x69, 0x6f, 0x2f, 0x76, 0x69, 0x74, 0x65, 0x73, 0x73, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x74, 0x2f, 81 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x72, 0x73, 82 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 83 } 84 85 var file_throttlerservice_proto_goTypes = []interface{}{ 86 (*throttlerdata.MaxRatesRequest)(nil), // 0: throttlerdata.MaxRatesRequest 87 (*throttlerdata.SetMaxRateRequest)(nil), // 1: throttlerdata.SetMaxRateRequest 88 (*throttlerdata.GetConfigurationRequest)(nil), // 2: throttlerdata.GetConfigurationRequest 89 (*throttlerdata.UpdateConfigurationRequest)(nil), // 3: throttlerdata.UpdateConfigurationRequest 90 (*throttlerdata.ResetConfigurationRequest)(nil), // 4: throttlerdata.ResetConfigurationRequest 91 (*throttlerdata.MaxRatesResponse)(nil), // 5: throttlerdata.MaxRatesResponse 92 (*throttlerdata.SetMaxRateResponse)(nil), // 6: throttlerdata.SetMaxRateResponse 93 (*throttlerdata.GetConfigurationResponse)(nil), // 7: throttlerdata.GetConfigurationResponse 94 (*throttlerdata.UpdateConfigurationResponse)(nil), // 8: throttlerdata.UpdateConfigurationResponse 95 (*throttlerdata.ResetConfigurationResponse)(nil), // 9: throttlerdata.ResetConfigurationResponse 96 } 97 var file_throttlerservice_proto_depIdxs = []int32{ 98 0, // 0: throttlerservice.Throttler.MaxRates:input_type -> throttlerdata.MaxRatesRequest 99 1, // 1: throttlerservice.Throttler.SetMaxRate:input_type -> throttlerdata.SetMaxRateRequest 100 2, // 2: throttlerservice.Throttler.GetConfiguration:input_type -> throttlerdata.GetConfigurationRequest 101 3, // 3: throttlerservice.Throttler.UpdateConfiguration:input_type -> throttlerdata.UpdateConfigurationRequest 102 4, // 4: throttlerservice.Throttler.ResetConfiguration:input_type -> throttlerdata.ResetConfigurationRequest 103 5, // 5: throttlerservice.Throttler.MaxRates:output_type -> throttlerdata.MaxRatesResponse 104 6, // 6: throttlerservice.Throttler.SetMaxRate:output_type -> throttlerdata.SetMaxRateResponse 105 7, // 7: throttlerservice.Throttler.GetConfiguration:output_type -> throttlerdata.GetConfigurationResponse 106 8, // 8: throttlerservice.Throttler.UpdateConfiguration:output_type -> throttlerdata.UpdateConfigurationResponse 107 9, // 9: throttlerservice.Throttler.ResetConfiguration:output_type -> throttlerdata.ResetConfigurationResponse 108 5, // [5:10] is the sub-list for method output_type 109 0, // [0:5] is the sub-list for method input_type 110 0, // [0:0] is the sub-list for extension type_name 111 0, // [0:0] is the sub-list for extension extendee 112 0, // [0:0] is the sub-list for field type_name 113 } 114 115 func init() { file_throttlerservice_proto_init() } 116 func file_throttlerservice_proto_init() { 117 if File_throttlerservice_proto != nil { 118 return 119 } 120 type x struct{} 121 out := protoimpl.TypeBuilder{ 122 File: protoimpl.DescBuilder{ 123 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 124 RawDescriptor: file_throttlerservice_proto_rawDesc, 125 NumEnums: 0, 126 NumMessages: 0, 127 NumExtensions: 0, 128 NumServices: 1, 129 }, 130 GoTypes: file_throttlerservice_proto_goTypes, 131 DependencyIndexes: file_throttlerservice_proto_depIdxs, 132 }.Build() 133 File_throttlerservice_proto = out.File 134 file_throttlerservice_proto_rawDesc = nil 135 file_throttlerservice_proto_goTypes = nil 136 file_throttlerservice_proto_depIdxs = nil 137 }