io.envoyproxy.envoy.service.ratelimit.v3.RateLimitRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/service/ratelimit/v3/rls.proto
package io.envoyproxy.envoy.service.ratelimit.v3;
public interface RateLimitRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.service.ratelimit.v3.RateLimitRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* All rate limit requests must specify a domain. This enables the configuration to be per
* application without fear of overlap. E.g., "envoy".
*
*
* string domain = 1;
* @return The domain.
*/
java.lang.String getDomain();
/**
*
* All rate limit requests must specify a domain. This enables the configuration to be per
* application without fear of overlap. E.g., "envoy".
*
*
* string domain = 1;
* @return The bytes for domain.
*/
com.google.protobuf.ByteString
getDomainBytes();
/**
*
* All rate limit requests must specify at least one RateLimitDescriptor. Each descriptor is
* processed by the service (see below). If any of the descriptors are over limit, the entire
* request is considered to be over limit.
*
*
* repeated .envoy.extensions.common.ratelimit.v3.RateLimitDescriptor descriptors = 2;
*/
java.util.List
getDescriptorsList();
/**
*
* All rate limit requests must specify at least one RateLimitDescriptor. Each descriptor is
* processed by the service (see below). If any of the descriptors are over limit, the entire
* request is considered to be over limit.
*
*
* repeated .envoy.extensions.common.ratelimit.v3.RateLimitDescriptor descriptors = 2;
*/
io.envoyproxy.envoy.extensions.common.ratelimit.v3.RateLimitDescriptor getDescriptors(int index);
/**
*
* All rate limit requests must specify at least one RateLimitDescriptor. Each descriptor is
* processed by the service (see below). If any of the descriptors are over limit, the entire
* request is considered to be over limit.
*
*
* repeated .envoy.extensions.common.ratelimit.v3.RateLimitDescriptor descriptors = 2;
*/
int getDescriptorsCount();
/**
*
* All rate limit requests must specify at least one RateLimitDescriptor. Each descriptor is
* processed by the service (see below). If any of the descriptors are over limit, the entire
* request is considered to be over limit.
*
*
* repeated .envoy.extensions.common.ratelimit.v3.RateLimitDescriptor descriptors = 2;
*/
java.util.List extends io.envoyproxy.envoy.extensions.common.ratelimit.v3.RateLimitDescriptorOrBuilder>
getDescriptorsOrBuilderList();
/**
*
* All rate limit requests must specify at least one RateLimitDescriptor. Each descriptor is
* processed by the service (see below). If any of the descriptors are over limit, the entire
* request is considered to be over limit.
*
*
* repeated .envoy.extensions.common.ratelimit.v3.RateLimitDescriptor descriptors = 2;
*/
io.envoyproxy.envoy.extensions.common.ratelimit.v3.RateLimitDescriptorOrBuilder getDescriptorsOrBuilder(
int index);
/**
*
* Rate limit requests can optionally specify the number of hits a request adds to the matched
* limit. If the value is not set in the message, a request increases the matched limit by 1.
*
*
* uint32 hits_addend = 3;
* @return The hitsAddend.
*/
int getHitsAddend();
}