Class RuntimeConfig.Builder (3.41.0)

public static final class RuntimeConfig.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

build()

public RuntimeConfig build()
Returns
TypeDescription
RuntimeConfig

buildPartial()

public RuntimeConfig buildPartial()
Returns
TypeDescription
RuntimeConfig

clear()

public RuntimeConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RuntimeConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public RuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

clearGoogleFirstPartyExtensionConfig()

public RuntimeConfig.Builder clearGoogleFirstPartyExtensionConfig()
Returns
TypeDescription
RuntimeConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

clearVertexAiSearchRuntimeConfig()

public RuntimeConfig.Builder clearVertexAiSearchRuntimeConfig()

Runtime configuration for Vertext AI Search extension.

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

Returns
TypeDescription
RuntimeConfig.Builder

clone()

public RuntimeConfig.Builder clone()
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
RuntimeConfig.CodeInterpreterRuntimeConfigOrBuilder

getDefaultInstanceForType()

public RuntimeConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
StructOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGoogleFirstPartyExtensionConfigCase()

public RuntimeConfig.GoogleFirstPartyExtensionConfigCase getGoogleFirstPartyExtensionConfigCase()
Returns
TypeDescription
RuntimeConfig.GoogleFirstPartyExtensionConfigCase

getVertexAiSearchRuntimeConfig()

public RuntimeConfig.VertexAISearchRuntimeConfig getVertexAiSearchRuntimeConfig()

Runtime configuration for Vertext AI Search extension.

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

Returns
TypeDescription
RuntimeConfig.VertexAISearchRuntimeConfig

The vertexAiSearchRuntimeConfig.

getVertexAiSearchRuntimeConfigBuilder()

public RuntimeConfig.VertexAISearchRuntimeConfig.Builder getVertexAiSearchRuntimeConfigBuilder()

Runtime configuration for Vertext AI Search extension.

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

Returns
TypeDescription
RuntimeConfig.VertexAISearchRuntimeConfig.Builder

getVertexAiSearchRuntimeConfigOrBuilder()

public RuntimeConfig.VertexAISearchRuntimeConfigOrBuilder getVertexAiSearchRuntimeConfigOrBuilder()

Runtime configuration for Vertext AI Search extension.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the defaultParams field is set.

hasVertexAiSearchRuntimeConfig()

public boolean hasVertexAiSearchRuntimeConfig()

Runtime configuration for Vertext AI Search extension.

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

Returns
TypeDescription
boolean

Whether the vertexAiSearchRuntimeConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueRuntimeConfig.CodeInterpreterRuntimeConfig
Returns
TypeDescription
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
NameDescription
valueStruct
Returns
TypeDescription
RuntimeConfig.Builder

mergeFrom(RuntimeConfig other)

public RuntimeConfig.Builder mergeFrom(RuntimeConfig other)
Parameter
NameDescription
otherRuntimeConfig
Returns
TypeDescription
RuntimeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuntimeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RuntimeConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

mergeVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig value)

public RuntimeConfig.Builder mergeVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig value)

Runtime configuration for Vertext AI Search extension.

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

Parameter
NameDescription
valueRuntimeConfig.VertexAISearchRuntimeConfig
Returns
TypeDescription
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
NameDescription
valueRuntimeConfig.CodeInterpreterRuntimeConfig
Returns
TypeDescription
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
NameDescription
builderForValueRuntimeConfig.CodeInterpreterRuntimeConfig.Builder
Returns
TypeDescription
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
NameDescription
valueStruct
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
RuntimeConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

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

public RuntimeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

setVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig value)

public RuntimeConfig.Builder setVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig value)

Runtime configuration for Vertext AI Search extension.

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

Parameter
NameDescription
valueRuntimeConfig.VertexAISearchRuntimeConfig
Returns
TypeDescription
RuntimeConfig.Builder

setVertexAiSearchRuntimeConfig(RuntimeConfig.VertexAISearchRuntimeConfig.Builder builderForValue)

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

Runtime configuration for Vertext AI Search extension.

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

Parameter
NameDescription
builderForValueRuntimeConfig.VertexAISearchRuntimeConfig.Builder
Returns
TypeDescription
RuntimeConfig.Builder