Interface StrategyOrBuilder (1.56.0)

public interface StrategyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCanary()

public abstract Canary getCanary()

Optional. Canary deployment strategy provides progressive percentage based deployments to a Target.

.google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Canary

The canary.

getCanaryOrBuilder()

public abstract CanaryOrBuilder getCanaryOrBuilder()

Optional. Canary deployment strategy provides progressive percentage based deployments to a Target.

.google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CanaryOrBuilder

getDeploymentStrategyCase()

public abstract Strategy.DeploymentStrategyCase getDeploymentStrategyCase()
Returns
Type Description
Strategy.DeploymentStrategyCase

getStandard()

public abstract Standard getStandard()

Optional. Standard deployment strategy executes a single deploy and allows verifying the deployment.

.google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Standard

The standard.

getStandardOrBuilder()

public abstract StandardOrBuilder getStandardOrBuilder()

Optional. Standard deployment strategy executes a single deploy and allows verifying the deployment.

.google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StandardOrBuilder

hasCanary()

public abstract boolean hasCanary()

Optional. Canary deployment strategy provides progressive percentage based deployments to a Target.

.google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the canary field is set.

hasStandard()

public abstract boolean hasStandard()

Optional. Standard deployment strategy executes a single deploy and allows verifying the deployment.

.google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the standard field is set.