| 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/service/rate_limit_quota/v3/rlqs.proto |
| 6 |
|
| 7 |
package rate_limit_quotav3 |
| 8 |
|
| 9 |
import ( |
| 10 |
_ "github.com/cncf/xds/go/udpa/annotations" |
| 11 |
_ "github.com/cncf/xds/go/xds/annotations/v3" |
| 12 |
v3 "github.com/envoyproxy/go-control-plane/envoy/type/v3" |
| 13 |
_ "github.com/envoyproxy/protoc-gen-validate/validate" |
| 14 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 15 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 16 |
durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 17 |
reflect "reflect" |
| 18 |
sync "sync" |
| 19 |
) |
| 20 |
|
| 21 |
const ( |
| 22 |
// Verify that this generated code is sufficiently up-to-date. |
| 23 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 24 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 25 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 26 |
) |
| 27 |
|
| 28 |
type RateLimitQuotaUsageReports struct { |
| 29 |
state protoimpl.MessageState |
| 30 |
sizeCache protoimpl.SizeCache |
| 31 |
unknownFields protoimpl.UnknownFields |
| 32 |
|
| 33 |
// All quota requests must specify the domain. This enables sharing the quota |
| 34 |
// server between different applications without fear of overlap. |
| 35 |
// E.g., "envoy". |
| 36 |
// |
| 37 |
// Should only be provided in the first report, all subsequent messages on the same |
| 38 |
// stream are considered to be in the same domain. In case the domain needs to be |
| 39 |
// changes, close the stream, and reopen a new one with the different domain. |
| 40 |
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` |
| 41 |
// A list of quota usage reports. The list is processed by the RLQS server in the same order |
| 42 |
// it's provided by the client. |
| 43 |
BucketQuotaUsages []*RateLimitQuotaUsageReports_BucketQuotaUsage `protobuf:"bytes,2,rep,name=bucket_quota_usages,json=bucketQuotaUsages,proto3" json:"bucket_quota_usages,omitempty"` |
| 44 |
} |
| 45 |
|
| 46 |
func (x *RateLimitQuotaUsageReports) Reset() { |
| 47 |
*x = RateLimitQuotaUsageReports{} |
| 48 |
if protoimpl.UnsafeEnabled { |
| 49 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[0] |
| 50 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 51 |
ms.StoreMessageInfo(mi) |
| 52 |
} |
| 53 |
} |
| 54 |
|
| 55 |
func (x *RateLimitQuotaUsageReports) String() string { |
| 56 |
return protoimpl.X.MessageStringOf(x) |
| 57 |
} |
| 58 |
|
| 59 |
func (*RateLimitQuotaUsageReports) ProtoMessage() {} |
| 60 |
|
| 61 |
func (x *RateLimitQuotaUsageReports) ProtoReflect() protoreflect.Message { |
| 62 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_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 RateLimitQuotaUsageReports.ProtoReflect.Descriptor instead. |
| 74 |
func (*RateLimitQuotaUsageReports) Descriptor() ([]byte, []int) { |
| 75 |
return file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescGZIP(), []int{0} |
| 76 |
} |
| 77 |
|
| 78 |
func (x *RateLimitQuotaUsageReports) GetDomain() string { |
| 79 |
if x != nil { |
| 80 |
return x.Domain |
| 81 |
} |
| 82 |
return "" |
| 83 |
} |
| 84 |
|
| 85 |
func (x *RateLimitQuotaUsageReports) GetBucketQuotaUsages() []*RateLimitQuotaUsageReports_BucketQuotaUsage { |
| 86 |
if x != nil { |
| 87 |
return x.BucketQuotaUsages |
| 88 |
} |
| 89 |
return nil |
| 90 |
} |
| 91 |
|
| 92 |
type RateLimitQuotaResponse struct { |
| 93 |
state protoimpl.MessageState |
| 94 |
sizeCache protoimpl.SizeCache |
| 95 |
unknownFields protoimpl.UnknownFields |
| 96 |
|
| 97 |
// An ordered list of actions to be applied to the buckets. The actions are applied in the |
| 98 |
// given order, from top to bottom. |
| 99 |
BucketAction []*RateLimitQuotaResponse_BucketAction `protobuf:"bytes,1,rep,name=bucket_action,json=bucketAction,proto3" json:"bucket_action,omitempty"` |
| 100 |
} |
| 101 |
|
| 102 |
func (x *RateLimitQuotaResponse) Reset() { |
| 103 |
*x = RateLimitQuotaResponse{} |
| 104 |
if protoimpl.UnsafeEnabled { |
| 105 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[1] |
| 106 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 107 |
ms.StoreMessageInfo(mi) |
| 108 |
} |
| 109 |
} |
| 110 |
|
| 111 |
func (x *RateLimitQuotaResponse) String() string { |
| 112 |
return protoimpl.X.MessageStringOf(x) |
| 113 |
} |
| 114 |
|
| 115 |
func (*RateLimitQuotaResponse) ProtoMessage() {} |
| 116 |
|
| 117 |
func (x *RateLimitQuotaResponse) ProtoReflect() protoreflect.Message { |
| 118 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[1] |
| 119 |
if protoimpl.UnsafeEnabled && x != nil { |
| 120 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 121 |
if ms.LoadMessageInfo() == nil { |
| 122 |
ms.StoreMessageInfo(mi) |
| 123 |
} |
| 124 |
return ms |
| 125 |
} |
| 126 |
return mi.MessageOf(x) |
| 127 |
} |
| 128 |
|
| 129 |
// Deprecated: Use RateLimitQuotaResponse.ProtoReflect.Descriptor instead. |
| 130 |
func (*RateLimitQuotaResponse) Descriptor() ([]byte, []int) { |
| 131 |
return file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescGZIP(), []int{1} |
| 132 |
} |
| 133 |
|
| 134 |
func (x *RateLimitQuotaResponse) GetBucketAction() []*RateLimitQuotaResponse_BucketAction { |
| 135 |
if x != nil { |
| 136 |
return x.BucketAction |
| 137 |
} |
| 138 |
return nil |
| 139 |
} |
| 140 |
|
| 141 |
// The identifier for the bucket. Used to match the bucket between the control plane (RLQS server), |
| 142 |
// and the data plane (RLQS client), f.e.: |
| 143 |
// |
| 144 |
// - the data plane sends a usage report for requests matched into the bucket with “BucketId“ |
| 145 |
// to the control plane |
| 146 |
// - the control plane sends an assignment for the bucket with “BucketId“ to the data plane |
| 147 |
// Bucket ID. |
| 148 |
// |
| 149 |
// Example: |
| 150 |
// |
| 151 |
// .. validated-code-block:: yaml |
| 152 |
// |
| 153 |
// :type-name: envoy.service.rate_limit_quota.v3.BucketId |
| 154 |
// |
| 155 |
// bucket: |
| 156 |
// name: my_bucket |
| 157 |
// env: staging |
| 158 |
// |
| 159 |
// .. note:: |
| 160 |
// |
| 161 |
// The order of ``BucketId`` keys do not matter. Buckets ``{ a: 'A', b: 'B' }`` and |
| 162 |
// ``{ b: 'B', a: 'A' }`` are identical. |
| 163 |
type BucketId struct { |
| 164 |
state protoimpl.MessageState |
| 165 |
sizeCache protoimpl.SizeCache |
| 166 |
unknownFields protoimpl.UnknownFields |
| 167 |
|
| 168 |
Bucket map[string]string `protobuf:"bytes,1,rep,name=bucket,proto3" json:"bucket,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 169 |
} |
| 170 |
|
| 171 |
func (x *BucketId) Reset() { |
| 172 |
*x = BucketId{} |
| 173 |
if protoimpl.UnsafeEnabled { |
| 174 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[2] |
| 175 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 176 |
ms.StoreMessageInfo(mi) |
| 177 |
} |
| 178 |
} |
| 179 |
|
| 180 |
func (x *BucketId) String() string { |
| 181 |
return protoimpl.X.MessageStringOf(x) |
| 182 |
} |
| 183 |
|
| 184 |
func (*BucketId) ProtoMessage() {} |
| 185 |
|
| 186 |
func (x *BucketId) ProtoReflect() protoreflect.Message { |
| 187 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[2] |
| 188 |
if protoimpl.UnsafeEnabled && x != nil { |
| 189 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 190 |
if ms.LoadMessageInfo() == nil { |
| 191 |
ms.StoreMessageInfo(mi) |
| 192 |
} |
| 193 |
return ms |
| 194 |
} |
| 195 |
return mi.MessageOf(x) |
| 196 |
} |
| 197 |
|
| 198 |
// Deprecated: Use BucketId.ProtoReflect.Descriptor instead. |
| 199 |
func (*BucketId) Descriptor() ([]byte, []int) { |
| 200 |
return file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescGZIP(), []int{2} |
| 201 |
} |
| 202 |
|
| 203 |
func (x *BucketId) GetBucket() map[string]string { |
| 204 |
if x != nil { |
| 205 |
return x.Bucket |
| 206 |
} |
| 207 |
return nil |
| 208 |
} |
| 209 |
|
| 210 |
// The usage report for a bucket. |
| 211 |
// |
| 212 |
// .. note:: |
| 213 |
// |
| 214 |
// Note that the first report sent for a ``BucketId`` indicates to the RLQS server that |
| 215 |
// the RLQS client is subscribing for the future assignments for this ``BucketId``. |
| 216 |
type RateLimitQuotaUsageReports_BucketQuotaUsage struct { |
| 217 |
state protoimpl.MessageState |
| 218 |
sizeCache protoimpl.SizeCache |
| 219 |
unknownFields protoimpl.UnknownFields |
| 220 |
|
| 221 |
// “BucketId“ for which request quota usage is reported. |
| 222 |
BucketId *BucketId `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"` |
| 223 |
// Time elapsed since the last report. |
| 224 |
TimeElapsed *durationpb.Duration `protobuf:"bytes,2,opt,name=time_elapsed,json=timeElapsed,proto3" json:"time_elapsed,omitempty"` |
| 225 |
// Requests the data plane has allowed through. |
| 226 |
NumRequestsAllowed uint64 `protobuf:"varint,3,opt,name=num_requests_allowed,json=numRequestsAllowed,proto3" json:"num_requests_allowed,omitempty"` |
| 227 |
// Requests throttled. |
| 228 |
NumRequestsDenied uint64 `protobuf:"varint,4,opt,name=num_requests_denied,json=numRequestsDenied,proto3" json:"num_requests_denied,omitempty"` |
| 229 |
} |
| 230 |
|
| 231 |
func (x *RateLimitQuotaUsageReports_BucketQuotaUsage) Reset() { |
| 232 |
*x = RateLimitQuotaUsageReports_BucketQuotaUsage{} |
| 233 |
if protoimpl.UnsafeEnabled { |
| 234 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[3] |
| 235 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 236 |
ms.StoreMessageInfo(mi) |
| 237 |
} |
| 238 |
} |
| 239 |
|
| 240 |
func (x *RateLimitQuotaUsageReports_BucketQuotaUsage) String() string { |
| 241 |
return protoimpl.X.MessageStringOf(x) |
| 242 |
} |
| 243 |
|
| 244 |
func (*RateLimitQuotaUsageReports_BucketQuotaUsage) ProtoMessage() {} |
| 245 |
|
| 246 |
func (x *RateLimitQuotaUsageReports_BucketQuotaUsage) ProtoReflect() protoreflect.Message { |
| 247 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[3] |
| 248 |
if protoimpl.UnsafeEnabled && x != nil { |
| 249 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 250 |
if ms.LoadMessageInfo() == nil { |
| 251 |
ms.StoreMessageInfo(mi) |
| 252 |
} |
| 253 |
return ms |
| 254 |
} |
| 255 |
return mi.MessageOf(x) |
| 256 |
} |
| 257 |
|
| 258 |
// Deprecated: Use RateLimitQuotaUsageReports_BucketQuotaUsage.ProtoReflect.Descriptor instead. |
| 259 |
func (*RateLimitQuotaUsageReports_BucketQuotaUsage) Descriptor() ([]byte, []int) { |
| 260 |
return file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescGZIP(), []int{0, 0} |
| 261 |
} |
| 262 |
|
| 263 |
func (x *RateLimitQuotaUsageReports_BucketQuotaUsage) GetBucketId() *BucketId { |
| 264 |
if x != nil { |
| 265 |
return x.BucketId |
| 266 |
} |
| 267 |
return nil |
| 268 |
} |
| 269 |
|
| 270 |
func (x *RateLimitQuotaUsageReports_BucketQuotaUsage) GetTimeElapsed() *durationpb.Duration { |
| 271 |
if x != nil { |
| 272 |
return x.TimeElapsed |
| 273 |
} |
| 274 |
return nil |
| 275 |
} |
| 276 |
|
| 277 |
func (x *RateLimitQuotaUsageReports_BucketQuotaUsage) GetNumRequestsAllowed() uint64 { |
| 278 |
if x != nil { |
| 279 |
return x.NumRequestsAllowed |
| 280 |
} |
| 281 |
return 0 |
| 282 |
} |
| 283 |
|
| 284 |
func (x *RateLimitQuotaUsageReports_BucketQuotaUsage) GetNumRequestsDenied() uint64 { |
| 285 |
if x != nil { |
| 286 |
return x.NumRequestsDenied |
| 287 |
} |
| 288 |
return 0 |
| 289 |
} |
| 290 |
|
| 291 |
// Commands the data plane to apply one of the actions to the bucket with the |
| 292 |
// :ref:`bucket_id <envoy_v3_api_field_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.bucket_id>`. |
| 293 |
type RateLimitQuotaResponse_BucketAction struct { |
| 294 |
state protoimpl.MessageState |
| 295 |
sizeCache protoimpl.SizeCache |
| 296 |
unknownFields protoimpl.UnknownFields |
| 297 |
|
| 298 |
// “BucketId“ for which request the action is applied. |
| 299 |
BucketId *BucketId `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"` |
| 300 |
// Types that are assignable to BucketAction: |
| 301 |
// |
| 302 |
// *RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction_ |
| 303 |
// *RateLimitQuotaResponse_BucketAction_AbandonAction_ |
| 304 |
BucketAction isRateLimitQuotaResponse_BucketAction_BucketAction `protobuf_oneof:"bucket_action"` |
| 305 |
} |
| 306 |
|
| 307 |
func (x *RateLimitQuotaResponse_BucketAction) Reset() { |
| 308 |
*x = RateLimitQuotaResponse_BucketAction{} |
| 309 |
if protoimpl.UnsafeEnabled { |
| 310 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[4] |
| 311 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 312 |
ms.StoreMessageInfo(mi) |
| 313 |
} |
| 314 |
} |
| 315 |
|
| 316 |
func (x *RateLimitQuotaResponse_BucketAction) String() string { |
| 317 |
return protoimpl.X.MessageStringOf(x) |
| 318 |
} |
| 319 |
|
| 320 |
func (*RateLimitQuotaResponse_BucketAction) ProtoMessage() {} |
| 321 |
|
| 322 |
func (x *RateLimitQuotaResponse_BucketAction) ProtoReflect() protoreflect.Message { |
| 323 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[4] |
| 324 |
if protoimpl.UnsafeEnabled && x != nil { |
| 325 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 326 |
if ms.LoadMessageInfo() == nil { |
| 327 |
ms.StoreMessageInfo(mi) |
| 328 |
} |
| 329 |
return ms |
| 330 |
} |
| 331 |
return mi.MessageOf(x) |
| 332 |
} |
| 333 |
|
| 334 |
// Deprecated: Use RateLimitQuotaResponse_BucketAction.ProtoReflect.Descriptor instead. |
| 335 |
func (*RateLimitQuotaResponse_BucketAction) Descriptor() ([]byte, []int) { |
| 336 |
return file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescGZIP(), []int{1, 0} |
| 337 |
} |
| 338 |
|
| 339 |
func (x *RateLimitQuotaResponse_BucketAction) GetBucketId() *BucketId { |
| 340 |
if x != nil { |
| 341 |
return x.BucketId |
| 342 |
} |
| 343 |
return nil |
| 344 |
} |
| 345 |
|
| 346 |
func (m *RateLimitQuotaResponse_BucketAction) GetBucketAction() isRateLimitQuotaResponse_BucketAction_BucketAction { |
| 347 |
if m != nil { |
| 348 |
return m.BucketAction |
| 349 |
} |
| 350 |
return nil |
| 351 |
} |
| 352 |
|
| 353 |
func (x *RateLimitQuotaResponse_BucketAction) GetQuotaAssignmentAction() *RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction { |
| 354 |
if x, ok := x.GetBucketAction().(*RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction_); ok { |
| 355 |
return x.QuotaAssignmentAction |
| 356 |
} |
| 357 |
return nil |
| 358 |
} |
| 359 |
|
| 360 |
func (x *RateLimitQuotaResponse_BucketAction) GetAbandonAction() *RateLimitQuotaResponse_BucketAction_AbandonAction { |
| 361 |
if x, ok := x.GetBucketAction().(*RateLimitQuotaResponse_BucketAction_AbandonAction_); ok { |
| 362 |
return x.AbandonAction |
| 363 |
} |
| 364 |
return nil |
| 365 |
} |
| 366 |
|
| 367 |
type isRateLimitQuotaResponse_BucketAction_BucketAction interface { |
| 368 |
isRateLimitQuotaResponse_BucketAction_BucketAction() |
| 369 |
} |
| 370 |
|
| 371 |
type RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction_ struct { |
| 372 |
// Apply the quota assignment to the bucket. |
| 373 |
// |
| 374 |
// Commands the data plane to apply a rate limiting strategy to the bucket. |
| 375 |
// The process of applying and expiring the rate limiting strategy is detailed in the |
| 376 |
// :ref:`QuotaAssignmentAction |
| 377 |
// <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>` |
| 378 |
// message. |
| 379 |
QuotaAssignmentAction *RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction `protobuf:"bytes,2,opt,name=quota_assignment_action,json=quotaAssignmentAction,proto3,oneof"` |
| 380 |
} |
| 381 |
|
| 382 |
type RateLimitQuotaResponse_BucketAction_AbandonAction_ struct { |
| 383 |
// Abandon the bucket. |
| 384 |
// |
| 385 |
// Commands the data plane to abandon the bucket. |
| 386 |
// The process of abandoning the bucket is described in the :ref:`AbandonAction |
| 387 |
// <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>` |
| 388 |
// message. |
| 389 |
AbandonAction *RateLimitQuotaResponse_BucketAction_AbandonAction `protobuf:"bytes,3,opt,name=abandon_action,json=abandonAction,proto3,oneof"` |
| 390 |
} |
| 391 |
|
| 392 |
func (*RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction_) isRateLimitQuotaResponse_BucketAction_BucketAction() { |
| 393 |
} |
| 394 |
|
| 395 |
func (*RateLimitQuotaResponse_BucketAction_AbandonAction_) isRateLimitQuotaResponse_BucketAction_BucketAction() { |
| 396 |
} |
| 397 |
|
| 398 |
// Quota assignment for the bucket. Configures the rate limiting strategy and the duration |
| 399 |
// for the given :ref:`bucket_id |
| 400 |
// <envoy_v3_api_field_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.bucket_id>`. |
| 401 |
// |
| 402 |
// **Applying the first assignment to the bucket** |
| 403 |
// |
| 404 |
// Once the data plane receives the “QuotaAssignmentAction“, it must send the current usage |
| 405 |
// report for the bucket, and start rate limiting requests matched into the bucket |
| 406 |
// using the strategy configured in the :ref:`rate_limit_strategy |
| 407 |
// <envoy_v3_api_field_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.rate_limit_strategy>` |
| 408 |
// field. The assignment becomes bucket's “active“ assignment. |
| 409 |
// |
| 410 |
// **Expiring the assignment** |
| 411 |
// |
| 412 |
// The duration of the assignment defined in the :ref:`assignment_time_to_live |
| 413 |
// <envoy_v3_api_field_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.assignment_time_to_live>` |
| 414 |
// field. When the duration runs off, the assignment is “expired“, and no longer “active“. |
| 415 |
// The data plane should stop applying the rate limiting strategy to the bucket, and transition |
| 416 |
// the bucket to the "expired assignment" state. This activates the behavior configured in the |
| 417 |
// :ref:`expired_assignment_behavior <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.expired_assignment_behavior>` |
| 418 |
// field. |
| 419 |
// |
| 420 |
// **Replacing the assignment** |
| 421 |
// |
| 422 |
// - If the rate limiting strategy is different from bucket's “active“ assignment, or |
| 423 |
// the current bucket assignment is “expired“, the data plane must immediately |
| 424 |
// end the current assignment, report the bucket usage, and apply the new assignment. |
| 425 |
// The new assignment becomes bucket's “active“ assignment. |
| 426 |
// - If the rate limiting strategy is the same as the bucket's “active“ (not “expired“) |
| 427 |
// assignment, the data plane should extend the duration of the “active“ assignment |
| 428 |
// for the duration of the new assignment provided in the :ref:`assignment_time_to_live |
| 429 |
// <envoy_v3_api_field_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.assignment_time_to_live>` |
| 430 |
// field. The “active“ assignment is considered unchanged. |
| 431 |
type RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction struct { |
| 432 |
state protoimpl.MessageState |
| 433 |
sizeCache protoimpl.SizeCache |
| 434 |
unknownFields protoimpl.UnknownFields |
| 435 |
|
| 436 |
// A duration after which the assignment is be considered “expired“. The process of the |
| 437 |
// expiration is described :ref:`above |
| 438 |
// <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>`. |
| 439 |
// |
| 440 |
// - If unset, the assignment has no expiration date. |
| 441 |
// - If set to “0“, the assignment expires immediately, forcing the client into the |
| 442 |
// :ref:`"expired assignment" |
| 443 |
// <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior.expired_assignment_behavior_timeout>` |
| 444 |
// state. This may be used by the RLQS server in cases when it needs clients to proactively |
| 445 |
// fall back to the pre-configured :ref:`ExpiredAssignmentBehavior |
| 446 |
// <envoy_v3_api_msg_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.ExpiredAssignmentBehavior>`, |
| 447 |
// f.e. before the server going into restart. |
| 448 |
// |
| 449 |
// .. attention:: |
| 450 |
// |
| 451 |
// Note that :ref:`expiring |
| 452 |
// <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>` |
| 453 |
// the assignment is not the same as :ref:`abandoning |
| 454 |
// <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>` |
| 455 |
// the assignment. While expiring the assignment just transitions the bucket to |
| 456 |
// the "expired assignment" state; abandoning the assignment completely erases |
| 457 |
// the bucket from the data plane memory, and stops the usage reports. |
| 458 |
AssignmentTimeToLive *durationpb.Duration `protobuf:"bytes,2,opt,name=assignment_time_to_live,json=assignmentTimeToLive,proto3" json:"assignment_time_to_live,omitempty"` |
| 459 |
// Configures the local rate limiter for the request matched to the bucket. |
| 460 |
// If not set, allow all requests. |
| 461 |
RateLimitStrategy *v3.RateLimitStrategy `protobuf:"bytes,3,opt,name=rate_limit_strategy,json=rateLimitStrategy,proto3" json:"rate_limit_strategy,omitempty"` |
| 462 |
} |
| 463 |
|
| 464 |
func (x *RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction) Reset() { |
| 465 |
*x = RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction{} |
| 466 |
if protoimpl.UnsafeEnabled { |
| 467 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[5] |
| 468 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 469 |
ms.StoreMessageInfo(mi) |
| 470 |
} |
| 471 |
} |
| 472 |
|
| 473 |
func (x *RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction) String() string { |
| 474 |
return protoimpl.X.MessageStringOf(x) |
| 475 |
} |
| 476 |
|
| 477 |
func (*RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction) ProtoMessage() {} |
| 478 |
|
| 479 |
func (x *RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction) ProtoReflect() protoreflect.Message { |
| 480 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[5] |
| 481 |
if protoimpl.UnsafeEnabled && x != nil { |
| 482 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 483 |
if ms.LoadMessageInfo() == nil { |
| 484 |
ms.StoreMessageInfo(mi) |
| 485 |
} |
| 486 |
return ms |
| 487 |
} |
| 488 |
return mi.MessageOf(x) |
| 489 |
} |
| 490 |
|
| 491 |
// Deprecated: Use RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction.ProtoReflect.Descriptor instead. |
| 492 |
func (*RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction) Descriptor() ([]byte, []int) { |
| 493 |
return file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescGZIP(), []int{1, 0, 0} |
| 494 |
} |
| 495 |
|
| 496 |
func (x *RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction) GetAssignmentTimeToLive() *durationpb.Duration { |
| 497 |
if x != nil { |
| 498 |
return x.AssignmentTimeToLive |
| 499 |
} |
| 500 |
return nil |
| 501 |
} |
| 502 |
|
| 503 |
func (x *RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction) GetRateLimitStrategy() *v3.RateLimitStrategy { |
| 504 |
if x != nil { |
| 505 |
return x.RateLimitStrategy |
| 506 |
} |
| 507 |
return nil |
| 508 |
} |
| 509 |
|
| 510 |
// Abandon action for the bucket. Indicates that the RLQS server will no longer be |
| 511 |
// sending updates for the given :ref:`bucket_id |
| 512 |
// <envoy_v3_api_field_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.bucket_id>`. |
| 513 |
// |
| 514 |
// If no requests are reported for a bucket, after some time the server considers the bucket |
| 515 |
// inactive. The server stops tracking the bucket, and instructs the the data plane to abandon |
| 516 |
// the bucket via this message. |
| 517 |
// |
| 518 |
// **Abandoning the assignment** |
| 519 |
// |
| 520 |
// The data plane is to erase the bucket (including its usage data) from the memory. |
| 521 |
// It should stop tracking the bucket, and stop reporting its usage. This effectively resets |
| 522 |
// the data plane to the state prior to matching the first request into the bucket. |
| 523 |
// |
| 524 |
// **Restarting the subscription** |
| 525 |
// |
| 526 |
// If a new request is matched into a bucket previously abandoned, the data plane must behave |
| 527 |
// as if it has never tracked the bucket, and it's the first request matched into it: |
| 528 |
// |
| 529 |
// 1. The process of :ref:`subscription and reporting |
| 530 |
// <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.reporting_interval>` |
| 531 |
// starts from the beginning. |
| 532 |
// |
| 533 |
// 2. The bucket transitions to the :ref:`"no assignment" |
| 534 |
// <envoy_v3_api_field_extensions.filters.http.rate_limit_quota.v3.RateLimitQuotaBucketSettings.no_assignment_behavior>` |
| 535 |
// state. |
| 536 |
// |
| 537 |
// 3. Once the new assignment is received, it's applied per |
| 538 |
// "Applying the first assignment to the bucket" section of the :ref:`QuotaAssignmentAction |
| 539 |
// <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>`. |
| 540 |
type RateLimitQuotaResponse_BucketAction_AbandonAction struct { |
| 541 |
state protoimpl.MessageState |
| 542 |
sizeCache protoimpl.SizeCache |
| 543 |
unknownFields protoimpl.UnknownFields |
| 544 |
} |
| 545 |
|
| 546 |
func (x *RateLimitQuotaResponse_BucketAction_AbandonAction) Reset() { |
| 547 |
*x = RateLimitQuotaResponse_BucketAction_AbandonAction{} |
| 548 |
if protoimpl.UnsafeEnabled { |
| 549 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[6] |
| 550 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 551 |
ms.StoreMessageInfo(mi) |
| 552 |
} |
| 553 |
} |
| 554 |
|
| 555 |
func (x *RateLimitQuotaResponse_BucketAction_AbandonAction) String() string { |
| 556 |
return protoimpl.X.MessageStringOf(x) |
| 557 |
} |
| 558 |
|
| 559 |
func (*RateLimitQuotaResponse_BucketAction_AbandonAction) ProtoMessage() {} |
| 560 |
|
| 561 |
func (x *RateLimitQuotaResponse_BucketAction_AbandonAction) ProtoReflect() protoreflect.Message { |
| 562 |
mi := &file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[6] |
| 563 |
if protoimpl.UnsafeEnabled && x != nil { |
| 564 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 565 |
if ms.LoadMessageInfo() == nil { |
| 566 |
ms.StoreMessageInfo(mi) |
| 567 |
} |
| 568 |
return ms |
| 569 |
} |
| 570 |
return mi.MessageOf(x) |
| 571 |
} |
| 572 |
|
| 573 |
// Deprecated: Use RateLimitQuotaResponse_BucketAction_AbandonAction.ProtoReflect.Descriptor instead. |
| 574 |
func (*RateLimitQuotaResponse_BucketAction_AbandonAction) Descriptor() ([]byte, []int) { |
| 575 |
return file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescGZIP(), []int{1, 0, 1} |
| 576 |
} |
| 577 |
|
| 578 |
var File_envoy_service_rate_limit_quota_v3_rlqs_proto protoreflect.FileDescriptor |
| 579 |
|
| 580 |
var file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDesc = []byte{ |
| 581 |
0x0a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, |
| 582 |
0x72, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, |
| 583 |
0x2f, 0x76, 0x33, 0x2f, 0x72, 0x6c, 0x71, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, |
| 584 |
0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x72, 0x61, |
| 585 |
0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, |
| 586 |
0x33, 0x1a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, |
| 587 |
0x2f, 0x72, 0x61, 0x74, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, |
| 588 |
0x65, 0x67, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 589 |
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, |
| 590 |
0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x78, 0x64, 0x73, 0x2f, 0x61, |
| 591 |
0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, |
| 592 |
0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, |
| 593 |
0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, |
| 594 |
0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, |
| 595 |
0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 596 |
0x74, 0x6f, 0x22, 0xdd, 0x03, 0x0a, 0x1a, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, |
| 597 |
0x51, 0x75, 0x6f, 0x74, 0x61, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, |
| 598 |
0x73, 0x12, 0x1f, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 599 |
0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, |
| 600 |
0x69, 0x6e, 0x12, 0x88, 0x01, 0x0a, 0x13, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x71, 0x75, |
| 601 |
0x6f, 0x74, 0x61, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, |
| 602 |
0x32, 0x4e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 603 |
0x2e, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x71, 0x75, 0x6f, 0x74, |
| 604 |
0x61, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x51, 0x75, |
| 605 |
0x6f, 0x74, 0x61, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2e, |
| 606 |
0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x55, 0x73, 0x61, 0x67, 0x65, |
| 607 |
0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 0x11, 0x62, 0x75, 0x63, 0x6b, |
| 608 |
0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x55, 0x73, 0x61, 0x67, 0x65, 0x73, 0x1a, 0x92, 0x02, |
| 609 |
0x0a, 0x10, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x55, 0x73, 0x61, |
| 610 |
0x67, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, |
| 611 |
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, |
| 612 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, |
| 613 |
0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, |
| 614 |
0x49, 0x64, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x08, 0x62, 0x75, |
| 615 |
0x63, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x65, |
| 616 |
0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, |
| 617 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, |
| 618 |
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0xfa, 0x42, 0x07, 0xaa, 0x01, 0x04, 0x08, |
| 619 |
0x01, 0x2a, 0x00, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x45, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, |
| 620 |
0x12, 0x30, 0x0a, 0x14, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, |
| 621 |
0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, |
| 622 |
0x6e, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, |
| 623 |
0x65, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 624 |
0x74, 0x73, 0x5f, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, |
| 625 |
0x11, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x44, 0x65, 0x6e, 0x69, |
| 626 |
0x65, 0x64, 0x22, 0xfb, 0x05, 0x0a, 0x16, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, |
| 627 |
0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, |
| 628 |
0x0d, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, |
| 629 |
0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, |
| 630 |
0x76, 0x69, 0x63, 0x65, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, |
| 631 |
0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, |
| 632 |
0x69, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, |
| 633 |
0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, |
| 634 |
0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 0x0c, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x63, |
| 635 |
0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xe9, 0x04, 0x0a, 0x0c, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x41, |
| 636 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a, 0x09, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, |
| 637 |
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, |
| 638 |
0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, |
| 639 |
0x6d, 0x69, 0x74, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x42, 0x75, 0x63, |
| 640 |
0x6b, 0x65, 0x74, 0x49, 0x64, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, |
| 641 |
0x08, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x96, 0x01, 0x0a, 0x17, 0x71, 0x75, |
| 642 |
0x6f, 0x74, 0x61, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, |
| 643 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5c, 0x2e, 0x65, 0x6e, |
| 644 |
0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x72, 0x61, 0x74, 0x65, |
| 645 |
0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x33, 0x2e, |
| 646 |
0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, |
| 647 |
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x63, 0x74, |
| 648 |
0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, |
| 649 |
0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x15, 0x71, 0x75, 0x6f, |
| 650 |
0x74, 0x61, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, |
| 651 |
0x6f, 0x6e, 0x12, 0x7d, 0x0a, 0x0e, 0x61, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x5f, 0x61, 0x63, |
| 652 |
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x54, 0x2e, 0x65, 0x6e, 0x76, |
| 653 |
0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x5f, |
| 654 |
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x52, |
| 655 |
0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, |
| 656 |
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, |
| 657 |
0x6f, 0x6e, 0x2e, 0x41, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 658 |
0x48, 0x00, 0x52, 0x0d, 0x61, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, |
| 659 |
0x6e, 0x1a, 0xc5, 0x01, 0x0a, 0x15, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x41, 0x73, 0x73, 0x69, 0x67, |
| 660 |
0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x17, 0x61, |
| 661 |
0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x74, |
| 662 |
0x6f, 0x5f, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, |
| 663 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, |
| 664 |
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0xaa, 0x01, 0x02, 0x32, |
| 665 |
0x00, 0x52, 0x14, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, |
| 666 |
0x65, 0x54, 0x6f, 0x4c, 0x69, 0x76, 0x65, 0x12, 0x50, 0x0a, 0x13, 0x72, 0x61, 0x74, 0x65, 0x5f, |
| 667 |
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x03, |
| 668 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, |
| 669 |
0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x74, |
| 670 |
0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x11, 0x72, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, |
| 671 |
0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x1a, 0x0f, 0x0a, 0x0d, 0x41, 0x62, 0x61, |
| 672 |
0x6e, 0x64, 0x6f, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x14, 0x0a, 0x0d, 0x62, 0x75, |
| 673 |
0x63, 0x6b, 0x65, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x03, 0xf8, 0x42, 0x01, |
| 674 |
0x22, 0xac, 0x01, 0x0a, 0x08, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x65, 0x0a, |
| 675 |
0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, |
| 676 |
0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x72, 0x61, |
| 677 |
0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, |
| 678 |
0x33, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, |
| 679 |
0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x14, 0xfa, 0x42, 0x11, 0x9a, 0x01, 0x0e, 0x08, 0x01, |
| 680 |
0x22, 0x04, 0x72, 0x02, 0x10, 0x01, 0x2a, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x06, 0x62, 0x75, |
| 681 |
0x63, 0x6b, 0x65, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x45, 0x6e, |
| 682 |
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 683 |
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, |
| 684 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, |
| 685 |
0xb1, 0x01, 0x0a, 0x15, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x51, 0x75, 0x6f, |
| 686 |
0x74, 0x61, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x97, 0x01, 0x0a, 0x15, 0x53, 0x74, |
| 687 |
0x72, 0x65, 0x61, 0x6d, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x51, 0x75, 0x6f, |
| 688 |
0x74, 0x61, 0x73, 0x12, 0x3d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, |
| 689 |
0x69, 0x63, 0x65, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x71, |
| 690 |
0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, |
| 691 |
0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, |
| 692 |
0x74, 0x73, 0x1a, 0x39, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, |
| 693 |
0x63, 0x65, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x71, 0x75, |
| 694 |
0x6f, 0x74, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, |
| 695 |
0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, |
| 696 |
0x01, 0x30, 0x01, 0x42, 0xab, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0xd2, 0xc6, |
| 697 |
0xa4, 0xe1, 0x06, 0x02, 0x08, 0x01, 0x0a, 0x2f, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, |
| 698 |
0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, |
| 699 |
0x69, 0x63, 0x65, 0x2e, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x71, |
| 700 |
0x75, 0x6f, 0x74, 0x61, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x52, 0x6c, 0x71, 0x73, 0x50, 0x72, 0x6f, |
| 701 |
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, |
| 702 |
0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, |
| 703 |
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, |
| 704 |
0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x72, 0x61, 0x74, 0x65, 0x5f, |
| 705 |
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x2f, 0x76, 0x33, 0x3b, 0x72, |
| 706 |
0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x61, 0x76, |
| 707 |
0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 708 |
} |
| 709 |
|
| 710 |
var ( |
| 711 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescOnce sync.Once |
| 712 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescData = file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDesc |
| 713 |
) |
| 714 |
|
| 715 |
func file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescGZIP() []byte { |
| 716 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescOnce.Do(func() { |
| 717 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescData) |
| 718 |
}) |
| 719 |
return file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDescData |
| 720 |
} |
| 721 |
|
| 722 |
var file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| 723 |
var file_envoy_service_rate_limit_quota_v3_rlqs_proto_goTypes = []interface{}{ |
| 724 |
(*RateLimitQuotaUsageReports)(nil), // 0: envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports |
| 725 |
(*RateLimitQuotaResponse)(nil), // 1: envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse |
| 726 |
(*BucketId)(nil), // 2: envoy.service.rate_limit_quota.v3.BucketId |
| 727 |
(*RateLimitQuotaUsageReports_BucketQuotaUsage)(nil), // 3: envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage |
| 728 |
(*RateLimitQuotaResponse_BucketAction)(nil), // 4: envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction |
| 729 |
(*RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction)(nil), // 5: envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction |
| 730 |
(*RateLimitQuotaResponse_BucketAction_AbandonAction)(nil), // 6: envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction |
| 731 |
nil, // 7: envoy.service.rate_limit_quota.v3.BucketId.BucketEntry |
| 732 |
(*durationpb.Duration)(nil), // 8: google.protobuf.Duration |
| 733 |
(*v3.RateLimitStrategy)(nil), // 9: envoy.type.v3.RateLimitStrategy |
| 734 |
} |
| 735 |
var file_envoy_service_rate_limit_quota_v3_rlqs_proto_depIdxs = []int32{ |
| 736 |
3, // 0: envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.bucket_quota_usages:type_name -> envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage |
| 737 |
4, // 1: envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.bucket_action:type_name -> envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction |
| 738 |
7, // 2: envoy.service.rate_limit_quota.v3.BucketId.bucket:type_name -> envoy.service.rate_limit_quota.v3.BucketId.BucketEntry |
| 739 |
2, // 3: envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage.bucket_id:type_name -> envoy.service.rate_limit_quota.v3.BucketId |
| 740 |
8, // 4: envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports.BucketQuotaUsage.time_elapsed:type_name -> google.protobuf.Duration |
| 741 |
2, // 5: envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.bucket_id:type_name -> envoy.service.rate_limit_quota.v3.BucketId |
| 742 |
5, // 6: envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.quota_assignment_action:type_name -> envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction |
| 743 |
6, // 7: envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.abandon_action:type_name -> envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction |
| 744 |
8, // 8: envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.assignment_time_to_live:type_name -> google.protobuf.Duration |
| 745 |
9, // 9: envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.rate_limit_strategy:type_name -> envoy.type.v3.RateLimitStrategy |
| 746 |
0, // 10: envoy.service.rate_limit_quota.v3.RateLimitQuotaService.StreamRateLimitQuotas:input_type -> envoy.service.rate_limit_quota.v3.RateLimitQuotaUsageReports |
| 747 |
1, // 11: envoy.service.rate_limit_quota.v3.RateLimitQuotaService.StreamRateLimitQuotas:output_type -> envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse |
| 748 |
11, // [11:12] is the sub-list for method output_type |
| 749 |
10, // [10:11] is the sub-list for method input_type |
| 750 |
10, // [10:10] is the sub-list for extension type_name |
| 751 |
10, // [10:10] is the sub-list for extension extendee |
| 752 |
0, // [0:10] is the sub-list for field type_name |
| 753 |
} |
| 754 |
|
| 755 |
func init() { file_envoy_service_rate_limit_quota_v3_rlqs_proto_init() } |
| 756 |
func file_envoy_service_rate_limit_quota_v3_rlqs_proto_init() { |
| 757 |
if File_envoy_service_rate_limit_quota_v3_rlqs_proto != nil { |
| 758 |
return |
| 759 |
} |
| 760 |
if !protoimpl.UnsafeEnabled { |
| 761 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 762 |
switch v := v.(*RateLimitQuotaUsageReports); i { |
| 763 |
case 0: |
| 764 |
return &v.state |
| 765 |
case 1: |
| 766 |
return &v.sizeCache |
| 767 |
case 2: |
| 768 |
return &v.unknownFields |
| 769 |
default: |
| 770 |
return nil |
| 771 |
} |
| 772 |
} |
| 773 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 774 |
switch v := v.(*RateLimitQuotaResponse); i { |
| 775 |
case 0: |
| 776 |
return &v.state |
| 777 |
case 1: |
| 778 |
return &v.sizeCache |
| 779 |
case 2: |
| 780 |
return &v.unknownFields |
| 781 |
default: |
| 782 |
return nil |
| 783 |
} |
| 784 |
} |
| 785 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 786 |
switch v := v.(*BucketId); i { |
| 787 |
case 0: |
| 788 |
return &v.state |
| 789 |
case 1: |
| 790 |
return &v.sizeCache |
| 791 |
case 2: |
| 792 |
return &v.unknownFields |
| 793 |
default: |
| 794 |
return nil |
| 795 |
} |
| 796 |
} |
| 797 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 798 |
switch v := v.(*RateLimitQuotaUsageReports_BucketQuotaUsage); i { |
| 799 |
case 0: |
| 800 |
return &v.state |
| 801 |
case 1: |
| 802 |
return &v.sizeCache |
| 803 |
case 2: |
| 804 |
return &v.unknownFields |
| 805 |
default: |
| 806 |
return nil |
| 807 |
} |
| 808 |
} |
| 809 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 810 |
switch v := v.(*RateLimitQuotaResponse_BucketAction); i { |
| 811 |
case 0: |
| 812 |
return &v.state |
| 813 |
case 1: |
| 814 |
return &v.sizeCache |
| 815 |
case 2: |
| 816 |
return &v.unknownFields |
| 817 |
default: |
| 818 |
return nil |
| 819 |
} |
| 820 |
} |
| 821 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 822 |
switch v := v.(*RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction); i { |
| 823 |
case 0: |
| 824 |
return &v.state |
| 825 |
case 1: |
| 826 |
return &v.sizeCache |
| 827 |
case 2: |
| 828 |
return &v.unknownFields |
| 829 |
default: |
| 830 |
return nil |
| 831 |
} |
| 832 |
} |
| 833 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 834 |
switch v := v.(*RateLimitQuotaResponse_BucketAction_AbandonAction); i { |
| 835 |
case 0: |
| 836 |
return &v.state |
| 837 |
case 1: |
| 838 |
return &v.sizeCache |
| 839 |
case 2: |
| 840 |
return &v.unknownFields |
| 841 |
default: |
| 842 |
return nil |
| 843 |
} |
| 844 |
} |
| 845 |
} |
| 846 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes[4].OneofWrappers = []interface{}{ |
| 847 |
(*RateLimitQuotaResponse_BucketAction_QuotaAssignmentAction_)(nil), |
| 848 |
(*RateLimitQuotaResponse_BucketAction_AbandonAction_)(nil), |
| 849 |
} |
| 850 |
type x struct{} |
| 851 |
out := protoimpl.TypeBuilder{ |
| 852 |
File: protoimpl.DescBuilder{ |
| 853 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 854 |
RawDescriptor: file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDesc, |
| 855 |
NumEnums: 0, |
| 856 |
NumMessages: 8, |
| 857 |
NumExtensions: 0, |
| 858 |
NumServices: 1, |
| 859 |
}, |
| 860 |
GoTypes: file_envoy_service_rate_limit_quota_v3_rlqs_proto_goTypes, |
| 861 |
DependencyIndexes: file_envoy_service_rate_limit_quota_v3_rlqs_proto_depIdxs, |
| 862 |
MessageInfos: file_envoy_service_rate_limit_quota_v3_rlqs_proto_msgTypes, |
| 863 |
}.Build() |
| 864 |
File_envoy_service_rate_limit_quota_v3_rlqs_proto = out.File |
| 865 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_rawDesc = nil |
| 866 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_goTypes = nil |
| 867 |
file_envoy_service_rate_limit_quota_v3_rlqs_proto_depIdxs = nil |
| 868 |
} |