Class RestoreTemplateExecution.Builder (0.62.0)

public static final class RestoreTemplateExecution.Builder extends GeneratedMessage.Builder<RestoreTemplateExecution.Builder> implements RestoreTemplateExecutionOrBuilder

A RestoreTemplateExecution represents a single historical or active execution run.

Protobuf type google.cloud.backupdr.v1.RestoreTemplateExecution

Static Methods

getDescriptor()

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

Methods

build()

public RestoreTemplateExecution build()
Returns
Type Description
RestoreTemplateExecution

buildPartial()

public RestoreTemplateExecution buildPartial()
Returns
Type Description
RestoreTemplateExecution

clear()

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

clearCleanupPhaseInfo()

public RestoreTemplateExecution.Builder clearCleanupPhaseInfo()

Output only. Info for the cleanup phase.

.google.cloud.backupdr.v1.CleanupPhaseInfo cleanup_phase_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.Builder

clearCreateTime()

public RestoreTemplateExecution.Builder clearCreateTime()

Output only. Create time of the execution.

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

Returns
Type Description
RestoreTemplateExecution.Builder

clearName()

public RestoreTemplateExecution.Builder clearName()

Identifier. Resource name of the execution.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

clearPhase()

public RestoreTemplateExecution.Builder clearPhase()

Output only. The current active phase.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionPhase phase = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

clearPostRestorePhaseInfo()

public RestoreTemplateExecution.Builder clearPostRestorePhaseInfo()

Output only. Info for the post-restore phase.

.google.cloud.backupdr.v1.PostRestorePhaseInfo post_restore_phase_info = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.Builder

clearPreRestorePhaseInfo()

public RestoreTemplateExecution.Builder clearPreRestorePhaseInfo()

Output only. Info for the pre-restore phase.

.google.cloud.backupdr.v1.PreRestorePhaseInfo pre_restore_phase_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.Builder

clearPreparePhaseInfo()

public RestoreTemplateExecution.Builder clearPreparePhaseInfo()

Output only. Info for the prepare phase.

.google.cloud.backupdr.v1.PreparePhaseInfo prepare_phase_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.Builder

clearResourceType()

public RestoreTemplateExecution.Builder clearResourceType()

Output only. The workload resource type being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".

string resource_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

clearRestorePhaseInfo()

public RestoreTemplateExecution.Builder clearRestorePhaseInfo()

Output only. Info for the restore phase.

.google.cloud.backupdr.v1.RestorePhaseInfo restore_phase_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.Builder

clearState()

public RestoreTemplateExecution.Builder clearState()

Output only. State of the execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

clearType()

public RestoreTemplateExecution.Builder clearType()

Output only. The type of the execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

clearUpdateTime()

public RestoreTemplateExecution.Builder clearUpdateTime()

Output only. Update time of the execution.

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

Returns
Type Description
RestoreTemplateExecution.Builder

clearVerificationPhaseInfo()

public RestoreTemplateExecution.Builder clearVerificationPhaseInfo()

Output only. Info for the verification phase.

.google.cloud.backupdr.v1.VerificationPhaseInfo verification_phase_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.Builder

getCleanupPhaseInfo()

public CleanupPhaseInfo getCleanupPhaseInfo()

Output only. Info for the cleanup phase.

.google.cloud.backupdr.v1.CleanupPhaseInfo cleanup_phase_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CleanupPhaseInfo

The cleanupPhaseInfo.

getCleanupPhaseInfoBuilder()

public CleanupPhaseInfo.Builder getCleanupPhaseInfoBuilder()

Output only. Info for the cleanup phase.

.google.cloud.backupdr.v1.CleanupPhaseInfo cleanup_phase_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CleanupPhaseInfo.Builder

getCleanupPhaseInfoOrBuilder()

public CleanupPhaseInfoOrBuilder getCleanupPhaseInfoOrBuilder()

Output only. Info for the cleanup phase.

.google.cloud.backupdr.v1.CleanupPhaseInfo cleanup_phase_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CleanupPhaseInfoOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. Create time of the execution.

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

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Create time of the execution.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Create time of the execution.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public RestoreTemplateExecution getDefaultInstanceForType()
Returns
Type Description
RestoreTemplateExecution

getDescriptorForType()

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

getName()

public String getName()

Identifier. Resource name of the execution.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. Resource name of the execution.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPhase()

