io.envoyproxy.envoy.service.ratelimit.v2.RateLimitResponseOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/service/ratelimit/v2/rls.proto
package io.envoyproxy.envoy.service.ratelimit.v2;
public interface RateLimitResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.service.ratelimit.v2.RateLimitResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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;
*/
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;
*/
io.envoyproxy.envoy.service.ratelimit.v2.RateLimitResponse.Code getOverallCode();
/**
*
* 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;
*/
java.util.List
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;
*/
io.envoyproxy.envoy.service.ratelimit.v2.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;
*/
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;
*/
java.util.List extends io.envoyproxy.envoy.service.ratelimit.v2.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;
*/
io.envoyproxy.envoy.service.ratelimit.v2.RateLimitResponse.DescriptorStatusOrBuilder getStatusesOrBuilder(
int index);
/**
*
* A list of headers to add to the response
*
*
* repeated .envoy.api.v2.core.HeaderValue headers = 3;
*/
java.util.List
getHeadersList();
/**
*
* A list of headers to add to the response
*
*
* repeated .envoy.api.v2.core.HeaderValue headers = 3;
*/
io.envoyproxy.envoy.api.v2.core.HeaderValue getHeaders(int index);
/**
*
* A list of headers to add to the response
*
*
* repeated .envoy.api.v2.core.HeaderValue headers = 3;
*/
int getHeadersCount();
/**
*
* A list of headers to add to the response
*
*
* repeated .envoy.api.v2.core.HeaderValue headers = 3;
*/
java.util.List extends io.envoyproxy.envoy.api.v2.core.HeaderValueOrBuilder>
getHeadersOrBuilderList();
/**
*
* A list of headers to add to the response
*
*
* repeated .envoy.api.v2.core.HeaderValue headers = 3;
*/
io.envoyproxy.envoy.api.v2.core.HeaderValueOrBuilder getHeadersOrBuilder(
int index);
}