public static final class PreRestorePhaseInfo.Builder extends GeneratedMessage.Builder<PreRestorePhaseInfo.Builder> implements PreRestorePhaseInfoOrBuilderInfo for Pre-Restore phase execution.
Protobuf type google.cloud.backupdr.v1.PreRestorePhaseInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PreRestorePhaseInfo.BuilderImplements
PreRestorePhaseInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PreRestorePhaseInfo build()| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo |
|
buildPartial()
public PreRestorePhaseInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo |
|
clear()
public PreRestorePhaseInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
|
clearCloudRunExecution()
public PreRestorePhaseInfo.Builder clearCloudRunExecution()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 |
PreRestorePhaseInfo.Builder |
This builder for chaining. |
clearEndTime()
public PreRestorePhaseInfo.Builder clearEndTime()Output only. End time of the phase.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
|
clearError()
public PreRestorePhaseInfo.Builder clearError()Output only. Error details if the phase failed.
.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
|
clearPhaseState()
public PreRestorePhaseInfo.Builder clearPhaseState()Output only. The state of this phase.
.google.cloud.backupdr.v1.PhaseState phase_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
This builder for chaining. |
clearPreRestoreConfig()
public PreRestorePhaseInfo.Builder clearPreRestoreConfig()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 |
PreRestorePhaseInfo.Builder |
|
clearResult()
public PreRestorePhaseInfo.Builder clearResult()| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
|
clearStartTime()
public PreRestorePhaseInfo.Builder clearStartTime()Output only. Start time of the phase.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
|
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 |
|
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 |
|
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. |
getPreRestoreConfigBuilder()
public PreRestoreConfig.Builder getPreRestoreConfigBuilder()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.Builder |
|
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 |
|
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 |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndTime(Timestamp value)
public PreRestorePhaseInfo.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 |
PreRestorePhaseInfo.Builder |
|
mergeError(Status value)
public PreRestorePhaseInfo.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 |
PreRestorePhaseInfo.Builder |
|
mergeFrom(PreRestorePhaseInfo other)
public PreRestorePhaseInfo.Builder mergeFrom(PreRestorePhaseInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
PreRestorePhaseInfo |
| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PreRestorePhaseInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PreRestorePhaseInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
|
mergePreRestoreConfig(PreRestoreConfig value)
public PreRestorePhaseInfo.Builder mergePreRestoreConfig(PreRestoreConfig value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
PreRestoreConfig |
| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
|
mergeStartTime(Timestamp value)
public PreRestorePhaseInfo.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 |
PreRestorePhaseInfo.Builder |
|
setCloudRunExecution(String value)
public PreRestorePhaseInfo.Builder setCloudRunExecution(String value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe cloudRunExecution to set. |
| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
This builder for chaining. |
setCloudRunExecutionBytes(ByteString value)
public PreRestorePhaseInfo.Builder setCloudRunExecutionBytes(ByteString value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for cloudRunExecution to set. |
| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
This builder for chaining. |
setEndTime(Timestamp value)
public PreRestorePhaseInfo.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 |
PreRestorePhaseInfo.Builder |
|
setEndTime(Timestamp.Builder builderForValue)
public PreRestorePhaseInfo.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 |
PreRestorePhaseInfo.Builder |
|
setError(Status value)
public PreRestorePhaseInfo.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 |
PreRestorePhaseInfo.Builder |
|
setError(Status.Builder builderForValue)
public PreRestorePhaseInfo.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 |
PreRestorePhaseInfo.Builder |
|
setPhaseState(PhaseState value)
public PreRestorePhaseInfo.Builder setPhaseState(PhaseState value)Output only. The state of this phase.
.google.cloud.backupdr.v1.PhaseState phase_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
PhaseStateThe phaseState to set. |
| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
This builder for chaining. |
setPhaseStateValue(int value)
public PreRestorePhaseInfo.Builder setPhaseStateValue(int value)Output only. The state of this phase.
.google.cloud.backupdr.v1.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 |
PreRestorePhaseInfo.Builder |
This builder for chaining. |
setPreRestoreConfig(PreRestoreConfig value)
public PreRestorePhaseInfo.Builder setPreRestoreConfig(PreRestoreConfig value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
PreRestoreConfig |
| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
|
setPreRestoreConfig(PreRestoreConfig.Builder builderForValue)
public PreRestorePhaseInfo.Builder setPreRestoreConfig(PreRestoreConfig.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PreRestoreConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
PreRestorePhaseInfo.Builder |
|
setStartTime(Timestamp value)
public PreRestorePhaseInfo.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 |
PreRestorePhaseInfo.Builder |
|
setStartTime(Timestamp.Builder builderForValue)
public PreRestorePhaseInfo.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 |
PreRestorePhaseInfo.Builder |
|