Class CleanupPhaseInfo.Builder (0.62.0)

public static final class CleanupPhaseInfo.Builder extends GeneratedMessage.Builder<CleanupPhaseInfo.Builder> implements CleanupPhaseInfoOrBuilder

Info for Cleanup phase execution.

Protobuf type google.cloud.backupdr.v1.CleanupPhaseInfo

Static Methods

getDescriptor()

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

Methods

build()

public CleanupPhaseInfo build()
Returns
Type Description
CleanupPhaseInfo

buildPartial()

public CleanupPhaseInfo buildPartial()
Returns
Type Description
CleanupPhaseInfo

clear()

public CleanupPhaseInfo.Builder clear()
Returns
Type Description
CleanupPhaseInfo.Builder
Overrides

clearCleanupDuration()

public CleanupPhaseInfo.Builder clearCleanupDuration()

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
CleanupPhaseInfo.Builder

clearCleanupTime()

public CleanupPhaseInfo.Builder clearCleanupTime()

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
CleanupPhaseInfo.Builder

clearEndTime()

public CleanupPhaseInfo.Builder clearEndTime()

Output only. End time of the phase.

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

Returns
Type Description
CleanupPhaseInfo.Builder

clearError()

public CleanupPhaseInfo.Builder clearError()

Output only. Error details if the phase failed.

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

Returns
Type Description
CleanupPhaseInfo.Builder

clearFailureCleanupRule()

public CleanupPhaseInfo.Builder clearFailureCleanupRule()

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

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

Returns
Type Description
CleanupPhaseInfo.Builder

clearPhaseState()

public CleanupPhaseInfo.Builder clearPhaseState()

Output only. The state of this phase.

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

Returns
Type Description
CleanupPhaseInfo.Builder

This builder for chaining.

clearStartTime()

public CleanupPhaseInfo.Builder clearStartTime()

Output only. Start time of the phase.

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

Returns
Type Description
CleanupPhaseInfo.Builder

clearSuccessCleanupRule()

public CleanupPhaseInfo.Builder clearSuccessCleanupRule()

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

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

Returns
Type Description
CleanupPhaseInfo.Builder

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.

getCleanupDurationBuilder()

public Duration.Builder getCleanupDurationBuilder()

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
Builder

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.

getCleanupTimeBuilder()

public Timestamp.Builder getCleanupTimeBuilder()

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
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. End time of the phase.

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

Returns
Type Description
Builder

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.

getErrorBuilder()

public Status.Builder getErrorBuilder()

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.Builder

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.v1.RestoreVerificationCleanupRule failure_cleanup_rule = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreVerificationCleanupRule

The failureCleanupRule.

getFailureCleanupRuleBuilder()

public RestoreVerificationCleanupRule.Builder getFailureCleanupRuleBuilder()

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

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

Returns
Type Description
RestoreVerificationCleanupRule.Builder

getFailureCleanupRuleOrBuilder()

public RestoreVerificationCleanupRuleOrBuilder getFailureCleanupRuleOrBuilder()

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

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

Returns
Type Description
RestoreVerificationCleanupRuleOrBuilder

getPhaseState()

public PhaseState getPhaseState()

Output only. The state of this phase.

.google.cloud.backupdr.v1.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.v1.PhaseState phase_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for phaseState.

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.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. Start time of the phase.

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

Returns
Type Description
Builder

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.v1.RestoreVerificationCleanupRule success_cleanup_rule = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreVerificationCleanupRule

The successCleanupRule.

getSuccessCleanupRuleBuilder()

public RestoreVerificationCleanupRule.Builder getSuccessCleanupRuleBuilder()

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

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

Returns
Type Description
RestoreVerificationCleanupRule.Builder

getSuccessCleanupRuleOrBuilder()

public RestoreVerificationCleanupRuleOrBuilder getSuccessCleanupRuleOrBuilder()

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

.google.cloud.backupdr.v1.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.v1.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.v1.RestoreVerificationCleanupRule success_cleanup_rule = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the successCleanupRule field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCleanupDuration(Duration value)

public CleanupPhaseInfo.Builder mergeCleanupDuration(Duration value)

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

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

Parameter
Name Description
value Duration
Returns
Type Description
CleanupPhaseInfo.Builder

mergeCleanupTime(Timestamp value)

public CleanupPhaseInfo.Builder mergeCleanupTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
CleanupPhaseInfo.Builder

mergeEndTime(Timestamp value)

public CleanupPhaseInfo.Builder mergeEndTime(Timestamp value)

Output only. End time of the phase.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
CleanupPhaseInfo.Builder

mergeError(Status value)

public CleanupPhaseInfo.Builder mergeError(Status value)

Output only. Error details if the phase failed.

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

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
CleanupPhaseInfo.Builder

mergeFailureCleanupRule(RestoreVerificationCleanupRule value)

