Class RestoreTemplateExecution (0.62.0)

public final class RestoreTemplateExecution extends GeneratedMessage implements RestoreTemplateExecutionOrBuilder

A RestoreTemplateExecution represents a single historical or active execution run.

Protobuf type google.cloud.backupdr.v1.RestoreTemplateExecution

Static Fields

CLEANUP_PHASE_INFO_FIELD_NUMBER

public static final int CLEANUP_PHASE_INFO_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PHASE_FIELD_NUMBER

public static final int PHASE_FIELD_NUMBER
Field Value
Type Description
int

POST_RESTORE_PHASE_INFO_FIELD_NUMBER

public static final int POST_RESTORE_PHASE_INFO_FIELD_NUMBER
Field Value
Type Description
int

PREPARE_PHASE_INFO_FIELD_NUMBER

public static final int PREPARE_PHASE_INFO_FIELD_NUMBER
Field Value
Type Description
int

PRE_RESTORE_PHASE_INFO_FIELD_NUMBER

public static final int PRE_RESTORE_PHASE_INFO_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

RESTORE_PHASE_INFO_FIELD_NUMBER

public static final int RESTORE_PHASE_INFO_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

VERIFICATION_PHASE_INFO_FIELD_NUMBER

public static final int VERIFICATION_PHASE_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RestoreTemplateExecution getDefaultInstance()
Returns
Type Description
RestoreTemplateExecution

getDescriptor()

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

newBuilder()

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

newBuilder(RestoreTemplateExecution prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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.

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.

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

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.

getParserForType()

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

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.

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.

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.

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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.

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 RestoreTemplateExecution.Builder newBuilderForType()
Returns
Type Description
RestoreTemplateExecution.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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