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 Details

    • hasMaxUnavailableReplicas

      boolean hasMaxUnavailableReplicas()
       Absolute count of replicas allowed to be unavailable.
       
      int32 max_unavailable_replicas = 3;
      Returns:
      Whether the maxUnavailableReplicas field is set.
    • getMaxUnavailableReplicas

      int getMaxUnavailableReplicas()
       Absolute count of replicas allowed to be unavailable.
       
      int32 max_unavailable_replicas = 3;
      Returns:
      The maxUnavailableReplicas.
    • hasMaxUnavailablePercentage

      boolean hasMaxUnavailablePercentage()
       Percentage of replicas allowed to be unavailable.
       For autoscaling deployments, this refers to the target replica count.
       
      int32 max_unavailable_percentage = 4;
      Returns:
      Whether the maxUnavailablePercentage field is set.
    • getMaxUnavailablePercentage

      int getMaxUnavailablePercentage()
       Percentage of replicas allowed to be unavailable.
       For autoscaling deployments, this refers to the target replica count.
       
      int32 max_unavailable_percentage = 4;
      Returns:
      The maxUnavailablePercentage.
    • 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.
    • getMaxUnavailableCase

      RolloutOptions.MaxUnavailableCase getMaxUnavailableCase()
    • getMaxSurgeCase

      RolloutOptions.MaxSurgeCase getMaxSurgeCase()