Class RuntimeConfig.Builder (3.84.0)

public static final class RuntimeConfig.Builder extends GeneratedMessage.Builder<RuntimeConfig.Builder> implements RuntimeConfigOrBuilder

Runtime configuration to run the extension.

Protobuf type google.cloud.aiplatform.v1beta1.RuntimeConfig

Static Methods

getDescriptor()

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

Methods

build()

public RuntimeConfig build()
Returns
Type Description
RuntimeConfig

buildPartial()

public RuntimeConfig buildPartial()
Returns
Type Description
RuntimeConfig

clear()

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

clearCodeInterpreterRuntimeConfig()

public RuntimeConfig.Builder clearCodeInterpreterRuntimeConfig()

Code execution runtime configurations for code interpreter extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;

Returns
Type Description
RuntimeConfig.Builder

clearDefaultParams()

public RuntimeConfig.Builder clearDefaultParams()

Optional. Default parameters that will be set for all the execution of this extension. If specified, the parameter values can be overridden by values in [[ExecuteExtensionRequest.operation_params]] at request time.

The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}.

.google.protobuf.Struct default_params = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RuntimeConfig.Builder

clearGoogleFirstPartyExtensionConfig()

public RuntimeConfig.Builder clearGoogleFirstPartyExtensionConfig()
Returns
Type Description
RuntimeConfig.Builder

clearVertexAiSearchRuntimeConfig()

public RuntimeConfig.Builder clearVertexAiSearchRuntimeConfig()

Runtime configuration for Vertex AI Search extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;

Returns
Type Description
RuntimeConfig.Builder

getCodeInterpreterRuntimeConfig()

public RuntimeConfig.CodeInterpreterRuntimeConfig getCodeInterpreterRuntimeConfig()

Code execution runtime configurations for code interpreter extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;

Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig

The codeInterpreterRuntimeConfig.

getCodeInterpreterRuntimeConfigBuilder()

public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder getCodeInterpreterRuntimeConfigBuilder()

Code execution runtime configurations for code interpreter extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;

Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig.Builder

getCodeInterpreterRuntimeConfigOrBuilder()

public RuntimeConfig.CodeInterpreterRuntimeConfigOrBuilder getCodeInterpreterRuntimeConfigOrBuilder()

Code execution runtime configurations for code interpreter extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;

Returns
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfigOrBuilder

getDefaultInstanceForType()

public RuntimeConfig getDefaultInstanceForType()
Returns
Type Description
RuntimeConfig

getDefaultParams()

public Struct getDefaultParams()

Optional. Default parameters that will be set for all the execution of this extension. If specified, the parameter values can be overridden by values in [[ExecuteExtensionRequest.operation_params]] at request time.

The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}.

.google.protobuf.Struct default_params = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The defaultParams.

getDefaultParamsBuilder()

public Struct.Builder getDefaultParamsBuilder()

Optional. Default parameters that will be set for all the execution of this extension. If specified, the parameter values can be overridden by values in [[ExecuteExtensionRequest.operation_params]] at request time.

The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}.

.google.protobuf.Struct default_params = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getDefaultParamsOrBuilder()

public StructOrBuilder getDefaultParamsOrBuilder()

Optional. Default parameters that will be set for all the execution of this extension. If specified, the parameter values can be overridden by values in [[ExecuteExtensionRequest.operation_params]] at request time.

The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}.

.google.protobuf.Struct default_params = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

getDescriptorForType()

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

getGoogleFirstPartyExtensionConfigCase()

public RuntimeConfig.GoogleFirstPartyExtensionConfigCase getGoogleFirstPartyExtensionConfigCase()
Returns
Type Description
RuntimeConfig.GoogleFirstPartyExtensionConfigCase

getVertexAiSearchRuntimeConfig()

public RuntimeConfig.VertexAISearchRuntimeConfig getVertexAiSearchRuntimeConfig()

Runtime configuration for Vertex AI Search extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;

Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig

The vertexAiSearchRuntimeConfig.

getVertexAiSearchRuntimeConfigBuilder()

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder getVertexAiSearchRuntimeConfigBuilder()

Runtime configuration for Vertex AI Search extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;

Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig.Builder

getVertexAiSearchRuntimeConfigOrBuilder()

public RuntimeConfig.VertexAISearchRuntimeConfigOrBuilder getVertexAiSearchRuntimeConfigOrBuilder()

Runtime configuration for Vertex AI Search extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;

