public final class RuntimeConfig extends GeneratedMessageV3 implements RuntimeConfigOrBuilder
Runtime configuration to run the extension.
Protobuf type google.cloud.aiplatform.v1beta1.RuntimeConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CODE_INTERPRETER_RUNTIME_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DEFAULT_PARAMS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int VERTEX_AI_SEARCH_RUNTIME_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static RuntimeConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static RuntimeConfig.Builder newBuilder()
public static RuntimeConfig.Builder newBuilder(RuntimeConfig prototype)
public static RuntimeConfig parseDelimitedFrom(InputStream input)
public static RuntimeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RuntimeConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static RuntimeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RuntimeConfig parseFrom(ByteString data)
public static RuntimeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RuntimeConfig parseFrom(CodedInputStream input)
public static RuntimeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RuntimeConfig parseFrom(InputStream input)
public static RuntimeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RuntimeConfig parseFrom(ByteBuffer data)
public static RuntimeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<RuntimeConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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.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 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 RuntimeConfig.GoogleFirstPartyExtensionConfigCase getGoogleFirstPartyExtensionConfigCase()
public Parser<RuntimeConfig> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RuntimeConfig.Builder newBuilderForType()
protected RuntimeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public RuntimeConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides