Class VertexAiSearchConfig.Builder (3.56.0)

public static final class VertexAiSearchConfig.Builder extends GeneratedMessageV3.Builder<VertexAiSearchConfig.Builder> implements VertexAiSearchConfigOrBuilder

Config for the Vertex AI Search.

Protobuf type google.cloud.aiplatform.v1beta1.VertexAiSearchConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VertexAiSearchConfig build()
Returns
Type Description
VertexAiSearchConfig

buildPartial()

public VertexAiSearchConfig buildPartial()
Returns
Type Description
VertexAiSearchConfig

clear()

public VertexAiSearchConfig.Builder clear()
Returns
Type Description
VertexAiSearchConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServingConfig()

public VertexAiSearchConfig.Builder clearServingConfig()

Vertex AI Search Serving Config resource full name. For example, projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config} or projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}.

string serving_config = 1;

Returns
Type Description
VertexAiSearchConfig.Builder

This builder for chaining.

clone()

public VertexAiSearchConfig.Builder clone()
Returns
Type Description
VertexAiSearchConfig.Builder
Overrides

getDefaultInstanceForType()

public VertexAiSearchConfig getDefaultInstanceForType()
Returns
Type Description
VertexAiSearchConfig

getDescriptorForType()

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

getServingConfig()

public String getServingConfig()

Vertex AI Search Serving Config resource full name. For example, projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config} or projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}.

string serving_config = 1;

Returns
Type Description
String

The servingConfig.

getServingConfigBytes()

public ByteString getServingConfigBytes()

Vertex AI Search Serving Config resource full name. For example, projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config} or projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}.

string serving_config = 1;

Returns
Type Description
ByteString

The bytes for servingConfig.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VertexAiSearchConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setServingConfig(String value)

public VertexAiSearchConfig.Builder setServingConfig(String value)

Vertex AI Search Serving Config resource full name. For example, projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config} or projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}.

string serving_config = 1;

Parameter
Name Description
value String

The servingConfig to set.

Returns
Type Description
VertexAiSearchConfig.Builder

This builder for chaining.

setServingConfigBytes(ByteString value)

public VertexAiSearchConfig.Builder setServingConfigBytes(ByteString value)

Vertex AI Search Serving Config resource full name. For example, projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config} or projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}.

string serving_config = 1;

Parameter
Name Description
value ByteString

The bytes for servingConfig to set.

Returns
Type Description
VertexAiSearchConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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