Class RepairRolloutOperation.Builder (1.40.0)

public static final class RepairRolloutOperation.Builder extends GeneratedMessageV3.Builder<RepairRolloutOperation.Builder> implements RepairRolloutOperationOrBuilder

Contains the information for an automated repair rollout operation.

Protobuf type google.cloud.deploy.v1.RepairRolloutOperation

Static Methods

getDescriptor()

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

Methods

addAllRepairPhases(Iterable<? extends RepairPhase> values)

public RepairRolloutOperation.Builder addAllRepairPhases(Iterable<? extends RepairPhase> values)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.deploy.v1.RepairPhase>
Returns
Type Description
RepairRolloutOperation.Builder

addRepairPhases(RepairPhase value)

public RepairRolloutOperation.Builder addRepairPhases(RepairPhase value)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RepairPhase
Returns
Type Description
RepairRolloutOperation.Builder

addRepairPhases(RepairPhase.Builder builderForValue)

public RepairRolloutOperation.Builder addRepairPhases(RepairPhase.Builder builderForValue)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue RepairPhase.Builder
Returns
Type Description
RepairRolloutOperation.Builder

addRepairPhases(int index, RepairPhase value)

public RepairRolloutOperation.Builder addRepairPhases(int index, RepairPhase value)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value RepairPhase
Returns
Type Description
RepairRolloutOperation.Builder

addRepairPhases(int index, RepairPhase.Builder builderForValue)

public RepairRolloutOperation.Builder addRepairPhases(int index, RepairPhase.Builder builderForValue)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue RepairPhase.Builder
Returns
Type Description
RepairRolloutOperation.Builder

addRepairPhasesBuilder()

public RepairPhase.Builder addRepairPhasesBuilder()

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RepairPhase.Builder

addRepairPhasesBuilder(int index)

public RepairPhase.Builder addRepairPhasesBuilder(int index)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RepairPhase.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RepairRolloutOperation build()
Returns
Type Description
RepairRolloutOperation

buildPartial()

public RepairRolloutOperation buildPartial()
Returns
Type Description
RepairRolloutOperation

clear()

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

clearCurrentRepairModeIndex()

public RepairRolloutOperation.Builder clearCurrentRepairModeIndex()

Output only. The index of the current repair action in the repair sequence.

int64 current_repair_mode_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RepairRolloutOperation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRepairPhases()

public RepairRolloutOperation.Builder clearRepairPhases()

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RepairRolloutOperation.Builder

clearRollout()

public RepairRolloutOperation.Builder clearRollout()

Output only. The name of the rollout that initiates the AutomationRun.

string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RepairRolloutOperation.Builder

This builder for chaining.

clone()

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

getCurrentRepairModeIndex()

public long getCurrentRepairModeIndex()

Output only. The index of the current repair action in the repair sequence.

int64 current_repair_mode_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The currentRepairModeIndex.

getDefaultInstanceForType()

public RepairRolloutOperation getDefaultInstanceForType()
Returns
Type Description
RepairRolloutOperation

getDescriptorForType()

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

getRepairPhases(int index)

public RepairPhase getRepairPhases(int index)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RepairPhase

getRepairPhasesBuilder(int index)

public RepairPhase.Builder getRepairPhasesBuilder(int index)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RepairPhase.Builder

getRepairPhasesBuilderList()

public List<RepairPhase.Builder> getRepairPhasesBuilderList()

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getRepairPhasesCount()

public int getRepairPhasesCount()

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getRepairPhasesList()

public List<RepairPhase> getRepairPhasesList()

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<RepairPhase>

getRepairPhasesOrBuilder(int index)

public RepairPhaseOrBuilder getRepairPhasesOrBuilder(int index)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RepairPhaseOrBuilder

getRepairPhasesOrBuilderList()

public List<? extends RepairPhaseOrBuilder> getRepairPhasesOrBuilderList()

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.RepairPhaseOrBuilder>

getRollout()

public String getRollout()

Output only. The name of the rollout that initiates the AutomationRun.

string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The rollout.

getRolloutBytes()

public ByteString getRolloutBytes()

Output only. The name of the rollout that initiates the AutomationRun.

string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for rollout.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RepairRolloutOperation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRepairPhases(int index)

public RepairRolloutOperation.Builder removeRepairPhases(int index)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RepairRolloutOperation.Builder

setCurrentRepairModeIndex(long value)

public RepairRolloutOperation.Builder setCurrentRepairModeIndex(long value)

Output only. The index of the current repair action in the repair sequence.

int64 current_repair_mode_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The currentRepairModeIndex to set.

Returns
Type Description
RepairRolloutOperation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setRepairPhases(int index, RepairPhase value)

public RepairRolloutOperation.Builder setRepairPhases(int index, RepairPhase value)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value RepairPhase
Returns
Type Description
RepairRolloutOperation.Builder

setRepairPhases(int index, RepairPhase.Builder builderForValue)

public RepairRolloutOperation.Builder setRepairPhases(int index, RepairPhase.Builder builderForValue)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue RepairPhase.Builder
Returns
Type Description
RepairRolloutOperation.Builder

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

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

setRollout(String value)

public RepairRolloutOperation.Builder setRollout(String value)

Output only. The name of the rollout that initiates the AutomationRun.

string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The rollout to set.

Returns
Type Description
RepairRolloutOperation.Builder

This builder for chaining.

setRolloutBytes(ByteString value)

public RepairRolloutOperation.Builder setRolloutBytes(ByteString value)

Output only. The name of the rollout that initiates the AutomationRun.

string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for rollout to set.

Returns
Type Description
RepairRolloutOperation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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