Class RateLimitQuotaResponse.BucketAction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
com.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
io.envoyproxy.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RateLimitQuotaResponse.BucketActionOrBuilder, Cloneable
- Enclosing class:
RateLimitQuotaResponse.BucketAction
public static final class RateLimitQuotaResponse.BucketAction.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
implements RateLimitQuotaResponse.BucketActionOrBuilder
Commands the data plane to apply one of the actions to the bucket with the :ref:`bucket_id <envoy_v3_api_field_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.bucket_id>`.Protobuf type
envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.google.protobuf.SingleFieldBuilder<RateLimitQuotaResponse.BucketAction.AbandonAction, RateLimitQuotaResponse.BucketAction.AbandonAction.Builder, RateLimitQuotaResponse.BucketAction.AbandonActionOrBuilder> private intprivate Objectprivate intprivate BucketIdprivate com.google.protobuf.SingleFieldBuilder<BucketId, BucketId.Builder, BucketIdOrBuilder> private com.google.protobuf.SingleFieldBuilder<RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction, RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.Builder, RateLimitQuotaResponse.BucketAction.QuotaAssignmentActionOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidprivate voidclear()Abandon the bucket.``BucketId`` for which request the action is applied.Apply the quota assignment to the bucket.Abandon the bucket.Abandon the bucket.Abandon the bucket.``BucketId`` for which request the action is applied.``BucketId`` for which request the action is applied.``BucketId`` for which request the action is applied.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorApply the quota assignment to the bucket.Apply the quota assignment to the bucket.Apply the quota assignment to the bucket.booleanAbandon the bucket.boolean``BucketId`` for which request the action is applied.booleanApply the quota assignment to the bucket.private com.google.protobuf.SingleFieldBuilder<RateLimitQuotaResponse.BucketAction.AbandonAction, RateLimitQuotaResponse.BucketAction.AbandonAction.Builder, RateLimitQuotaResponse.BucketAction.AbandonActionOrBuilder> Abandon the bucket.private com.google.protobuf.SingleFieldBuilder<BucketId, BucketId.Builder, BucketIdOrBuilder> ``BucketId`` for which request the action is applied.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction, RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.Builder, RateLimitQuotaResponse.BucketAction.QuotaAssignmentActionOrBuilder> Apply the quota assignment to the bucket.final booleanprivate voidAbandon the bucket.mergeBucketId(BucketId value) ``BucketId`` for which request the action is applied.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Apply the quota assignment to the bucket.Abandon the bucket.Abandon the bucket.setBucketId(BucketId value) ``BucketId`` for which request the action is applied.setBucketId(BucketId.Builder builderForValue) ``BucketId`` for which request the action is applied.Apply the quota assignment to the bucket.setQuotaAssignmentAction(RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.Builder builderForValue) Apply the quota assignment to the bucket.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bucketActionCase_
private int bucketActionCase_ -
bucketAction_
-
bitField0_
private int bitField0_ -
bucketId_
-
bucketIdBuilder_
private com.google.protobuf.SingleFieldBuilder<BucketId, BucketId.Builder, BucketIdOrBuilder> bucketIdBuilder_ -
quotaAssignmentActionBuilder_
private com.google.protobuf.SingleFieldBuilder<RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction, RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.Builder, RateLimitQuotaResponse.BucketAction.QuotaAssignmentActionOrBuilder> quotaAssignmentActionBuilder_ -
abandonActionBuilder_
private com.google.protobuf.SingleFieldBuilder<RateLimitQuotaResponse.BucketAction.AbandonAction, RateLimitQuotaResponse.BucketAction.AbandonAction.Builder, RateLimitQuotaResponse.BucketAction.AbandonActionOrBuilder> abandonActionBuilder_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
-
mergeFrom
public RateLimitQuotaResponse.BucketAction.Builder mergeFrom(RateLimitQuotaResponse.BucketAction other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
-
mergeFrom
public RateLimitQuotaResponse.BucketAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>- Throws:
IOException
-
getBucketActionCase
- Specified by:
getBucketActionCasein interfaceRateLimitQuotaResponse.BucketActionOrBuilder
-
clearBucketAction
-
hasBucketId
public boolean hasBucketId()``BucketId`` for which request the action is applied.
.envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }- Specified by:
hasBucketIdin interfaceRateLimitQuotaResponse.BucketActionOrBuilder- Returns:
- Whether the bucketId field is set.
-
getBucketId
``BucketId`` for which request the action is applied.
.envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }- Specified by:
getBucketIdin interfaceRateLimitQuotaResponse.BucketActionOrBuilder- Returns:
- The bucketId.
-
setBucketId
``BucketId`` for which request the action is applied.
.envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... } -
setBucketId
``BucketId`` for which request the action is applied.
.envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... } -
mergeBucketId
``BucketId`` for which request the action is applied.
.envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... } -
clearBucketId
``BucketId`` for which request the action is applied.
.envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... } -
getBucketIdBuilder
``BucketId`` for which request the action is applied.
.envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... } -
getBucketIdOrBuilder
``BucketId`` for which request the action is applied.
.envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... }- Specified by:
getBucketIdOrBuilderin interfaceRateLimitQuotaResponse.BucketActionOrBuilder
-
internalGetBucketIdFieldBuilder
private com.google.protobuf.SingleFieldBuilder<BucketId, BucketId.Builder, BucketIdOrBuilder> internalGetBucketIdFieldBuilder()``BucketId`` for which request the action is applied.
.envoy.service.rate_limit_quota.v3.BucketId bucket_id = 1 [(.validate.rules) = { ... } -
hasQuotaAssignmentAction
public boolean hasQuotaAssignmentAction()Apply the quota assignment to the bucket. Commands the data plane to apply a rate limiting strategy to the bucket. The process of applying and expiring the rate limiting strategy is detailed in the :ref:`QuotaAssignmentAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2;- Specified by:
hasQuotaAssignmentActionin interfaceRateLimitQuotaResponse.BucketActionOrBuilder- Returns:
- Whether the quotaAssignmentAction field is set.
-
getQuotaAssignmentAction
Apply the quota assignment to the bucket. Commands the data plane to apply a rate limiting strategy to the bucket. The process of applying and expiring the rate limiting strategy is detailed in the :ref:`QuotaAssignmentAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2;- Specified by:
getQuotaAssignmentActionin interfaceRateLimitQuotaResponse.BucketActionOrBuilder- Returns:
- The quotaAssignmentAction.
-
setQuotaAssignmentAction
public RateLimitQuotaResponse.BucketAction.Builder setQuotaAssignmentAction(RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction value) Apply the quota assignment to the bucket. Commands the data plane to apply a rate limiting strategy to the bucket. The process of applying and expiring the rate limiting strategy is detailed in the :ref:`QuotaAssignmentAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2; -
setQuotaAssignmentAction
public RateLimitQuotaResponse.BucketAction.Builder setQuotaAssignmentAction(RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.Builder builderForValue) Apply the quota assignment to the bucket. Commands the data plane to apply a rate limiting strategy to the bucket. The process of applying and expiring the rate limiting strategy is detailed in the :ref:`QuotaAssignmentAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2; -
mergeQuotaAssignmentAction
public RateLimitQuotaResponse.BucketAction.Builder mergeQuotaAssignmentAction(RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction value) Apply the quota assignment to the bucket. Commands the data plane to apply a rate limiting strategy to the bucket. The process of applying and expiring the rate limiting strategy is detailed in the :ref:`QuotaAssignmentAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2; -
clearQuotaAssignmentAction
Apply the quota assignment to the bucket. Commands the data plane to apply a rate limiting strategy to the bucket. The process of applying and expiring the rate limiting strategy is detailed in the :ref:`QuotaAssignmentAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2; -
getQuotaAssignmentActionBuilder
public RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.Builder getQuotaAssignmentActionBuilder()Apply the quota assignment to the bucket. Commands the data plane to apply a rate limiting strategy to the bucket. The process of applying and expiring the rate limiting strategy is detailed in the :ref:`QuotaAssignmentAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2; -
getQuotaAssignmentActionOrBuilder
public RateLimitQuotaResponse.BucketAction.QuotaAssignmentActionOrBuilder getQuotaAssignmentActionOrBuilder()Apply the quota assignment to the bucket. Commands the data plane to apply a rate limiting strategy to the bucket. The process of applying and expiring the rate limiting strategy is detailed in the :ref:`QuotaAssignmentAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2;- Specified by:
getQuotaAssignmentActionOrBuilderin interfaceRateLimitQuotaResponse.BucketActionOrBuilder
-
internalGetQuotaAssignmentActionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction, RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.Builder, RateLimitQuotaResponse.BucketAction.QuotaAssignmentActionOrBuilder> internalGetQuotaAssignmentActionFieldBuilder()Apply the quota assignment to the bucket. Commands the data plane to apply a rate limiting strategy to the bucket. The process of applying and expiring the rate limiting strategy is detailed in the :ref:`QuotaAssignmentAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction quota_assignment_action = 2; -
hasAbandonAction
public boolean hasAbandonAction()Abandon the bucket. Commands the data plane to abandon the bucket. The process of abandoning the bucket is described in the :ref:`AbandonAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3;- Specified by:
hasAbandonActionin interfaceRateLimitQuotaResponse.BucketActionOrBuilder- Returns:
- Whether the abandonAction field is set.
-
getAbandonAction
Abandon the bucket. Commands the data plane to abandon the bucket. The process of abandoning the bucket is described in the :ref:`AbandonAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3;- Specified by:
getAbandonActionin interfaceRateLimitQuotaResponse.BucketActionOrBuilder- Returns:
- The abandonAction.
-
setAbandonAction
public RateLimitQuotaResponse.BucketAction.Builder setAbandonAction(RateLimitQuotaResponse.BucketAction.AbandonAction value) Abandon the bucket. Commands the data plane to abandon the bucket. The process of abandoning the bucket is described in the :ref:`AbandonAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3; -
setAbandonAction
public RateLimitQuotaResponse.BucketAction.Builder setAbandonAction(RateLimitQuotaResponse.BucketAction.AbandonAction.Builder builderForValue) Abandon the bucket. Commands the data plane to abandon the bucket. The process of abandoning the bucket is described in the :ref:`AbandonAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3; -
mergeAbandonAction
public RateLimitQuotaResponse.BucketAction.Builder mergeAbandonAction(RateLimitQuotaResponse.BucketAction.AbandonAction value) Abandon the bucket. Commands the data plane to abandon the bucket. The process of abandoning the bucket is described in the :ref:`AbandonAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3; -
clearAbandonAction
Abandon the bucket. Commands the data plane to abandon the bucket. The process of abandoning the bucket is described in the :ref:`AbandonAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3; -
getAbandonActionBuilder
Abandon the bucket. Commands the data plane to abandon the bucket. The process of abandoning the bucket is described in the :ref:`AbandonAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3; -
getAbandonActionOrBuilder
Abandon the bucket. Commands the data plane to abandon the bucket. The process of abandoning the bucket is described in the :ref:`AbandonAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3;- Specified by:
getAbandonActionOrBuilderin interfaceRateLimitQuotaResponse.BucketActionOrBuilder
-
internalGetAbandonActionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RateLimitQuotaResponse.BucketAction.AbandonAction, RateLimitQuotaResponse.BucketAction.AbandonAction.Builder, RateLimitQuotaResponse.BucketAction.AbandonActionOrBuilder> internalGetAbandonActionFieldBuilder()Abandon the bucket. Commands the data plane to abandon the bucket. The process of abandoning the bucket is described in the :ref:`AbandonAction <envoy_v3_api_msg_service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction>` message.
.envoy.service.rate_limit_quota.v3.RateLimitQuotaResponse.BucketAction.AbandonAction abandon_action = 3;
-