Class Standard.Builder (1.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Standard build()
Returns
TypeDescription
Standard

buildPartial()

public Standard buildPartial()
Returns
TypeDescription
Standard

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVerify()

public Standard.Builder clearVerify()

Whether to verify a deployment.

bool verify = 1;

Returns
TypeDescription
Standard.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Standard getDefaultInstanceForType()
Returns
TypeDescription
Standard

getDescriptorForType()

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

getVerify()

public boolean getVerify()

Whether to verify a deployment.

bool verify = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the predeploy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Standard other)

public Standard.Builder mergeFrom(Standard other)
Parameter
NameDescription
otherStandard
Returns
TypeDescription
Standard.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Standard.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuePostdeploy
Returns
TypeDescription
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
NameDescription
builderForValuePostdeploy.Builder
Returns
TypeDescription
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
NameDescription
valuePredeploy
Returns
TypeDescription
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
NameDescription
builderForValuePredeploy.Builder
Returns
TypeDescription
Standard.Builder

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

public Standard.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Standard.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setVerify(boolean value)

public Standard.Builder setVerify(boolean value)

Whether to verify a deployment.

bool verify = 1;

Parameter
NameDescription
valueboolean

The verify to set.

Returns
TypeDescription
Standard.Builder

This builder for chaining.