1// Code generated by protoc-gen-go. DO NOT EDIT. 2// versions: 3// protoc-gen-go v1.25.0 4// protoc v3.14.0 5// source: envoy/config/ratelimit/v4alpha/rls.proto 6 7package envoy_config_ratelimit_v4alpha 8 9import ( 10 _ "github.com/cncf/udpa/go/udpa/annotations" 11 v4alpha "github.com/envoyproxy/go-control-plane/envoy/config/core/v4alpha" 12 _ "github.com/envoyproxy/protoc-gen-validate/validate" 13 proto "github.com/golang/protobuf/proto" 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 reflect "reflect" 17 sync "sync" 18) 19 20const ( 21 // Verify that this generated code is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 23 // Verify that runtime/protoimpl is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 25) 26 27// This is a compile-time assertion that a sufficiently up-to-date version 28// of the legacy proto package is being used. 29const _ = proto.ProtoPackageIsVersion4 30 31// Rate limit :ref:`configuration overview <config_rate_limit_service>`. 32type RateLimitServiceConfig struct { 33 state protoimpl.MessageState 34 sizeCache protoimpl.SizeCache 35 unknownFields protoimpl.UnknownFields 36 37 // Specifies the gRPC service that hosts the rate limit service. The client 38 // will connect to this cluster when it needs to make rate limit service 39 // requests. 40 GrpcService *v4alpha.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` 41 // API version for rate limit transport protocol. This describes the rate limit gRPC endpoint and 42 // version of messages used on the wire. 43 TransportApiVersion v4alpha.ApiVersion `protobuf:"varint,4,opt,name=transport_api_version,json=transportApiVersion,proto3,enum=envoy.config.core.v4alpha.ApiVersion" json:"transport_api_version,omitempty"` 44} 45 46func (x *RateLimitServiceConfig) Reset() { 47 *x = RateLimitServiceConfig{} 48 if protoimpl.UnsafeEnabled { 49 mi := &file_envoy_config_ratelimit_v4alpha_rls_proto_msgTypes[0] 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 ms.StoreMessageInfo(mi) 52 } 53} 54 55func (x *RateLimitServiceConfig) String() string { 56 return protoimpl.X.MessageStringOf(x) 57} 58 59func (*RateLimitServiceConfig) ProtoMessage() {} 60 61func (x *RateLimitServiceConfig) ProtoReflect() protoreflect.Message { 62 mi := &file_envoy_config_ratelimit_v4alpha_rls_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 RateLimitServiceConfig.ProtoReflect.Descriptor instead. 74func (*RateLimitServiceConfig) Descriptor() ([]byte, []int) { 75 return file_envoy_config_ratelimit_v4alpha_rls_proto_rawDescGZIP(), []int{0} 76} 77 78func (x *RateLimitServiceConfig) GetGrpcService() *v4alpha.GrpcService { 79 if x != nil { 80 return x.GrpcService 81 } 82 return nil 83} 84 85func (x *RateLimitServiceConfig) GetTransportApiVersion() v4alpha.ApiVersion { 86 if x != nil { 87 return x.TransportApiVersion 88 } 89 return v4alpha.ApiVersion_hidden_envoy_deprecated_AUTO 90} 91 92var File_envoy_config_ratelimit_v4alpha_rls_proto protoreflect.FileDescriptor 93 94var file_envoy_config_ratelimit_v4alpha_rls_proto_rawDesc = []byte{ 95 0x0a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 96 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 97 0x2f, 0x72, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 98 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 99 0x69, 0x74, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 100 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 101 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 102 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 103 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x61, 104 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 105 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 106 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 107 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 108 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 109 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 110 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 111 0x74, 0x6f, 0x22, 0x97, 0x02, 0x0a, 0x16, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 112 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x53, 0x0a, 113 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 114 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 115 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 116 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 117 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x67, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 118 0x63, 0x65, 0x12, 0x63, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 119 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 120 0x0e, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 121 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x70, 122 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 123 0x10, 0x01, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x70, 0x69, 124 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x3a, 0x37, 0x9a, 0xc5, 0x88, 0x1e, 0x32, 0x0a, 0x30, 125 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x61, 0x74, 126 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 127 0x6d, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 128 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x42, 0x42, 0x0a, 0x2c, 129 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 130 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x6c, 131 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x08, 0x52, 0x6c, 132 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x03, 133 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 134} 135 136var ( 137 file_envoy_config_ratelimit_v4alpha_rls_proto_rawDescOnce sync.Once 138 file_envoy_config_ratelimit_v4alpha_rls_proto_rawDescData = file_envoy_config_ratelimit_v4alpha_rls_proto_rawDesc 139) 140 141func file_envoy_config_ratelimit_v4alpha_rls_proto_rawDescGZIP() []byte { 142 file_envoy_config_ratelimit_v4alpha_rls_proto_rawDescOnce.Do(func() { 143 file_envoy_config_ratelimit_v4alpha_rls_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_ratelimit_v4alpha_rls_proto_rawDescData) 144 }) 145 return file_envoy_config_ratelimit_v4alpha_rls_proto_rawDescData 146} 147 148var file_envoy_config_ratelimit_v4alpha_rls_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 149var file_envoy_config_ratelimit_v4alpha_rls_proto_goTypes = []interface{}{ 150 (*RateLimitServiceConfig)(nil), // 0: envoy.config.ratelimit.v4alpha.RateLimitServiceConfig 151 (*v4alpha.GrpcService)(nil), // 1: envoy.config.core.v4alpha.GrpcService 152 (v4alpha.ApiVersion)(0), // 2: envoy.config.core.v4alpha.ApiVersion 153} 154var file_envoy_config_ratelimit_v4alpha_rls_proto_depIdxs = []int32{ 155 1, // 0: envoy.config.ratelimit.v4alpha.RateLimitServiceConfig.grpc_service:type_name -> envoy.config.core.v4alpha.GrpcService 156 2, // 1: envoy.config.ratelimit.v4alpha.RateLimitServiceConfig.transport_api_version:type_name -> envoy.config.core.v4alpha.ApiVersion 157 2, // [2:2] is the sub-list for method output_type 158 2, // [2:2] is the sub-list for method input_type 159 2, // [2:2] is the sub-list for extension type_name 160 2, // [2:2] is the sub-list for extension extendee 161 0, // [0:2] is the sub-list for field type_name 162} 163 164func init() { file_envoy_config_ratelimit_v4alpha_rls_proto_init() } 165func file_envoy_config_ratelimit_v4alpha_rls_proto_init() { 166 if File_envoy_config_ratelimit_v4alpha_rls_proto != nil { 167 return 168 } 169 if !protoimpl.UnsafeEnabled { 170 file_envoy_config_ratelimit_v4alpha_rls_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 171 switch v := v.(*RateLimitServiceConfig); i { 172 case 0: 173 return &v.state 174 case 1: 175 return &v.sizeCache 176 case 2: 177 return &v.unknownFields 178 default: 179 return nil 180 } 181 } 182 } 183 type x struct{} 184 out := protoimpl.TypeBuilder{ 185 File: protoimpl.DescBuilder{ 186 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 187 RawDescriptor: file_envoy_config_ratelimit_v4alpha_rls_proto_rawDesc, 188 NumEnums: 0, 189 NumMessages: 1, 190 NumExtensions: 0, 191 NumServices: 0, 192 }, 193 GoTypes: file_envoy_config_ratelimit_v4alpha_rls_proto_goTypes, 194 DependencyIndexes: file_envoy_config_ratelimit_v4alpha_rls_proto_depIdxs, 195 MessageInfos: file_envoy_config_ratelimit_v4alpha_rls_proto_msgTypes, 196 }.Build() 197 File_envoy_config_ratelimit_v4alpha_rls_proto = out.File 198 file_envoy_config_ratelimit_v4alpha_rls_proto_rawDesc = nil 199 file_envoy_config_ratelimit_v4alpha_rls_proto_goTypes = nil 200 file_envoy_config_ratelimit_v4alpha_rls_proto_depIdxs = nil 201} 202