public static final class GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder extends GeneratedMessage.Builder<GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder> implements GenerateGroundedContentRequest.GroundingSource.GoogleSearchSourceOrBuilderGoogle Search config parameters.
Protobuf type
google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExcludeDomains(Iterable<String> values)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder addAllExcludeDomains(Iterable<String> values)Optional. List of domains to be excluded from the search results.
repeated string exclude_domains = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The excludeDomains to add. |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
This builder for chaining. |
addExcludeDomains(String value)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder addExcludeDomains(String value)Optional. List of domains to be excluded from the search results.
repeated string exclude_domains = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe excludeDomains to add. |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
This builder for chaining. |
addExcludeDomainsBytes(ByteString value)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder addExcludeDomainsBytes(ByteString value)Optional. List of domains to be excluded from the search results.
repeated string exclude_domains = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the excludeDomains to add. |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
This builder for chaining. |
build()
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource build()| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource |
|
buildPartial()
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource |
|
clear()
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
|
clearBlockingConfidence()
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clearBlockingConfidence()Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
.google.cloud.discoveryengine.v1beta.Citation.PhishBlockThreshold blocking_confidence = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
This builder for chaining. |
clearDynamicRetrievalConfig()
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clearDynamicRetrievalConfig()Optional. Specifies the dynamic retrieval configuration for the given source.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
|
clearExcludeDomains()
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder clearExcludeDomains()Optional. List of domains to be excluded from the search results.
repeated string exclude_domains = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
This builder for chaining. |
getBlockingConfidence()
public Citation.PhishBlockThreshold getBlockingConfidence()Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
.google.cloud.discoveryengine.v1beta.Citation.PhishBlockThreshold blocking_confidence = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Citation.PhishBlockThreshold |
The blockingConfidence. |
getBlockingConfidenceValue()
public int getBlockingConfidenceValue()Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
.google.cloud.discoveryengine.v1beta.Citation.PhishBlockThreshold blocking_confidence = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for blockingConfidence. |
getDefaultInstanceForType()
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDynamicRetrievalConfig()
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration getDynamicRetrievalConfig()Optional. Specifies the dynamic retrieval configuration for the given source.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.DynamicRetrievalConfiguration |
The dynamicRetrievalConfig. |
getDynamicRetrievalConfigBuilder()
public GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder getDynamicRetrievalConfigBuilder()Optional. Specifies the dynamic retrieval configuration for the given source.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder |
|
getDynamicRetrievalConfigOrBuilder()
public GenerateGroundedContentRequest.DynamicRetrievalConfigurationOrBuilder getDynamicRetrievalConfigOrBuilder()Optional. Specifies the dynamic retrieval configuration for the given source.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.DynamicRetrievalConfigurationOrBuilder |
|
getExcludeDomains(int index)
public String getExcludeDomains(int index)Optional. List of domains to be excluded from the search results.
repeated string exclude_domains = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The excludeDomains at the given index. |
getExcludeDomainsBytes(int index)
public ByteString getExcludeDomainsBytes(int index)Optional. List of domains to be excluded from the search results.
repeated string exclude_domains = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the excludeDomains at the given index. |
getExcludeDomainsCount()
public int getExcludeDomainsCount()Optional. List of domains to be excluded from the search results.
repeated string exclude_domains = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of excludeDomains. |
getExcludeDomainsList()
public ProtocolStringList getExcludeDomainsList()Optional. List of domains to be excluded from the search results.
repeated string exclude_domains = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the excludeDomains. |
hasDynamicRetrievalConfig()
public boolean hasDynamicRetrievalConfig()Optional. Specifies the dynamic retrieval configuration for the given source.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dynamicRetrievalConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration value)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder mergeDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration value)Optional. Specifies the dynamic retrieval configuration for the given source.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
GenerateGroundedContentRequest.DynamicRetrievalConfiguration |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
|
mergeFrom(GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource other)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder mergeFrom(GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
|
setBlockingConfidence(Citation.PhishBlockThreshold value)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder setBlockingConfidence(Citation.PhishBlockThreshold value)Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
.google.cloud.discoveryengine.v1beta.Citation.PhishBlockThreshold blocking_confidence = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Citation.PhishBlockThresholdThe blockingConfidence to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
This builder for chaining. |
setBlockingConfidenceValue(int value)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder setBlockingConfidenceValue(int value)Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
.google.cloud.discoveryengine.v1beta.Citation.PhishBlockThreshold blocking_confidence = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for blockingConfidence to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
This builder for chaining. |
setDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration value)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder setDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration value)Optional. Specifies the dynamic retrieval configuration for the given source.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
GenerateGroundedContentRequest.DynamicRetrievalConfiguration |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
|
setDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder builderForValue)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder setDynamicRetrievalConfig(GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder builderForValue)Optional. Specifies the dynamic retrieval configuration for the given source.
.google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.DynamicRetrievalConfiguration dynamic_retrieval_config = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.Builder |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
|
setExcludeDomains(int index, String value)
public GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder setExcludeDomains(int index, String value)Optional. List of domains to be excluded from the search results.
repeated string exclude_domains = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludeDomains to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource.GoogleSearchSource.Builder |
This builder for chaining. |