Class Reservation.ReplicationStatus.Builder (2.60.0)

public static final class Reservation.ReplicationStatus.Builder extends GeneratedMessageV3.Builder<Reservation.ReplicationStatus.Builder> implements Reservation.ReplicationStatusOrBuilder

Disaster Recovery(DR) replication status of the reservation.

Protobuf type google.cloud.bigquery.reservation.v1.Reservation.ReplicationStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Reservation.ReplicationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Reservation.ReplicationStatus.Builder
Overrides

build()

public Reservation.ReplicationStatus build()
Returns
Type Description
Reservation.ReplicationStatus

buildPartial()

public Reservation.ReplicationStatus buildPartial()
Returns
Type Description
Reservation.ReplicationStatus

clear()

public Reservation.ReplicationStatus.Builder clear()
Returns
Type Description
Reservation.ReplicationStatus.Builder
Overrides

clearError()

public Reservation.ReplicationStatus.Builder clearError()

Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

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

Returns
Type Description
Reservation.ReplicationStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public Reservation.ReplicationStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Reservation.ReplicationStatus.Builder
Overrides

clearLastErrorTime()

public Reservation.ReplicationStatus.Builder clearLastErrorTime()

Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

.google.protobuf.Timestamp last_error_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Reservation.ReplicationStatus.Builder

clearLastReplicationTime()

public Reservation.ReplicationStatus.Builder clearLastReplicationTime()

Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.

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

Returns
Type Description
Reservation.ReplicationStatus.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Reservation.ReplicationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Reservation.ReplicationStatus.Builder
Overrides

clone()

public Reservation.ReplicationStatus.Builder clone()
Returns
Type Description
Reservation.ReplicationStatus.Builder
Overrides

getDefaultInstanceForType()

public Reservation.ReplicationStatus getDefaultInstanceForType()
Returns
Type Description
Reservation.ReplicationStatus

getDescriptorForType()

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

getError()

public Status getError()

Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

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

Returns
Type Description
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

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

Returns
Type Description
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

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

Returns
Type Description
com.google.rpc.StatusOrBuilder

getLastErrorTime()

public Timestamp getLastErrorTime()

Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

.google.protobuf.Timestamp last_error_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastErrorTime.

getLastErrorTimeBuilder()

public Timestamp.Builder getLastErrorTimeBuilder()

Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

.google.protobuf.Timestamp last_error_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getLastErrorTimeOrBuilder()

public TimestampOrBuilder getLastErrorTimeOrBuilder()

Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

.google.protobuf.Timestamp last_error_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLastReplicationTime()

public Timestamp getLastReplicationTime()

Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.

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

Returns
Type Description
Timestamp

The lastReplicationTime.

getLastReplicationTimeBuilder()

public Timestamp.Builder getLastReplicationTimeBuilder()

Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.

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

Returns
Type Description
Builder

getLastReplicationTimeOrBuilder()

public TimestampOrBuilder getLastReplicationTimeOrBuilder()

Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.

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

Returns
Type Description
TimestampOrBuilder

hasError()

public boolean hasError()

Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

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

Returns
Type Description
boolean

Whether the error field is set.

hasLastErrorTime()

public boolean hasLastErrorTime()

Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

.google.protobuf.Timestamp last_error_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastErrorTime field is set.

hasLastReplicationTime()

public boolean hasLastReplicationTime()

Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.

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

Returns
Type Description
boolean

Whether the lastReplicationTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeError(Status value)

public Reservation.ReplicationStatus.Builder mergeError(Status value)

Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

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

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
Reservation.ReplicationStatus.Builder

mergeFrom(Reservation.ReplicationStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLastErrorTime(Timestamp value)

public Reservation.ReplicationStatus.Builder mergeLastErrorTime(Timestamp value)

Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

.google.protobuf.Timestamp last_error_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Reservation.ReplicationStatus.Builder

mergeLastReplicationTime(Timestamp value)

public Reservation.ReplicationStatus.Builder mergeLastReplicationTime(Timestamp value)

Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Reservation.ReplicationStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Reservation.ReplicationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Reservation.ReplicationStatus.Builder
Overrides

setError(Status value)

public Reservation.ReplicationStatus.Builder setError(Status value)

Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

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

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
Reservation.ReplicationStatus.Builder

setError(Status.Builder builderForValue)

public Reservation.ReplicationStatus.Builder setError(Status.Builder builderForValue)

Output only. The last error encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

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

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
Reservation.ReplicationStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Reservation.ReplicationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Reservation.ReplicationStatus.Builder
Overrides

setLastErrorTime(Timestamp value)

public Reservation.ReplicationStatus.Builder setLastErrorTime(Timestamp value)

Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

.google.protobuf.Timestamp last_error_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Reservation.ReplicationStatus.Builder

setLastErrorTime(Timestamp.Builder builderForValue)

public Reservation.ReplicationStatus.Builder setLastErrorTime(Timestamp.Builder builderForValue)

Output only. The time at which the last error was encountered while trying to replicate changes from the primary to the secondary. This field is only available if the replication has not succeeded since.

.google.protobuf.Timestamp last_error_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Reservation.ReplicationStatus.Builder

setLastReplicationTime(Timestamp value)

public Reservation.ReplicationStatus.Builder setLastReplicationTime(Timestamp value)

Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Reservation.ReplicationStatus.Builder

setLastReplicationTime(Timestamp.Builder builderForValue)

public Reservation.ReplicationStatus.Builder setLastReplicationTime(Timestamp.Builder builderForValue)

Output only. A timestamp corresponding to the last change on the primary that was successfully replicated to the secondary.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Reservation.ReplicationStatus.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Reservation.ReplicationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Reservation.ReplicationStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Reservation.ReplicationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Reservation.ReplicationStatus.Builder
Overrides