Class RuntimeConfig (3.47.0)

public final class RuntimeConfig extends GeneratedMessageV3 implements RuntimeConfigOrBuilder

Runtime configuration to run the extension.

Protobuf type google.cloud.aiplatform.v1beta1.RuntimeConfig

Static Fields

CODE_INTERPRETER_RUNTIME_CONFIG_FIELD_NUMBER

public static final int CODE_INTERPRETER_RUNTIME_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_PARAMS_FIELD_NUMBER

public static final int DEFAULT_PARAMS_FIELD_NUMBER
Field Value
Type Description
int

VERTEX_AI_SEARCH_RUNTIME_CONFIG_FIELD_NUMBER

public static final int VERTEX_AI_SEARCH_RUNTIME_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RuntimeConfig getDefaultInstance()
Returns
Type Description
RuntimeConfig

getDescriptor()

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

newBuilder()

public static RuntimeConfig.Builder newBuilder()
Returns
Type Description
RuntimeConfig.Builder

newBuilder(RuntimeConfig prototype)

public static RuntimeConfig.Builder newBuilder(RuntimeConfig prototype)
Parameter
Name Description
prototype RuntimeConfig
Returns
Type Description
RuntimeConfig.Builder

parseDelimitedFrom(InputStream input)

public static RuntimeConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RuntimeConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RuntimeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RuntimeConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RuntimeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RuntimeConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RuntimeConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RuntimeConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RuntimeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RuntimeConfig> parser()
Returns
Type Description
Parser<RuntimeConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
RuntimeConfig.CodeInterpreterRuntimeConfig

The codeInterpreterRuntimeConfig.

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.

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

getGoogleFirstPartyExtensionConfigCase()

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

getParserForType()

public Parser<RuntimeConfig> getParserForType()
Returns
Type Description
Parser<RuntimeConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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
Type Description
RuntimeConfig.VertexAISearchRuntimeConfig

The vertexAiSearchRuntimeConfig.

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
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 Vertext 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RuntimeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RuntimeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException