Class Standard.Builder (1.45.0)

public static final class Standard.Builder extends GeneratedMessageV3.Builder<Standard.Builder> implements StandardOrBuilder

Standard represents the standard deployment strategy.

Protobuf type google.cloud.deploy.v1.Standard

Implements

StandardOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Standard.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Standard.Builder
Overrides

build()

public Standard build()
Returns
Type Description
Standard

buildPartial()

public Standard buildPartial()
Returns
Type Description
Standard

clear()

public Standard.Builder clear()
Returns
Type Description
Standard.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Standard.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Standard.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Standard.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Standard.Builder
Overrides

clearPostdeploy()

public Standard.Builder clearPostdeploy()

Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.

.google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Standard.Builder

clearPredeploy()

public Standard.Builder clearPredeploy()

Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.

.google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Standard.Builder

clearVerify()

public Standard.Builder clearVerify()

Whether to verify a deployment.

bool verify = 1;

Returns
Type Description
Standard.Builder

This builder for chaining.

clone()

public Standard.Builder clone()
Returns
Type Description
Standard.Builder
Overrides

getDefaultInstanceForType()

public Standard getDefaultInstanceForType()
Returns
Type Description
Standard

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPostdeploy()

public Postdeploy getPostdeploy()

Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.

.google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Postdeploy

The postdeploy.

getPostdeployBuilder()

public Postdeploy.Builder getPostdeployBuilder()

Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.

.google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Postdeploy.Builder

getPostdeployOrBuilder()

public PostdeployOrBuilder getPostdeployOrBuilder()

Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.

.google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PostdeployOrBuilder

getPredeploy()

public Predeploy getPredeploy()

Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.

.google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Predeploy

The predeploy.

getPredeployBuilder()

public Predeploy.Builder getPredeployBuilder()

Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.

.google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Predeploy.Builder

getPredeployOrBuilder()

public PredeployOrBuilder getPredeployOrBuilder()

Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.

.google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PredeployOrBuilder

getVerify()

public boolean getVerify()

Whether to verify a deployment.

bool verify = 1;

Returns
Type Description
boolean

The verify.

hasPostdeploy()

public boolean hasPostdeploy()

Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.

.google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the postdeploy field is set.

hasPredeploy()

public boolean hasPredeploy()

Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.

.google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the predeploy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Standard other)

public Standard.Builder mergeFrom(Standard other)
Parameter
Name Description
other Standard
Returns
Type Description
Standard.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Standard.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Standard.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Standard.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Standard.Builder
Overrides

mergePostdeploy(Postdeploy value)

public Standard.Builder mergePostdeploy(Postdeploy value)

Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.

.google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Postdeploy
Returns
Type Description
Standard.Builder

mergePredeploy(Predeploy value)

public Standard.Builder mergePredeploy(Predeploy value)

Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.

.google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Predeploy
Returns
Type Description
Standard.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Standard.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Standard.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Standard.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Standard.Builder
Overrides

setPostdeploy(Postdeploy value)

public Standard.Builder setPostdeploy(Postdeploy value)

Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.

.google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Postdeploy
Returns
Type Description
Standard.Builder

setPostdeploy(Postdeploy.Builder builderForValue)

public Standard.Builder setPostdeploy(Postdeploy.Builder builderForValue)

Optional. Configuration for the postdeploy job. If this is not configured, postdeploy job will not be present.

.google.cloud.deploy.v1.Postdeploy postdeploy = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Postdeploy.Builder
Returns
Type Description
Standard.Builder

setPredeploy(Predeploy value)

public Standard.Builder setPredeploy(Predeploy value)

Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.

.google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Predeploy
Returns
Type Description
Standard.Builder

setPredeploy(Predeploy.Builder builderForValue)

public Standard.Builder setPredeploy(Predeploy.Builder builderForValue)

Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present.

.google.cloud.deploy.v1.Predeploy predeploy = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Predeploy.Builder
Returns
Type Description
Standard.Builder

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

public Standard.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Standard.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Standard.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Standard.Builder
Overrides

setVerify(boolean value)

public Standard.Builder setVerify(boolean value)

Whether to verify a deployment.

bool verify = 1;

Parameter
Name Description
value boolean

The verify to set.

Returns
Type Description
Standard.Builder

This builder for chaining.