Interface GenerateGroundedContentRequest.GroundingSource.GoogleSearchSourceOrBuilder (0.90.0)

public static interface GenerateGroundedContentRequest.GroundingSource.GoogleSearchSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBlockingConfidence()

public abstract 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 abstract 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.

getDynamicRetrievalConfig()

public abstract 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.

getDynamicRetrievalConfigOrBuilder()

public abstract 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 abstract 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 int

The index of the element to return.

Returns
Type Description
String

The excludeDomains at the given index.

getExcludeDomainsBytes(int index)

public abstract 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludeDomains at the given index.

getExcludeDomainsCount()

public abstract 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 abstract List<String> 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
List<String>

A list containing the excludeDomains.

hasDynamicRetrievalConfig()

public abstract 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.