Class RepairPhase (1.42.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
Type Description
int

ROLLBACK_FIELD_NUMBER

public static final int ROLLBACK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RepairPhase getDefaultInstance()
Returns
Type Description
RepairPhase

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RepairPhase.Builder newBuilder()
Returns
Type Description
RepairPhase.Builder

newBuilder(RepairPhase prototype)

public static RepairPhase.Builder newBuilder(RepairPhase prototype)
Parameter
Name Description
prototype RepairPhase
Returns
Type Description
RepairPhase.Builder

parseDelimitedFrom(InputStream input)

public static RepairPhase parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RepairPhase
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepairPhase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepairPhase
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RepairPhase parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RepairPhase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RepairPhase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepairPhase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RepairPhase parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RepairPhase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RepairPhase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepairPhase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RepairPhase parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RepairPhase
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RepairPhase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepairPhase
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RepairPhase parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RepairPhase
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepairPhase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepairPhase
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RepairPhase parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RepairPhase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RepairPhase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepairPhase
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RepairPhase> parser()
Returns
Type Description
Parser<RepairPhase>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RepairPhase getDefaultInstanceForType()
Returns
Type Description
RepairPhase

getParserForType()

public Parser<RepairPhase> getParserForType()
Returns
Type Description
Parser<RepairPhase>
Overrides

getRepairPhaseCase()

public RepairPhase.RepairPhaseCase getRepairPhaseCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
RollbackAttemptOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the rollback field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RepairPhase.Builder newBuilderForType()
Returns
Type Description
RepairPhase.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RepairPhase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RepairPhase.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RepairPhase.Builder toBuilder()
Returns
Type Description
RepairPhase.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException