public final class RestoreTemplateExecution extends GeneratedMessage implements RestoreTemplateExecutionOrBuilder
A RestoreTemplateExecution represents a single historical or active
execution run.
Protobuf type google.cloud.backupdr.v1beta.RestoreTemplateExecution
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RestoreTemplateExecution.Builder newBuilder()
newBuilder(RestoreTemplateExecution prototype)
public static RestoreTemplateExecution.Builder newBuilder(RestoreTemplateExecution prototype)
public static RestoreTemplateExecution parseDelimitedFrom(InputStream input)
public static RestoreTemplateExecution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RestoreTemplateExecution parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RestoreTemplateExecution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RestoreTemplateExecution parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RestoreTemplateExecution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RestoreTemplateExecution parseFrom(CodedInputStream input)
public static RestoreTemplateExecution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreTemplateExecution parseFrom(InputStream input)
public static RestoreTemplateExecution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RestoreTemplateExecution parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RestoreTemplateExecution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RestoreTemplateExecution> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCleanupPhaseInfo()
public CleanupPhaseInfo getCleanupPhaseInfo()
Output only. Info for the cleanup phase.
.google.cloud.backupdr.v1beta.CleanupPhaseInfo cleanup_phase_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCleanupPhaseInfoOrBuilder()
public CleanupPhaseInfoOrBuilder getCleanupPhaseInfoOrBuilder()
Output only. Info for the cleanup phase.
.google.cloud.backupdr.v1beta.CleanupPhaseInfo cleanup_phase_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
getDefaultInstanceForType()
public RestoreTemplateExecution getDefaultInstanceForType()
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()
Overrides
getPhase()
public RestoreTemplateExecution.ExecutionPhase getPhase()
Output only. The current active phase.
.google.cloud.backupdr.v1beta.RestoreTemplateExecution.ExecutionPhase phase = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPhaseValue()
public int getPhaseValue()
Output only. The current active phase.
.google.cloud.backupdr.v1beta.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.v1beta.PostRestorePhaseInfo post_restore_phase_info = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPostRestorePhaseInfoOrBuilder()
public PostRestorePhaseInfoOrBuilder getPostRestorePhaseInfoOrBuilder()
Output only. Info for the post-restore phase.
.google.cloud.backupdr.v1beta.PostRestorePhaseInfo post_restore_phase_info = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPreRestorePhaseInfo()
public PreRestorePhaseInfo getPreRestorePhaseInfo()
Output only. Info for the pre-restore phase.
.google.cloud.backupdr.v1beta.PreRestorePhaseInfo pre_restore_phase_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPreRestorePhaseInfoOrBuilder()
public PreRestorePhaseInfoOrBuilder getPreRestorePhaseInfoOrBuilder()
Output only. Info for the pre-restore phase.
.google.cloud.backupdr.v1beta.PreRestorePhaseInfo pre_restore_phase_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPreparePhaseInfo()
public PreparePhaseInfo getPreparePhaseInfo()
Output only. Info for the prepare phase.
.google.cloud.backupdr.v1beta.PreparePhaseInfo prepare_phase_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPreparePhaseInfoOrBuilder()
public PreparePhaseInfoOrBuilder getPreparePhaseInfoOrBuilder()
Output only. Info for the prepare phase.
.google.cloud.backupdr.v1beta.PreparePhaseInfo prepare_phase_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v1beta.RestorePhaseInfo restore_phase_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRestorePhaseInfoOrBuilder()
public RestorePhaseInfoOrBuilder getRestorePhaseInfoOrBuilder()
Output only. Info for the restore phase.
.google.cloud.backupdr.v1beta.RestorePhaseInfo restore_phase_info = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getState()
public RestoreTemplateExecution.ExecutionState getState()
Output only. State of the execution.
.google.cloud.backupdr.v1beta.RestoreTemplateExecution.ExecutionState state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. State of the execution.
.google.cloud.backupdr.v1beta.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.v1beta.RestoreTemplateExecution.ExecutionType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTypeValue()
public int getTypeValue()
Output only. The type of the execution.
.google.cloud.backupdr.v1beta.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];
getVerificationPhaseInfo()
public VerificationPhaseInfo getVerificationPhaseInfo()
Output only. Info for the verification phase.
.google.cloud.backupdr.v1beta.VerificationPhaseInfo verification_phase_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVerificationPhaseInfoOrBuilder()
public VerificationPhaseInfoOrBuilder getVerificationPhaseInfoOrBuilder()
Output only. Info for the verification phase.
.google.cloud.backupdr.v1beta.VerificationPhaseInfo verification_phase_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCleanupPhaseInfo()
public boolean hasCleanupPhaseInfo()
Output only. Info for the cleanup phase.
.google.cloud.backupdr.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.VerificationPhaseInfo verification_phase_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the verificationPhaseInfo field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RestoreTemplateExecution.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RestoreTemplateExecution.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public RestoreTemplateExecution.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides