public static final class Check.CheckRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckRequest.Builder> implements Check.CheckRequestOrBuilder
Used to get a thumbs-up/thumbs-down before performing an action.Protobuf type
istio.mixer.v1.CheckRequest| Modifier and Type | Method and Description |
|---|---|
Check.CheckRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Check.CheckRequest |
build() |
Check.CheckRequest |
buildPartial() |
Check.CheckRequest.Builder |
clear() |
Check.CheckRequest.Builder |
clearAttributes()
The attributes to use for this request.
|
Check.CheckRequest.Builder |
clearDeduplicationId()
Used for deduplicating `Check` calls in the case of failed RPCs and retries.
|
Check.CheckRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Check.CheckRequest.Builder |
clearGlobalWordCount()
The number of words in the global dictionary, used with to populate the attributes.
|
Check.CheckRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Check.CheckRequest.Builder |
clearQuotas() |
Check.CheckRequest.Builder |
clone() |
boolean |
containsQuotas(String key)
The individual quotas to allocate
|
AttributesOuterClass.CompressedAttributes |
getAttributes()
The attributes to use for this request.
|
AttributesOuterClass.CompressedAttributes.Builder |
getAttributesBuilder()
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.
|
Check.CheckRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getGlobalWordCount()
The number of words in the global dictionary, used with to populate the attributes.
|
Map<String,Check.CheckRequest.QuotaParams> |
getMutableQuotas()
Deprecated.
|
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
|
boolean |
hasAttributes()
The attributes to use for this request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Check.CheckRequest.Builder |
mergeAttributes(AttributesOuterClass.CompressedAttributes value)
The attributes to use for this request.
|
Check.CheckRequest.Builder |
mergeFrom(Check.CheckRequest other) |
Check.CheckRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Check.CheckRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Check.CheckRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Check.CheckRequest.Builder |
putAllQuotas(Map<String,Check.CheckRequest.QuotaParams> values)
The individual quotas to allocate
|
Check.CheckRequest.Builder |
putQuotas(String key,
Check.CheckRequest.QuotaParams value)
The individual quotas to allocate
|
Check.CheckRequest.Builder |
removeQuotas(String key)
The individual quotas to allocate
|
Check.CheckRequest.Builder |
setAttributes(AttributesOuterClass.CompressedAttributes.Builder builderForValue)
The attributes to use for this request.
|
Check.CheckRequest.Builder |
setAttributes(AttributesOuterClass.CompressedAttributes value)
The attributes to use for this request.
|
Check.CheckRequest.Builder |
setDeduplicationId(String value)
Used for deduplicating `Check` calls in the case of failed RPCs and retries.
|
Check.CheckRequest.Builder |
setDeduplicationIdBytes(com.google.protobuf.ByteString value)
Used for deduplicating `Check` calls in the case of failed RPCs and retries.
|
Check.CheckRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Check.CheckRequest.Builder |
setGlobalWordCount(int value)
The number of words in the global dictionary, used with to populate the attributes.
|
Check.CheckRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Check.CheckRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckRequest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckRequest.Builder>public Check.CheckRequest.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.CheckRequest.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.CheckRequest.Builder>public Check.CheckRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Check.CheckRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Check.CheckRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Check.CheckRequest.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.CheckRequest.Builder>public Check.CheckRequest.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.CheckRequest.Builder>public Check.CheckRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckRequest.Builder>public Check.CheckRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckRequest.Builder>public Check.CheckRequest.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.CheckRequest.Builder>public Check.CheckRequest.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.CheckRequest.Builder>public Check.CheckRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Check.CheckRequest.Builder>public Check.CheckRequest.Builder mergeFrom(Check.CheckRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckRequest.Builder>public Check.CheckRequest.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.CheckRequest.Builder>IOExceptionpublic 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 Check.CheckRequest.Builder setAttributes(AttributesOuterClass.CompressedAttributes value)
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];public Check.CheckRequest.Builder setAttributes(AttributesOuterClass.CompressedAttributes.Builder builderForValue)
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];public Check.CheckRequest.Builder mergeAttributes(AttributesOuterClass.CompressedAttributes value)
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];public Check.CheckRequest.Builder clearAttributes()
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];public AttributesOuterClass.CompressedAttributes.Builder getAttributesBuilder()
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];public 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 Check.CheckRequest.Builder setGlobalWordCount(int value)
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;public Check.CheckRequest.Builder clearGlobalWordCount()
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;public 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 Check.CheckRequest.Builder setDeduplicationId(String value)
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;public Check.CheckRequest.Builder clearDeduplicationId()
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;public Check.CheckRequest.Builder setDeduplicationIdBytes(com.google.protobuf.ByteString value)
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;public 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 Check.CheckRequest.Builder clearQuotas()
public Check.CheckRequest.Builder removeQuotas(String key)
The individual quotas to allocate
map<string, .istio.mixer.v1.CheckRequest.QuotaParams> quotas = 4 [(.gogoproto.nullable) = false];@Deprecated public Map<String,Check.CheckRequest.QuotaParams> getMutableQuotas()
public Check.CheckRequest.Builder putQuotas(String key, Check.CheckRequest.QuotaParams value)
The individual quotas to allocate
map<string, .istio.mixer.v1.CheckRequest.QuotaParams> quotas = 4 [(.gogoproto.nullable) = false];public Check.CheckRequest.Builder putAllQuotas(Map<String,Check.CheckRequest.QuotaParams> values)
The individual quotas to allocate
map<string, .istio.mixer.v1.CheckRequest.QuotaParams> quotas = 4 [(.gogoproto.nullable) = false];public final Check.CheckRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckRequest.Builder>public final Check.CheckRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Check.CheckRequest.Builder>Copyright © 2019 WSO2. All rights reserved.