Returns
Type Description
RuntimeConfig.VertexAISearchRuntimeConfigOrBuilder

hasCodeInterpreterRuntimeConfig()

public boolean hasCodeInterpreterRuntimeConfig()

Code execution runtime configurations for code interpreter extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;

Returns
Type Description
boolean

Whether the codeInterpreterRuntimeConfig field is set.

hasDefaultParams()

public boolean hasDefaultParams()

Optional. Default parameters that will be set for all the execution of this extension. If specified, the parameter values can be overridden by values in [[ExecuteExtensionRequest.operation_params]] at request time.

The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}.

.google.protobuf.Struct default_params = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the defaultParams field is set.

hasVertexAiSearchRuntimeConfig()

public boolean hasVertexAiSearchRuntimeConfig()

Runtime configuration for Vertex AI Search extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;

Returns
Type Description
boolean

Whether the vertexAiSearchRuntimeConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCodeInterpreterRuntimeConfig(RuntimeConfig.CodeInterpreterRuntimeConfig value)

public RuntimeConfig.Builder mergeCodeInterpreterRuntimeConfig(RuntimeConfig.CodeInterpreterRuntimeConfig value)

Code execution runtime configurations for code interpreter extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;

Parameter
Name Description
value RuntimeConfig.CodeInterpreterRuntimeConfig
Returns
Type Description
RuntimeConfig.Builder

mergeDefaultParams(Struct value)

public RuntimeConfig.Builder mergeDefaultParams(Struct value)

Optional. Default parameters that will be set for all the execution of this extension. If specified, the parameter values can be overridden by values in [[ExecuteExtensionRequest.operation_params]] at request time.

The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}.

.google.protobuf.Struct default_params = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Struct
Returns
Type Description
RuntimeConfig.Builder

mergeFrom(RuntimeConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig value)

public RuntimeConfig.Builder mergeVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig value)

Runtime configuration for Vertex AI Search extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;

Parameter
Name Description
value RuntimeConfig.VertexAISearchRuntimeConfig
Returns
Type Description
RuntimeConfig.Builder

setCodeInterpreterRuntimeConfig(RuntimeConfig.CodeInterpreterRuntimeConfig value)

public RuntimeConfig.Builder setCodeInterpreterRuntimeConfig(RuntimeConfig.CodeInterpreterRuntimeConfig value)

Code execution runtime configurations for code interpreter extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;

Parameter
Name Description
value RuntimeConfig.CodeInterpreterRuntimeConfig
Returns
Type Description
RuntimeConfig.Builder

setCodeInterpreterRuntimeConfig(RuntimeConfig.CodeInterpreterRuntimeConfig.Builder builderForValue)

public RuntimeConfig.Builder setCodeInterpreterRuntimeConfig(RuntimeConfig.CodeInterpreterRuntimeConfig.Builder builderForValue)

Code execution runtime configurations for code interpreter extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;

Parameter
Name Description
builderForValue RuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Returns
Type Description
RuntimeConfig.Builder

setDefaultParams(Struct value)

public RuntimeConfig.Builder setDefaultParams(Struct value)

Optional. Default parameters that will be set for all the execution of this extension. If specified, the parameter values can be overridden by values in [[ExecuteExtensionRequest.operation_params]] at request time.

The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}.

.google.protobuf.Struct default_params = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Struct
Returns
Type Description
RuntimeConfig.Builder

setDefaultParams(Struct.Builder builderForValue)

public RuntimeConfig.Builder setDefaultParams(Struct.Builder builderForValue)

Optional. Default parameters that will be set for all the execution of this extension. If specified, the parameter values can be overridden by values in [[ExecuteExtensionRequest.operation_params]] at request time.

The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}.

.google.protobuf.Struct default_params = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RuntimeConfig.Builder

setVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig value)

public RuntimeConfig.Builder setVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig value)

Runtime configuration for Vertex AI Search extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;

Parameter
Name Description
value RuntimeConfig.VertexAISearchRuntimeConfig
Returns
Type Description
RuntimeConfig.Builder

setVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig.Builder builderForValue)

public RuntimeConfig.Builder setVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig.Builder builderForValue)

Runtime configuration for Vertex AI Search extension.

.google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;

Parameter
Name Description
builderForValue RuntimeConfig.VertexAISearchRuntimeConfig.Builder
Returns
Type Description
RuntimeConfig.Builder