Class RepairRolloutOperation.Builder (1.39.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.deploy.v1.RepairPhase>
Returns
TypeDescription
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
NameDescription
valueRepairPhase
Returns
TypeDescription
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
NameDescription
builderForValueRepairPhase.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRepairPhase
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRepairPhase.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RepairPhase.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RepairRolloutOperation build()
Returns
TypeDescription
RepairRolloutOperation

buildPartial()

public RepairRolloutOperation buildPartial()
Returns
TypeDescription
RepairRolloutOperation

clear()

public RepairRolloutOperation.Builder clear()
Returns
TypeDescription
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
TypeDescription
RepairRolloutOperation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public RepairRolloutOperation.Builder clone()
Returns
TypeDescription
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
TypeDescription
long

The currentRepairModeIndex.

getDefaultInstanceForType()

public RepairRolloutOperation getDefaultInstanceForType()
Returns
TypeDescription
RepairRolloutOperation

getDescriptorForType()

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

The bytes for rollout.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RepairRolloutOperation other)

public RepairRolloutOperation.Builder mergeFrom(RepairRolloutOperation other)
Parameter
NameDescription
otherRepairRolloutOperation
Returns
TypeDescription
RepairRolloutOperation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RepairRolloutOperation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RepairRolloutOperation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RepairRolloutOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuelong

The currentRepairModeIndex to set.

Returns
TypeDescription
RepairRolloutOperation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RepairRolloutOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueRepairPhase
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRepairPhase.Builder
Returns
TypeDescription
RepairRolloutOperation.Builder

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

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

The rollout to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for rollout to set.

Returns
TypeDescription
RepairRolloutOperation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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