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
Modifier and TypeMethodDescriptionintRequired.Required.com.google.protobuf.ByteStringRequired.Optional.Optional.Optional.Optional.getProfiles(int index) Optional.com.google.protobuf.ByteStringgetProfilesBytes(int index) Optional.intOptional.Optional.booleanOptional.booleanOptional.booleanOptional.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
-
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
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the profiles.
-
getProfilesCount
int getProfilesCount()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of profiles.
-
getProfiles
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The profiles at the given index.
-
getProfilesBytes
com.google.protobuf.ByteString getProfilesBytes(int index) Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the profiles at the given index.
-
getVerify
boolean getVerify()Optional. Whether to run verify tests after the deployment via `skaffold verify`.
bool verify = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The verify.
-
hasPredeploy
boolean hasPredeploy()Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job 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, there will be no predeploy job 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, there will be no predeploy job 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, there will be no postdeploy job 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, there will be no postdeploy job 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, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
-