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
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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RuntimeConfig build()
public RuntimeConfig buildPartial()
public RuntimeConfig.Builder clear()
Overrides
public RuntimeConfig.Builder clearCodeInterpreterRuntimeConfig()
Code execution runtime configurations for code interpreter extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;
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];
public RuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RuntimeConfig.Builder clearGoogleFirstPartyExtensionConfig()
public RuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RuntimeConfig.Builder clearVertexAiSearchRuntimeConfig()
Runtime configuration for Vertex AI Search extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;
public RuntimeConfig.Builder clone()
Overrides
public RuntimeConfig.CodeInterpreterRuntimeConfig getCodeInterpreterRuntimeConfig()
Code execution runtime configurations for code interpreter extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;
public RuntimeConfig.CodeInterpreterRuntimeConfig.Builder getCodeInterpreterRuntimeConfigBuilder()
Code execution runtime configurations for code interpreter extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;
public RuntimeConfig.CodeInterpreterRuntimeConfigOrBuilder getCodeInterpreterRuntimeConfigOrBuilder()
Code execution runtime configurations for code interpreter extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig.CodeInterpreterRuntimeConfig code_interpreter_runtime_config = 2;
public RuntimeConfig getDefaultInstanceForType()
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.
|
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];
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];
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RuntimeConfig.GoogleFirstPartyExtensionConfigCase getGoogleFirstPartyExtensionConfigCase()
public RuntimeConfig.VertexAISearchRuntimeConfig getVertexAiSearchRuntimeConfig()
Runtime configuration for Vertex AI Search extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;
public RuntimeConfig.VertexAISearchRuntimeConfig.Builder getVertexAiSearchRuntimeConfigBuilder()
Runtime configuration for Vertex AI Search extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;
public RuntimeConfig.VertexAISearchRuntimeConfigOrBuilder getVertexAiSearchRuntimeConfigOrBuilder()
Runtime configuration for Vertex AI Search extension.
.google.cloud.aiplatform.v1beta1.RuntimeConfig.VertexAISearchRuntimeConfig vertex_ai_search_runtime_config = 6;
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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;
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
|
public RuntimeConfig.Builder mergeFrom(RuntimeConfig other)
public RuntimeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RuntimeConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final RuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;
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;
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
|
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
|
public RuntimeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RuntimeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;