public interface RolloutOptionsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getMaxSurgeCase()
public abstract RolloutOptions.MaxSurgeCase getMaxSurgeCase()| Returns | |
|---|---|
| Type | Description |
RolloutOptions.MaxSurgeCase |
|
getMaxSurgePercentage()
public abstract int getMaxSurgePercentage()Percentage of allowed additional replicas. For autoscaling deployments, this refers to the target replica count.
int32 max_surge_percentage = 6;
| Returns | |
|---|---|
| Type | Description |
int |
The maxSurgePercentage. |
getMaxSurgeReplicas()
public abstract int getMaxSurgeReplicas()Absolute count of allowed additional replicas.
int32 max_surge_replicas = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The maxSurgeReplicas. |
getMaxUnavailableCase()
public abstract RolloutOptions.MaxUnavailableCase getMaxUnavailableCase()| Returns | |
|---|---|
| Type | Description |
RolloutOptions.MaxUnavailableCase |
|
getMaxUnavailablePercentage()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The maxUnavailablePercentage. |
getMaxUnavailableReplicas()
public abstract int getMaxUnavailableReplicas()Absolute count of replicas allowed to be unavailable.
int32 max_unavailable_replicas = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The maxUnavailableReplicas. |
getPreviousDeployedModel()
public abstract String getPreviousDeployedModel()ID of the DeployedModel that this deployment should replace.
string previous_deployed_model = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The previousDeployedModel. |
getPreviousDeployedModelBytes()
public abstract ByteString getPreviousDeployedModelBytes()ID of the DeployedModel that this deployment should replace.
string previous_deployed_model = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for previousDeployedModel. |
getRevisionNumber()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The revisionNumber. |
hasMaxSurgePercentage()
public abstract boolean hasMaxSurgePercentage()Percentage of allowed additional replicas. For autoscaling deployments, this refers to the target replica count.
int32 max_surge_percentage = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maxSurgePercentage field is set. |
hasMaxSurgeReplicas()
public abstract boolean hasMaxSurgeReplicas()Absolute count of allowed additional replicas.
int32 max_surge_replicas = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maxSurgeReplicas field is set. |
hasMaxUnavailablePercentage()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the maxUnavailablePercentage field is set. |
hasMaxUnavailableReplicas()
public abstract boolean hasMaxUnavailableReplicas()Absolute count of replicas allowed to be unavailable.
int32 max_unavailable_replicas = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maxUnavailableReplicas field is set. |