public RestoreTemplateExecution.ExecutionPhase getPhase()

Output only. The current active phase.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionPhase phase = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.ExecutionPhase

The phase.

getPhaseValue()

public int getPhaseValue()

Output only. The current active phase.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionPhase phase = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for phase.

getPostRestorePhaseInfo()

public PostRestorePhaseInfo getPostRestorePhaseInfo()

Output only. Info for the post-restore phase.

.google.cloud.backupdr.v1.PostRestorePhaseInfo post_restore_phase_info = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PostRestorePhaseInfo

The postRestorePhaseInfo.

getPostRestorePhaseInfoBuilder()

public PostRestorePhaseInfo.Builder getPostRestorePhaseInfoBuilder()

Output only. Info for the post-restore phase.

.google.cloud.backupdr.v1.PostRestorePhaseInfo post_restore_phase_info = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PostRestorePhaseInfo.Builder

getPostRestorePhaseInfoOrBuilder()

public PostRestorePhaseInfoOrBuilder getPostRestorePhaseInfoOrBuilder()

Output only. Info for the post-restore phase.

.google.cloud.backupdr.v1.PostRestorePhaseInfo post_restore_phase_info = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PostRestorePhaseInfoOrBuilder

getPreRestorePhaseInfo()

public PreRestorePhaseInfo getPreRestorePhaseInfo()

Output only. Info for the pre-restore phase.

.google.cloud.backupdr.v1.PreRestorePhaseInfo pre_restore_phase_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PreRestorePhaseInfo

The preRestorePhaseInfo.

getPreRestorePhaseInfoBuilder()

public PreRestorePhaseInfo.Builder getPreRestorePhaseInfoBuilder()

Output only. Info for the pre-restore phase.

.google.cloud.backupdr.v1.PreRestorePhaseInfo pre_restore_phase_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PreRestorePhaseInfo.Builder

getPreRestorePhaseInfoOrBuilder()

public PreRestorePhaseInfoOrBuilder getPreRestorePhaseInfoOrBuilder()

Output only. Info for the pre-restore phase.

.google.cloud.backupdr.v1.PreRestorePhaseInfo pre_restore_phase_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PreRestorePhaseInfoOrBuilder

getPreparePhaseInfo()

public PreparePhaseInfo getPreparePhaseInfo()

Output only. Info for the prepare phase.

.google.cloud.backupdr.v1.PreparePhaseInfo prepare_phase_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PreparePhaseInfo

The preparePhaseInfo.

getPreparePhaseInfoBuilder()

public PreparePhaseInfo.Builder getPreparePhaseInfoBuilder()

Output only. Info for the prepare phase.

.google.cloud.backupdr.v1.PreparePhaseInfo prepare_phase_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PreparePhaseInfo.Builder

getPreparePhaseInfoOrBuilder()

public PreparePhaseInfoOrBuilder getPreparePhaseInfoOrBuilder()

Output only. Info for the prepare phase.

.google.cloud.backupdr.v1.PreparePhaseInfo prepare_phase_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PreparePhaseInfoOrBuilder

getResourceType()

public String getResourceType()

Output only. The workload resource type being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".

string resource_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The resourceType.

getResourceTypeBytes()

public ByteString getResourceTypeBytes()

Output only. The workload resource type being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".

string resource_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for resourceType.

getRestorePhaseInfo()

public RestorePhaseInfo getRestorePhaseInfo()

Output only. Info for the restore phase.

.google.cloud.backupdr.v1.RestorePhaseInfo restore_phase_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestorePhaseInfo

The restorePhaseInfo.

getRestorePhaseInfoBuilder()

public RestorePhaseInfo.Builder getRestorePhaseInfoBuilder()

Output only. Info for the restore phase.

.google.cloud.backupdr.v1.RestorePhaseInfo restore_phase_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestorePhaseInfo.Builder

getRestorePhaseInfoOrBuilder()

public RestorePhaseInfoOrBuilder getRestorePhaseInfoOrBuilder()

Output only. Info for the restore phase.

.google.cloud.backupdr.v1.RestorePhaseInfo restore_phase_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestorePhaseInfoOrBuilder

getState()

public RestoreTemplateExecution.ExecutionState getState()

Output only. State of the execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.ExecutionState

The state.

getStateValue()

public int getStateValue()

Output only. State of the execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getType()

