public static final class Check.CheckResponse.QuotaResult extends com.google.protobuf.GeneratedMessageV3 implements Check.CheckResponse.QuotaResultOrBuilder
Expresses the result of a quota allocation.Protobuf type
istio.mixer.v1.CheckResponse.QuotaResult| Modifier and Type | Class and Description |
|---|---|
static class |
Check.CheckResponse.QuotaResult.Builder
Expresses the result of a quota allocation.
|
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 |
GRANTED_AMOUNT_FIELD_NUMBER |
static int |
REFERENCED_ATTRIBUTES_FIELD_NUMBER |
static int |
VALID_DURATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Check.CheckResponse.QuotaResult |
getDefaultInstance() |
Check.CheckResponse.QuotaResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getGrantedAmount()
The amount of granted quota.
|
com.google.protobuf.Parser<Check.CheckResponse.QuotaResult> |
getParserForType() |
Check.ReferencedAttributes |
getReferencedAttributes()
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.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Duration |
getValidDuration()
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.
|
int |
hashCode() |
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() |
static Check.CheckResponse.QuotaResult.Builder |
newBuilder() |
static Check.CheckResponse.QuotaResult.Builder |
newBuilder(Check.CheckResponse.QuotaResult prototype) |
Check.CheckResponse.QuotaResult.Builder |
newBuilderForType() |
protected Check.CheckResponse.QuotaResult.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Check.CheckResponse.QuotaResult |
parseDelimitedFrom(InputStream input) |
static Check.CheckResponse.QuotaResult |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.CheckResponse.QuotaResult |
parseFrom(byte[] data) |
static Check.CheckResponse.QuotaResult |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.CheckResponse.QuotaResult |
parseFrom(ByteBuffer data) |
static Check.CheckResponse.QuotaResult |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.CheckResponse.QuotaResult |
parseFrom(com.google.protobuf.ByteString data) |
static Check.CheckResponse.QuotaResult |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.CheckResponse.QuotaResult |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Check.CheckResponse.QuotaResult |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.CheckResponse.QuotaResult |
parseFrom(InputStream input) |
static Check.CheckResponse.QuotaResult |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Check.CheckResponse.QuotaResult> |
parser() |
Check.CheckResponse.QuotaResult.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 VALID_DURATION_FIELD_NUMBER
public static final int GRANTED_AMOUNT_FIELD_NUMBER
public static final int REFERENCED_ATTRIBUTES_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 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 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 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.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 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 Check.CheckResponse.QuotaResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.CheckResponse.QuotaResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.CheckResponse.QuotaResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.CheckResponse.QuotaResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.CheckResponse.QuotaResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.CheckResponse.QuotaResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.CheckResponse.QuotaResult parseFrom(InputStream input) throws IOException
IOExceptionpublic static Check.CheckResponse.QuotaResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Check.CheckResponse.QuotaResult parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Check.CheckResponse.QuotaResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Check.CheckResponse.QuotaResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Check.CheckResponse.QuotaResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Check.CheckResponse.QuotaResult.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Check.CheckResponse.QuotaResult.Builder newBuilder()
public static Check.CheckResponse.QuotaResult.Builder newBuilder(Check.CheckResponse.QuotaResult prototype)
public Check.CheckResponse.QuotaResult.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Check.CheckResponse.QuotaResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Check.CheckResponse.QuotaResult getDefaultInstance()
public static com.google.protobuf.Parser<Check.CheckResponse.QuotaResult> parser()
public com.google.protobuf.Parser<Check.CheckResponse.QuotaResult> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Check.CheckResponse.QuotaResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 WSO2. All rights reserved.