public static final class Strategy.Builder extends GeneratedMessageV3.Builder<Strategy.Builder> implements StrategyOrBuilder
Strategy contains deployment strategy information.
Protobuf type google.cloud.deploy.v1.Strategy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Strategy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Strategy buildPartial()
clear()
public Strategy.Builder clear()
Overrides
clearCanary()
public Strategy.Builder clearCanary()
Canary deployment strategy provides progressive percentage based
deployments to a Target.
.google.cloud.deploy.v1.Canary canary = 2;
clearDeploymentStrategy()
public Strategy.Builder clearDeploymentStrategy()
clearField(Descriptors.FieldDescriptor field)
public Strategy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Strategy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStandard()
public Strategy.Builder clearStandard()
Standard deployment strategy executes a single deploy and allows
verifying the deployment.
.google.cloud.deploy.v1.Standard standard = 1;
clone()
public Strategy.Builder clone()
Overrides
getCanary()
public Canary getCanary()
Canary deployment strategy provides progressive percentage based
deployments to a Target.
.google.cloud.deploy.v1.Canary canary = 2;
Returns |
---|
Type | Description |
Canary | The canary.
|
getCanaryBuilder()
public Canary.Builder getCanaryBuilder()
Canary deployment strategy provides progressive percentage based
deployments to a Target.
.google.cloud.deploy.v1.Canary canary = 2;
getCanaryOrBuilder()
public CanaryOrBuilder getCanaryOrBuilder()
Canary deployment strategy provides progressive percentage based
deployments to a Target.
.google.cloud.deploy.v1.Canary canary = 2;
getDefaultInstanceForType()
public Strategy getDefaultInstanceForType()
getDeploymentStrategyCase()
public Strategy.DeploymentStrategyCase getDeploymentStrategyCase()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getStandard()
public Standard getStandard()
Standard deployment strategy executes a single deploy and allows
verifying the deployment.
.google.cloud.deploy.v1.Standard standard = 1;
Returns |
---|
Type | Description |
Standard | The standard.
|
getStandardBuilder()
public Standard.Builder getStandardBuilder()
Standard deployment strategy executes a single deploy and allows
verifying the deployment.
.google.cloud.deploy.v1.Standard standard = 1;
getStandardOrBuilder()
public StandardOrBuilder getStandardOrBuilder()
Standard deployment strategy executes a single deploy and allows
verifying the deployment.
.google.cloud.deploy.v1.Standard standard = 1;
hasCanary()
public boolean hasCanary()
Canary deployment strategy provides progressive percentage based
deployments to a Target.
.google.cloud.deploy.v1.Canary canary = 2;
Returns |
---|
Type | Description |
boolean | Whether the canary field is set.
|
hasStandard()
public boolean hasStandard()
Standard deployment strategy executes a single deploy and allows
verifying the deployment.
.google.cloud.deploy.v1.Standard standard = 1;
Returns |
---|
Type | Description |
boolean | Whether the standard field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCanary(Canary value)
public Strategy.Builder mergeCanary(Canary value)
Canary deployment strategy provides progressive percentage based
deployments to a Target.
.google.cloud.deploy.v1.Canary canary = 2;
Parameter |
---|
Name | Description |
value | Canary
|
mergeFrom(Strategy other)
public Strategy.Builder mergeFrom(Strategy other)
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)
Standard deployment strategy executes a single deploy and allows
verifying the deployment.
.google.cloud.deploy.v1.Standard standard = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Strategy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCanary(Canary value)
public Strategy.Builder setCanary(Canary value)
Canary deployment strategy provides progressive percentage based
deployments to a Target.
.google.cloud.deploy.v1.Canary canary = 2;
Parameter |
---|
Name | Description |
value | Canary
|
setCanary(Canary.Builder builderForValue)
public Strategy.Builder setCanary(Canary.Builder builderForValue)
Canary deployment strategy provides progressive percentage based
deployments to a Target.
.google.cloud.deploy.v1.Canary canary = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public Strategy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Strategy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStandard(Standard value)
public Strategy.Builder setStandard(Standard value)
Standard deployment strategy executes a single deploy and allows
verifying the deployment.
.google.cloud.deploy.v1.Standard standard = 1;
setStandard(Standard.Builder builderForValue)
public Strategy.Builder setStandard(Standard.Builder builderForValue)
Standard deployment strategy executes a single deploy and allows
verifying the deployment.
.google.cloud.deploy.v1.Standard standard = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final Strategy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides