Class RepairMode.Builder (1.43.0)

public static final class RepairMode.Builder extends GeneratedMessageV3.Builder<RepairMode.Builder> implements RepairModeOrBuilder

Configuration of the repair action.

Protobuf type google.cloud.deploy.v1.RepairMode

Implements

RepairModeOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RepairMode build()
Returns
Type Description
RepairMode

buildPartial()

public RepairMode buildPartial()
Returns
Type Description
RepairMode

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMode()

public RepairMode.Builder clearMode()
Returns
Type Description
RepairMode.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRetry()

public RepairMode.Builder clearRetry()

Optional. Retries a failed job.

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

Returns
Type Description
RepairMode.Builder

clearRollback()

public RepairMode.Builder clearRollback()

Optional. Rolls back a Rollout.

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

Returns
Type Description
RepairMode.Builder

clone()

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

getDefaultInstanceForType()

public RepairMode getDefaultInstanceForType()
Returns
Type Description
RepairMode

getDescriptorForType()

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

getModeCase()

public RepairMode.ModeCase getModeCase()
Returns
Type Description
RepairMode.ModeCase

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(RepairMode other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRetry(Retry value)

public RepairMode.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
RepairMode.Builder

mergeRollback(Rollback value)

public RepairMode.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
RepairMode.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRetry(Retry value)

public RepairMode.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
RepairMode.Builder

setRetry(Retry.Builder builderForValue)

public RepairMode.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
RepairMode.Builder

setRollback(Rollback value)

public RepairMode.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
RepairMode.Builder

setRollback(Rollback.Builder builderForValue)

public RepairMode.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
RepairMode.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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