public static final class ReasoningEngineSpec.DeploymentSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder> implements ReasoningEngineSpec.DeploymentSpecOrBuilder
The specification of a Reasoning Engine deployment.Protobuf type
google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpecaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>public ReasoningEngineSpec.DeploymentSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>public ReasoningEngineSpec.DeploymentSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ReasoningEngineSpec.DeploymentSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ReasoningEngineSpec.DeploymentSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ReasoningEngineSpec.DeploymentSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>public ReasoningEngineSpec.DeploymentSpec.Builder mergeFrom(ReasoningEngineSpec.DeploymentSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>public ReasoningEngineSpec.DeploymentSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReasoningEngineSpec.DeploymentSpec.Builder>IOExceptionpublic 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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
getEnvList in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
getEnvCount in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
getEnv in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
getEnvOrBuilder in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
getEnvOrBuilderList in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
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.v1.EnvVar env = 1 [(.google.api.field_behavior) = OPTIONAL];
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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
getSecretEnvList in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
getSecretEnvCount in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
getSecretEnv in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
getSecretEnvOrBuilder in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
getSecretEnvOrBuilderList in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1.SecretEnvVar secret_env = 2 [(.google.api.field_behavior) = OPTIONAL];
public boolean hasPscInterfaceConfig()
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
hasPscInterfaceConfig in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic PscInterfaceConfig getPscInterfaceConfig()
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
getPscInterfaceConfig in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic ReasoningEngineSpec.DeploymentSpec.Builder setPscInterfaceConfig(PscInterfaceConfig value)
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.DeploymentSpec.Builder setPscInterfaceConfig(PscInterfaceConfig.Builder builderForValue)
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.DeploymentSpec.Builder mergePscInterfaceConfig(PscInterfaceConfig value)
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
public ReasoningEngineSpec.DeploymentSpec.Builder clearPscInterfaceConfig()
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
public PscInterfaceConfig.Builder getPscInterfaceConfigBuilder()
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
public PscInterfaceConfigOrBuilder getPscInterfaceConfigOrBuilder()
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
getPscInterfaceConfigOrBuilder in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic boolean hasMinInstances()
Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1. Range: [0, 10].
optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL];hasMinInstances in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic int getMinInstances()
Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1. Range: [0, 10].
optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL];getMinInstances in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic ReasoningEngineSpec.DeploymentSpec.Builder setMinInstances(int value)
Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1. Range: [0, 10].
optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL];value - The minInstances to set.public ReasoningEngineSpec.DeploymentSpec.Builder clearMinInstances()
Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1. Range: [0, 10].
optional int32 min_instances = 5 [(.google.api.field_behavior) = OPTIONAL];public boolean hasMaxInstances()
Optional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100. Range: [1, 1000]. If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL];hasMaxInstances in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic int getMaxInstances()
Optional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100. Range: [1, 1000]. If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL];getMaxInstances in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic ReasoningEngineSpec.DeploymentSpec.Builder setMaxInstances(int value)
Optional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100. Range: [1, 1000]. If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL];value - The maxInstances to set.public ReasoningEngineSpec.DeploymentSpec.Builder clearMaxInstances()
Optional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100. Range: [1, 1000]. If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
optional int32 max_instances = 6 [(.google.api.field_behavior) = OPTIONAL];public int getResourceLimitsCount()
ReasoningEngineSpec.DeploymentSpecOrBuilder
Optional. Resource limits for each container. Only 'cpu' and 'memory'
keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.
* The only supported values for CPU are '1', '2', '4', '6' and '8'. For
more information, go to
https://cloud.google.com/run/docs/configuring/cpu.
* The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
* For required cpu on different memory values, go to
https://cloud.google.com/run/docs/configuring/memory-limits
map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];
getResourceLimitsCount in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic boolean containsResourceLimits(String key)
Optional. Resource limits for each container. Only 'cpu' and 'memory'
keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.
* The only supported values for CPU are '1', '2', '4', '6' and '8'. For
more information, go to
https://cloud.google.com/run/docs/configuring/cpu.
* The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
* For required cpu on different memory values, go to
https://cloud.google.com/run/docs/configuring/memory-limits
map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];
containsResourceLimits in interface ReasoningEngineSpec.DeploymentSpecOrBuilder@Deprecated public Map<String,String> getResourceLimits()
getResourceLimitsMap() instead.getResourceLimits in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic Map<String,String> getResourceLimitsMap()
Optional. Resource limits for each container. Only 'cpu' and 'memory'
keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.
* The only supported values for CPU are '1', '2', '4', '6' and '8'. For
more information, go to
https://cloud.google.com/run/docs/configuring/cpu.
* The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
* For required cpu on different memory values, go to
https://cloud.google.com/run/docs/configuring/memory-limits
map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];
getResourceLimitsMap in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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"}.
* The only supported values for CPU are '1', '2', '4', '6' and '8'. For
more information, go to
https://cloud.google.com/run/docs/configuring/cpu.
* The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
* For required cpu on different memory values, go to
https://cloud.google.com/run/docs/configuring/memory-limits
map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];
getResourceLimitsOrDefault in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic String getResourceLimitsOrThrow(String key)
Optional. Resource limits for each container. Only 'cpu' and 'memory'
keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.
* The only supported values for CPU are '1', '2', '4', '6' and '8'. For
more information, go to
https://cloud.google.com/run/docs/configuring/cpu.
* The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
* For required cpu on different memory values, go to
https://cloud.google.com/run/docs/configuring/memory-limits
map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];
getResourceLimitsOrThrow in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic ReasoningEngineSpec.DeploymentSpec.Builder clearResourceLimits()
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"}.
* The only supported values for CPU are '1', '2', '4', '6' and '8'. For
more information, go to
https://cloud.google.com/run/docs/configuring/cpu.
* The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
* For required cpu on different memory values, go to
https://cloud.google.com/run/docs/configuring/memory-limits
map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated public Map<String,String> getMutableResourceLimits()
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"}.
* The only supported values for CPU are '1', '2', '4', '6' and '8'. For
more information, go to
https://cloud.google.com/run/docs/configuring/cpu.
* The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
* For required cpu on different memory values, go to
https://cloud.google.com/run/docs/configuring/memory-limits
map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];
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"}.
* The only supported values for CPU are '1', '2', '4', '6' and '8'. For
more information, go to
https://cloud.google.com/run/docs/configuring/cpu.
* The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
* For required cpu on different memory values, go to
https://cloud.google.com/run/docs/configuring/memory-limits
map<string, string> resource_limits = 7 [(.google.api.field_behavior) = OPTIONAL];
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];
hasContainerConcurrency in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
getContainerConcurrency in interface ReasoningEngineSpec.DeploymentSpecOrBuilderpublic 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];
value - The containerConcurrency to set.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];
Copyright © 2026 Google LLC. All rights reserved.