Class Strategy.Builder (1.2.0)

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

Implements

StrategyOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Strategy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Strategy.Builder
Overrides

build()

public Strategy build()
Returns
TypeDescription
Strategy

buildPartial()

public Strategy buildPartial()
Returns
TypeDescription
Strategy

clear()

public Strategy.Builder clear()
Returns
TypeDescription
Strategy.Builder
Overrides

clearDeploymentStrategy()

public Strategy.Builder clearDeploymentStrategy()
Returns
TypeDescription
Strategy.Builder

clearField(Descriptors.FieldDescriptor field)

public Strategy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Strategy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Strategy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Strategy.Builder
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;

Returns
TypeDescription
Strategy.Builder

clone()

public Strategy.Builder clone()
Returns
TypeDescription
Strategy.Builder
Overrides

getDefaultInstanceForType()

public Strategy getDefaultInstanceForType()
Returns
TypeDescription
Strategy

getDeploymentStrategyCase()

public Strategy.DeploymentStrategyCase getDeploymentStrategyCase()
Returns
TypeDescription
Strategy.DeploymentStrategyCase

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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;

Returns
TypeDescription
Standard.Builder

getStandardOrBuilder()

public StandardOrBuilder getStandardOrBuilder()

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

.google.cloud.deploy.v1.Standard standard = 1;

Returns
TypeDescription
StandardOrBuilder

hasStandard()

public boolean hasStandard()

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

.google.cloud.deploy.v1.Standard standard = 1;

Returns
TypeDescription
boolean

Whether the standard field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Strategy other)

public Strategy.Builder mergeFrom(Strategy other)
Parameter
NameDescription
otherStrategy
Returns
TypeDescription
Strategy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Strategy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Strategy.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Strategy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Strategy.Builder
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;

Parameter
NameDescription
valueStandard
Returns
TypeDescription
Strategy.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Strategy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Strategy.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Strategy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Strategy.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Strategy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Strategy.Builder
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;

Parameter
NameDescription
valueStandard
Returns
TypeDescription
Strategy.Builder

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;

Parameter
NameDescription
builderForValueStandard.Builder
Returns
TypeDescription
Strategy.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Strategy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Strategy.Builder
Overrides