Class RepairPhase (1.34.0)

public final class RepairPhase extends GeneratedMessageV3 implements RepairPhaseOrBuilder

RepairPhase tracks the repair attempts that have been made for each RepairMode specified in the Automation resource.

Protobuf type google.cloud.deploy.v1.RepairPhase

Static Fields

RETRY_FIELD_NUMBER

public static final int RETRY_FIELD_NUMBER
Field Value
TypeDescription
int

ROLLBACK_FIELD_NUMBER

public static final int ROLLBACK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RepairPhase getDefaultInstance()
Returns
TypeDescription
RepairPhase

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RepairPhase.Builder newBuilder()
Returns
TypeDescription
RepairPhase.Builder

newBuilder(RepairPhase prototype)

public static RepairPhase.Builder newBuilder(RepairPhase prototype)
Parameter
NameDescription
prototypeRepairPhase
Returns
TypeDescription
RepairPhase.Builder

parseDelimitedFrom(InputStream input)

public static RepairPhase parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RepairPhase
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepairPhase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepairPhase
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RepairPhase parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RepairPhase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RepairPhase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepairPhase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RepairPhase parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RepairPhase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RepairPhase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepairPhase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RepairPhase parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RepairPhase
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RepairPhase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepairPhase
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RepairPhase parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RepairPhase
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepairPhase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepairPhase
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RepairPhase parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RepairPhase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RepairPhase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepairPhase
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RepairPhase> parser()
Returns
TypeDescription
Parser<RepairPhase>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RepairPhase getDefaultInstanceForType()
Returns
TypeDescription
RepairPhase

getParserForType()

public Parser<RepairPhase> getParserForType()
Returns
TypeDescription
Parser<RepairPhase>
Overrides

getRepairPhaseCase()

public RepairPhase.RepairPhaseCase getRepairPhaseCase()
Returns
TypeDescription
RepairPhase.RepairPhaseCase

getRetry()

public RetryPhase getRetry()

Output only. Records of the retry attempts for retry repair mode.

.google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
RetryPhase

The retry.

getRetryOrBuilder()

public RetryPhaseOrBuilder getRetryOrBuilder()

Output only. Records of the retry attempts for retry repair mode.

.google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
RetryPhaseOrBuilder

getRollback()

public RollbackAttempt getRollback()

Output only. Rollback attempt for rollback repair mode .

.google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
RollbackAttempt

The rollback.

getRollbackOrBuilder()

public RollbackAttemptOrBuilder getRollbackOrBuilder()

Output only. Rollback attempt for rollback repair mode .

.google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
RollbackAttemptOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasRetry()

public boolean hasRetry()

Output only. Records of the retry attempts for retry repair mode.

.google.cloud.deploy.v1.RetryPhase retry = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the retry field is set.

hasRollback()

public boolean hasRollback()

Output only. Rollback attempt for rollback repair mode .

.google.cloud.deploy.v1.RollbackAttempt rollback = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the rollback field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RepairPhase.Builder newBuilderForType()
Returns
TypeDescription
RepairPhase.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RepairPhase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RepairPhase.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RepairPhase.Builder toBuilder()
Returns
TypeDescription
RepairPhase.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException