Class PreparePhaseInfo (0.62.0)

public final class PreparePhaseInfo extends GeneratedMessage implements PreparePhaseInfoOrBuilder

Info for Prepare phase execution.

Protobuf type google.cloud.backupdr.v1.PreparePhaseInfo

Static Fields

BACKUP_FIELD_NUMBER

public static final int BACKUP_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_SELECTION_CONFIG_FIELD_NUMBER

public static final int BACKUP_SELECTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

IS_BACKUP_EXPLICITLY_PASSED_FIELD_NUMBER

public static final int IS_BACKUP_EXPLICITLY_PASSED_FIELD_NUMBER
Field Value
Type Description
int

PHASE_STATE_FIELD_NUMBER

public static final int PHASE_STATE_FIELD_NUMBER
Field Value
Type Description
int

RESTORE_VERIFICATION_PLAN_ASSOCIATION_FIELD_NUMBER

public static final int RESTORE_VERIFICATION_PLAN_ASSOCIATION_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PreparePhaseInfo getDefaultInstance()
Returns
Type Description
PreparePhaseInfo

getDescriptor()

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

newBuilder()

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

newBuilder(PreparePhaseInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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.v1.BackupSelectionConfig backup_selection_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupSelectionConfig

The backupSelectionConfig.

getBackupSelectionConfigOrBuilder()

public BackupSelectionConfigOrBuilder getBackupSelectionConfigOrBuilder()

Output only. Snapshot of config used in this execution.

.google.cloud.backupdr.v1.BackupSelectionConfig backup_selection_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupSelectionConfigOrBuilder

getDefaultInstanceForType()

public PreparePhaseInfo getDefaultInstanceForType()
Returns
Type Description
PreparePhaseInfo

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.

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.

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.

getParserForType()

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

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.

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.v1.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.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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