Package com.google.cloud.deploy.v1
Class RepairRolloutOperation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RepairRolloutOperation.Builder>
com.google.cloud.deploy.v1.RepairRolloutOperation.Builder
- All Implemented Interfaces:
RepairRolloutOperationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RepairRolloutOperation
public static final class RepairRolloutOperation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RepairRolloutOperation.Builder>
implements RepairRolloutOperationOrBuilder
Contains the information for an automated `repair rollout` operation.Protobuf type
google.cloud.deploy.v1.RepairRolloutOperation-
Method Summary
Modifier and TypeMethodDescriptionaddAllRepairPhases(Iterable<? extends RepairPhase> values) Output only.addRepairPhases(int index, RepairPhase value) Output only.addRepairPhases(int index, RepairPhase.Builder builderForValue) Output only.addRepairPhases(RepairPhase value) Output only.addRepairPhases(RepairPhase.Builder builderForValue) Output only.Output only.addRepairPhasesBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.longOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetJobId()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getRepairPhases(int index) Output only.getRepairPhasesBuilder(int index) Output only.Output only.intOutput only.Output only.getRepairPhasesOrBuilder(int index) Output only.List<? extends RepairPhaseOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RepairRolloutOperation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeRepairPhases(int index) Output only.setCurrentRepairPhaseIndex(long value) Output only.Output only.setJobIdBytes(com.google.protobuf.ByteString value) Output only.setPhaseId(String value) Output only.setPhaseIdBytes(com.google.protobuf.ByteString value) Output only.setRepairPhases(int index, RepairPhase value) Output only.setRepairPhases(int index, RepairPhase.Builder builderForValue) Output only.setRollout(String value) Output only.setRolloutBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RepairRolloutOperation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RepairRolloutOperation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RepairRolloutOperation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RepairRolloutOperation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RepairRolloutOperation.Builder>
-
mergeFrom
public RepairRolloutOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RepairRolloutOperation.Builder>- Throws:
IOException
-
getRollout
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRolloutin interfaceRepairRolloutOperationOrBuilder- Returns:
- The rollout.
-
getRolloutBytes
public com.google.protobuf.ByteString getRolloutBytes()Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRolloutBytesin interfaceRepairRolloutOperationOrBuilder- Returns:
- The bytes for rollout.
-
setRollout
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The rollout to set.- Returns:
- This builder for chaining.
-
clearRollout
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setRolloutBytes
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for rollout to set.- Returns:
- This builder for chaining.
-
getCurrentRepairPhaseIndex
public long getCurrentRepairPhaseIndex()Output only. The index of the current repair action in the repair sequence.
int64 current_repair_phase_index = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrentRepairPhaseIndexin interfaceRepairRolloutOperationOrBuilder- Returns:
- The currentRepairPhaseIndex.
-
setCurrentRepairPhaseIndex
Output only. The index of the current repair action in the repair sequence.
int64 current_repair_phase_index = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The currentRepairPhaseIndex to set.- Returns:
- This builder for chaining.
-
clearCurrentRepairPhaseIndex
Output only. The index of the current repair action in the repair sequence.
int64 current_repair_phase_index = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
getRepairPhasesListin interfaceRepairRolloutOperationOrBuilder
-
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];- Specified by:
getRepairPhasesCountin interfaceRepairRolloutOperationOrBuilder
-
getRepairPhases
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];- Specified by:
getRepairPhasesin interfaceRepairRolloutOperationOrBuilder
-
setRepairPhases
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
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]; -
addRepairPhases
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
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
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
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]; -
addAllRepairPhases
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]; -
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]; -
removeRepairPhases
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]; -
getRepairPhasesBuilder
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
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];- Specified by:
getRepairPhasesOrBuilderin interfaceRepairRolloutOperationOrBuilder
-
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];- Specified by:
getRepairPhasesOrBuilderListin interfaceRepairRolloutOperationOrBuilder
-
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
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]; -
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]; -
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];- Specified by:
getPhaseIdin interfaceRepairRolloutOperationOrBuilder- Returns:
- The phaseId.
-
getPhaseIdBytes
public com.google.protobuf.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];- Specified by:
getPhaseIdBytesin interfaceRepairRolloutOperationOrBuilder- Returns:
- The bytes for phaseId.
-
setPhaseId
Output only. The phase ID of the phase that includes the job being repaired.
string phase_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The phaseId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setPhaseIdBytes
Output only. The phase ID of the phase that includes the job being repaired.
string phase_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for phaseId to set.- Returns:
- This builder for chaining.
-
getJobId
Output only. The job ID for the Job to repair.
string job_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getJobIdin interfaceRepairRolloutOperationOrBuilder- Returns:
- The jobId.
-
getJobIdBytes
public com.google.protobuf.ByteString getJobIdBytes()Output only. The job ID for the Job to repair.
string job_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getJobIdBytesin interfaceRepairRolloutOperationOrBuilder- Returns:
- The bytes for jobId.
-
setJobId
Output only. The job ID for the Job to repair.
string job_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The jobId to set.- Returns:
- This builder for chaining.
-
clearJobId
Output only. The job ID for the Job to repair.
string job_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setJobIdBytes
Output only. The job ID for the Job to repair.
string job_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for jobId to set.- Returns:
- This builder for chaining.
-