public static final class ReasoningEngineSpec.DeploymentSpec extends GeneratedMessageV3 implements ReasoningEngineSpec.DeploymentSpecOrBuilder
The specification of a Reasoning Engine deployment.
Protobuf type google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.DeploymentSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CONTAINER_CONCURRENCY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ENV_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MAX_INSTANCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MIN_INSTANCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PSC_INTERFACE_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int RESOURCE_LIMITS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SECRET_ENV_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static ReasoningEngineSpec.DeploymentSpec getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ReasoningEngineSpec.DeploymentSpec.Builder newBuilder()
public static ReasoningEngineSpec.DeploymentSpec.Builder newBuilder(ReasoningEngineSpec.DeploymentSpec prototype)
public static ReasoningEngineSpec.DeploymentSpec parseDelimitedFrom(InputStream input)
public static ReasoningEngineSpec.DeploymentSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.DeploymentSpec parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static ReasoningEngineSpec.DeploymentSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.DeploymentSpec parseFrom(ByteString data)
public static ReasoningEngineSpec.DeploymentSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.DeploymentSpec parseFrom(CodedInputStream input)
public static ReasoningEngineSpec.DeploymentSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.DeploymentSpec parseFrom(InputStream input)
public static ReasoningEngineSpec.DeploymentSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.DeploymentSpec parseFrom(ByteBuffer data)
public static ReasoningEngineSpec.DeploymentSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ReasoningEngineSpec.DeploymentSpec> parser()
Methods
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
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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.
|
public ReasoningEngineSpec.DeploymentSpec getDefaultInstanceForType()
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 |
|
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 |
|
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];
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
|
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> |
|
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.
|
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.
|
public Parser<ReasoningEngineSpec.DeploymentSpec> getParserForType()
Overrides
public PscInterfaceConfig getPscInterfaceConfig()
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
public PscInterfaceConfigOrBuilder getPscInterfaceConfigOrBuilder()
Optional. Configuration for PSC-I.
.google.cloud.aiplatform.v1beta1.PscInterfaceConfig psc_interface_config = 4 [(.google.api.field_behavior) = OPTIONAL];
public Map<String,String> getResourceLimits()
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 |
|
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];
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];
Returns |
Type |
Description |
String |
|
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 |
|
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
|
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 |
|
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];
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
|
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> |
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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.
|
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public ReasoningEngineSpec.DeploymentSpec.Builder newBuilderForType()
protected ReasoningEngineSpec.DeploymentSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public ReasoningEngineSpec.DeploymentSpec.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides