Class ReasoningEngineSpec.DeploymentSpec.Builder (3.64.0)

public static final class ReasoningEngineSpec.DeploymentSpec.Builder extends GeneratedMessageV3.Builder<ReasoningEngineSpec.DeploymentSpec.Builder> implements ReasoningEngineSpec.DeploymentSpecOrBuilder

The specification of a Reasoning Engine deployment.

Protobuf type google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec

Static Methods

getDescriptor()

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

Methods

addAllEnv(Iterable<? extends EnvVar> values)

public ReasoningEngineSpec.DeploymentSpec.Builder addAllEnv(Iterable<? extends EnvVar> values)

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.EnvVar>
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

addAllSecretEnv(Iterable<? extends SecretEnvVar> values)

public ReasoningEngineSpec.DeploymentSpec.Builder addAllSecretEnv(Iterable<? extends SecretEnvVar> values)

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.SecretEnvVar>
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

addEnv(EnvVar value)

public ReasoningEngineSpec.DeploymentSpec.Builder addEnv(EnvVar value)

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EnvVar
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

addEnv(EnvVar.Builder builderForValue)

public ReasoningEngineSpec.DeploymentSpec.Builder addEnv(EnvVar.Builder builderForValue)

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue EnvVar.Builder
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

addEnv(int index, EnvVar value)

public ReasoningEngineSpec.DeploymentSpec.Builder addEnv(int index, EnvVar value)

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value EnvVar
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

addEnv(int index, EnvVar.Builder builderForValue)

public ReasoningEngineSpec.DeploymentSpec.Builder addEnv(int index, EnvVar.Builder builderForValue)

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue EnvVar.Builder
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

addEnvBuilder()

public EnvVar.Builder addEnvBuilder()

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EnvVar.Builder

addEnvBuilder(int index)

public EnvVar.Builder addEnvBuilder(int index)

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
EnvVar.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReasoningEngineSpec.DeploymentSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder
Overrides

addSecretEnv(SecretEnvVar value)

public ReasoningEngineSpec.DeploymentSpec.Builder addSecretEnv(SecretEnvVar value)

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SecretEnvVar
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

addSecretEnv(SecretEnvVar.Builder builderForValue)

public ReasoningEngineSpec.DeploymentSpec.Builder addSecretEnv(SecretEnvVar.Builder builderForValue)

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SecretEnvVar.Builder
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

addSecretEnv(int index, SecretEnvVar value)

public ReasoningEngineSpec.DeploymentSpec.Builder addSecretEnv(int index, SecretEnvVar value)

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value SecretEnvVar
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

addSecretEnv(int index, SecretEnvVar.Builder builderForValue)

public ReasoningEngineSpec.DeploymentSpec.Builder addSecretEnv(int index, SecretEnvVar.Builder builderForValue)

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue SecretEnvVar.Builder
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

addSecretEnvBuilder()

public SecretEnvVar.Builder addSecretEnvBuilder()

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SecretEnvVar.Builder

addSecretEnvBuilder(int index)

public SecretEnvVar.Builder addSecretEnvBuilder(int index)

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SecretEnvVar.Builder

build()

public ReasoningEngineSpec.DeploymentSpec build()
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec

buildPartial()

public ReasoningEngineSpec.DeploymentSpec buildPartial()
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec

clear()

public ReasoningEngineSpec.DeploymentSpec.Builder clear()
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder
Overrides

clearEnv()

public ReasoningEngineSpec.DeploymentSpec.Builder clearEnv()

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

clearField(Descriptors.FieldDescriptor field)

public ReasoningEngineSpec.DeploymentSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReasoningEngineSpec.DeploymentSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder
Overrides

clearSecretEnv()

public ReasoningEngineSpec.DeploymentSpec.Builder clearSecretEnv()

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

clone()

public ReasoningEngineSpec.DeploymentSpec.Builder clone()
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder
Overrides

getDefaultInstanceForType()

public ReasoningEngineSpec.DeploymentSpec getDefaultInstanceForType()
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnv(int index)

public EnvVar getEnv(int index)

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
EnvVar

getEnvBuilder(int index)

public EnvVar.Builder getEnvBuilder(int index)

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
EnvVar.Builder

getEnvBuilderList()

public List<EnvVar.Builder> getEnvBuilderList()

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getEnvCount()

public int getEnvCount()

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getEnvList()

public List<EnvVar> getEnvList()

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<EnvVar>

getEnvOrBuilder(int index)

public EnvVarOrBuilder getEnvOrBuilder(int index)

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
EnvVarOrBuilder

getEnvOrBuilderList()

public List<? extends EnvVarOrBuilder> getEnvOrBuilderList()

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.EnvVarOrBuilder>

getSecretEnv(int index)

public SecretEnvVar getSecretEnv(int index)

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SecretEnvVar

getSecretEnvBuilder(int index)

public SecretEnvVar.Builder getSecretEnvBuilder(int index)

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SecretEnvVar.Builder

getSecretEnvBuilderList()

public List<SecretEnvVar.Builder> getSecretEnvBuilderList()

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getSecretEnvCount()

public int getSecretEnvCount()

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSecretEnvList()

public List<SecretEnvVar> getSecretEnvList()

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<SecretEnvVar>

getSecretEnvOrBuilder(int index)

public SecretEnvVarOrBuilder getSecretEnvOrBuilder(int index)

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SecretEnvVarOrBuilder

getSecretEnvOrBuilderList()

public List<? extends SecretEnvVarOrBuilder> getSecretEnvOrBuilderList()

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.SecretEnvVarOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReasoningEngineSpec.DeploymentSpec other)

public ReasoningEngineSpec.DeploymentSpec.Builder mergeFrom(ReasoningEngineSpec.DeploymentSpec other)
Parameter
Name Description
other ReasoningEngineSpec.DeploymentSpec
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReasoningEngineSpec.DeploymentSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReasoningEngineSpec.DeploymentSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReasoningEngineSpec.DeploymentSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder
Overrides

removeEnv(int index)

public ReasoningEngineSpec.DeploymentSpec.Builder removeEnv(int index)

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

removeSecretEnv(int index)

public ReasoningEngineSpec.DeploymentSpec.Builder removeSecretEnv(int index)

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

setEnv(int index, EnvVar value)

public ReasoningEngineSpec.DeploymentSpec.Builder setEnv(int index, EnvVar value)

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value EnvVar
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

setEnv(int index, EnvVar.Builder builderForValue)

public ReasoningEngineSpec.DeploymentSpec.Builder setEnv(int index, EnvVar.Builder builderForValue)

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue EnvVar.Builder
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReasoningEngineSpec.DeploymentSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder
Overrides

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

public ReasoningEngineSpec.DeploymentSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder
Overrides

setSecretEnv(int index, SecretEnvVar value)

public ReasoningEngineSpec.DeploymentSpec.Builder setSecretEnv(int index, SecretEnvVar value)

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value SecretEnvVar
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

setSecretEnv(int index, SecretEnvVar.Builder builderForValue)

public ReasoningEngineSpec.DeploymentSpec.Builder setSecretEnv(int index, SecretEnvVar.Builder builderForValue)

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

repeated .google.cloud.aiplatform.v1beta1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue SecretEnvVar.Builder
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ReasoningEngineSpec.DeploymentSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder
Overrides