public static final class Check.CheckResponse.QuotaResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckResponse.QuotaResult.Builder> implements Check.CheckResponse.QuotaResultOrBuilder
Expresses the result of a quota allocation.Protobuf type
istio.mixer.v1.CheckResponse.QuotaResult| Modifier and Type | Method and Description |
|---|---|
Check.CheckResponse.QuotaResult.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Check.CheckResponse.QuotaResult |
build() |
Check.CheckResponse.QuotaResult |
buildPartial() |
Check.CheckResponse.QuotaResult.Builder |
clear() |
Check.CheckResponse.QuotaResult.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Check.CheckResponse.QuotaResult.Builder |
clearGrantedAmount()
The amount of granted quota.
|
Check.CheckResponse.QuotaResult.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Check.CheckResponse.QuotaResult.Builder |
clearReferencedAttributes()
The total set of attributes that were used in producing the result
along with matching conditions.
|
Check.CheckResponse.QuotaResult.Builder |
clearValidDuration()
The amount of time for which this result can be considered valid.
|
Check.CheckResponse.QuotaResult.Builder |
clone() |
Check.CheckResponse.QuotaResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getGrantedAmount()
The amount of granted quota.
|
Check.ReferencedAttributes |
getReferencedAttributes()
The total set of attributes that were used in producing the result
along with matching conditions.
|
Check.ReferencedAttributes.Builder |
getReferencedAttributesBuilder()
The total set of attributes that were used in producing the result
along with matching conditions.
|
Check.ReferencedAttributesOrBuilder |
getReferencedAttributesOrBuilder()
The total set of attributes that were used in producing the result
along with matching conditions.
|
com.google.protobuf.Duration |
getValidDuration()
The amount of time for which this result can be considered valid.
|
com.google.protobuf.Duration.Builder |
getValidDurationBuilder()
The amount of time for which this result can be considered valid.
|
com.google.protobuf.DurationOrBuilder |
getValidDurationOrBuilder()
The amount of time for which this result can be considered valid.
|
boolean |
hasReferencedAttributes()
The total set of attributes that were used in producing the result
along with matching conditions.
|
boolean |
hasValidDuration()
The amount of time for which this result can be considered valid.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Check.CheckResponse.QuotaResult.Builder |
mergeFrom(Check.CheckResponse.QuotaResult other) |
Check.CheckResponse.QuotaResult.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Check.CheckResponse.QuotaResult.Builder |
mergeFrom(com.google.protobuf.Message other) |
Check.CheckResponse.QuotaResult.Builder |
mergeReferencedAttributes(Check.ReferencedAttributes value)
The total set of attributes that were used in producing the result
along with matching conditions.
|
Check.CheckResponse.QuotaResult.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Check.CheckResponse.QuotaResult.Builder |
mergeValidDuration(com.google.protobuf.Duration value)
The amount of time for which this result can be considered valid.
|
Check.CheckResponse.QuotaResult.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Check.CheckResponse.QuotaResult.Builder |
setGrantedAmount(long value)
The amount of granted quota.
|
Check.CheckResponse.QuotaResult.Builder |
setReferencedAttributes(Check.ReferencedAttributes.Builder builderForValue)
The total set of attributes that were used in producing the result
along with matching conditions.
|
Check.CheckResponse.QuotaResult.Builder |
setReferencedAttributes(Check.ReferencedAttributes value)
The total set of attributes that were used in producing the result
along with matching conditions.
|
Check.CheckResponse.QuotaResult.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Check.CheckResponse.QuotaResult.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Check.CheckResponse.QuotaResult.Builder |
setValidDuration(com.google.protobuf.Duration.Builder builderForValue)
The amount of time for which this result can be considered valid.
|
Check.CheckResponse.QuotaResult.Builder |
setValidDuration(com.google.protobuf.Duration value)
The amount of time for which this result can be considered valid.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckResponse.QuotaResult.Builder>public Check.CheckResponse.QuotaResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckResponse.QuotaResult.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckResponse.QuotaResult.Builder>public Check.CheckResponse.QuotaResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Check.CheckResponse.QuotaResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Check.CheckResponse.QuotaResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Check.CheckResponse.QuotaResult.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckResponse.QuotaResult.Builder>public Check.CheckResponse.QuotaResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckResponse.QuotaResult.Builder>public Check.CheckResponse.QuotaResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckResponse.QuotaResult.Builder>public Check.CheckResponse.QuotaResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckResponse.QuotaResult.Builder>public Check.CheckResponse.QuotaResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckResponse.QuotaResult.Builder>public Check.CheckResponse.QuotaResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckResponse.QuotaResult.Builder>public Check.CheckResponse.QuotaResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Check.CheckResponse.QuotaResult.Builder>public Check.CheckResponse.QuotaResult.Builder mergeFrom(Check.CheckResponse.QuotaResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckResponse.QuotaResult.Builder>public Check.CheckResponse.QuotaResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Check.CheckResponse.QuotaResult.Builder>IOExceptionpublic boolean hasValidDuration()
The amount of time for which this result can be considered valid.
.google.protobuf.Duration valid_duration = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdduration) = true];hasValidDuration in interface Check.CheckResponse.QuotaResultOrBuilderpublic com.google.protobuf.Duration getValidDuration()
The amount of time for which this result can be considered valid.
.google.protobuf.Duration valid_duration = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdduration) = true];getValidDuration in interface Check.CheckResponse.QuotaResultOrBuilderpublic Check.CheckResponse.QuotaResult.Builder setValidDuration(com.google.protobuf.Duration value)
The amount of time for which this result can be considered valid.
.google.protobuf.Duration valid_duration = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdduration) = true];public Check.CheckResponse.QuotaResult.Builder setValidDuration(com.google.protobuf.Duration.Builder builderForValue)
The amount of time for which this result can be considered valid.
.google.protobuf.Duration valid_duration = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdduration) = true];public Check.CheckResponse.QuotaResult.Builder mergeValidDuration(com.google.protobuf.Duration value)
The amount of time for which this result can be considered valid.
.google.protobuf.Duration valid_duration = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdduration) = true];public Check.CheckResponse.QuotaResult.Builder clearValidDuration()
The amount of time for which this result can be considered valid.
.google.protobuf.Duration valid_duration = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdduration) = true];public com.google.protobuf.Duration.Builder getValidDurationBuilder()
The amount of time for which this result can be considered valid.
.google.protobuf.Duration valid_duration = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdduration) = true];public com.google.protobuf.DurationOrBuilder getValidDurationOrBuilder()
The amount of time for which this result can be considered valid.
.google.protobuf.Duration valid_duration = 1 [(.gogoproto.nullable) = false, (.gogoproto.stdduration) = true];getValidDurationOrBuilder in interface Check.CheckResponse.QuotaResultOrBuilderpublic long getGrantedAmount()
The amount of granted quota. When `QuotaParams.best_effort` is true, this will be >= 0. If `QuotaParams.best_effort` is false, this will be either 0 or >= `QuotaParams.amount`.
int64 granted_amount = 2;getGrantedAmount in interface Check.CheckResponse.QuotaResultOrBuilderpublic Check.CheckResponse.QuotaResult.Builder setGrantedAmount(long value)
The amount of granted quota. When `QuotaParams.best_effort` is true, this will be >= 0. If `QuotaParams.best_effort` is false, this will be either 0 or >= `QuotaParams.amount`.
int64 granted_amount = 2;public Check.CheckResponse.QuotaResult.Builder clearGrantedAmount()
The amount of granted quota. When `QuotaParams.best_effort` is true, this will be >= 0. If `QuotaParams.best_effort` is false, this will be either 0 or >= `QuotaParams.amount`.
int64 granted_amount = 2;public boolean hasReferencedAttributes()
The total set of attributes that were used in producing the result along with matching conditions.
.istio.mixer.v1.ReferencedAttributes referenced_attributes = 5 [(.gogoproto.nullable) = false];hasReferencedAttributes in interface Check.CheckResponse.QuotaResultOrBuilderpublic Check.ReferencedAttributes getReferencedAttributes()
The total set of attributes that were used in producing the result along with matching conditions.
.istio.mixer.v1.ReferencedAttributes referenced_attributes = 5 [(.gogoproto.nullable) = false];getReferencedAttributes in interface Check.CheckResponse.QuotaResultOrBuilderpublic Check.CheckResponse.QuotaResult.Builder setReferencedAttributes(Check.ReferencedAttributes value)
The total set of attributes that were used in producing the result along with matching conditions.
.istio.mixer.v1.ReferencedAttributes referenced_attributes = 5 [(.gogoproto.nullable) = false];public Check.CheckResponse.QuotaResult.Builder setReferencedAttributes(Check.ReferencedAttributes.Builder builderForValue)
The total set of attributes that were used in producing the result along with matching conditions.
.istio.mixer.v1.ReferencedAttributes referenced_attributes = 5 [(.gogoproto.nullable) = false];public Check.CheckResponse.QuotaResult.Builder mergeReferencedAttributes(Check.ReferencedAttributes value)
The total set of attributes that were used in producing the result along with matching conditions.
.istio.mixer.v1.ReferencedAttributes referenced_attributes = 5 [(.gogoproto.nullable) = false];public Check.CheckResponse.QuotaResult.Builder clearReferencedAttributes()
The total set of attributes that were used in producing the result along with matching conditions.
.istio.mixer.v1.ReferencedAttributes referenced_attributes = 5 [(.gogoproto.nullable) = false];public Check.ReferencedAttributes.Builder getReferencedAttributesBuilder()
The total set of attributes that were used in producing the result along with matching conditions.
.istio.mixer.v1.ReferencedAttributes referenced_attributes = 5 [(.gogoproto.nullable) = false];public Check.ReferencedAttributesOrBuilder getReferencedAttributesOrBuilder()
The total set of attributes that were used in producing the result along with matching conditions.
.istio.mixer.v1.ReferencedAttributes referenced_attributes = 5 [(.gogoproto.nullable) = false];getReferencedAttributesOrBuilder in interface Check.CheckResponse.QuotaResultOrBuilderpublic final Check.CheckResponse.QuotaResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckResponse.QuotaResult.Builder>public final Check.CheckResponse.QuotaResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckResponse.QuotaResult.Builder>Copyright © 2019 WSO2. All rights reserved.