Class PostRestorePhaseInfo.Builder (0.62.0)

public static final class PostRestorePhaseInfo.Builder extends GeneratedMessage.Builder<PostRestorePhaseInfo.Builder> implements PostRestorePhaseInfoOrBuilder

Info for Post-Restore phase execution.

Protobuf type google.cloud.backupdr.v1.PostRestorePhaseInfo

Static Methods

getDescriptor()

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

Methods

build()

public PostRestorePhaseInfo build()
Returns
Type Description
PostRestorePhaseInfo

buildPartial()

public PostRestorePhaseInfo buildPartial()
Returns
Type Description
PostRestorePhaseInfo

clear()

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

clearCloudRunExecution()

public PostRestorePhaseInfo.Builder clearCloudRunExecution()

Output only. The fully qualified URI of the Cloud Run Execution triggered for post-restore actions.

string cloud_run_execution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
PostRestorePhaseInfo.Builder

This builder for chaining.

clearEndTime()

public PostRestorePhaseInfo.Builder clearEndTime()

Output only. End time of the phase.

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

Returns
Type Description
PostRestorePhaseInfo.Builder

clearError()

public PostRestorePhaseInfo.Builder clearError()

Output only. Error details if the phase failed.

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

Returns
Type Description
PostRestorePhaseInfo.Builder

clearPhaseState()

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

This builder for chaining.

clearPostRestoreConfig()

public PostRestorePhaseInfo.Builder clearPostRestoreConfig()

Output only. Snapshot of config that will be executed after successful restore operation.

.google.cloud.backupdr.v1.PostRestoreConfig post_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PostRestorePhaseInfo.Builder

clearResult()

public PostRestorePhaseInfo.Builder clearResult()
Returns
Type Description
PostRestorePhaseInfo.Builder

clearStartTime()

public PostRestorePhaseInfo.Builder clearStartTime()

Output only. Start time of the phase.

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

Returns
Type Description
PostRestorePhaseInfo.Builder

getCloudRunExecution()

public String getCloudRunExecution()

Output only. The fully qualified URI of the Cloud Run Execution triggered for post-restore actions.

string cloud_run_execution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The cloudRunExecution.

getCloudRunExecutionBytes()

public ByteString getCloudRunExecutionBytes()

Output only. The fully qualified URI of the Cloud Run Execution triggered for post-restore actions.

string cloud_run_execution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for cloudRunExecution.

getDefaultInstanceForType()

public PostRestorePhaseInfo getDefaultInstanceForType()
Returns
Type Description
PostRestorePhaseInfo

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

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.

getPostRestoreConfig()

public PostRestoreConfig getPostRestoreConfig()

Output only. Snapshot of config that will be executed after successful restore operation.

.google.cloud.backupdr.v1.PostRestoreConfig post_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PostRestoreConfig

The postRestoreConfig.

getPostRestoreConfigBuilder()

public PostRestoreConfig.Builder getPostRestoreConfigBuilder()

Output only. Snapshot of config that will be executed after successful restore operation.

.google.cloud.backupdr.v1.PostRestoreConfig post_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PostRestoreConfig.Builder

getPostRestoreConfigOrBuilder()

public PostRestoreConfigOrBuilder getPostRestoreConfigOrBuilder()

Output only. Snapshot of config that will be executed after successful restore operation.

.google.cloud.backupdr.v1.PostRestoreConfig post_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PostRestoreConfigOrBuilder

getResultCase()

public PostRestorePhaseInfo.ResultCase getResultCase()
Returns
Type Description
PostRestorePhaseInfo.ResultCase

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

hasCloudRunExecution()

public boolean hasCloudRunExecution()

Output only. The fully qualified URI of the Cloud Run Execution triggered for post-restore actions.

string cloud_run_execution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the cloudRunExecution 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.

hasPostRestoreConfig()

public boolean hasPostRestoreConfig()

Output only. Snapshot of config that will be executed after successful restore operation.

.google.cloud.backupdr.v1.PostRestoreConfig post_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the postRestoreConfig 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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

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

mergeError(Status value)

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

mergeFrom(PostRestorePhaseInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePostRestoreConfig(PostRestoreConfig value)

public PostRestorePhaseInfo.Builder mergePostRestoreConfig(PostRestoreConfig value)

Output only. Snapshot of config that will be executed after successful restore operation.

.google.cloud.backupdr.v1.PostRestoreConfig post_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PostRestoreConfig
Returns
Type Description
PostRestorePhaseInfo.Builder

mergeStartTime(Timestamp value)

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

setCloudRunExecution(String value)

public PostRestorePhaseInfo.Builder setCloudRunExecution(String value)

Output only. The fully qualified URI of the Cloud Run Execution triggered for post-restore actions.

string cloud_run_execution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The cloudRunExecution to set.

Returns
Type Description
PostRestorePhaseInfo.Builder

This builder for chaining.

setCloudRunExecutionBytes(ByteString value)

public PostRestorePhaseInfo.Builder setCloudRunExecutionBytes(ByteString value)

Output only. The fully qualified URI of the Cloud Run Execution triggered for post-restore actions.

string cloud_run_execution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for cloudRunExecution to set.

Returns
Type Description
PostRestorePhaseInfo.Builder

This builder for chaining.

setEndTime(Timestamp value)

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

setEndTime(Timestamp.Builder builderForValue)

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

setError(Status value)

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

setError(Status.Builder builderForValue)

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

setPhaseState(PhaseState value)

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

This builder for chaining.

setPhaseStateValue(int value)

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

This builder for chaining.

setPostRestoreConfig(PostRestoreConfig value)

public PostRestorePhaseInfo.Builder setPostRestoreConfig(PostRestoreConfig value)

Output only. Snapshot of config that will be executed after successful restore operation.

.google.cloud.backupdr.v1.PostRestoreConfig post_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PostRestoreConfig
Returns
Type Description
PostRestorePhaseInfo.Builder

setPostRestoreConfig(PostRestoreConfig.Builder builderForValue)

public PostRestorePhaseInfo.Builder setPostRestoreConfig(PostRestoreConfig.Builder builderForValue)

Output only. Snapshot of config that will be executed after successful restore operation.

.google.cloud.backupdr.v1.PostRestoreConfig post_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue PostRestoreConfig.Builder
Returns
Type Description
PostRestorePhaseInfo.Builder

setStartTime(Timestamp value)

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

setStartTime(Timestamp.Builder builderForValue)

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