public RestoreTemplateExecution.ExecutionType getType()

Output only. The type of the execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RestoreTemplateExecution.ExecutionType

The type.

getTypeValue()

public int getTypeValue()

Output only. The type of the execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Update time of the execution.

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

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Update time of the execution.

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

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update time of the execution.

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

Returns
Type Description
TimestampOrBuilder

getVerificationPhaseInfo()

public VerificationPhaseInfo getVerificationPhaseInfo()

Output only. Info for the verification phase.

.google.cloud.backupdr.v1.VerificationPhaseInfo verification_phase_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerificationPhaseInfo

The verificationPhaseInfo.

getVerificationPhaseInfoBuilder()

public VerificationPhaseInfo.Builder getVerificationPhaseInfoBuilder()

Output only. Info for the verification phase.

.google.cloud.backupdr.v1.VerificationPhaseInfo verification_phase_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerificationPhaseInfo.Builder

getVerificationPhaseInfoOrBuilder()

public VerificationPhaseInfoOrBuilder getVerificationPhaseInfoOrBuilder()

Output only. Info for the verification phase.

.google.cloud.backupdr.v1.VerificationPhaseInfo verification_phase_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerificationPhaseInfoOrBuilder

hasCleanupPhaseInfo()

public boolean hasCleanupPhaseInfo()

Output only. Info for the cleanup phase.

.google.cloud.backupdr.v1.CleanupPhaseInfo cleanup_phase_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the cleanupPhaseInfo field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Create time of the execution.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasPostRestorePhaseInfo()

public boolean hasPostRestorePhaseInfo()

Output only. Info for the post-restore phase.

.google.cloud.backupdr.v1.PostRestorePhaseInfo post_restore_phase_info = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the postRestorePhaseInfo field is set.

hasPreRestorePhaseInfo()

public boolean hasPreRestorePhaseInfo()

Output only. Info for the pre-restore phase.

.google.cloud.backupdr.v1.PreRestorePhaseInfo pre_restore_phase_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the preRestorePhaseInfo field is set.

hasPreparePhaseInfo()

public boolean hasPreparePhaseInfo()

Output only. Info for the prepare phase.

.google.cloud.backupdr.v1.PreparePhaseInfo prepare_phase_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the preparePhaseInfo field is set.

hasRestorePhaseInfo()

public boolean hasRestorePhaseInfo()

Output only. Info for the restore phase.

.google.cloud.backupdr.v1.RestorePhaseInfo restore_phase_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the restorePhaseInfo field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Update time of the execution.

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

Returns
Type Description
boolean

Whether the updateTime field is set.

hasVerificationPhaseInfo()

public boolean hasVerificationPhaseInfo()

Output only. Info for the verification phase.

.google.cloud.backupdr.v1.VerificationPhaseInfo verification_phase_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the verificationPhaseInfo field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCleanupPhaseInfo(CleanupPhaseInfo value)

public RestoreTemplateExecution.Builder mergeCleanupPhaseInfo(CleanupPhaseInfo value)

Output only. Info for the cleanup phase.

.google.cloud.backupdr.v1.CleanupPhaseInfo cleanup_phase_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CleanupPhaseInfo
Returns
Type Description
RestoreTemplateExecution.Builder

mergeCreateTime(Timestamp value)

public RestoreTemplateExecution.Builder mergeCreateTime(Timestamp value)

Output only. Create time of the execution.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
RestoreTemplateExecution.Builder

