Class VerificationPhaseInfo.Builder (0.62.0)

public static final class VerificationPhaseInfo.Builder extends GeneratedMessage.Builder<VerificationPhaseInfo.Builder> implements VerificationPhaseInfoOrBuilder

Info for Verification phase execution.

Protobuf type google.cloud.backupdr.v1.VerificationPhaseInfo

Static Methods

getDescriptor()

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

Methods

build()

public VerificationPhaseInfo build()
Returns
Type Description
VerificationPhaseInfo

buildPartial()

public VerificationPhaseInfo buildPartial()
Returns
Type Description
VerificationPhaseInfo

clear()

public VerificationPhaseInfo.Builder clear()
Returns
Type Description
VerificationPhaseInfo.Builder
Overrides

clearCloudRunExecution()

public VerificationPhaseInfo.Builder clearCloudRunExecution()

Output only. The fully qualified URI of the Cloud Run Execution triggered for verification.

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

Returns
Type Description
VerificationPhaseInfo.Builder

This builder for chaining.

clearEndTime()

public VerificationPhaseInfo.Builder clearEndTime()

Output only. End time of the phase.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerificationPhaseInfo.Builder

clearError()

public VerificationPhaseInfo.Builder clearError()

Output only. Error details if the phase failed.

.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerificationPhaseInfo.Builder

clearPhaseState()

public VerificationPhaseInfo.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
VerificationPhaseInfo.Builder

This builder for chaining.

clearResult()

public VerificationPhaseInfo.Builder clearResult()
Returns
Type Description
VerificationPhaseInfo.Builder

clearStartTime()

public VerificationPhaseInfo.Builder clearStartTime()

Output only. Start time of the phase.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerificationPhaseInfo.Builder

clearVerificationConfig()

public VerificationPhaseInfo.Builder clearVerificationConfig()

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

.google.cloud.backupdr.v1.VerificationConfig verification_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerificationPhaseInfo.Builder

getCloudRunExecution()

public String getCloudRunExecution()

Output only. The fully qualified URI of the Cloud Run Execution triggered for verification.

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

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getResultCase()

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

getVerificationConfig()

public VerificationConfig getVerificationConfig()

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

.google.cloud.backupdr.v1.VerificationConfig verification_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerificationConfig

The verificationConfig.

getVerificationConfigBuilder()

public VerificationConfig.Builder getVerificationConfigBuilder()

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

.google.cloud.backupdr.v1.VerificationConfig verification_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerificationConfig.Builder

getVerificationConfigOrBuilder()

public VerificationConfigOrBuilder getVerificationConfigOrBuilder()

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

.google.cloud.backupdr.v1.VerificationConfig verification_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerificationConfigOrBuilder

hasCloudRunExecution()

public boolean hasCloudRunExecution()

Output only. The fully qualified URI of the Cloud Run Execution triggered for verification.

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.

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.

hasVerificationConfig()

public boolean hasVerificationConfig()

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

.google.cloud.backupdr.v1.VerificationConfig verification_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the verificationConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public VerificationPhaseInfo.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
VerificationPhaseInfo.Builder

mergeError(Status value)

public VerificationPhaseInfo.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
VerificationPhaseInfo.Builder

mergeFrom(VerificationPhaseInfo other)

public VerificationPhaseInfo.Builder mergeFrom(VerificationPhaseInfo other)
Parameter
Name Description
other VerificationPhaseInfo
Returns
Type Description
VerificationPhaseInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VerificationPhaseInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerificationPhaseInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VerificationPhaseInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VerificationPhaseInfo.Builder
Overrides

mergeStartTime(Timestamp value)

public VerificationPhaseInfo.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
VerificationPhaseInfo.Builder

mergeVerificationConfig(VerificationConfig value)

public VerificationPhaseInfo.Builder mergeVerificationConfig(VerificationConfig value)

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

.google.cloud.backupdr.v1.VerificationConfig verification_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VerificationConfig
Returns
Type Description
VerificationPhaseInfo.Builder

setCloudRunExecution(String value)

public VerificationPhaseInfo.Builder setCloudRunExecution(String value)

Output only. The fully qualified URI of the Cloud Run Execution triggered for verification.

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

Parameter
Name Description
value String

The cloudRunExecution to set.

Returns
Type Description
VerificationPhaseInfo.Builder

This builder for chaining.

setCloudRunExecutionBytes(ByteString value)

public VerificationPhaseInfo.Builder setCloudRunExecutionBytes(ByteString value)

Output only. The fully qualified URI of the Cloud Run Execution triggered for verification.

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

Parameter
Name Description
value ByteString

The bytes for cloudRunExecution to set.

Returns
Type Description
VerificationPhaseInfo.Builder

This builder for chaining.

setEndTime(Timestamp value)

public VerificationPhaseInfo.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
VerificationPhaseInfo.Builder

setEndTime(Timestamp.Builder builderForValue)

public VerificationPhaseInfo.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
VerificationPhaseInfo.Builder

setError(Status value)

public VerificationPhaseInfo.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
VerificationPhaseInfo.Builder

setError(Status.Builder builderForValue)

public VerificationPhaseInfo.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
VerificationPhaseInfo.Builder

setPhaseState(PhaseState value)

public VerificationPhaseInfo.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 PhaseState

The phaseState to set.

Returns
Type Description
VerificationPhaseInfo.Builder

This builder for chaining.

setPhaseStateValue(int value)

public VerificationPhaseInfo.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 int

The enum numeric value on the wire for phaseState to set.

Returns
Type Description
VerificationPhaseInfo.Builder

This builder for chaining.

setStartTime(Timestamp value)

public VerificationPhaseInfo.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
VerificationPhaseInfo.Builder

setStartTime(Timestamp.Builder builderForValue)

public VerificationPhaseInfo.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
VerificationPhaseInfo.Builder

setVerificationConfig(VerificationConfig value)

public VerificationPhaseInfo.Builder setVerificationConfig(VerificationConfig value)

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

.google.cloud.backupdr.v1.VerificationConfig verification_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VerificationConfig
Returns
Type Description
VerificationPhaseInfo.Builder

setVerificationConfig(VerificationConfig.Builder builderForValue)

public VerificationPhaseInfo.Builder setVerificationConfig(VerificationConfig.Builder builderForValue)

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

.google.cloud.backupdr.v1.VerificationConfig verification_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue VerificationConfig.Builder
Returns
Type Description
VerificationPhaseInfo.Builder