public static final class RetryAttempt.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RetryAttempt.Builder> implements RetryAttemptOrBuilder
RetryAttempt represents an action of retrying the failed Cloud Deploy job.Protobuf type
google.cloud.deploy.v1.RetryAttempt| Modifier and Type | Method and Description |
|---|---|
RetryAttempt.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RetryAttempt |
build() |
RetryAttempt |
buildPartial() |
RetryAttempt.Builder |
clear() |
RetryAttempt.Builder |
clearAttempt()
Output only.
|
RetryAttempt.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RetryAttempt.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RetryAttempt.Builder |
clearState()
Output only.
|
RetryAttempt.Builder |
clearStateDesc()
Output only.
|
RetryAttempt.Builder |
clearWait()
Output only.
|
RetryAttempt.Builder |
clone() |
long |
getAttempt()
Output only.
|
RetryAttempt |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RepairState |
getState()
Output only.
|
String |
getStateDesc()
Output only.
|
com.google.protobuf.ByteString |
getStateDescBytes()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.Duration |
getWait()
Output only.
|
com.google.protobuf.Duration.Builder |
getWaitBuilder()
Output only.
|
com.google.protobuf.DurationOrBuilder |
getWaitOrBuilder()
Output only.
|
boolean |
hasWait()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RetryAttempt.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RetryAttempt.Builder |
mergeFrom(com.google.protobuf.Message other) |
RetryAttempt.Builder |
mergeFrom(RetryAttempt other) |
RetryAttempt.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RetryAttempt.Builder |
mergeWait(com.google.protobuf.Duration value)
Output only.
|
RetryAttempt.Builder |
setAttempt(long value)
Output only.
|
RetryAttempt.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RetryAttempt.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RetryAttempt.Builder |
setState(RepairState value)
Output only.
|
RetryAttempt.Builder |
setStateDesc(String value)
Output only.
|
RetryAttempt.Builder |
setStateDescBytes(com.google.protobuf.ByteString value)
Output only.
|
RetryAttempt.Builder |
setStateValue(int value)
Output only.
|
RetryAttempt.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RetryAttempt.Builder |
setWait(com.google.protobuf.Duration.Builder builderForValue)
Output only.
|
RetryAttempt.Builder |
setWait(com.google.protobuf.Duration value)
Output only.
|
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<RetryAttempt.Builder>public RetryAttempt.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RetryAttempt.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<RetryAttempt.Builder>public RetryAttempt getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RetryAttempt build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RetryAttempt buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RetryAttempt.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RetryAttempt.Builder>public RetryAttempt.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<RetryAttempt.Builder>public RetryAttempt.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RetryAttempt.Builder>public RetryAttempt.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RetryAttempt.Builder>public RetryAttempt.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<RetryAttempt.Builder>public RetryAttempt.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<RetryAttempt.Builder>public RetryAttempt.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RetryAttempt.Builder>public RetryAttempt.Builder mergeFrom(RetryAttempt other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RetryAttempt.Builder>public RetryAttempt.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<RetryAttempt.Builder>IOExceptionpublic long getAttempt()
Output only. The index of this retry attempt.
int64 attempt = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getAttempt in interface RetryAttemptOrBuilderpublic RetryAttempt.Builder setAttempt(long value)
Output only. The index of this retry attempt.
int64 attempt = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The attempt to set.public RetryAttempt.Builder clearAttempt()
Output only. The index of this retry attempt.
int64 attempt = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public boolean hasWait()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];hasWait in interface RetryAttemptOrBuilderpublic com.google.protobuf.Duration getWait()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getWait in interface RetryAttemptOrBuilderpublic RetryAttempt.Builder setWait(com.google.protobuf.Duration value)
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public RetryAttempt.Builder setWait(com.google.protobuf.Duration.Builder builderForValue)
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public RetryAttempt.Builder mergeWait(com.google.protobuf.Duration value)
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public RetryAttempt.Builder clearWait()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public com.google.protobuf.Duration.Builder getWaitBuilder()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public com.google.protobuf.DurationOrBuilder getWaitOrBuilder()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getWaitOrBuilder in interface RetryAttemptOrBuilderpublic int getStateValue()
Output only. Valid state of this retry action.
.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface RetryAttemptOrBuilderpublic RetryAttempt.Builder setStateValue(int value)
Output only. Valid state of this retry action.
.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public RepairState getState()
Output only. Valid state of this retry action.
.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface RetryAttemptOrBuilderpublic RetryAttempt.Builder setState(RepairState value)
Output only. Valid state of this retry action.
.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public RetryAttempt.Builder clearState()
Output only. Valid state of this retry action.
.google.cloud.deploy.v1.RepairState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getStateDesc()
Output only. Description of the state of the Retry.
string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateDesc in interface RetryAttemptOrBuilderpublic com.google.protobuf.ByteString getStateDescBytes()
Output only. Description of the state of the Retry.
string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateDescBytes in interface RetryAttemptOrBuilderpublic RetryAttempt.Builder setStateDesc(String value)
Output only. Description of the state of the Retry.
string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The stateDesc to set.public RetryAttempt.Builder clearStateDesc()
Output only. Description of the state of the Retry.
string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];public RetryAttempt.Builder setStateDescBytes(com.google.protobuf.ByteString value)
Output only. Description of the state of the Retry.
string state_desc = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for stateDesc to set.public final RetryAttempt.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RetryAttempt.Builder>public final RetryAttempt.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RetryAttempt.Builder>Copyright © 2024 Google LLC. All rights reserved.