Class PostRestorePhaseInfo (0.62.0)

public final class PostRestorePhaseInfo extends GeneratedMessage implements PostRestorePhaseInfoOrBuilder

Info for Post-Restore phase execution.

Protobuf type google.cloud.backupdr.v1.PostRestorePhaseInfo

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

POST_RESTORE_CONFIG_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(PostRestorePhaseInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 post-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 post-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 PostRestorePhaseInfo getDefaultInstanceForType()
Returns
Type Description
PostRestorePhaseInfo

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

getPostRestoreConfig()

public PostRestoreConfig getPostRestoreConfig()

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

.google.cloud.backupdr.v1.PostRestoreConfig post_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PostRestoreConfig

The postRestoreConfig.

getPostRestoreConfigOrBuilder()

public PostRestoreConfigOrBuilder getPostRestoreConfigOrBuilder()

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

.google.cloud.backupdr.v1.PostRestoreConfig post_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PostRestoreConfigOrBuilder

getResultCase()

public PostRestorePhaseInfo.ResultCase getResultCase()
Returns
Type Description
PostRestorePhaseInfo.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 post-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.

hasPostRestoreConfig()

public boolean hasPostRestoreConfig()

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

.google.cloud.backupdr.v1.PostRestoreConfig post_restore_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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