Class RuntimeConfig.VertexAISearchRuntimeConfig.Builder (3.44.0)

public static final class RuntimeConfig.VertexAISearchRuntimeConfig.Builder extends GeneratedMessageV3.Builder<RuntimeConfig.VertexAISearchRuntimeConfig.Builder> implements RuntimeConfig.VertexAISearchRuntimeConfigOrBuilder

Protobuf type google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder
Overrides

build()

public RuntimeConfig.VertexAISearchRuntimeConfig build()
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig

buildPartial()

public RuntimeConfig.VertexAISearchRuntimeConfig buildPartial()
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig

clear()

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder clear()
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder
Overrides

clearAppId()

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder clearAppId()

Vertex AI Search App ID. This is used to construct the search request. By setting this app_id, API will construct the serving config which is required to call search API for the user. The app_id and serving_config_name cannot both be empty at the same time.

string app_id = 2;

Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder
Overrides

clearServingConfigName() (deprecated)

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder clearServingConfigName()

Deprecated. google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig.serving_config_name is deprecated. See google/cloud/aiplatform/v1beta1/extension.proto;l=346

[Deprecated] Please use app_id instead. Vertex AI Search serving config name. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}

string serving_config_name = 1 [deprecated = true];

Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder

This builder for chaining.

clone()

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder clone()
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder
Overrides

getAppId()

public String getAppId()

Vertex AI Search App ID. This is used to construct the search request. By setting this app_id, API will construct the serving config which is required to call search API for the user. The app_id and serving_config_name cannot both be empty at the same time.

string app_id = 2;

Returns
Type Description
String

The appId.

getAppIdBytes()

public ByteString getAppIdBytes()

Vertex AI Search App ID. This is used to construct the search request. By setting this app_id, API will construct the serving config which is required to call search API for the user. The app_id and serving_config_name cannot both be empty at the same time.

string app_id = 2;

Returns
Type Description
ByteString

The bytes for appId.

getDefaultInstanceForType()

public RuntimeConfig.VertexAISearchRuntimeConfig getDefaultInstanceForType()
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getServingConfigName() (deprecated)

public String getServingConfigName()

Deprecated. google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig.serving_config_name is deprecated. See google/cloud/aiplatform/v1beta1/extension.proto;l=346

[Deprecated] Please use app_id instead. Vertex AI Search serving config name. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}

string serving_config_name = 1 [deprecated = true];

Returns
Type Description
String

The servingConfigName.

getServingConfigNameBytes() (deprecated)

public ByteString getServingConfigNameBytes()

Deprecated. google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig.serving_config_name is deprecated. See google/cloud/aiplatform/v1beta1/extension.proto;l=346

[Deprecated] Please use app_id instead. Vertex AI Search serving config name. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}

string serving_config_name = 1 [deprecated = true];

Returns
Type Description
ByteString

The bytes for servingConfigName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RuntimeConfig.VertexAISearchRuntimeConfig other)

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder mergeFrom(RuntimeConfig.VertexAISearchRuntimeConfig other)
Parameter
Name Description
other RuntimeConfig.VertexAISearchRuntimeConfig
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.VertexAISearchRuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder
Overrides

setAppId(String value)

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder setAppId(String value)

Vertex AI Search App ID. This is used to construct the search request. By setting this app_id, API will construct the serving config which is required to call search API for the user. The app_id and serving_config_name cannot both be empty at the same time.

string app_id = 2;

Parameter
Name Description
value String

The appId to set.

Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder

This builder for chaining.

setAppIdBytes(ByteString value)

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder setAppIdBytes(ByteString value)

Vertex AI Search App ID. This is used to construct the search request. By setting this app_id, API will construct the serving config which is required to call search API for the user. The app_id and serving_config_name cannot both be empty at the same time.

string app_id = 2;

Parameter
Name Description
value ByteString

The bytes for appId to set.

Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder
Overrides

setServingConfigName(String value) (deprecated)

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder setServingConfigName(String value)

Deprecated. google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig.serving_config_name is deprecated. See google/cloud/aiplatform/v1beta1/extension.proto;l=346

[Deprecated] Please use app_id instead. Vertex AI Search serving config name. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}

string serving_config_name = 1 [deprecated = true];

Parameter
Name Description
value String

The servingConfigName to set.

Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder

This builder for chaining.

setServingConfigNameBytes(ByteString value) (deprecated)

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder setServingConfigNameBytes(ByteString value)

Deprecated. google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig.serving_config_name is deprecated. See google/cloud/aiplatform/v1beta1/extension.proto;l=346

[Deprecated] Please use app_id instead. Vertex AI Search serving config name. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}

string serving_config_name = 1 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for servingConfigName to set.

Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.VertexAISearchRuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder
Overrides