Class RepairRolloutOperation.Builder (1.51.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

clearField(Descriptors.FieldDescriptor field)

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

clearJobId()

public RepairRolloutOperation.Builder clearJobId()

Output only. The job ID for the Job to repair.

string job_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RepairRolloutOperation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPhaseId()

public RepairRolloutOperation.Builder clearPhaseId()

Output only. The phase ID of the phase that includes the job being repaired.

string phase_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RepairRolloutOperation.Builder

This builder for chaining.

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

getDefaultInstanceForType()

public RepairRolloutOperation getDefaultInstanceForType()
Returns
Type Description
RepairRolloutOperation

getDescriptorForType()

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

getJobId()

public String getJobId()

Output only. The job ID for the Job to repair.

string job_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

Output only. The job ID for the Job to repair.

string job_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for jobId.

getPhaseId()

public String getPhaseId()

Output only. The phase ID of the phase that includes the job being repaired.

string phase_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The phaseId.

getPhaseIdBytes()

public ByteString getPhaseIdBytes()

Output only. The phase ID of the phase that includes the job being repaired.

string phase_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for phaseId.

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

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

setJobId(String value)

public RepairRolloutOperation.Builder setJobId(String value)

Output only. The job ID for the Job to repair.

string job_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The jobId to set.

Returns
Type Description
RepairRolloutOperation.Builder

This builder for chaining.

setJobIdBytes(ByteString value)

public RepairRolloutOperation.Builder setJobIdBytes(ByteString value)

Output only. The job ID for the Job to repair.

string job_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for jobId to set.

Returns
Type Description
RepairRolloutOperation.Builder

This builder for chaining.

setPhaseId(String value)

public RepairRolloutOperation.Builder setPhaseId(String value)

Output only. The phase ID of the phase that includes the job being repaired.

string phase_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The phaseId to set.

Returns
Type Description
RepairRolloutOperation.Builder

This builder for chaining.

setPhaseIdBytes(ByteString value)

public RepairRolloutOperation.Builder setPhaseIdBytes(ByteString value)

Output only. The phase ID of the phase that includes the job being repaired.

string phase_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for phaseId to set.

Returns
Type Description
RepairRolloutOperation.Builder

This builder for chaining.

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