Class RuntimeConfig (3.41.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
TypeDescription
int

DEFAULT_PARAMS_FIELD_NUMBER

public static final int DEFAULT_PARAMS_FIELD_NUMBER
Field Value
TypeDescription
int

VERTEX_AI_SEARCH_RUNTIME_CONFIG_FIELD_NUMBER

public static final int VERTEX_AI_SEARCH_RUNTIME_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RuntimeConfig getDefaultInstance()
Returns
TypeDescription
RuntimeConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RuntimeConfig.Builder newBuilder()
Returns
TypeDescription
RuntimeConfig.Builder

newBuilder(RuntimeConfig prototype)

public static RuntimeConfig.Builder newBuilder(RuntimeConfig prototype)
Parameter
NameDescription
prototypeRuntimeConfig
Returns
TypeDescription
RuntimeConfig.Builder

parseDelimitedFrom(InputStream input)

public static RuntimeConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RuntimeConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RuntimeConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RuntimeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RuntimeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RuntimeConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RuntimeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RuntimeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RuntimeConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RuntimeConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RuntimeConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RuntimeConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RuntimeConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RuntimeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RuntimeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RuntimeConfig> parser()
Returns
TypeDescription
Parser<RuntimeConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
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.

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

getGoogleFirstPartyExtensionConfigCase()

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

getParserForType()

public Parser<RuntimeConfig> getParserForType()
Returns
TypeDescription
Parser<RuntimeConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RuntimeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException