Class RepairMode.Builder (1.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RepairMode build()
Returns
TypeDescription
RepairMode

buildPartial()

public RepairMode buildPartial()
Returns
TypeDescription
RepairMode

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMode()

public RepairMode.Builder clearMode()
Returns
TypeDescription
RepairMode.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RepairMode getDefaultInstanceForType()
Returns
TypeDescription
RepairMode

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getModeCase()

public RepairMode.ModeCase getModeCase()
Returns
TypeDescription
RepairMode.ModeCase

getRetry()

public Retry getRetry()

Optional. Retries a failed job.

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

Returns
TypeDescription
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
TypeDescription
Retry.Builder

getRetryOrBuilder()

public RetryOrBuilder getRetryOrBuilder()

Optional. Retries a failed job.

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

Returns
TypeDescription
RetryOrBuilder

getRollback()

public Rollback getRollback()

Optional. Rolls back a Rollout.

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

Returns
TypeDescription
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
TypeDescription
Rollback.Builder

getRollbackOrBuilder()

public RollbackOrBuilder getRollbackOrBuilder()

Optional. Rolls back a Rollout.

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

Returns
TypeDescription
RollbackOrBuilder

hasRetry()

public boolean hasRetry()

Optional. Retries a failed job.

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

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

Whether the rollback field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RepairMode other)

public RepairMode.Builder mergeFrom(RepairMode other)
Parameter
NameDescription
otherRepairMode
Returns
TypeDescription
RepairMode.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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