Interface Tool.GoogleSearchOrBuilder (3.73.0)

public static interface Tool.GoogleSearchOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.