public static final class Strategy.Builder extends GeneratedMessage.Builder<Strategy.Builder> implements StrategyOrBuilder
Strategy contains deployment strategy information.
Protobuf type google.cloud.deploy.v1.Strategy
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
buildPartial()
public Strategy buildPartial()
clear()
public Strategy.Builder clear()
Overrides
clearCanary()
public Strategy.Builder clearCanary()
Optional. Canary deployment strategy provides progressive percentage
based deployments to a Target.
.google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];
clearDeploymentStrategy()
public Strategy.Builder clearDeploymentStrategy()
clearStandard()
public Strategy.Builder clearStandard()
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];
getCanary()
public 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.
|
getCanaryBuilder()
public Canary.Builder getCanaryBuilder()
Optional. Canary deployment strategy provides progressive percentage
based deployments to a Target.
.google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];
getCanaryOrBuilder()
public 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];
getDefaultInstanceForType()
public Strategy getDefaultInstanceForType()
getDeploymentStrategyCase()
public Strategy.DeploymentStrategyCase getDeploymentStrategyCase()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getStandard()
public 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.
|
getStandardBuilder()
public Standard.Builder getStandardBuilder()
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];
getStandardOrBuilder()
public 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];
hasCanary()
public 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCanary(Canary value)
public Strategy.Builder mergeCanary(Canary value)
Optional. Canary deployment strategy provides progressive percentage
based deployments to a Target.
.google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
Canary
|
mergeFrom(Strategy other)
public Strategy.Builder mergeFrom(Strategy other)
| Parameter |
| Name |
Description |
other |
Strategy
|
public Strategy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Strategy.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeStandard(Standard value)
public Strategy.Builder mergeStandard(Standard value)
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];
| Parameter |
| Name |
Description |
value |
Standard
|
setCanary(Canary value)
public Strategy.Builder setCanary(Canary value)
Optional. Canary deployment strategy provides progressive percentage
based deployments to a Target.
.google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
Canary
|
setCanary(Canary.Builder builderForValue)
public Strategy.Builder setCanary(Canary.Builder builderForValue)
Optional. Canary deployment strategy provides progressive percentage
based deployments to a Target.
.google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL];
setStandard(Standard value)
public Strategy.Builder setStandard(Standard value)
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];
| Parameter |
| Name |
Description |
value |
Standard
|
setStandard(Standard.Builder builderForValue)
public Strategy.Builder setStandard(Standard.Builder builderForValue)
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];