Interface RestorePhaseInfoOrBuilder (0.62.0)

public interface RestorePhaseInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndTime()

public abstract 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 abstract 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 abstract 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 abstract 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

getPhaseState()

public abstract 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 abstract 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.

getRestoreDuration()

public abstract Duration getRestoreDuration()

Output only. Time taken to restore the resource.

.google.protobuf.Duration restore_duration = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The restoreDuration.

getRestoreDurationOrBuilder()

public abstract DurationOrBuilder getRestoreDurationOrBuilder()

Output only. Time taken to restore the resource.

.google.protobuf.Duration restore_duration = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getRestoreProperties()

public abstract Struct getRestoreProperties()

Output only. Snapshot of environment config used during restore of this RestoreTemplateExecution.

.google.protobuf.Struct restore_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Struct

The restoreProperties.

getRestorePropertiesOrBuilder()

public abstract StructOrBuilder getRestorePropertiesOrBuilder()

Output only. Snapshot of environment config used during restore of this RestoreTemplateExecution.

.google.protobuf.Struct restore_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StructOrBuilder

getRestoreResource()

public abstract String getRestoreResource()

Output only. The resource created or restored by this execution.

string restore_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The restoreResource.

getRestoreResourceBytes()

public abstract ByteString getRestoreResourceBytes()

Output only. The resource created or restored by this execution.

string restore_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for restoreResource.

getStartTime()

public abstract 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 abstract 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

hasEndTime()

public abstract 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 abstract 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.

hasRestoreDuration()

public abstract boolean hasRestoreDuration()

Output only. Time taken to restore the resource.

.google.protobuf.Duration restore_duration = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the restoreDuration field is set.

hasRestoreProperties()

public abstract boolean hasRestoreProperties()

Output only. Snapshot of environment config used during restore of this RestoreTemplateExecution.

.google.protobuf.Struct restore_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the restoreProperties field is set.

hasStartTime()

public abstract 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.