Interface RolloutOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RolloutOptions,RolloutOptions.Builder
@Generated
public interface RolloutOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintPercentage of allowed additional replicas.intAbsolute count of allowed additional replicas.intPercentage of replicas allowed to be unavailable.intAbsolute count of replicas allowed to be unavailable.ID of the DeployedModel that this deployment should replace.com.google.protobuf.ByteStringID of the DeployedModel that this deployment should replace.intOutput only.booleanPercentage of allowed additional replicas.booleanAbsolute count of allowed additional replicas.booleanPercentage of replicas allowed to be unavailable.booleanAbsolute count of replicas allowed to be unavailable.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasMaxSurgeReplicas
boolean hasMaxSurgeReplicas()Absolute count of allowed additional replicas.
int32 max_surge_replicas = 5;- Returns:
- Whether the maxSurgeReplicas field is set.
-
getMaxSurgeReplicas
int getMaxSurgeReplicas()Absolute count of allowed additional replicas.
int32 max_surge_replicas = 5;- Returns:
- The maxSurgeReplicas.
-
hasMaxSurgePercentage
boolean hasMaxSurgePercentage()Percentage of allowed additional replicas. For autoscaling deployments, this refers to the target replica count.
int32 max_surge_percentage = 6;- Returns:
- Whether the maxSurgePercentage field is set.
-
getMaxSurgePercentage
int getMaxSurgePercentage()Percentage of allowed additional replicas. For autoscaling deployments, this refers to the target replica count.
int32 max_surge_percentage = 6;- Returns:
- The maxSurgePercentage.
-
getPreviousDeployedModel
String getPreviousDeployedModel()ID of the DeployedModel that this deployment should replace.
string previous_deployed_model = 1;- Returns:
- The previousDeployedModel.
-
getPreviousDeployedModelBytes
com.google.protobuf.ByteString getPreviousDeployedModelBytes()ID of the DeployedModel that this deployment should replace.
string previous_deployed_model = 1;- Returns:
- The bytes for previousDeployedModel.
-
getRevisionNumber
int getRevisionNumber()Output only. Read-only. Revision number determines the relative priority of DeployedModels in the same rollout. The DeployedModel with the largest revision number specifies the intended state of the deployment.
int32 revision_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The revisionNumber.
-
getMaxSurgeCase
RolloutOptions.MaxSurgeCase getMaxSurgeCase()