Package com.google.cloud.deploy.v1
Interface CanaryDeploymentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CanaryDeployment
,CanaryDeployment.Builder
public interface CanaryDeploymentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPercentages(int index)
Required.int
getPercentagesCount()
Required.List<Integer>
getPercentagesList()
Required.Postdeploy
getPostdeploy()
Optional.PostdeployOrBuilder
getPostdeployOrBuilder()
Optional.Predeploy
getPredeploy()
Optional.PredeployOrBuilder
getPredeployOrBuilder()
Optional.boolean
getVerify()
Whether to run verify tests after each percentage deployment.boolean
hasPostdeploy()
Optional.boolean
hasPredeploy()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPercentagesList
List<Integer> getPercentagesList()
Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100.
repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- A list containing the percentages.
-
getPercentagesCount
int getPercentagesCount()
Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100.
repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The count of percentages.
-
getPercentages
int getPercentages(int index)
Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100.
repeated int32 percentages = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
index
- The index of the element to return.- Returns:
- The percentages at the given index.
-
getVerify
boolean getVerify()
Whether to run verify tests after each percentage deployment.
bool verify = 2;
- Returns:
- The verify.
-
hasPredeploy
boolean hasPredeploy()
Optional. Configuration for the predeploy job of the first phase. If this is not configured, predeploy job will not be present.
.google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the predeploy field is set.
-
getPredeploy
Predeploy getPredeploy()
Optional. Configuration for the predeploy job of the first phase. If this is not configured, predeploy job will not be present.
.google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The predeploy.
-
getPredeployOrBuilder
PredeployOrBuilder getPredeployOrBuilder()
Optional. Configuration for the predeploy job of the first phase. If this is not configured, predeploy job will not be present.
.google.cloud.deploy.v1.Predeploy predeploy = 3 [(.google.api.field_behavior) = OPTIONAL];
-
hasPostdeploy
boolean hasPostdeploy()
Optional. Configuration for the postdeploy job of the last phase. If this is not configured, postdeploy job will not be present.
.google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the postdeploy field is set.
-
getPostdeploy
Postdeploy getPostdeploy()
Optional. Configuration for the postdeploy job of the last phase. If this is not configured, postdeploy job will not be present.
.google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The postdeploy.
-
getPostdeployOrBuilder
PostdeployOrBuilder getPostdeployOrBuilder()
Optional. Configuration for the postdeploy job of the last phase. If this is not configured, postdeploy job will not be present.
.google.cloud.deploy.v1.Postdeploy postdeploy = 4 [(.google.api.field_behavior) = OPTIONAL];
-
-