public static final class RetryPhase.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RetryPhase.Builder> implements RetryPhaseOrBuilder
RetryPhase contains the retry attempts and the metadata for initiating a new attempt.Protobuf type
google.cloud.deploy.v1.RetryPhase| Modifier and Type | Method and Description |
|---|---|
RetryPhase.Builder |
addAllAttempts(Iterable<? extends RetryAttempt> values)
Output only.
|
RetryPhase.Builder |
addAttempts(int index,
RetryAttempt.Builder builderForValue)
Output only.
|
RetryPhase.Builder |
addAttempts(int index,
RetryAttempt value)
Output only.
|
RetryPhase.Builder |
addAttempts(RetryAttempt.Builder builderForValue)
Output only.
|
RetryPhase.Builder |
addAttempts(RetryAttempt value)
Output only.
|
RetryAttempt.Builder |
addAttemptsBuilder()
Output only.
|
RetryAttempt.Builder |
addAttemptsBuilder(int index)
Output only.
|
RetryPhase.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RetryPhase |
build() |
RetryPhase |
buildPartial() |
RetryPhase.Builder |
clear() |
RetryPhase.Builder |
clearAttempts()
Output only.
|
RetryPhase.Builder |
clearBackoffMode()
Output only.
|
RetryPhase.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RetryPhase.Builder |
clearJobId()
Output only.
|
RetryPhase.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RetryPhase.Builder |
clearPhaseId()
Output only.
|
RetryPhase.Builder |
clearTotalAttempts()
Output only.
|
RetryPhase.Builder |
clone() |
RetryAttempt |
getAttempts(int index)
Output only.
|
RetryAttempt.Builder |
getAttemptsBuilder(int index)
Output only.
|
List<RetryAttempt.Builder> |
getAttemptsBuilderList()
Output only.
|
int |
getAttemptsCount()
Output only.
|
List<RetryAttempt> |
getAttemptsList()
Output only.
|
RetryAttemptOrBuilder |
getAttemptsOrBuilder(int index)
Output only.
|
List<? extends RetryAttemptOrBuilder> |
getAttemptsOrBuilderList()
Output only.
|
BackoffMode |
getBackoffMode()
Output only.
|
int |
getBackoffModeValue()
Output only.
|
RetryPhase |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getJobId()
Output only.
|
com.google.protobuf.ByteString |
getJobIdBytes()
Output only.
|
String |
getPhaseId()
Output only.
|
com.google.protobuf.ByteString |
getPhaseIdBytes()
Output only.
|
long |
getTotalAttempts()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RetryPhase.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RetryPhase.Builder |
mergeFrom(com.google.protobuf.Message other) |
RetryPhase.Builder |
mergeFrom(RetryPhase other) |
RetryPhase.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RetryPhase.Builder |
removeAttempts(int index)
Output only.
|
RetryPhase.Builder |
setAttempts(int index,
RetryAttempt.Builder builderForValue)
Output only.
|
RetryPhase.Builder |
setAttempts(int index,
RetryAttempt value)
Output only.
|
RetryPhase.Builder |
setBackoffMode(BackoffMode value)
Output only.
|
RetryPhase.Builder |
setBackoffModeValue(int value)
Output only.
|
RetryPhase.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RetryPhase.Builder |
setJobId(String value)
Output only.
|
RetryPhase.Builder |
setJobIdBytes(com.google.protobuf.ByteString value)
Output only.
|
RetryPhase.Builder |
setPhaseId(String value)
Output only.
|
RetryPhase.Builder |
setPhaseIdBytes(com.google.protobuf.ByteString value)
Output only.
|
RetryPhase.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RetryPhase.Builder |
setTotalAttempts(long value)
Output only.
|
RetryPhase.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPhase.Builder>public RetryPhase.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPhase.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPhase.Builder>public RetryPhase getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RetryPhase build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RetryPhase buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RetryPhase.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPhase.Builder>public RetryPhase.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPhase.Builder>public RetryPhase.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPhase.Builder>public RetryPhase.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPhase.Builder>public RetryPhase.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPhase.Builder>public RetryPhase.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPhase.Builder>public RetryPhase.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RetryPhase.Builder>public RetryPhase.Builder mergeFrom(RetryPhase other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPhase.Builder>public RetryPhase.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RetryPhase.Builder>IOExceptionpublic long getTotalAttempts()
Output only. The number of attempts that have been made.
int64 total_attempts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getTotalAttempts in interface RetryPhaseOrBuilderpublic RetryPhase.Builder setTotalAttempts(long value)
Output only. The number of attempts that have been made.
int64 total_attempts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The totalAttempts to set.public RetryPhase.Builder clearTotalAttempts()
Output only. The number of attempts that have been made.
int64 total_attempts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public int getBackoffModeValue()
Output only. The pattern of how the wait time of the retry attempt is calculated.
.google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getBackoffModeValue in interface RetryPhaseOrBuilderpublic RetryPhase.Builder setBackoffModeValue(int value)
Output only. The pattern of how the wait time of the retry attempt is calculated.
.google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for backoffMode to set.public BackoffMode getBackoffMode()
Output only. The pattern of how the wait time of the retry attempt is calculated.
.google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getBackoffMode in interface RetryPhaseOrBuilderpublic RetryPhase.Builder setBackoffMode(BackoffMode value)
Output only. The pattern of how the wait time of the retry attempt is calculated.
.google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The backoffMode to set.public RetryPhase.Builder clearBackoffMode()
Output only. The pattern of how the wait time of the retry attempt is calculated.
.google.cloud.deploy.v1.BackoffMode backoff_mode = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getPhaseId()
Output only. The phase ID of the phase that includes the job being retried.
string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getPhaseId in interface RetryPhaseOrBuilderpublic com.google.protobuf.ByteString getPhaseIdBytes()
Output only. The phase ID of the phase that includes the job being retried.
string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getPhaseIdBytes in interface RetryPhaseOrBuilderpublic RetryPhase.Builder setPhaseId(String value)
Output only. The phase ID of the phase that includes the job being retried.
string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The phaseId to set.public RetryPhase.Builder clearPhaseId()
Output only. The phase ID of the phase that includes the job being retried.
string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public RetryPhase.Builder setPhaseIdBytes(com.google.protobuf.ByteString value)
Output only. The phase ID of the phase that includes the job being retried.
string phase_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for phaseId to set.public String getJobId()
Output only. The job ID for the Job to retry.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getJobId in interface RetryPhaseOrBuilderpublic com.google.protobuf.ByteString getJobIdBytes()
Output only. The job ID for the Job to retry.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getJobIdBytes in interface RetryPhaseOrBuilderpublic RetryPhase.Builder setJobId(String value)
Output only. The job ID for the Job to retry.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The jobId to set.public RetryPhase.Builder clearJobId()
Output only. The job ID for the Job to retry.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public RetryPhase.Builder setJobIdBytes(com.google.protobuf.ByteString value)
Output only. The job ID for the Job to retry.
string job_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for jobId to set.public List<RetryAttempt> getAttemptsList()
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAttemptsList in interface RetryPhaseOrBuilderpublic int getAttemptsCount()
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAttemptsCount in interface RetryPhaseOrBuilderpublic RetryAttempt getAttempts(int index)
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAttempts in interface RetryPhaseOrBuilderpublic RetryPhase.Builder setAttempts(int index, RetryAttempt value)
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RetryPhase.Builder setAttempts(int index, RetryAttempt.Builder builderForValue)
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RetryPhase.Builder addAttempts(RetryAttempt value)
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RetryPhase.Builder addAttempts(int index, RetryAttempt value)
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RetryPhase.Builder addAttempts(RetryAttempt.Builder builderForValue)
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RetryPhase.Builder addAttempts(int index, RetryAttempt.Builder builderForValue)
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RetryPhase.Builder addAllAttempts(Iterable<? extends RetryAttempt> values)
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RetryPhase.Builder clearAttempts()
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RetryPhase.Builder removeAttempts(int index)
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RetryAttempt.Builder getAttemptsBuilder(int index)
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RetryAttemptOrBuilder getAttemptsOrBuilder(int index)
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAttemptsOrBuilder in interface RetryPhaseOrBuilderpublic List<? extends RetryAttemptOrBuilder> getAttemptsOrBuilderList()
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAttemptsOrBuilderList in interface RetryPhaseOrBuilderpublic RetryAttempt.Builder addAttemptsBuilder()
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RetryAttempt.Builder addAttemptsBuilder(int index)
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<RetryAttempt.Builder> getAttemptsBuilderList()
Output only. Detail of a retry action.
repeated .google.cloud.deploy.v1.RetryAttempt attempts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final RetryPhase.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPhase.Builder>public final RetryPhase.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RetryPhase.Builder>Copyright © 2024 Google LLC. All rights reserved.