Send feedback
Class RuntimeConfig.VertexAISearchRuntimeConfig.Builder (3.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.52.0 keyboard_arrow_down
public static final class RuntimeConfig . VertexAISearchRuntimeConfig . Builder extends GeneratedMessageV3 . Builder<RuntimeConfig . VertexAISearchRuntimeConfig . Builder > implements RuntimeConfig . VertexAISearchRuntimeConfigOrBuilder
Protobuf type
google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public RuntimeConfig . VertexAISearchRuntimeConfig build ()
public RuntimeConfig . VertexAISearchRuntimeConfig buildPartial ()
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder clear ()
Overrides
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder clearEngineId ()
Optional. Vertex AI Search engine ID. This is used to construct the
search request. By setting this engine_id, API will construct the serving
config using the default value to call search API for the user. The
engine_id and serving_config_name cannot both be empty at the same time.
string engine_id = 2 [(.google.api.field_behavior) = OPTIONAL];
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder clearServingConfigName ()
Optional. Vertex AI Search serving config name. Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}
string serving_config_name = 1 [(.google.api.field_behavior) = OPTIONAL];
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder clone ()
Overrides
public RuntimeConfig . VertexAISearchRuntimeConfig getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public String getEngineId ()
Optional. Vertex AI Search engine ID. This is used to construct the
search request. By setting this engine_id, API will construct the serving
config using the default value to call search API for the user. The
engine_id and serving_config_name cannot both be empty at the same time.
string engine_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The engineId.
public ByteString getEngineIdBytes ()
Optional. Vertex AI Search engine ID. This is used to construct the
search request. By setting this engine_id, API will construct the serving
config using the default value to call search API for the user. The
engine_id and serving_config_name cannot both be empty at the same time.
string engine_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for engineId.
public String getServingConfigName ()
Optional. Vertex AI Search serving config name. Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}
string serving_config_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The servingConfigName.
public ByteString getServingConfigNameBytes ()
Optional. Vertex AI Search serving config name. Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}
string serving_config_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for servingConfigName.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder mergeFrom ( RuntimeConfig . VertexAISearchRuntimeConfig other )
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final RuntimeConfig . VertexAISearchRuntimeConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder setEngineId ( String value )
Optional. Vertex AI Search engine ID. This is used to construct the
search request. By setting this engine_id, API will construct the serving
config using the default value to call search API for the user. The
engine_id and serving_config_name cannot both be empty at the same time.
string engine_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
String
The engineId to set.
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder setEngineIdBytes ( ByteString value )
Optional. Vertex AI Search engine ID. This is used to construct the
search request. By setting this engine_id, API will construct the serving
config using the default value to call search API for the user. The
engine_id and serving_config_name cannot both be empty at the same time.
string engine_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
ByteString
The bytes for engineId to set.
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder setServingConfigName ( String value )
Optional. Vertex AI Search serving config name. Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}
string serving_config_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
String
The servingConfigName to set.
public RuntimeConfig . VertexAISearchRuntimeConfig . Builder setServingConfigNameBytes ( ByteString value )
Optional. Vertex AI Search serving config name. Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}
string serving_config_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
ByteString
The bytes for servingConfigName to set.
public final RuntimeConfig . VertexAISearchRuntimeConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]