Debian Codegraph @

envoy/config/ratelimit/v3/rls.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/config/ratelimit/v3/rls.proto
6
7 package ratelimitv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
12 _ "github.com/envoyproxy/protoc-gen-validate/validate"
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 reflect "reflect"
16 sync "sync"
17 )
18
19 const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26 // Rate limit :ref:`configuration overview <config_rate_limit_service>`.
27 type RateLimitServiceConfig struct {
28 state protoimpl.MessageState
29 sizeCache protoimpl.SizeCache
30 unknownFields protoimpl.UnknownFields
31
32 // Specifies the gRPC service that hosts the rate limit service. The client
33 // will connect to this cluster when it needs to make rate limit service
34 // requests.
35 GrpcService *v3.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
36 // API version for rate limit transport protocol. This describes the rate limit gRPC endpoint and
37 // version of messages used on the wire.
38 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"`
39 }
40
41 func (x *RateLimitServiceConfig) Reset() {
42 *x = RateLimitServiceConfig{}
43 if protoimpl.UnsafeEnabled {
44 mi := &file_envoy_config_ratelimit_v3_rls_proto_msgTypes[0]
45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
46 ms.StoreMessageInfo(mi)
47 }
48 }
49
50 func (x *RateLimitServiceConfig) String() string {
51 return protoimpl.X.MessageStringOf(x)
52 }
53
54 func (*RateLimitServiceConfig) ProtoMessage() {}
55
56 func (x *RateLimitServiceConfig) ProtoReflect() protoreflect.Message {
57 mi := &file_envoy_config_ratelimit_v3_rls_proto_msgTypes[0]
58 if protoimpl.UnsafeEnabled && x != nil {
59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
60 if ms.LoadMessageInfo() == nil {
61 ms.StoreMessageInfo(mi)
62 }
63 return ms
64 }
65 return mi.MessageOf(x)
66 }
67
68 // Deprecated: Use RateLimitServiceConfig.ProtoReflect.Descriptor instead.
69 func (*RateLimitServiceConfig) Descriptor() ([]byte, []int) {
70 return file_envoy_config_ratelimit_v3_rls_proto_rawDescGZIP(), []int{0}
71 }
72
73 func (x *RateLimitServiceConfig) GetGrpcService() *v3.GrpcService {
74 if x != nil {
75 return x.GrpcService
76 }
77 return nil
78 }
79
80 func (x *RateLimitServiceConfig) GetTransportApiVersion() v3.ApiVersion {
81 if x != nil {
82 return x.TransportApiVersion
83 }
84 return v3.ApiVersion(0)
85 }
86
87 var File_envoy_config_ratelimit_v3_rls_proto protoreflect.FileDescriptor
88
89 var file_envoy_config_ratelimit_v3_rls_proto_rawDesc = []byte{
90 0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72,
91 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x6c, 0x73, 0x2e,
92 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
93 0x66, 0x69, 0x67, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76, 0x33,
94 0x1a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
95 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f,
96 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x6e, 0x76, 0x6f,
97 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33,
98 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72,
99 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
100 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
101 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
102 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
103 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f,
104 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d,
105 0x02, 0x0a, 0x16, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76,
106 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4e, 0x0a, 0x0c, 0x67, 0x72, 0x70,
107 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
108 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63,
109 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69,
110 0x63, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x67, 0x72,
111 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x15, 0x74, 0x72, 0x61,
112 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
113 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
114 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e,
115 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82,
116 0x01, 0x02, 0x10, 0x01, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x41,
117 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x3a, 0x37, 0x9a, 0xc5, 0x88, 0x1e, 0x32,
118 0x0a, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72,
119 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x61, 0x74, 0x65,
120 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66,
121 0x69, 0x67, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x42, 0x8b,
122 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x27, 0x69, 0x6f, 0x2e, 0x65, 0x6e,
123 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
124 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e,
125 0x76, 0x33, 0x42, 0x08, 0x52, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c,
126 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79,
127 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
128 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e,
129 0x66, 0x69, 0x67, 0x2f, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2f, 0x76, 0x33,
130 0x3b, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72,
131 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 }