public static final class PreparePhaseInfo.Builder extends GeneratedMessage.Builder<PreparePhaseInfo.Builder> implements PreparePhaseInfoOrBuilderInfo for Prepare phase execution.
Protobuf type google.cloud.backupdr.v1beta.PreparePhaseInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PreparePhaseInfo.BuilderImplements
PreparePhaseInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PreparePhaseInfo build()| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo |
|
buildPartial()
public PreparePhaseInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo |
|
clear()
public PreparePhaseInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
|
clearBackup()
public PreparePhaseInfo.Builder clearBackup()Output only. The source backup used for the restore. The fully qualified URI of the backupdr backup.
string backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
This builder for chaining. |
clearBackupSelectionConfig()
public PreparePhaseInfo.Builder clearBackupSelectionConfig()Output only. Snapshot of config used in this execution.
.google.cloud.backupdr.v1beta.BackupSelectionConfig backup_selection_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
|
clearEndTime()
public PreparePhaseInfo.Builder clearEndTime()Output only. End time of the phase.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
|
clearError()
public PreparePhaseInfo.Builder clearError()Output only. Error details if the phase failed.
.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
|
clearIsBackupExplicitlyPassed()
public PreparePhaseInfo.Builder clearIsBackupExplicitlyPassed()Output only. Indicates whether the backup was explicitly passed in the request.
bool is_backup_explicitly_passed = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
This builder for chaining. |
clearPhaseState()
public PreparePhaseInfo.Builder clearPhaseState()Output only. The state of this phase.
.google.cloud.backupdr.v1beta.PhaseState phase_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
This builder for chaining. |
clearRestoreVerificationPlanAssociation()
public PreparePhaseInfo.Builder clearRestoreVerificationPlanAssociation()Output only. The restore verification plan association associated with the execution.
string restore_verification_plan_association = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
This builder for chaining. |
clearStartTime()
public PreparePhaseInfo.Builder clearStartTime()Output only. Start time of the phase.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
|
getBackup()
public String getBackup()Output only. The source backup used for the restore. The fully qualified URI of the backupdr backup.
string backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The backup. |
getBackupBytes()
public ByteString getBackupBytes()Output only. The source backup used for the restore. The fully qualified URI of the backupdr backup.
string backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for backup. |
getBackupSelectionConfig()
public BackupSelectionConfig getBackupSelectionConfig()Output only. Snapshot of config used in this execution.
.google.cloud.backupdr.v1beta.BackupSelectionConfig backup_selection_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupSelectionConfig |
The backupSelectionConfig. |
getBackupSelectionConfigBuilder()
public BackupSelectionConfig.Builder getBackupSelectionConfigBuilder()Output only. Snapshot of config used in this execution.
.google.cloud.backupdr.v1beta.BackupSelectionConfig backup_selection_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupSelectionConfig.Builder |
|
getBackupSelectionConfigOrBuilder()
public BackupSelectionConfigOrBuilder getBackupSelectionConfigOrBuilder()Output only. Snapshot of config used in this execution.
.google.cloud.backupdr.v1beta.BackupSelectionConfig backup_selection_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackupSelectionConfigOrBuilder |
|
getDefaultInstanceForType()
public PreparePhaseInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
getIsBackupExplicitlyPassed()
public boolean getIsBackupExplicitlyPassed()Output only. Indicates whether the backup was explicitly passed in the request.
bool is_backup_explicitly_passed = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The isBackupExplicitlyPassed. |
getPhaseState()
public PhaseState getPhaseState()Output only. The state of this phase.
.google.cloud.backupdr.v1beta.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.v1beta.PhaseState phase_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for phaseState. |
getRestoreVerificationPlanAssociation()
public String getRestoreVerificationPlanAssociation()Output only. The restore verification plan association associated with the execution.
string restore_verification_plan_association = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The restoreVerificationPlanAssociation. |
getRestoreVerificationPlanAssociationBytes()
public ByteString getRestoreVerificationPlanAssociationBytes()Output only. The restore verification plan association associated with the execution.
string restore_verification_plan_association = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for restoreVerificationPlanAssociation. |
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 |
|
hasBackupSelectionConfig()
public boolean hasBackupSelectionConfig()Output only. Snapshot of config used in this execution.
.google.cloud.backupdr.v1beta.BackupSelectionConfig backup_selection_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupSelectionConfig 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. |
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBackupSelectionConfig(BackupSelectionConfig value)
public PreparePhaseInfo.Builder mergeBackupSelectionConfig(BackupSelectionConfig value)Output only. Snapshot of config used in this execution.
.google.cloud.backupdr.v1beta.BackupSelectionConfig backup_selection_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupSelectionConfig |
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
|
mergeEndTime(Timestamp value)
public PreparePhaseInfo.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 |
PreparePhaseInfo.Builder |
|
mergeError(Status value)
public PreparePhaseInfo.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 |
PreparePhaseInfo.Builder |
|
mergeFrom(PreparePhaseInfo other)
public PreparePhaseInfo.Builder mergeFrom(PreparePhaseInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
PreparePhaseInfo |
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PreparePhaseInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PreparePhaseInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
|
mergeStartTime(Timestamp value)
public PreparePhaseInfo.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 |
PreparePhaseInfo.Builder |
|
setBackup(String value)
public PreparePhaseInfo.Builder setBackup(String value)Output only. The source backup used for the restore. The fully qualified URI of the backupdr backup.
string backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe backup to set. |
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
This builder for chaining. |
setBackupBytes(ByteString value)
public PreparePhaseInfo.Builder setBackupBytes(ByteString value)Output only. The source backup used for the restore. The fully qualified URI of the backupdr backup.
string backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for backup to set. |
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
This builder for chaining. |
setBackupSelectionConfig(BackupSelectionConfig value)
public PreparePhaseInfo.Builder setBackupSelectionConfig(BackupSelectionConfig value)Output only. Snapshot of config used in this execution.
.google.cloud.backupdr.v1beta.BackupSelectionConfig backup_selection_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
BackupSelectionConfig |
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
|
setBackupSelectionConfig(BackupSelectionConfig.Builder builderForValue)
public PreparePhaseInfo.Builder setBackupSelectionConfig(BackupSelectionConfig.Builder builderForValue)Output only. Snapshot of config used in this execution.
.google.cloud.backupdr.v1beta.BackupSelectionConfig backup_selection_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BackupSelectionConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
|
setEndTime(Timestamp value)
public PreparePhaseInfo.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 |
PreparePhaseInfo.Builder |
|
setEndTime(Timestamp.Builder builderForValue)
public PreparePhaseInfo.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 |
PreparePhaseInfo.Builder |
|
setError(Status value)
public PreparePhaseInfo.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 |
PreparePhaseInfo.Builder |
|
setError(Status.Builder builderForValue)
public PreparePhaseInfo.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 |
PreparePhaseInfo.Builder |
|
setIsBackupExplicitlyPassed(boolean value)
public PreparePhaseInfo.Builder setIsBackupExplicitlyPassed(boolean value)Output only. Indicates whether the backup was explicitly passed in the request.
bool is_backup_explicitly_passed = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe isBackupExplicitlyPassed to set. |
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
This builder for chaining. |
setPhaseState(PhaseState value)
public PreparePhaseInfo.Builder setPhaseState(PhaseState value)Output only. The state of this phase.
.google.cloud.backupdr.v1beta.PhaseState phase_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
PhaseStateThe phaseState to set. |
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
This builder for chaining. |
setPhaseStateValue(int value)
public PreparePhaseInfo.Builder setPhaseStateValue(int value)Output only. The state of this phase.
.google.cloud.backupdr.v1beta.PhaseState phase_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for phaseState to set. |
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
This builder for chaining. |
setRestoreVerificationPlanAssociation(String value)
public PreparePhaseInfo.Builder setRestoreVerificationPlanAssociation(String value)Output only. The restore verification plan association associated with the execution.
string restore_verification_plan_association = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe restoreVerificationPlanAssociation to set. |
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
This builder for chaining. |
setRestoreVerificationPlanAssociationBytes(ByteString value)
public PreparePhaseInfo.Builder setRestoreVerificationPlanAssociationBytes(ByteString value)Output only. The restore verification plan association associated with the execution.
string restore_verification_plan_association = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for restoreVerificationPlanAssociation to set. |
| Returns | |
|---|---|
| Type | Description |
PreparePhaseInfo.Builder |
This builder for chaining. |
setStartTime(Timestamp value)
public PreparePhaseInfo.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 |
PreparePhaseInfo.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
public PreparePhaseInfo.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 |
PreparePhaseInfo.Builder |
|