public CleanupPhaseInfo.Builder mergeFailureCleanupRule(RestoreVerificationCleanupRule value)

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

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

Parameter
Name Description
value RestoreVerificationCleanupRule
Returns
Type Description
CleanupPhaseInfo.Builder

mergeFrom(CleanupPhaseInfo other)

public CleanupPhaseInfo.Builder mergeFrom(CleanupPhaseInfo other)
Parameter
Name Description
other CleanupPhaseInfo
Returns
Type Description
CleanupPhaseInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CleanupPhaseInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CleanupPhaseInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CleanupPhaseInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CleanupPhaseInfo.Builder
Overrides

mergeStartTime(Timestamp value)

public CleanupPhaseInfo.Builder mergeStartTime(Timestamp value)

Output only. Start time of the phase.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
CleanupPhaseInfo.Builder

mergeSuccessCleanupRule(RestoreVerificationCleanupRule value)

public CleanupPhaseInfo.Builder mergeSuccessCleanupRule(RestoreVerificationCleanupRule value)

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

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

Parameter
Name Description
value RestoreVerificationCleanupRule
Returns
Type Description
CleanupPhaseInfo.Builder

setCleanupDuration(Duration value)

public CleanupPhaseInfo.Builder setCleanupDuration(Duration value)

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

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

Parameter
Name Description
value Duration
Returns
Type Description
CleanupPhaseInfo.Builder

setCleanupDuration(Duration.Builder builderForValue)

public CleanupPhaseInfo.Builder setCleanupDuration(Duration.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CleanupPhaseInfo.Builder

setCleanupTime(Timestamp value)

public CleanupPhaseInfo.Builder setCleanupTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
CleanupPhaseInfo.Builder

setCleanupTime(Timestamp.Builder builderForValue)

public CleanupPhaseInfo.Builder setCleanupTime(Timestamp.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CleanupPhaseInfo.Builder

setEndTime(Timestamp value)

public CleanupPhaseInfo.Builder setEndTime(Timestamp value)

Output only. End time of the phase.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
CleanupPhaseInfo.Builder

setEndTime(Timestamp.Builder builderForValue)

public CleanupPhaseInfo.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. End time of the phase.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CleanupPhaseInfo.Builder

setError(Status value)

public CleanupPhaseInfo.Builder setError(Status value)

Output only. Error details if the phase failed.

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

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
CleanupPhaseInfo.Builder

setError(Status.Builder builderForValue)

public CleanupPhaseInfo.Builder setError(Status.Builder builderForValue)

Output only. Error details if the phase failed.

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

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
CleanupPhaseInfo.Builder

setFailureCleanupRule(RestoreVerificationCleanupRule value)

public CleanupPhaseInfo.Builder setFailureCleanupRule(RestoreVerificationCleanupRule value)

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

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

Parameter
Name Description
value RestoreVerificationCleanupRule
Returns
Type Description
CleanupPhaseInfo.Builder

setFailureCleanupRule(RestoreVerificationCleanupRule.Builder builderForValue)

public CleanupPhaseInfo.Builder setFailureCleanupRule(RestoreVerificationCleanupRule.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue RestoreVerificationCleanupRule.Builder
Returns
Type Description
CleanupPhaseInfo.Builder

setPhaseState(PhaseState value)

public CleanupPhaseInfo.Builder setPhaseState(PhaseState value)

Output only. The state of this phase.

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

Parameter
Name Description
value PhaseState

The phaseState to set.

Returns
Type Description
CleanupPhaseInfo.Builder

This builder for chaining.

setPhaseStateValue(int value)

public CleanupPhaseInfo.Builder setPhaseStateValue(int value)

Output only. The state of this phase.

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

Parameter
Name Description
value int

The enum numeric value on the wire for phaseState to set.

Returns
Type Description
CleanupPhaseInfo.Builder

This builder for chaining.

setStartTime(Timestamp value)

public CleanupPhaseInfo.Builder setStartTime(Timestamp value)

Output only. Start time of the phase.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
CleanupPhaseInfo.Builder

setStartTime(Timestamp.Builder builderForValue)

public CleanupPhaseInfo.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. Start time of the phase.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CleanupPhaseInfo.Builder

setSuccessCleanupRule(RestoreVerificationCleanupRule value)

public CleanupPhaseInfo.Builder setSuccessCleanupRule(RestoreVerificationCleanupRule value)

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

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

Parameter
Name Description
value RestoreVerificationCleanupRule
Returns
Type Description
CleanupPhaseInfo.Builder

setSuccessCleanupRule(RestoreVerificationCleanupRule.Builder builderForValue)

public CleanupPhaseInfo.Builder setSuccessCleanupRule(RestoreVerificationCleanupRule.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue RestoreVerificationCleanupRule.Builder
Returns
Type Description
CleanupPhaseInfo.Builder