Interface RateLimitResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RateLimitResponse,RateLimitResponse.Builder
public interface RateLimitResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetHeaders(int index) A list of headers to add to the responseintA list of headers to add to the responseA list of headers to add to the responsegetHeadersOrBuilder(int index) A list of headers to add to the responseList<? extends HeaderValueOrBuilder>A list of headers to add to the responseThe overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.intThe overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.getRequestHeadersToAdd(int index) A list of headers to add to the request when forwardedintA list of headers to add to the request when forwardedA list of headers to add to the request when forwardedgetRequestHeadersToAddOrBuilder(int index) A list of headers to add to the request when forwardedList<? extends HeaderValueOrBuilder>A list of headers to add to the request when forwardedgetStatuses(int index) A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.intA list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.getStatusesOrBuilder(int index) A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.List<? extends RateLimitResponse.DescriptorStatusOrBuilder>A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getOverallCodeValue
int getOverallCodeValue()The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.
.envoy.service.ratelimit.v2.RateLimitResponse.Code overall_code = 1;- Returns:
- The enum numeric value on the wire for overallCode.
-
getOverallCode
RateLimitResponse.Code getOverallCode()The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.
.envoy.service.ratelimit.v2.RateLimitResponse.Code overall_code = 1;- Returns:
- The overallCode.
-
getStatusesList
List<RateLimitResponse.DescriptorStatus> getStatusesList()A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v2.RateLimitResponse.DescriptorStatus statuses = 2; -
getStatuses
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v2.RateLimitResponse.DescriptorStatus statuses = 2; -
getStatusesCount
int getStatusesCount()A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v2.RateLimitResponse.DescriptorStatus statuses = 2; -
getStatusesOrBuilderList
List<? extends RateLimitResponse.DescriptorStatusOrBuilder> getStatusesOrBuilderList()A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v2.RateLimitResponse.DescriptorStatus statuses = 2; -
getStatusesOrBuilder
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v2.RateLimitResponse.DescriptorStatus statuses = 2; -
getHeadersList
List<HeaderValue> getHeadersList()A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } -
getHeaders
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } -
getHeadersCount
int getHeadersCount()A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } -
getHeadersOrBuilderList
List<? extends HeaderValueOrBuilder> getHeadersOrBuilderList()A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } -
getHeadersOrBuilder
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } -
getRequestHeadersToAddList
List<HeaderValue> getRequestHeadersToAddList()A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; -
getRequestHeadersToAdd
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; -
getRequestHeadersToAddCount
int getRequestHeadersToAddCount()A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; -
getRequestHeadersToAddOrBuilderList
List<? extends HeaderValueOrBuilder> getRequestHeadersToAddOrBuilderList()A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; -
getRequestHeadersToAddOrBuilder
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4;
-