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?$.
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?$.
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline stage.
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline stage.
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline stage.
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline stage.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface CustomCanaryDeployment.PhaseConfigOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder) \n\n public static interface CustomCanaryDeployment.PhaseConfigOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getPercentage()\n\n public abstract int getPercentage()\n\nRequired. Percentage deployment for the phase.\n\n`int32 percentage = 2;`\n\n### getPhaseId()\n\n public abstract String getPhaseId()\n\nRequired. The ID to assign to the `Rollout` phase.\nThis value must consist of lower-case letters, numbers, and hyphens,\nstart with a letter and end with a letter or a number, and have a max\nlength of 63 characters. In other words, it must match the following\nregex: `^`[a-z](/java/docs/reference/google-cloudevent-types/latest/[a-z0-9-]{0,61}[a-z0-9])`?$`.\n\n`string phase_id = 1;`\n\n### getPhaseIdBytes()\n\n public abstract ByteString getPhaseIdBytes()\n\nRequired. The ID to assign to the `Rollout` phase.\nThis value must consist of lower-case letters, numbers, and hyphens,\nstart with a letter and end with a letter or a number, and have a max\nlength of 63 characters. In other words, it must match the following\nregex: `^`[a-z](/java/docs/reference/google-cloudevent-types/latest/[a-z0-9-]{0,61}[a-z0-9])`?$`.\n\n`string phase_id = 1;`\n\n### getPostdeploy()\n\n public abstract Postdeploy getPostdeploy()\n\nOptional. Configuration for the postdeploy job of this phase. If this is\nnot configured, there will be no postdeploy job for this phase.\n\n`.google.events.cloud.deploy.v1.Postdeploy postdeploy = 6;`\n\n### getPostdeployOrBuilder()\n\n public abstract PostdeployOrBuilder getPostdeployOrBuilder()\n\nOptional. Configuration for the postdeploy job of this phase. If this is\nnot configured, there will be no postdeploy job for this phase.\n\n`.google.events.cloud.deploy.v1.Postdeploy postdeploy = 6;`\n\n### getPredeploy()\n\n public abstract Predeploy getPredeploy()\n\nOptional. Configuration for the predeploy job of this phase. If this is\nnot configured, there will be no predeploy job for this phase.\n\n`.google.events.cloud.deploy.v1.Predeploy predeploy = 5;`\n\n### getPredeployOrBuilder()\n\n public abstract PredeployOrBuilder getPredeployOrBuilder()\n\nOptional. Configuration for the predeploy job of this phase. If this is\nnot configured, there will be no predeploy job for this phase.\n\n`.google.events.cloud.deploy.v1.Predeploy predeploy = 5;`\n\n### getProfiles(int index)\n\n public abstract String getProfiles(int index)\n\nSkaffold profiles to use when rendering the manifest for this phase.\nThese are in addition to the profiles list specified in the\n`DeliveryPipeline` stage.\n\n`repeated string profiles = 3;`\n\n### getProfilesBytes(int index)\n\n public abstract ByteString getProfilesBytes(int index)\n\nSkaffold profiles to use when rendering the manifest for this phase.\nThese are in addition to the profiles list specified in the\n`DeliveryPipeline` stage.\n\n`repeated string profiles = 3;`\n\n### getProfilesCount()\n\n public abstract int getProfilesCount()\n\nSkaffold profiles to use when rendering the manifest for this phase.\nThese are in addition to the profiles list specified in the\n`DeliveryPipeline` stage.\n\n`repeated string profiles = 3;`\n\n### getProfilesList()\n\n public abstract List\u003cString\u003e getProfilesList()\n\nSkaffold profiles to use when rendering the manifest for this phase.\nThese are in addition to the profiles list specified in the\n`DeliveryPipeline` stage.\n\n`repeated string profiles = 3;`\n\n### getVerify()\n\n public abstract boolean getVerify()\n\nWhether to run verify tests after the deployment.\n\n`bool verify = 4;`\n\n### hasPostdeploy()\n\n public abstract boolean hasPostdeploy()\n\nOptional. Configuration for the postdeploy job of this phase. If this is\nnot configured, there will be no postdeploy job for this phase.\n\n`.google.events.cloud.deploy.v1.Postdeploy postdeploy = 6;`\n\n### hasPredeploy()\n\n public abstract boolean hasPredeploy()\n\nOptional. Configuration for the predeploy job of this phase. If this is\nnot configured, there will be no predeploy job for this phase.\n\n`.google.events.cloud.deploy.v1.Predeploy predeploy = 5;`"]]