Configures the progressive based deployment for a Target, but allows
customizing at the phase level where a phase represents each of the
percentage deployments.
Configures the progressive based deployment for a Target, but allows
customizing at the phase level where a phase represents each of the
percentage deployments.
Optional. Runtime specific configurations for the deployment strategy. The
runtime configuration is used to determine how Cloud Deploy will split
traffic to enable a progressive deployment.
Optional. Runtime specific configurations for the deployment strategy. The
runtime configuration is used to determine how Cloud Deploy will split
traffic to enable a progressive deployment.
Configures the progressive based deployment for a Target, but allows
customizing at the phase level where a phase represents each of the
percentage deployments.
Optional. Runtime specific configurations for the deployment strategy. The
runtime configuration is used to determine how Cloud Deploy will split
traffic to enable a progressive deployment.
[[["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 CanaryOrBuilder (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.CanaryOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.deploy.v1.CanaryOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.deploy.v1.CanaryOrBuilder) \n\n public interface CanaryOrBuilder 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### getCanaryDeployment()\n\n public abstract CanaryDeployment getCanaryDeployment()\n\nConfigures the progressive based deployment for a Target.\n\n`.google.events.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;`\n\n### getCanaryDeploymentOrBuilder()\n\n public abstract CanaryDeploymentOrBuilder getCanaryDeploymentOrBuilder()\n\nConfigures the progressive based deployment for a Target.\n\n`.google.events.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;`\n\n### getCustomCanaryDeployment()\n\n public abstract CustomCanaryDeployment getCustomCanaryDeployment()\n\nConfigures the progressive based deployment for a Target, but allows\ncustomizing at the phase level where a phase represents each of the\npercentage deployments.\n\n`.google.events.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;\n`\n\n### getCustomCanaryDeploymentOrBuilder()\n\n public abstract CustomCanaryDeploymentOrBuilder getCustomCanaryDeploymentOrBuilder()\n\nConfigures the progressive based deployment for a Target, but allows\ncustomizing at the phase level where a phase represents each of the\npercentage deployments.\n\n`.google.events.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;\n`\n\n### getModeCase()\n\n public abstract Canary.ModeCase getModeCase()\n\n### getRuntimeConfig()\n\n public abstract RuntimeConfig getRuntimeConfig()\n\nOptional. Runtime specific configurations for the deployment strategy. The\nruntime configuration is used to determine how Cloud Deploy will split\ntraffic to enable a progressive deployment.\n\n`.google.events.cloud.deploy.v1.RuntimeConfig runtime_config = 1;`\n\n### getRuntimeConfigOrBuilder()\n\n public abstract RuntimeConfigOrBuilder getRuntimeConfigOrBuilder()\n\nOptional. Runtime specific configurations for the deployment strategy. The\nruntime configuration is used to determine how Cloud Deploy will split\ntraffic to enable a progressive deployment.\n\n`.google.events.cloud.deploy.v1.RuntimeConfig runtime_config = 1;`\n\n### hasCanaryDeployment()\n\n public abstract boolean hasCanaryDeployment()\n\nConfigures the progressive based deployment for a Target.\n\n`.google.events.cloud.deploy.v1.CanaryDeployment canary_deployment = 2;`\n\n### hasCustomCanaryDeployment()\n\n public abstract boolean hasCustomCanaryDeployment()\n\nConfigures the progressive based deployment for a Target, but allows\ncustomizing at the phase level where a phase represents each of the\npercentage deployments.\n\n`.google.events.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3;\n`\n\n### hasRuntimeConfig()\n\n public abstract boolean hasRuntimeConfig()\n\nOptional. Runtime specific configurations for the deployment strategy. The\nruntime configuration is used to determine how Cloud Deploy will split\ntraffic to enable a progressive deployment.\n\n`.google.events.cloud.deploy.v1.RuntimeConfig runtime_config = 1;`"]]