Class RepairPhaseConfig.Builder (1.53.0)

public static final class RepairPhaseConfig.Builder extends GeneratedMessageV3.Builder<RepairPhaseConfig.Builder> implements RepairPhaseConfigOrBuilder

Configuration of the repair phase.

Protobuf type google.cloud.deploy.v1.RepairPhaseConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RepairPhaseConfig build()
Returns
Type Description
RepairPhaseConfig

buildPartial()

public RepairPhaseConfig buildPartial()
Returns
Type Description
RepairPhaseConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRepairPhase()

public RepairPhaseConfig.Builder clearRepairPhase()
Returns
Type Description
RepairPhaseConfig.Builder

clearRetry()

public RepairPhaseConfig.Builder clearRetry()

Optional. Retries a failed job.

.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RepairPhaseConfig.Builder

clearRollback()

public RepairPhaseConfig.Builder clearRollback()

Optional. Rolls back a Rollout.

.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RepairPhaseConfig.Builder

clone()

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

getDefaultInstanceForType()

public RepairPhaseConfig getDefaultInstanceForType()
Returns
Type Description
RepairPhaseConfig

getDescriptorForType()

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

getRepairPhaseCase()

public RepairPhaseConfig.RepairPhaseCase getRepairPhaseCase()
Returns
Type Description
RepairPhaseConfig.RepairPhaseCase

getRetry()

public Retry getRetry()

Optional. Retries a failed job.

.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Retry

The retry.

getRetryBuilder()

public Retry.Builder getRetryBuilder()

Optional. Retries a failed job.

.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Retry.Builder

getRetryOrBuilder()

public RetryOrBuilder getRetryOrBuilder()

Optional. Retries a failed job.

.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RetryOrBuilder

getRollback()

public Rollback getRollback()

Optional. Rolls back a Rollout.

.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Rollback

The rollback.

getRollbackBuilder()

public Rollback.Builder getRollbackBuilder()

Optional. Rolls back a Rollout.

.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Rollback.Builder

getRollbackOrBuilder()

public RollbackOrBuilder getRollbackOrBuilder()

Optional. Rolls back a Rollout.

.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RollbackOrBuilder

hasRetry()

public boolean hasRetry()

Optional. Retries a failed job.

.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the retry field is set.

hasRollback()

public boolean hasRollback()

Optional. Rolls back a Rollout.

.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rollback field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RepairPhaseConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRetry(Retry value)

public RepairPhaseConfig.Builder mergeRetry(Retry value)

Optional. Retries a failed job.

.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Retry
Returns
Type Description
RepairPhaseConfig.Builder

mergeRollback(Rollback value)

public RepairPhaseConfig.Builder mergeRollback(Rollback value)

Optional. Rolls back a Rollout.

.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Rollback
Returns
Type Description
RepairPhaseConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRetry(Retry value)

public RepairPhaseConfig.Builder setRetry(Retry value)

Optional. Retries a failed job.

.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Retry
Returns
Type Description
RepairPhaseConfig.Builder

setRetry(Retry.Builder builderForValue)

public RepairPhaseConfig.Builder setRetry(Retry.Builder builderForValue)

Optional. Retries a failed job.

.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Retry.Builder
Returns
Type Description
RepairPhaseConfig.Builder

setRollback(Rollback value)

public RepairPhaseConfig.Builder setRollback(Rollback value)

Optional. Rolls back a Rollout.

.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Rollback
Returns
Type Description
RepairPhaseConfig.Builder

setRollback(Rollback.Builder builderForValue)

public RepairPhaseConfig.Builder setRollback(Rollback.Builder builderForValue)

Optional. Rolls back a Rollout.

.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Rollback.Builder
Returns
Type Description
RepairPhaseConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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