public static final class CheckGroundingRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CheckGroundingRequest.Builder> implements CheckGroundingRequestOrBuilder
Request message for [GroundedGenerationService.CheckGrounding][google.cloud.discoveryengine.v1alpha.GroundedGenerationService.CheckGrounding] method.Protobuf type
google.cloud.discoveryengine.v1alpha.CheckGroundingRequest| Modifier and Type | Method and Description |
|---|---|
CheckGroundingRequest.Builder |
addAllFacts(Iterable<? extends GroundingFact> values)
List of facts for the grounding check.
|
CheckGroundingRequest.Builder |
addFacts(GroundingFact.Builder builderForValue)
List of facts for the grounding check.
|
CheckGroundingRequest.Builder |
addFacts(GroundingFact value)
List of facts for the grounding check.
|
CheckGroundingRequest.Builder |
addFacts(int index,
GroundingFact.Builder builderForValue)
List of facts for the grounding check.
|
CheckGroundingRequest.Builder |
addFacts(int index,
GroundingFact value)
List of facts for the grounding check.
|
GroundingFact.Builder |
addFactsBuilder()
List of facts for the grounding check.
|
GroundingFact.Builder |
addFactsBuilder(int index)
List of facts for the grounding check.
|
CheckGroundingRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CheckGroundingRequest |
build() |
CheckGroundingRequest |
buildPartial() |
CheckGroundingRequest.Builder |
clear() |
CheckGroundingRequest.Builder |
clearAnswerCandidate()
Answer candidate to check.
|
CheckGroundingRequest.Builder |
clearFacts()
List of facts for the grounding check.
|
CheckGroundingRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CheckGroundingRequest.Builder |
clearGroundingConfig()
Required.
|
CheckGroundingRequest.Builder |
clearGroundingSpec()
Configuration of the grounding check.
|
CheckGroundingRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CheckGroundingRequest.Builder |
clearUserLabels() |
CheckGroundingRequest.Builder |
clone() |
boolean |
containsUserLabels(String key)
The user labels applied to a resource must meet the following requirements:
* Each resource can have multiple labels, up to a maximum of 64
|
String |
getAnswerCandidate()
Answer candidate to check.
|
com.google.protobuf.ByteString |
getAnswerCandidateBytes()
Answer candidate to check.
|
CheckGroundingRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GroundingFact |
getFacts(int index)
List of facts for the grounding check.
|
GroundingFact.Builder |
getFactsBuilder(int index)
List of facts for the grounding check.
|
List<GroundingFact.Builder> |
getFactsBuilderList()
List of facts for the grounding check.
|
int |
getFactsCount()
List of facts for the grounding check.
|
List<GroundingFact> |
getFactsList()
List of facts for the grounding check.
|
GroundingFactOrBuilder |
getFactsOrBuilder(int index)
List of facts for the grounding check.
|
List<? extends GroundingFactOrBuilder> |
getFactsOrBuilderList()
List of facts for the grounding check.
|
String |
getGroundingConfig()
Required.
|
com.google.protobuf.ByteString |
getGroundingConfigBytes()
Required.
|
CheckGroundingSpec |
getGroundingSpec()
Configuration of the grounding check.
|
CheckGroundingSpec.Builder |
getGroundingSpecBuilder()
Configuration of the grounding check.
|
CheckGroundingSpecOrBuilder |
getGroundingSpecOrBuilder()
Configuration of the grounding check.
|
Map<String,String> |
getMutableUserLabels()
Deprecated.
|
Map<String,String> |
getUserLabels()
Deprecated.
|
int |
getUserLabelsCount()
The user labels applied to a resource must meet the following requirements:
* Each resource can have multiple labels, up to a maximum of 64
|
Map<String,String> |
getUserLabelsMap()
The user labels applied to a resource must meet the following requirements:
* Each resource can have multiple labels, up to a maximum of 64
|
String |
getUserLabelsOrDefault(String key,
String defaultValue)
The user labels applied to a resource must meet the following requirements:
* Each resource can have multiple labels, up to a maximum of 64
|
String |
getUserLabelsOrThrow(String key)
The user labels applied to a resource must meet the following requirements:
* Each resource can have multiple labels, up to a maximum of 64
|
boolean |
hasGroundingSpec()
Configuration of the grounding check.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
CheckGroundingRequest.Builder |
mergeFrom(CheckGroundingRequest other) |
CheckGroundingRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CheckGroundingRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CheckGroundingRequest.Builder |
mergeGroundingSpec(CheckGroundingSpec value)
Configuration of the grounding check.
|
CheckGroundingRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CheckGroundingRequest.Builder |
putAllUserLabels(Map<String,String> values)
The user labels applied to a resource must meet the following requirements:
* Each resource can have multiple labels, up to a maximum of 64
|
CheckGroundingRequest.Builder |
putUserLabels(String key,
String value)
The user labels applied to a resource must meet the following requirements:
* Each resource can have multiple labels, up to a maximum of 64
|
CheckGroundingRequest.Builder |
removeFacts(int index)
List of facts for the grounding check.
|
CheckGroundingRequest.Builder |
removeUserLabels(String key)
The user labels applied to a resource must meet the following requirements:
* Each resource can have multiple labels, up to a maximum of 64
|
CheckGroundingRequest.Builder |
setAnswerCandidate(String value)
Answer candidate to check.
|
CheckGroundingRequest.Builder |
setAnswerCandidateBytes(com.google.protobuf.ByteString value)
Answer candidate to check.
|
CheckGroundingRequest.Builder |
setFacts(int index,
GroundingFact.Builder builderForValue)
List of facts for the grounding check.
|
CheckGroundingRequest.Builder |
setFacts(int index,
GroundingFact value)
List of facts for the grounding check.
|
CheckGroundingRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CheckGroundingRequest.Builder |
setGroundingConfig(String value)
Required.
|
CheckGroundingRequest.Builder |
setGroundingConfigBytes(com.google.protobuf.ByteString value)
Required.
|
CheckGroundingRequest.Builder |
setGroundingSpec(CheckGroundingSpec.Builder builderForValue)
Configuration of the grounding check.
|
CheckGroundingRequest.Builder |
setGroundingSpec(CheckGroundingSpec value)
Configuration of the grounding check.
|
CheckGroundingRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CheckGroundingRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<CheckGroundingRequest.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<CheckGroundingRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CheckGroundingRequest.Builder>public CheckGroundingRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CheckGroundingRequest.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<CheckGroundingRequest.Builder>public CheckGroundingRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CheckGroundingRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CheckGroundingRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CheckGroundingRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CheckGroundingRequest.Builder>public CheckGroundingRequest.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<CheckGroundingRequest.Builder>public CheckGroundingRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckGroundingRequest.Builder>public CheckGroundingRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CheckGroundingRequest.Builder>public CheckGroundingRequest.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<CheckGroundingRequest.Builder>public CheckGroundingRequest.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<CheckGroundingRequest.Builder>public CheckGroundingRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckGroundingRequest.Builder>public CheckGroundingRequest.Builder mergeFrom(CheckGroundingRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CheckGroundingRequest.Builder>public CheckGroundingRequest.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<CheckGroundingRequest.Builder>IOExceptionpublic String getGroundingConfig()
Required. The resource name of the grounding config, such as `projects/*/locations/global/groundingConfigs/default_grounding_config`.
string grounding_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getGroundingConfig in interface CheckGroundingRequestOrBuilderpublic com.google.protobuf.ByteString getGroundingConfigBytes()
Required. The resource name of the grounding config, such as `projects/*/locations/global/groundingConfigs/default_grounding_config`.
string grounding_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getGroundingConfigBytes in interface CheckGroundingRequestOrBuilderpublic CheckGroundingRequest.Builder setGroundingConfig(String value)
Required. The resource name of the grounding config, such as `projects/*/locations/global/groundingConfigs/default_grounding_config`.
string grounding_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The groundingConfig to set.public CheckGroundingRequest.Builder clearGroundingConfig()
Required. The resource name of the grounding config, such as `projects/*/locations/global/groundingConfigs/default_grounding_config`.
string grounding_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CheckGroundingRequest.Builder setGroundingConfigBytes(com.google.protobuf.ByteString value)
Required. The resource name of the grounding config, such as `projects/*/locations/global/groundingConfigs/default_grounding_config`.
string grounding_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for groundingConfig to set.public String getAnswerCandidate()
Answer candidate to check. Can have a maximum length of 1024 characters.
string answer_candidate = 2;getAnswerCandidate in interface CheckGroundingRequestOrBuilderpublic com.google.protobuf.ByteString getAnswerCandidateBytes()
Answer candidate to check. Can have a maximum length of 1024 characters.
string answer_candidate = 2;getAnswerCandidateBytes in interface CheckGroundingRequestOrBuilderpublic CheckGroundingRequest.Builder setAnswerCandidate(String value)
Answer candidate to check. Can have a maximum length of 1024 characters.
string answer_candidate = 2;value - The answerCandidate to set.public CheckGroundingRequest.Builder clearAnswerCandidate()
Answer candidate to check. Can have a maximum length of 1024 characters.
string answer_candidate = 2;public CheckGroundingRequest.Builder setAnswerCandidateBytes(com.google.protobuf.ByteString value)
Answer candidate to check. Can have a maximum length of 1024 characters.
string answer_candidate = 2;value - The bytes for answerCandidate to set.public List<GroundingFact> getFactsList()
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;getFactsList in interface CheckGroundingRequestOrBuilderpublic int getFactsCount()
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;getFactsCount in interface CheckGroundingRequestOrBuilderpublic GroundingFact getFacts(int index)
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;getFacts in interface CheckGroundingRequestOrBuilderpublic CheckGroundingRequest.Builder setFacts(int index, GroundingFact value)
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;public CheckGroundingRequest.Builder setFacts(int index, GroundingFact.Builder builderForValue)
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;public CheckGroundingRequest.Builder addFacts(GroundingFact value)
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;public CheckGroundingRequest.Builder addFacts(int index, GroundingFact value)
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;public CheckGroundingRequest.Builder addFacts(GroundingFact.Builder builderForValue)
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;public CheckGroundingRequest.Builder addFacts(int index, GroundingFact.Builder builderForValue)
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;public CheckGroundingRequest.Builder addAllFacts(Iterable<? extends GroundingFact> values)
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;public CheckGroundingRequest.Builder clearFacts()
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;public CheckGroundingRequest.Builder removeFacts(int index)
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;public GroundingFact.Builder getFactsBuilder(int index)
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;public GroundingFactOrBuilder getFactsOrBuilder(int index)
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;getFactsOrBuilder in interface CheckGroundingRequestOrBuilderpublic List<? extends GroundingFactOrBuilder> getFactsOrBuilderList()
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;getFactsOrBuilderList in interface CheckGroundingRequestOrBuilderpublic GroundingFact.Builder addFactsBuilder()
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;public GroundingFact.Builder addFactsBuilder(int index)
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;public List<GroundingFact.Builder> getFactsBuilderList()
List of facts for the grounding check. We support up to 200 facts.
repeated .google.cloud.discoveryengine.v1alpha.GroundingFact facts = 3;public boolean hasGroundingSpec()
Configuration of the grounding check.
.google.cloud.discoveryengine.v1alpha.CheckGroundingSpec grounding_spec = 4;hasGroundingSpec in interface CheckGroundingRequestOrBuilderpublic CheckGroundingSpec getGroundingSpec()
Configuration of the grounding check.
.google.cloud.discoveryengine.v1alpha.CheckGroundingSpec grounding_spec = 4;getGroundingSpec in interface CheckGroundingRequestOrBuilderpublic CheckGroundingRequest.Builder setGroundingSpec(CheckGroundingSpec value)
Configuration of the grounding check.
.google.cloud.discoveryengine.v1alpha.CheckGroundingSpec grounding_spec = 4;public CheckGroundingRequest.Builder setGroundingSpec(CheckGroundingSpec.Builder builderForValue)
Configuration of the grounding check.
.google.cloud.discoveryengine.v1alpha.CheckGroundingSpec grounding_spec = 4;public CheckGroundingRequest.Builder mergeGroundingSpec(CheckGroundingSpec value)
Configuration of the grounding check.
.google.cloud.discoveryengine.v1alpha.CheckGroundingSpec grounding_spec = 4;public CheckGroundingRequest.Builder clearGroundingSpec()
Configuration of the grounding check.
.google.cloud.discoveryengine.v1alpha.CheckGroundingSpec grounding_spec = 4;public CheckGroundingSpec.Builder getGroundingSpecBuilder()
Configuration of the grounding check.
.google.cloud.discoveryengine.v1alpha.CheckGroundingSpec grounding_spec = 4;public CheckGroundingSpecOrBuilder getGroundingSpecOrBuilder()
Configuration of the grounding check.
.google.cloud.discoveryengine.v1alpha.CheckGroundingSpec grounding_spec = 4;getGroundingSpecOrBuilder in interface CheckGroundingRequestOrBuilderpublic int getUserLabelsCount()
CheckGroundingRequestOrBuilderThe user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
map<string, string> user_labels = 5;getUserLabelsCount in interface CheckGroundingRequestOrBuilderpublic boolean containsUserLabels(String key)
The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
map<string, string> user_labels = 5;containsUserLabels in interface CheckGroundingRequestOrBuilder@Deprecated public Map<String,String> getUserLabels()
getUserLabelsMap() instead.getUserLabels in interface CheckGroundingRequestOrBuilderpublic Map<String,String> getUserLabelsMap()
The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
map<string, string> user_labels = 5;getUserLabelsMap in interface CheckGroundingRequestOrBuilderpublic String getUserLabelsOrDefault(String key, String defaultValue)
The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
map<string, string> user_labels = 5;getUserLabelsOrDefault in interface CheckGroundingRequestOrBuilderpublic String getUserLabelsOrThrow(String key)
The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
map<string, string> user_labels = 5;getUserLabelsOrThrow in interface CheckGroundingRequestOrBuilderpublic CheckGroundingRequest.Builder clearUserLabels()
public CheckGroundingRequest.Builder removeUserLabels(String key)
The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
map<string, string> user_labels = 5;@Deprecated public Map<String,String> getMutableUserLabels()
public CheckGroundingRequest.Builder putUserLabels(String key, String value)
The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
map<string, string> user_labels = 5;public CheckGroundingRequest.Builder putAllUserLabels(Map<String,String> values)
The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.
map<string, string> user_labels = 5;public final CheckGroundingRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckGroundingRequest.Builder>public final CheckGroundingRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckGroundingRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.