- 3.73.0 (latest)
- 3.71.0
- 3.69.0
- 3.68.0
- 3.65.0
- 3.64.0
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReasoningEngineSpec.DeploymentSpec.BuilderImplements
ReasoningEngineSpec.DeploymentSpecOrBuilderStatic 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 |
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 |
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 |
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 |
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 |
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"}.
- The only supported values for CPU are '1', '2', '4', and '8'. For more information, go to https://cloud.google.com/run/docs/configuring/cpu.
- For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
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 |
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()
Use #getResourceLimitsMap() instead.
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"}.
- The only supported values for CPU are '1', '2', '4', and '8'. For more information, go to https://cloud.google.com/run/docs/configuring/cpu.
- For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
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"}.
- The only supported values for CPU are '1', '2', '4', and '8'. For more information, go to https://cloud.google.com/run/docs/configuring/cpu.
- For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
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"}.
- The only supported values for CPU are '1', '2', '4', and '8'. For more information, go to https://cloud.google.com/run/docs/configuring/cpu.
- For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
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"}.
- The only supported values for CPU are '1', '2', '4', and '8'. For more information, go to https://cloud.google.com/run/docs/configuring/cpu.
- For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
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 |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
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 |
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"}.
- The only supported values for CPU are '1', '2', '4', and '8'. For more information, go to https://cloud.google.com/run/docs/configuring/cpu.
- For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
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"}.
- The only supported values for CPU are '1', '2', '4', and '8'. For more information, go to https://cloud.google.com/run/docs/configuring/cpu.
- For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
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"}.
- The only supported values for CPU are '1', '2', '4', and '8'. For more information, go to https://cloud.google.com/run/docs/configuring/cpu.
- For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
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 |
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 |
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 |