Interface Tool.GoogleSearchOrBuilder (3.77.0)

public static interface Tool.GoogleSearchOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBlockingConfidence()

public abstract Tool.PhishBlockThreshold getBlockingConfidence()

Optional. Sites with confidence level chosen & above this value will be blocked from the search results.

optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tool.PhishBlockThreshold

The blockingConfidence.

getBlockingConfidenceValue()

public abstract int getBlockingConfidenceValue()

Optional. Sites with confidence level chosen & above this value will be blocked from the search results.

optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for blockingConfidence.

getExcludeDomains(int index)

public abstract String getExcludeDomains(int index)

Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].

repeated string exclude_domains = 3 [(.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. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].

repeated string exclude_domains = 3 [(.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. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].

repeated string exclude_domains = 3 [(.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. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"].

repeated string exclude_domains = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the excludeDomains.

hasBlockingConfidence()

public abstract boolean hasBlockingConfidence()

Optional. Sites with confidence level chosen & above this value will be blocked from the search results.

optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the blockingConfidence field is set.