gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/config/ratelimit/v3/rls.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/config/ratelimit/v3/rls.proto 6 7 package envoy_config_ratelimit_v3 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 v3 "gitee.com/ks-custle/core-gm/go-control-plane/envoy/config/core/v3" 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 20 const ( 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. 29 const _ = proto.ProtoPackageIsVersion4 30 31 // Rate limit :ref:`configuration overview <config_rate_limit_service>`. 32 type 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 *v3.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 v3.ApiVersion `protobuf:"varint,4,opt,name=transport_api_version,json=transportApiVersion,proto3,enum=envoy.config.core.v3.ApiVersion" json:"transport_api_version,omitempty"` 44 } 45 46 func (x *RateLimitServiceConfig) Reset() { 47 *x = RateLimitServiceConfig{} 48 if protoimpl.UnsafeEnabled { 49 mi := &file_envoy_config_ratelimit_v3_rls_proto_msgTypes[0] 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 ms.StoreMessageInfo(mi) 52 } 53 } 54 55 func (x *RateLimitServiceConfig) String() string { 56 return protoimpl.X.MessageStringOf(x) 57 } 58 59 func (*RateLimitServiceConfig) ProtoMessage() {} 60 61 func (x *RateLimitServiceConfig) ProtoReflect() protoreflect.Message { 62 mi := &file_envoy_config_ratelimit_v3_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. 74 func (*RateLimitServiceConfig) Descriptor() ([]byte, []int) { 75 return file_envoy_config_ratelimit_v3_rls_proto_rawDescGZIP(), []int{0} 76 } 77 78 func (x *RateLimitServiceConfig) GetGrpcService() *v3.GrpcService { 79 if x != nil { 80 return x.GrpcService 81 } 82 return nil 83 } 84 85 func (x *RateLimitServiceConfig) GetTransportApiVersion() v3.ApiVersion { 86 if x != nil { 87 return x.TransportApiVersion 88 } 89 return v3.ApiVersion_AUTO 90 } 91 92 var File_envoy_config_ratelimit_v3_rls_proto protoreflect.FileDescriptor 93 94 var file_envoy_config_ratelimit_v3_rls_proto_rawDesc = []byte{ 95 0x0a, 0x23, 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, 0x33, 0x2f, 0x72, 0x6c, 0x73, 0x2e, 97 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 98 0x66, 0x69, 0x67, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76, 0x33, 99 0x1a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 100 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 101 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 102 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 103 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 104 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 105 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 106 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 107 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 108 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 109 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 110 0x02, 0x0a, 0x16, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 111 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4e, 0x0a, 0x0c, 0x67, 0x72, 0x70, 112 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 113 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 114 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 115 0x63, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x67, 0x72, 116 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x15, 0x74, 0x72, 0x61, 117 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 118 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 119 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 120 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 121 0x01, 0x02, 0x10, 0x01, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x41, 122 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x3a, 0x37, 0x9a, 0xc5, 0x88, 0x1e, 0x32, 123 0x0a, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 124 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x61, 0x74, 0x65, 125 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 126 0x69, 0x67, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x42, 0x3d, 127 0x0a, 0x27, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 128 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x61, 0x74, 129 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76, 0x33, 0x42, 0x08, 0x52, 0x6c, 0x73, 0x50, 0x72, 130 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 131 0x72, 0x6f, 0x74, 0x6f, 0x33, 132 } 133 134 var ( 135 file_envoy_config_ratelimit_v3_rls_proto_rawDescOnce sync.Once 136 file_envoy_config_ratelimit_v3_rls_proto_rawDescData = file_envoy_config_ratelimit_v3_rls_proto_rawDesc 137 ) 138 139 func file_envoy_config_ratelimit_v3_rls_proto_rawDescGZIP() []byte { 140 file_envoy_config_ratelimit_v3_rls_proto_rawDescOnce.Do(func() { 141 file_envoy_config_ratelimit_v3_rls_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_ratelimit_v3_rls_proto_rawDescData) 142 }) 143 return file_envoy_config_ratelimit_v3_rls_proto_rawDescData 144 } 145 146 var file_envoy_config_ratelimit_v3_rls_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 147 var file_envoy_config_ratelimit_v3_rls_proto_goTypes = []interface{}{ 148 (*RateLimitServiceConfig)(nil), // 0: envoy.config.ratelimit.v3.RateLimitServiceConfig 149 (*v3.GrpcService)(nil), // 1: envoy.config.core.v3.GrpcService 150 (v3.ApiVersion)(0), // 2: envoy.config.core.v3.ApiVersion 151 } 152 var file_envoy_config_ratelimit_v3_rls_proto_depIdxs = []int32{ 153 1, // 0: envoy.config.ratelimit.v3.RateLimitServiceConfig.grpc_service:type_name -> envoy.config.core.v3.GrpcService 154 2, // 1: envoy.config.ratelimit.v3.RateLimitServiceConfig.transport_api_version:type_name -> envoy.config.core.v3.ApiVersion 155 2, // [2:2] is the sub-list for method output_type 156 2, // [2:2] is the sub-list for method input_type 157 2, // [2:2] is the sub-list for extension type_name 158 2, // [2:2] is the sub-list for extension extendee 159 0, // [0:2] is the sub-list for field type_name 160 } 161 162 func init() { file_envoy_config_ratelimit_v3_rls_proto_init() } 163 func file_envoy_config_ratelimit_v3_rls_proto_init() { 164 if File_envoy_config_ratelimit_v3_rls_proto != nil { 165 return 166 } 167 if !protoimpl.UnsafeEnabled { 168 file_envoy_config_ratelimit_v3_rls_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 169 switch v := v.(*RateLimitServiceConfig); i { 170 case 0: 171 return &v.state 172 case 1: 173 return &v.sizeCache 174 case 2: 175 return &v.unknownFields 176 default: 177 return nil 178 } 179 } 180 } 181 type x struct{} 182 out := protoimpl.TypeBuilder{ 183 File: protoimpl.DescBuilder{ 184 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 185 RawDescriptor: file_envoy_config_ratelimit_v3_rls_proto_rawDesc, 186 NumEnums: 0, 187 NumMessages: 1, 188 NumExtensions: 0, 189 NumServices: 0, 190 }, 191 GoTypes: file_envoy_config_ratelimit_v3_rls_proto_goTypes, 192 DependencyIndexes: file_envoy_config_ratelimit_v3_rls_proto_depIdxs, 193 MessageInfos: file_envoy_config_ratelimit_v3_rls_proto_msgTypes, 194 }.Build() 195 File_envoy_config_ratelimit_v3_rls_proto = out.File 196 file_envoy_config_ratelimit_v3_rls_proto_rawDesc = nil 197 file_envoy_config_ratelimit_v3_rls_proto_goTypes = nil 198 file_envoy_config_ratelimit_v3_rls_proto_depIdxs = nil 199 }