Class CleanupPhaseInfo (0.62.0)

public final class CleanupPhaseInfo extends GeneratedMessage implements CleanupPhaseInfoOrBuilder

Info for Cleanup phase execution.

Protobuf type google.cloud.backupdr.v1beta.CleanupPhaseInfo

Static Fields

CLEANUP_DURATION_FIELD_NUMBER

public static final int CLEANUP_DURATION_FIELD_NUMBER
Field Value
Type Description
int

CLEANUP_TIME_FIELD_NUMBER

public static final int CLEANUP_TIME_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

FAILURE_CLEANUP_RULE_FIELD_NUMBER

public static final int FAILURE_CLEANUP_RULE_FIELD_NUMBER
Field Value
Type Description
int

PHASE_STATE_FIELD_NUMBER

public static final int PHASE_STATE_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

SUCCESS_CLEANUP_RULE_FIELD_NUMBER

public static final int SUCCESS_CLEANUP_RULE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CleanupPhaseInfo getDefaultInstance()
Returns
Type Description
CleanupPhaseInfo

getDescriptor()

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

newBuilder()

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

newBuilder(CleanupPhaseInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCleanupDuration()

public Duration getCleanupDuration()

Output only. Time taken to perform the cleanup of restored resource.

.google.protobuf.Duration cleanup_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The cleanupDuration.

getCleanupDurationOrBuilder()

public DurationOrBuilder getCleanupDurationOrBuilder()

Output only. Time taken to perform the cleanup of restored resource.

.google.protobuf.Duration cleanup_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getCleanupTime()

public Timestamp getCleanupTime()

Output only. The time when the resources will be cleaned up.

.google.protobuf.Timestamp cleanup_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The cleanupTime.

getCleanupTimeOrBuilder()

public TimestampOrBuilder getCleanupTimeOrBuilder()

Output only. The time when the resources will be cleaned up.

.google.protobuf.Timestamp cleanup_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CleanupPhaseInfo getDefaultInstanceForType()
Returns
Type Description
CleanupPhaseInfo

getEndTime()

public Timestamp getEndTime()

Output only. End time of the phase.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. End time of the phase.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getError()

public Status getError()

Output only. Error details if the phase failed.

.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. Error details if the phase failed.

.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getFailureCleanupRule()

public RestoreVerificationCleanupRule getFailureCleanupRule()

Output only. Snapshot of cleanup rule provided for this execution when execution is failed.

.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule failure_cleanup_rule = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreVerificationCleanupRule

The failureCleanupRule.

getFailureCleanupRuleOrBuilder()

public RestoreVerificationCleanupRuleOrBuilder getFailureCleanupRuleOrBuilder()

Output only. Snapshot of cleanup rule provided for this execution when execution is failed.

.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule failure_cleanup_rule = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreVerificationCleanupRuleOrBuilder

getParserForType()

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

getPhaseState()

public PhaseState getPhaseState()

Output only. The state of this phase.

.google.cloud.backupdr.v1beta.PhaseState phase_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PhaseState

The phaseState.

getPhaseStateValue()

public int getPhaseStateValue()

Output only. The state of this phase.

.google.cloud.backupdr.v1beta.PhaseState phase_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for phaseState.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Output only. Start time of the phase.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. Start time of the phase.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getSuccessCleanupRule()

public RestoreVerificationCleanupRule getSuccessCleanupRule()

Output only. Snapshot of cleanup rule provided for this execution when execution is successful.

.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule success_cleanup_rule = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreVerificationCleanupRule

The successCleanupRule.

getSuccessCleanupRuleOrBuilder()

public RestoreVerificationCleanupRuleOrBuilder getSuccessCleanupRuleOrBuilder()

Output only. Snapshot of cleanup rule provided for this execution when execution is successful.

.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule success_cleanup_rule = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreVerificationCleanupRuleOrBuilder

hasCleanupDuration()

public boolean hasCleanupDuration()

Output only. Time taken to perform the cleanup of restored resource.

.google.protobuf.Duration cleanup_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the cleanupDuration field is set.

hasCleanupTime()

public boolean hasCleanupTime()

Output only. The time when the resources will be cleaned up.

.google.protobuf.Timestamp cleanup_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the cleanupTime field is set.

hasEndTime()

public boolean hasEndTime()

Output only. End time of the phase.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasError()

public boolean hasError()

Output only. Error details if the phase failed.

.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the error field is set.

hasFailureCleanupRule()

public boolean hasFailureCleanupRule()

Output only. Snapshot of cleanup rule provided for this execution when execution is failed.

.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule failure_cleanup_rule = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the failureCleanupRule field is set.

hasStartTime()

public boolean hasStartTime()

Output only. Start time of the phase.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

hasSuccessCleanupRule()

public boolean hasSuccessCleanupRule()

Output only. Snapshot of cleanup rule provided for this execution when execution is successful.

.google.cloud.backupdr.v1beta.RestoreVerificationCleanupRule success_cleanup_rule = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the successCleanupRule field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CleanupPhaseInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CleanupPhaseInfo.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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