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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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];
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];
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];
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];
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];
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RepairRolloutOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RepairRolloutOperation build()
buildPartial()
public RepairRolloutOperation buildPartial()
clear()
public RepairRolloutOperation.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public RepairRolloutOperation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RepairRolloutOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clone()
public RepairRolloutOperation.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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];
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];
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RepairRolloutOperation other)
public RepairRolloutOperation.Builder mergeFrom(RepairRolloutOperation other)
public RepairRolloutOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RepairRolloutOperation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RepairRolloutOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public RepairRolloutOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RepairRolloutOperation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RepairRolloutOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides