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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HeaderValuegetHeaders(int index)A list of headers to add to the responseintgetHeadersCount()A list of headers to add to the responseList<HeaderValue>getHeadersList()A list of headers to add to the responseHeaderValueOrBuildergetHeadersOrBuilder(int index)A list of headers to add to the responseList<? extends HeaderValueOrBuilder>getHeadersOrBuilderList()A list of headers to add to the responseRateLimitResponse.CodegetOverallCode()The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.intgetOverallCodeValue()The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.HeaderValuegetRequestHeadersToAdd(int index)A list of headers to add to the request when forwardedintgetRequestHeadersToAddCount()A list of headers to add to the request when forwardedList<HeaderValue>getRequestHeadersToAddList()A list of headers to add to the request when forwardedHeaderValueOrBuildergetRequestHeadersToAddOrBuilder(int index)A list of headers to add to the request when forwardedList<? extends HeaderValueOrBuilder>getRequestHeadersToAddOrBuilderList()A list of headers to add to the request when forwardedRateLimitResponse.DescriptorStatusgetStatuses(int index)A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.intgetStatusesCount()A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.List<RateLimitResponse.DescriptorStatus>getStatusesList()A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.RateLimitResponse.DescriptorStatusOrBuildergetStatusesOrBuilder(int index)A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.List<? extends RateLimitResponse.DescriptorStatusOrBuilder>getStatusesOrBuilderList()A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
RateLimitResponse.DescriptorStatus getStatuses(int index)
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
RateLimitResponse.DescriptorStatusOrBuilder getStatusesOrBuilder(int index)
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
HeaderValue getHeaders(int index)
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
HeaderValueOrBuilder getHeadersOrBuilder(int index)
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
HeaderValue getRequestHeadersToAdd(int index)
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
HeaderValueOrBuilder getRequestHeadersToAddOrBuilder(int index)
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4;
-
-