public static final class Rls.RateLimitServiceConfig extends com.google.protobuf.GeneratedMessageV3 implements Rls.RateLimitServiceConfigOrBuilder
Rate limit :ref:`configuration overview <config_rate_limit_service>`.Protobuf type
envoy.config.ratelimit.v2.RateLimitServiceConfig| Modifier and Type | Class and Description |
|---|---|
static class |
Rls.RateLimitServiceConfig.Builder
Rate limit :ref:`configuration overview <config_rate_limit_service>`.
|
static class |
Rls.RateLimitServiceConfig.ServiceSpecifierCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_NAME_FIELD_NUMBER |
static int |
GRPC_SERVICE_FIELD_NUMBER |
static int |
USE_DATA_PLANE_PROTO_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClusterName()
Deprecated.
|
com.google.protobuf.ByteString |
getClusterNameBytes()
Deprecated.
|
static Rls.RateLimitServiceConfig |
getDefaultInstance() |
Rls.RateLimitServiceConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
GrpcServiceOuterClass.GrpcService |
getGrpcService()
Specifies the gRPC service that hosts the rate limit service.
|
GrpcServiceOuterClass.GrpcServiceOrBuilder |
getGrpcServiceOrBuilder()
Specifies the gRPC service that hosts the rate limit service.
|
com.google.protobuf.Parser<Rls.RateLimitServiceConfig> |
getParserForType() |
int |
getSerializedSize() |
Rls.RateLimitServiceConfig.ServiceSpecifierCase |
getServiceSpecifierCase() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
getUseDataPlaneProto()
Deprecated.
|
boolean |
hasGrpcService()
Specifies the gRPC service that hosts the rate limit service.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Rls.RateLimitServiceConfig.Builder |
newBuilder() |
static Rls.RateLimitServiceConfig.Builder |
newBuilder(Rls.RateLimitServiceConfig prototype) |
Rls.RateLimitServiceConfig.Builder |
newBuilderForType() |
protected Rls.RateLimitServiceConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Rls.RateLimitServiceConfig |
parseDelimitedFrom(InputStream input) |
static Rls.RateLimitServiceConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rls.RateLimitServiceConfig |
parseFrom(byte[] data) |
static Rls.RateLimitServiceConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rls.RateLimitServiceConfig |
parseFrom(ByteBuffer data) |
static Rls.RateLimitServiceConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rls.RateLimitServiceConfig |
parseFrom(com.google.protobuf.ByteString data) |
static Rls.RateLimitServiceConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rls.RateLimitServiceConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Rls.RateLimitServiceConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rls.RateLimitServiceConfig |
parseFrom(InputStream input) |
static Rls.RateLimitServiceConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Rls.RateLimitServiceConfig> |
parser() |
Rls.RateLimitServiceConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CLUSTER_NAME_FIELD_NUMBER
public static final int GRPC_SERVICE_FIELD_NUMBER
public static final int USE_DATA_PLANE_PROTO_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Rls.RateLimitServiceConfig.ServiceSpecifierCase getServiceSpecifierCase()
getServiceSpecifierCase in interface Rls.RateLimitServiceConfigOrBuilder@Deprecated public String getClusterName()
Specifies the cluster manager cluster name that hosts the rate limit service. The client will connect to this cluster when it needs to make rate limit service requests. This field is deprecated and `grpc_service` should be used instead. The :ref:`Envoy gRPC client <envoy_api_field_core.GrpcService.envoy_grpc>` will be used when this field is specified.
string cluster_name = 1 [deprecated = true, (.validate.rules) = { ... }getClusterName in interface Rls.RateLimitServiceConfigOrBuilder@Deprecated public com.google.protobuf.ByteString getClusterNameBytes()
Specifies the cluster manager cluster name that hosts the rate limit service. The client will connect to this cluster when it needs to make rate limit service requests. This field is deprecated and `grpc_service` should be used instead. The :ref:`Envoy gRPC client <envoy_api_field_core.GrpcService.envoy_grpc>` will be used when this field is specified.
string cluster_name = 1 [deprecated = true, (.validate.rules) = { ... }getClusterNameBytes in interface Rls.RateLimitServiceConfigOrBuilderpublic boolean hasGrpcService()
Specifies the gRPC service that hosts the rate limit service. The client will connect to this cluster when it needs to make rate limit service requests.
.envoy.api.v2.core.GrpcService grpc_service = 2;hasGrpcService in interface Rls.RateLimitServiceConfigOrBuilderpublic GrpcServiceOuterClass.GrpcService getGrpcService()
Specifies the gRPC service that hosts the rate limit service. The client will connect to this cluster when it needs to make rate limit service requests.
.envoy.api.v2.core.GrpcService grpc_service = 2;getGrpcService in interface Rls.RateLimitServiceConfigOrBuilderpublic GrpcServiceOuterClass.GrpcServiceOrBuilder getGrpcServiceOrBuilder()
Specifies the gRPC service that hosts the rate limit service. The client will connect to this cluster when it needs to make rate limit service requests.
.envoy.api.v2.core.GrpcService grpc_service = 2;getGrpcServiceOrBuilder in interface Rls.RateLimitServiceConfigOrBuilder@Deprecated public boolean getUseDataPlaneProto()
Specifies if Envoy should use the data-plane-api client :repo:`api/envoy/service/ratelimit/v2/rls.proto` or the legacy client :repo:`source/common/ratelimit/ratelimit.proto` when making requests to the rate limit service. .. note:: The legacy client will be used by default until the start of the 1.9.0 release cycle. At the start of the 1.9.0 release cycle this field will be removed and only the data-plane-api proto will be supported. This means that your rate limit service needs to have support for the data-plane-api proto by the start of the 1.9.0 release cycle. Lyft's `reference implementation <https://github.com/lyft/ratelimit>`_ supports the data-plane-api version as of v1.1.0.
bool use_data_plane_proto = 3 [deprecated = true];getUseDataPlaneProto in interface Rls.RateLimitServiceConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Rls.RateLimitServiceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rls.RateLimitServiceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rls.RateLimitServiceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rls.RateLimitServiceConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rls.RateLimitServiceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rls.RateLimitServiceConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rls.RateLimitServiceConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static Rls.RateLimitServiceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rls.RateLimitServiceConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Rls.RateLimitServiceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rls.RateLimitServiceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Rls.RateLimitServiceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Rls.RateLimitServiceConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Rls.RateLimitServiceConfig.Builder newBuilder()
public static Rls.RateLimitServiceConfig.Builder newBuilder(Rls.RateLimitServiceConfig prototype)
public Rls.RateLimitServiceConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Rls.RateLimitServiceConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Rls.RateLimitServiceConfig getDefaultInstance()
public static com.google.protobuf.Parser<Rls.RateLimitServiceConfig> parser()
public com.google.protobuf.Parser<Rls.RateLimitServiceConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Rls.RateLimitServiceConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.