Class ReasoningEngineSpec.DeploymentSpec.Builder (3.73.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

clearContainerConcurrency()

public ReasoningEngineSpec.DeploymentSpec.Builder clearContainerConcurrency()

Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9.

optional int32 container_concurrency = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

This builder for chaining.

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

clearMaxInstances()

public ReasoningEngineSpec.DeploymentSpec.Builder clearMaxInstances()

Optional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100.

optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

This builder for chaining.

clearMinInstances()

public ReasoningEngineSpec.DeploymentSpec.Builder clearMinInstances()

Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1.

optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPscInterfaceConfig()

public ReasoningEngineSpec.DeploymentSpec.Builder clearPscInterfaceConfig()

Optional. Configuration for PSC-I.

.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

clearResourceLimits()

public ReasoningEngineSpec.DeploymentSpec.Builder clearResourceLimits()
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

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

containsResourceLimits(String key)

public boolean containsResourceLimits(String key)

Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.

map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getContainerConcurrency()

public int getContainerConcurrency()

Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9.

optional int32 container_concurrency = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The containerConcurrency.

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>

getMaxInstances()

public int getMaxInstances()

Optional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100.

optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The maxInstances.

getMinInstances()

public int getMinInstances()

Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1.

optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The minInstances.

getMutableResourceLimits() (deprecated)

public Map<String,String> getMutableResourceLimits()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getPscInterfaceConfig()

public PscInterfaceConfig getPscInterfaceConfig()

Optional. Configuration for PSC-I.

.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PscInterfaceConfig

The pscInterfaceConfig.

getPscInterfaceConfigBuilder()

public PscInterfaceConfig.Builder getPscInterfaceConfigBuilder()

Optional. Configuration for PSC-I.

.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PscInterfaceConfig.Builder

getPscInterfaceConfigOrBuilder()

public PscInterfaceConfigOrBuilder getPscInterfaceConfigOrBuilder()

Optional. Configuration for PSC-I.

.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PscInterfaceConfigOrBuilder

getResourceLimits() (deprecated)

public Map<String,String> getResourceLimits()
Returns
Type Description
Map<String,String>

getResourceLimitsCount()

public int getResourceLimitsCount()

Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.

map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getResourceLimitsMap()

public Map<String,String> getResourceLimitsMap()

Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.

map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getResourceLimitsOrDefault(String key, String defaultValue)

public String getResourceLimitsOrDefault(String key, String defaultValue)

Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.

map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getResourceLimitsOrThrow(String key)

public String getResourceLimitsOrThrow(String key)

Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.

map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

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>

hasContainerConcurrency()

public boolean hasContainerConcurrency()

Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9.

optional int32 container_concurrency = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the containerConcurrency field is set.

hasMaxInstances()

public boolean hasMaxInstances()

Optional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100.

optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the maxInstances field is set.

hasMinInstances()

public boolean hasMinInstances()

Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1.

optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the minInstances field is set.

hasPscInterfaceConfig()

public boolean hasPscInterfaceConfig()

Optional. Configuration for PSC-I.

.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the pscInterfaceConfig field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

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

mergePscInterfaceConfig(PscInterfaceConfig value)

public ReasoningEngineSpec.DeploymentSpec.Builder mergePscInterfaceConfig(PscInterfaceConfig value)

Optional. Configuration for PSC-I.

.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllResourceLimits(Map<String,String> values)

public ReasoningEngineSpec.DeploymentSpec.Builder putAllResourceLimits(Map<String,String> values)

Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.

map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

putResourceLimits(String key, String value)

public ReasoningEngineSpec.DeploymentSpec.Builder putResourceLimits(String key, String value)

Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.

map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

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

removeResourceLimits(String key)

public ReasoningEngineSpec.DeploymentSpec.Builder removeResourceLimits(String key)

Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.

map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
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

setContainerConcurrency(int value)

public ReasoningEngineSpec.DeploymentSpec.Builder setContainerConcurrency(int value)

Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9.

optional int32 container_concurrency = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The containerConcurrency to set.

Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

This builder for chaining.

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

setMaxInstances(int value)

public ReasoningEngineSpec.DeploymentSpec.Builder setMaxInstances(int value)

Optional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100.

optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The maxInstances to set.

Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

This builder for chaining.

setMinInstances(int value)

public ReasoningEngineSpec.DeploymentSpec.Builder setMinInstances(int value)

Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1.

optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The minInstances to set.

Returns
Type Description
ReasoningEngineSpec.DeploymentSpec.Builder

This builder for chaining.

setPscInterfaceConfig(PscInterfaceConfig value)

public ReasoningEngineSpec.DeploymentSpec.Builder setPscInterfaceConfig(PscInterfaceConfig value)

Optional. Configuration for PSC-I.

.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];

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

setPscInterfaceConfig(PscInterfaceConfig.Builder builderForValue)

public ReasoningEngineSpec.DeploymentSpec.Builder setPscInterfaceConfig(PscInterfaceConfig.Builder builderForValue)

Optional. Configuration for PSC-I.

.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];

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

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