mergeFrom(RestoreTemplateExecution other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePostRestorePhaseInfo(PostRestorePhaseInfo value)

public RestoreTemplateExecution.Builder mergePostRestorePhaseInfo(PostRestorePhaseInfo value)

Output only. Info for the post-restore phase.

.google.cloud.backupdr.v1.PostRestorePhaseInfo post_restore_phase_info = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PostRestorePhaseInfo
Returns
Type Description
RestoreTemplateExecution.Builder

mergePreRestorePhaseInfo(PreRestorePhaseInfo value)

public RestoreTemplateExecution.Builder mergePreRestorePhaseInfo(PreRestorePhaseInfo value)

Output only. Info for the pre-restore phase.

.google.cloud.backupdr.v1.PreRestorePhaseInfo pre_restore_phase_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PreRestorePhaseInfo
Returns
Type Description
RestoreTemplateExecution.Builder

mergePreparePhaseInfo(PreparePhaseInfo value)

public RestoreTemplateExecution.Builder mergePreparePhaseInfo(PreparePhaseInfo value)

Output only. Info for the prepare phase.

.google.cloud.backupdr.v1.PreparePhaseInfo prepare_phase_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PreparePhaseInfo
Returns
Type Description
RestoreTemplateExecution.Builder

mergeRestorePhaseInfo(RestorePhaseInfo value)

public RestoreTemplateExecution.Builder mergeRestorePhaseInfo(RestorePhaseInfo value)

Output only. Info for the restore phase.

.google.cloud.backupdr.v1.RestorePhaseInfo restore_phase_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RestorePhaseInfo
Returns
Type Description
RestoreTemplateExecution.Builder

mergeUpdateTime(Timestamp value)

public RestoreTemplateExecution.Builder mergeUpdateTime(Timestamp value)

Output only. Update time of the execution.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
RestoreTemplateExecution.Builder

mergeVerificationPhaseInfo(VerificationPhaseInfo value)

public RestoreTemplateExecution.Builder mergeVerificationPhaseInfo(VerificationPhaseInfo value)

Output only. Info for the verification phase.

.google.cloud.backupdr.v1.VerificationPhaseInfo verification_phase_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VerificationPhaseInfo
Returns
Type Description
RestoreTemplateExecution.Builder

setCleanupPhaseInfo(CleanupPhaseInfo value)

public RestoreTemplateExecution.Builder setCleanupPhaseInfo(CleanupPhaseInfo value)

Output only. Info for the cleanup phase.

.google.cloud.backupdr.v1.CleanupPhaseInfo cleanup_phase_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CleanupPhaseInfo
Returns
Type Description
RestoreTemplateExecution.Builder

setCleanupPhaseInfo(CleanupPhaseInfo.Builder builderForValue)

public RestoreTemplateExecution.Builder setCleanupPhaseInfo(CleanupPhaseInfo.Builder builderForValue)

Output only. Info for the cleanup phase.

.google.cloud.backupdr.v1.CleanupPhaseInfo cleanup_phase_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setCreateTime(Timestamp value)

public RestoreTemplateExecution.Builder setCreateTime(Timestamp value)

Output only. Create time of the execution.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
RestoreTemplateExecution.Builder

setCreateTime(Timestamp.Builder builderForValue)

public RestoreTemplateExecution.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Create time of the execution.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RestoreTemplateExecution.Builder

setName(String value)

public RestoreTemplateExecution.Builder setName(String value)

Identifier. Resource name of the execution.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RestoreTemplateExecution.Builder setNameBytes(ByteString value)

Identifier. Resource name of the execution.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

setPhase(RestoreTemplateExecution.ExecutionPhase value)

public RestoreTemplateExecution.Builder setPhase(RestoreTemplateExecution.ExecutionPhase value)

Output only. The current active phase.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionPhase phase = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RestoreTemplateExecution.ExecutionPhase

The phase to set.

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

setPhaseValue(int value)

public RestoreTemplateExecution.Builder setPhaseValue(int value)

Output only. The current active phase.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionPhase phase = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

setPostRestorePhaseInfo(PostRestorePhaseInfo value)

public RestoreTemplateExecution.Builder setPostRestorePhaseInfo(PostRestorePhaseInfo value)

Output only. Info for the post-restore phase.

.google.cloud.backupdr.v1.PostRestorePhaseInfo post_restore_phase_info = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PostRestorePhaseInfo
Returns
Type Description
RestoreTemplateExecution.Builder

setPostRestorePhaseInfo(PostRestorePhaseInfo.Builder builderForValue)

public RestoreTemplateExecution.Builder setPostRestorePhaseInfo(PostRestorePhaseInfo.Builder builderForValue)

Output only. Info for the post-restore phase.

.google.cloud.backupdr.v1.PostRestorePhaseInfo post_restore_phase_info = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setPreRestorePhaseInfo(PreRestorePhaseInfo value)

public RestoreTemplateExecution.Builder setPreRestorePhaseInfo(PreRestorePhaseInfo value)

Output only. Info for the pre-restore phase.

.google.cloud.backupdr.v1.PreRestorePhaseInfo pre_restore_phase_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PreRestorePhaseInfo
Returns
Type Description
RestoreTemplateExecution.Builder

setPreRestorePhaseInfo(PreRestorePhaseInfo.Builder builderForValue)

public RestoreTemplateExecution.Builder setPreRestorePhaseInfo(PreRestorePhaseInfo.Builder builderForValue)

Output only. Info for the pre-restore phase.

.google.cloud.backupdr.v1.PreRestorePhaseInfo pre_restore_phase_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue PreRestorePhaseInfo.Builder
Returns
Type Description
RestoreTemplateExecution.Builder

setPreparePhaseInfo(PreparePhaseInfo value)

public RestoreTemplateExecution.Builder setPreparePhaseInfo(PreparePhaseInfo value)

Output only. Info for the prepare phase.

.google.cloud.backupdr.v1.PreparePhaseInfo prepare_phase_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PreparePhaseInfo
Returns
Type Description
RestoreTemplateExecution.Builder

setPreparePhaseInfo(PreparePhaseInfo.Builder builderForValue)

public RestoreTemplateExecution.Builder setPreparePhaseInfo(PreparePhaseInfo.Builder builderForValue)

Output only. Info for the prepare phase.

.google.cloud.backupdr.v1.PreparePhaseInfo prepare_phase_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue PreparePhaseInfo.Builder
Returns
Type Description
RestoreTemplateExecution.Builder

setResourceType(String value)

public RestoreTemplateExecution.Builder setResourceType(String value)

Output only. The workload resource type being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".

string resource_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The resourceType to set.

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

setResourceTypeBytes(ByteString value)

public RestoreTemplateExecution.Builder setResourceTypeBytes(ByteString value)

Output only. The workload resource type being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".

string resource_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for resourceType to set.

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

setRestorePhaseInfo(RestorePhaseInfo value)

public RestoreTemplateExecution.Builder setRestorePhaseInfo(RestorePhaseInfo value)

Output only. Info for the restore phase.

.google.cloud.backupdr.v1.RestorePhaseInfo restore_phase_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RestorePhaseInfo
Returns
Type Description
RestoreTemplateExecution.Builder

setRestorePhaseInfo(RestorePhaseInfo.Builder builderForValue)

public RestoreTemplateExecution.Builder setRestorePhaseInfo(RestorePhaseInfo.Builder builderForValue)

Output only. Info for the restore phase.

.google.cloud.backupdr.v1.RestorePhaseInfo restore_phase_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue RestorePhaseInfo.Builder
Returns
Type Description
RestoreTemplateExecution.Builder

setState(RestoreTemplateExecution.ExecutionState value)

public RestoreTemplateExecution.Builder setState(RestoreTemplateExecution.ExecutionState value)

Output only. State of the execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RestoreTemplateExecution.ExecutionState

The state to set.

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

setStateValue(int value)

public RestoreTemplateExecution.Builder setStateValue(int value)

Output only. State of the execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

setType(RestoreTemplateExecution.ExecutionType value)

public RestoreTemplateExecution.Builder setType(RestoreTemplateExecution.ExecutionType value)

Output only. The type of the execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RestoreTemplateExecution.ExecutionType

The type to set.

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

setTypeValue(int value)

public RestoreTemplateExecution.Builder setTypeValue(int value)

Output only. The type of the execution.

.google.cloud.backupdr.v1.RestoreTemplateExecution.ExecutionType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
RestoreTemplateExecution.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public RestoreTemplateExecution.Builder setUpdateTime(Timestamp value)

Output only. Update time of the execution.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
RestoreTemplateExecution.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public RestoreTemplateExecution.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Update time of the execution.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RestoreTemplateExecution.Builder

setVerificationPhaseInfo(VerificationPhaseInfo value)

public RestoreTemplateExecution.Builder setVerificationPhaseInfo(VerificationPhaseInfo value)

Output only. Info for the verification phase.

.google.cloud.backupdr.v1.VerificationPhaseInfo verification_phase_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VerificationPhaseInfo
Returns
Type Description
RestoreTemplateExecution.Builder

setVerificationPhaseInfo(VerificationPhaseInfo.Builder builderForValue)

public RestoreTemplateExecution.Builder setVerificationPhaseInfo(VerificationPhaseInfo.Builder builderForValue)

Output only. Info for the verification phase.

.google.cloud.backupdr.v1.VerificationPhaseInfo verification_phase_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue VerificationPhaseInfo.Builder
Returns
Type Description
RestoreTemplateExecution.Builder