public static final class Tool.ParallelAiSearch.Builder extends GeneratedMessage.Builder<Tool.ParallelAiSearch.Builder> implements Tool.ParallelAiSearchOrBuilderParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for grounding.
Protobuf type google.cloud.aiplatform.v1beta1.Tool.ParallelAiSearch
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Tool.ParallelAiSearch.BuilderImplements
Tool.ParallelAiSearchOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Tool.ParallelAiSearch build()| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch |
|
buildPartial()
public Tool.ParallelAiSearch buildPartial()| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch |
|
clear()
public Tool.ParallelAiSearch.Builder clear()| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch.Builder |
|
clearApiKey()
public Tool.ParallelAiSearch.Builder clearApiKey()Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details.
string api_key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch.Builder |
This builder for chaining. |
clearCustomConfigs()
public Tool.ParallelAiSearch.Builder clearCustomConfigs() Optional. Custom configs for ParallelAiSearch.
This field can be used to pass any parameter from the Parallel.ai
Search API.
See the Parallel.ai documentation for the full list of available
parameters and their usage:
https://docs.parallel.ai/api-reference/search-beta/search
Currently only source_policy, excerpts, max_results, mode,
fetch_policy can be set via this field. For example:
{
"source_policy": {
"include_domains": ["google.com", "wikipedia.org"],
"exclude_domains": ["example.com"]
},
"fetch_policy": {
"max_age_seconds": 3600
}
}
.google.protobuf.Struct custom_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch.Builder |
|
clearEnableZeroDataRetention()
public Tool.ParallelAiSearch.Builder clearEnableZeroDataRetention()Optional. Instructs Vertex Grounding to use Parallel's Zero Data Retention Marketplace product. If this value is "false" or omitted, the Parallel Web Search for Grounding standard subscription will be used. If this value is "true", the Parallel Web Search for Grounding - ZDR subscription will be used.
bool enable_zero_data_retention = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch.Builder |
This builder for chaining. |
getApiKey()
public String getApiKey()Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details.
string api_key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The apiKey. |
getApiKeyBytes()
public ByteString getApiKeyBytes()Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details.
string api_key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for apiKey. |
getCustomConfigs()
public Struct getCustomConfigs() Optional. Custom configs for ParallelAiSearch.
This field can be used to pass any parameter from the Parallel.ai
Search API.
See the Parallel.ai documentation for the full list of available
parameters and their usage:
https://docs.parallel.ai/api-reference/search-beta/search
Currently only source_policy, excerpts, max_results, mode,
fetch_policy can be set via this field. For example:
{
"source_policy": {
"include_domains": ["google.com", "wikipedia.org"],
"exclude_domains": ["example.com"]
},
"fetch_policy": {
"max_age_seconds": 3600
}
}
.google.protobuf.Struct custom_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The customConfigs. |
getCustomConfigsBuilder()
public Struct.Builder getCustomConfigsBuilder() Optional. Custom configs for ParallelAiSearch.
This field can be used to pass any parameter from the Parallel.ai
Search API.
See the Parallel.ai documentation for the full list of available
parameters and their usage:
https://docs.parallel.ai/api-reference/search-beta/search
Currently only source_policy, excerpts, max_results, mode,
fetch_policy can be set via this field. For example:
{
"source_policy": {
"include_domains": ["google.com", "wikipedia.org"],
"exclude_domains": ["example.com"]
},
"fetch_policy": {
"max_age_seconds": 3600
}
}
.google.protobuf.Struct custom_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCustomConfigsOrBuilder()
public StructOrBuilder getCustomConfigsOrBuilder() Optional. Custom configs for ParallelAiSearch.
This field can be used to pass any parameter from the Parallel.ai
Search API.
See the Parallel.ai documentation for the full list of available
parameters and their usage:
https://docs.parallel.ai/api-reference/search-beta/search
Currently only source_policy, excerpts, max_results, mode,
fetch_policy can be set via this field. For example:
{
"source_policy": {
"include_domains": ["google.com", "wikipedia.org"],
"exclude_domains": ["example.com"]
},
"fetch_policy": {
"max_age_seconds": 3600
}
}
.google.protobuf.Struct custom_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getDefaultInstanceForType()
public Tool.ParallelAiSearch getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnableZeroDataRetention()
public boolean getEnableZeroDataRetention()Optional. Instructs Vertex Grounding to use Parallel's Zero Data Retention Marketplace product. If this value is "false" or omitted, the Parallel Web Search for Grounding standard subscription will be used. If this value is "true", the Parallel Web Search for Grounding - ZDR subscription will be used.
bool enable_zero_data_retention = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableZeroDataRetention. |
hasCustomConfigs()
public boolean hasCustomConfigs() Optional. Custom configs for ParallelAiSearch.
This field can be used to pass any parameter from the Parallel.ai
Search API.
See the Parallel.ai documentation for the full list of available
parameters and their usage:
https://docs.parallel.ai/api-reference/search-beta/search
Currently only source_policy, excerpts, max_results, mode,
fetch_policy can be set via this field. For example:
{
"source_policy": {
"include_domains": ["google.com", "wikipedia.org"],
"exclude_domains": ["example.com"]
},
"fetch_policy": {
"max_age_seconds": 3600
}
}
.google.protobuf.Struct custom_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customConfigs field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCustomConfigs(Struct value)
public Tool.ParallelAiSearch.Builder mergeCustomConfigs(Struct value) Optional. Custom configs for ParallelAiSearch.
This field can be used to pass any parameter from the Parallel.ai
Search API.
See the Parallel.ai documentation for the full list of available
parameters and their usage:
https://docs.parallel.ai/api-reference/search-beta/search
Currently only source_policy, excerpts, max_results, mode,
fetch_policy can be set via this field. For example:
{
"source_policy": {
"include_domains": ["google.com", "wikipedia.org"],
"exclude_domains": ["example.com"]
},
"fetch_policy": {
"max_age_seconds": 3600
}
}
.google.protobuf.Struct custom_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch.Builder |
|
mergeFrom(Tool.ParallelAiSearch other)
public Tool.ParallelAiSearch.Builder mergeFrom(Tool.ParallelAiSearch other)| Parameter | |
|---|---|
| Name | Description |
other |
Tool.ParallelAiSearch |
| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Tool.ParallelAiSearch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Tool.ParallelAiSearch.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch.Builder |
|
setApiKey(String value)
public Tool.ParallelAiSearch.Builder setApiKey(String value)Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details.
string api_key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe apiKey to set. |
| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch.Builder |
This builder for chaining. |
setApiKeyBytes(ByteString value)
public Tool.ParallelAiSearch.Builder setApiKeyBytes(ByteString value)Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details.
string api_key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for apiKey to set. |
| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch.Builder |
This builder for chaining. |
setCustomConfigs(Struct value)
public Tool.ParallelAiSearch.Builder setCustomConfigs(Struct value) Optional. Custom configs for ParallelAiSearch.
This field can be used to pass any parameter from the Parallel.ai
Search API.
See the Parallel.ai documentation for the full list of available
parameters and their usage:
https://docs.parallel.ai/api-reference/search-beta/search
Currently only source_policy, excerpts, max_results, mode,
fetch_policy can be set via this field. For example:
{
"source_policy": {
"include_domains": ["google.com", "wikipedia.org"],
"exclude_domains": ["example.com"]
},
"fetch_policy": {
"max_age_seconds": 3600
}
}
.google.protobuf.Struct custom_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch.Builder |
|
setCustomConfigs(Struct.Builder builderForValue)
public Tool.ParallelAiSearch.Builder setCustomConfigs(Struct.Builder builderForValue) Optional. Custom configs for ParallelAiSearch.
This field can be used to pass any parameter from the Parallel.ai
Search API.
See the Parallel.ai documentation for the full list of available
parameters and their usage:
https://docs.parallel.ai/api-reference/search-beta/search
Currently only source_policy, excerpts, max_results, mode,
fetch_policy can be set via this field. For example:
{
"source_policy": {
"include_domains": ["google.com", "wikipedia.org"],
"exclude_domains": ["example.com"]
},
"fetch_policy": {
"max_age_seconds": 3600
}
}
.google.protobuf.Struct custom_configs = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch.Builder |
|
setEnableZeroDataRetention(boolean value)
public Tool.ParallelAiSearch.Builder setEnableZeroDataRetention(boolean value)Optional. Instructs Vertex Grounding to use Parallel's Zero Data Retention Marketplace product. If this value is "false" or omitted, the Parallel Web Search for Grounding standard subscription will be used. If this value is "true", the Parallel Web Search for Grounding - ZDR subscription will be used.
bool enable_zero_data_retention = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableZeroDataRetention to set. |
| Returns | |
|---|---|
| Type | Description |
Tool.ParallelAiSearch.Builder |
This builder for chaining. |