public static final class Check.CheckRequest extends com.google.protobuf.GeneratedMessageV3 implements Check.CheckRequestOrBuilder
Used to get a thumbs-up/thumbs-down before performing an action.Protobuf type
istio.mixer.v1.CheckRequest| Modifier and Type | Class and Description |
|---|---|
static class |
Check.CheckRequest.Builder
Used to get a thumbs-up/thumbs-down before performing an action.
|
static class |
Check.CheckRequest.QuotaParams
parameters for a quota allocation
|
static interface |
Check.CheckRequest.QuotaParamsOrBuilder |
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 |
ATTRIBUTES_FIELD_NUMBER |
static int |
DEDUPLICATION_ID_FIELD_NUMBER |
static int |
GLOBAL_WORD_COUNT_FIELD_NUMBER |
static int |
QUOTAS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsQuotas(String key)
The individual quotas to allocate
|
boolean |
equals(Object obj) |
AttributesOuterClass.CompressedAttributes |
getAttributes()
The attributes to use for this request.
|
AttributesOuterClass.CompressedAttributesOrBuilder |
getAttributesOrBuilder()
The attributes to use for this request.
|
String |
getDeduplicationId()
Used for deduplicating `Check` calls in the case of failed RPCs and retries.
|
com.google.protobuf.ByteString |
getDeduplicationIdBytes()
Used for deduplicating `Check` calls in the case of failed RPCs and retries.
|
static Check.CheckRequest |
getDefaultInstance() |
Check.CheckRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getGlobalWordCount()
The number of words in the global dictionary, used with to populate the attributes.
|
com.google.protobuf.Parser<Check.CheckRequest> |
getParserForType() |
Map<String,Check.CheckRequest.QuotaParams> |
getQuotas()
Deprecated.
|
int |
getQuotasCount()
The individual quotas to allocate
|
Map<String,Check.CheckRequest.QuotaParams> |
getQuotasMap()
The individual quotas to allocate
|
Check.CheckRequest.QuotaParams |
getQuotasOrDefault(String key,
Check.CheckRequest.QuotaParams defaultValue)
The individual quotas to allocate
|
Check.CheckRequest.QuotaParams |
getQuotasOrThrow(String key)
The individual quotas to allocate
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAttributes()
The attributes to use for this request.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Check.CheckRequest.Builder |
newBuilder() |
static Check.CheckRequest.Builder |
newBuilder(Check.CheckRequest prototype) |
Check.CheckRequest.Builder |
newBuilderForType() |
protected Check.CheckRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Check.CheckRequest |
parseDelimitedFrom(InputStream input) |
static Check.CheckRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.CheckRequest |
parseFrom(byte[] data) |
static Check.CheckRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.CheckRequest |
parseFrom(ByteBuffer data) |
static Check.CheckRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.CheckRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Check.CheckRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.CheckRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Check.CheckRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.CheckRequest |
parseFrom(InputStream input) |
static Check.CheckRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Check.CheckRequest> |
parser() |
Check.CheckRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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 ATTRIBUTES_FIELD_NUMBER
public static final int GLOBAL_WORD_COUNT_FIELD_NUMBER
public static final int DEDUPLICATION_ID_FIELD_NUMBER
public static final int QUOTAS_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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasAttributes()
The attributes to use for this request. Mixer's configuration determines how these attributes are used to establish the result returned in the response.
.istio.mixer.v1.CompressedAttributes attributes = 1 [(.gogoproto.nullable) = false];hasAttributes in interface Check.CheckRequestOrBuilderpublic AttributesOuterClass.CompressedAttributes getAttributes()
The attributes to use for this request. Mixer's configuration determines how these attributes are used to establish the result returned in the response.
.istio.mixer.v1.CompressedAttributes attributes = 1 [(.gogoproto.nullable) = false];getAttributes in interface Check.CheckRequestOrBuilderpublic AttributesOuterClass.CompressedAttributesOrBuilder getAttributesOrBuilder()
The attributes to use for this request. Mixer's configuration determines how these attributes are used to establish the result returned in the response.
.istio.mixer.v1.CompressedAttributes attributes = 1 [(.gogoproto.nullable) = false];getAttributesOrBuilder in interface Check.CheckRequestOrBuilderpublic int getGlobalWordCount()
The number of words in the global dictionary, used with to populate the attributes. This value is used as a quick way to determine whether the client is using a dictionary that the server understands.
uint32 global_word_count = 2;getGlobalWordCount in interface Check.CheckRequestOrBuilderpublic String getDeduplicationId()
Used for deduplicating `Check` calls in the case of failed RPCs and retries. This should be a UUID per call, where the same UUID is used for retries of the same call.
string deduplication_id = 3;getDeduplicationId in interface Check.CheckRequestOrBuilderpublic com.google.protobuf.ByteString getDeduplicationIdBytes()
Used for deduplicating `Check` calls in the case of failed RPCs and retries. This should be a UUID per call, where the same UUID is used for retries of the same call.
string deduplication_id = 3;getDeduplicationIdBytes in interface Check.CheckRequestOrBuilderpublic int getQuotasCount()
Check.CheckRequestOrBuilderThe individual quotas to allocate
map<string, .istio.mixer.v1.CheckRequest.QuotaParams> quotas = 4 [(.gogoproto.nullable) = false];getQuotasCount in interface Check.CheckRequestOrBuilderpublic boolean containsQuotas(String key)
The individual quotas to allocate
map<string, .istio.mixer.v1.CheckRequest.QuotaParams> quotas = 4 [(.gogoproto.nullable) = false];containsQuotas in interface Check.CheckRequestOrBuilder@Deprecated public Map<String,Check.CheckRequest.QuotaParams> getQuotas()
getQuotasMap() instead.getQuotas in interface Check.CheckRequestOrBuilderpublic Map<String,Check.CheckRequest.QuotaParams> getQuotasMap()
The individual quotas to allocate
map<string, .istio.mixer.v1.CheckRequest.QuotaParams> quotas = 4 [(.gogoproto.nullable) = false];getQuotasMap in interface Check.CheckRequestOrBuilderpublic Check.CheckRequest.QuotaParams getQuotasOrDefault(String key, Check.CheckRequest.QuotaParams defaultValue)
The individual quotas to allocate
map<string, .istio.mixer.v1.CheckRequest.QuotaParams> quotas = 4 [(.gogoproto.nullable) = false];getQuotasOrDefault in interface Check.CheckRequestOrBuilderpublic Check.CheckRequest.QuotaParams getQuotasOrThrow(String key)
The individual quotas to allocate
map<string, .istio.mixer.v1.CheckRequest.QuotaParams> quotas = 4 [(.gogoproto.nullable) = false];getQuotasOrThrow in interface Check.CheckRequestOrBuilderpublic 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.CheckRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.CheckRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.CheckRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.CheckRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.CheckRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.CheckRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.CheckRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Check.CheckRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Check.CheckRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Check.CheckRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Check.CheckRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Check.CheckRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Check.CheckRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Check.CheckRequest.Builder newBuilder()
public static Check.CheckRequest.Builder newBuilder(Check.CheckRequest prototype)
public Check.CheckRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Check.CheckRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Check.CheckRequest getDefaultInstance()
public static com.google.protobuf.Parser<Check.CheckRequest> parser()
public com.google.protobuf.Parser<Check.CheckRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Check.CheckRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 WSO2. All rights reserved.