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 int
private Object
private int
private BucketId
private 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 void
private void
clear()
Abandon the bucket.``BucketId`` for which request the action is applied.Apply the quota assignment to the bucket.Abandon the bucket.Abandon the bucket.private com.google.protobuf.SingleFieldBuilder
<RateLimitQuotaResponse.BucketAction.AbandonAction, RateLimitQuotaResponse.BucketAction.AbandonAction.Builder, RateLimitQuotaResponse.BucketAction.AbandonActionOrBuilder> Abandon the bucket.Abandon the bucket.``BucketId`` for which request the action is applied.``BucketId`` for which request the action is applied.private com.google.protobuf.SingleFieldBuilder
<BucketId, BucketId.Builder, BucketIdOrBuilder> ``BucketId`` for which request the action is applied.``BucketId`` for which request the action is applied.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Apply the quota assignment to the bucket.Apply the quota assignment to the bucket.private com.google.protobuf.SingleFieldBuilder
<RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction, RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.Builder, RateLimitQuotaResponse.BucketAction.QuotaAssignmentActionOrBuilder> Apply the quota assignment to the bucket.Apply the quota assignment to the bucket.boolean
Abandon the bucket.boolean
``BucketId`` for which request the action is applied.boolean
Apply the quota assignment to the bucket.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
Abandon 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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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, bucketIdBuilder_BucketIdOrBuilder> -
quotaAssignmentActionBuilder_
private com.google.protobuf.SingleFieldBuilder<RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction,RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.Builder, quotaAssignmentActionBuilder_RateLimitQuotaResponse.BucketAction.QuotaAssignmentActionOrBuilder> -
abandonActionBuilder_
private com.google.protobuf.SingleFieldBuilder<RateLimitQuotaResponse.BucketAction.AbandonAction,RateLimitQuotaResponse.BucketAction.AbandonAction.Builder, abandonActionBuilder_RateLimitQuotaResponse.BucketAction.AbandonActionOrBuilder>
-
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
-
mergeFrom
public RateLimitQuotaResponse.BucketAction.Builder mergeFrom(RateLimitQuotaResponse.BucketAction other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RateLimitQuotaResponse.BucketAction.Builder>
- Throws:
IOException
-
getBucketActionCase
- Specified by:
getBucketActionCase
in 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:
hasBucketId
in 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:
getBucketId
in 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:
getBucketIdOrBuilder
in interfaceRateLimitQuotaResponse.BucketActionOrBuilder
-
getBucketIdFieldBuilder
private com.google.protobuf.SingleFieldBuilder<BucketId,BucketId.Builder, getBucketIdFieldBuilder()BucketIdOrBuilder> ``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:
hasQuotaAssignmentAction
in 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:
getQuotaAssignmentAction
in 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:
getQuotaAssignmentActionOrBuilder
in interfaceRateLimitQuotaResponse.BucketActionOrBuilder
-
getQuotaAssignmentActionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction,RateLimitQuotaResponse.BucketAction.QuotaAssignmentAction.Builder, getQuotaAssignmentActionFieldBuilder()RateLimitQuotaResponse.BucketAction.QuotaAssignmentActionOrBuilder> 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:
hasAbandonAction
in 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:
getAbandonAction
in 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:
getAbandonActionOrBuilder
in interfaceRateLimitQuotaResponse.BucketActionOrBuilder
-
getAbandonActionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RateLimitQuotaResponse.BucketAction.AbandonAction,RateLimitQuotaResponse.BucketAction.AbandonAction.Builder, getAbandonActionFieldBuilder()RateLimitQuotaResponse.BucketAction.AbandonActionOrBuilder> 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;
-