Class PreRestorePhaseInfo (0.62.0)

public final class PreRestorePhaseInfo extends GeneratedMessage implements PreRestorePhaseInfoOrBuilder

Info for Pre-Restore phase execution.

Protobuf type google.cloud.backupdr.v1.PreRestorePhaseInfo

Static Fields

CLOUD_RUN_EXECUTION_FIELD_NUMBER

public static final int CLOUD_RUN_EXECUTION_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

PHASE_STATE_FIELD_NUMBER

public static final int PHASE_STATE_FIELD_NUMBER
Field Value
Type Description
int

PRE_RESTORE_CONFIG_FIELD_NUMBER

public static final int PRE_RESTORE_CONFIG_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 PreRestorePhaseInfo getDefaultInstance()
Returns
Type Description
PreRestorePhaseInfo

getDescriptor()

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

newBuilder()

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

newBuilder(PreRestorePhaseInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCloudRunExecution()

public String getCloudRunExecution()

Output only. The fully qualified URI of the Cloud Run Execution triggered for pre-restore actions.

string cloud_run_execution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The cloudRunExecution.

getCloudRunExecutionBytes()

public ByteString getCloudRunExecutionBytes()

Output only. The fully qualified URI of the Cloud Run Execution triggered for pre-restore actions.

string cloud_run_execution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for cloudRunExecution.

getDefaultInstanceForType()

public PreRestorePhaseInfo getDefaultInstanceForType()
Returns
Type Description
PreRestorePhaseInfo

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

getParserForType()

public Parser<PreRestorePhaseInfo> getParserForType()
Returns
Type Description
Parser<PreRestorePhaseInfo>
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.

getPreRestoreConfig()

public PreRestoreConfig getPreRestoreConfig()

Output only. Snapshot of config that will be executed before restore operation.

.google.cloud.backupdr.v1.PreRestoreConfig pre_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PreRestoreConfig

The preRestoreConfig.

getPreRestoreConfigOrBuilder()

public PreRestoreConfigOrBuilder getPreRestoreConfigOrBuilder()

Output only. Snapshot of config that will be executed before restore operation.

.google.cloud.backupdr.v1.PreRestoreConfig pre_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PreRestoreConfigOrBuilder

getResultCase()

public PreRestorePhaseInfo.ResultCase getResultCase()
Returns
Type Description
PreRestorePhaseInfo.ResultCase

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

hasCloudRunExecution()

public boolean hasCloudRunExecution()

Output only. The fully qualified URI of the Cloud Run Execution triggered for pre-restore actions.

string cloud_run_execution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the cloudRunExecution 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.

hasPreRestoreConfig()

public boolean hasPreRestoreConfig()

Output only. Snapshot of config that will be executed before restore operation.

.google.cloud.backupdr.v1.PreRestoreConfig pre_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the preRestoreConfig 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 PreRestorePhaseInfo.Builder newBuilderForType()
Returns
Type Description
PreRestorePhaseInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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