Package com.google.cloud.deploy.v1
Interface CustomCanaryDeployment.PhaseConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomCanaryDeployment.PhaseConfig,CustomCanaryDeployment.PhaseConfig.Builder
- Enclosing class:
- CustomCanaryDeployment
public static interface CustomCanaryDeployment.PhaseConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPercentage()Required.StringgetPhaseId()Required.com.google.protobuf.ByteStringgetPhaseIdBytes()Required.PostdeploygetPostdeploy()Optional.PostdeployOrBuildergetPostdeployOrBuilder()Optional.PredeploygetPredeploy()Optional.PredeployOrBuildergetPredeployOrBuilder()Optional.StringgetProfiles(int index)Skaffold profiles to use when rendering the manifest for this phase.com.google.protobuf.ByteStringgetProfilesBytes(int index)Skaffold profiles to use when rendering the manifest for this phase.intgetProfilesCount()Skaffold profiles to use when rendering the manifest for this phase.List<String>getProfilesList()Skaffold profiles to use when rendering the manifest for this phase.booleangetVerify()Whether to run verify tests after the deployment.booleanhasPostdeploy()Optional.booleanhasPredeploy()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPhaseId
String getPhaseId()
Required. The ID to assign to the `Rollout` phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.string phase_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The phaseId.
-
getPhaseIdBytes
com.google.protobuf.ByteString getPhaseIdBytes()
Required. The ID to assign to the `Rollout` phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.string phase_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for phaseId.
-
getPercentage
int getPercentage()
Required. Percentage deployment for the phase.
int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The percentage.
-
getProfilesList
List<String> getProfilesList()
Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage.
repeated string profiles = 3;- Returns:
- A list containing the profiles.
-
getProfilesCount
int getProfilesCount()
Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage.
repeated string profiles = 3;- Returns:
- The count of profiles.
-
getProfiles
String getProfiles(int index)
Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage.
repeated string profiles = 3;- Parameters:
index- The index of the element to return.- Returns:
- The profiles at the given index.
-
getProfilesBytes
com.google.protobuf.ByteString getProfilesBytes(int index)
Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage.
repeated string profiles = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the profiles at the given index.
-
getVerify
boolean getVerify()
Whether to run verify tests after the deployment.
bool verify = 4;- Returns:
- The verify.
-
hasPredeploy
boolean hasPredeploy()
Optional. Configuration for the predeploy job of this phase. If this is not configured, predeploy job will not be present for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the predeploy field is set.
-
getPredeploy
Predeploy getPredeploy()
Optional. Configuration for the predeploy job of this phase. If this is not configured, predeploy job will not be present for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The predeploy.
-
getPredeployOrBuilder
PredeployOrBuilder getPredeployOrBuilder()
Optional. Configuration for the predeploy job of this phase. If this is not configured, predeploy job will not be present for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
-
hasPostdeploy
boolean hasPostdeploy()
Optional. Configuration for the postdeploy job of this phase. If this is not configured, postdeploy job will not be present for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the postdeploy field is set.
-
getPostdeploy
Postdeploy getPostdeploy()
Optional. Configuration for the postdeploy job of this phase. If this is not configured, postdeploy job will not be present for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The postdeploy.
-
getPostdeployOrBuilder
PostdeployOrBuilder getPostdeployOrBuilder()
Optional. Configuration for the postdeploy job of this phase. If this is not configured, postdeploy job will not be present for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
-
-