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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Reservation.ReplicationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Reservation.ReplicationStatus build()
buildPartial()
public Reservation.ReplicationStatus buildPartial()
clear()
public Reservation.ReplicationStatus.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public Reservation.ReplicationStatus.Builder clearField(Descriptors.FieldDescriptor field)
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];
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public Reservation.ReplicationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Reservation.ReplicationStatus.Builder clone()
Overrides
getDefaultInstanceForType()
public Reservation.ReplicationStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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
|
mergeFrom(Reservation.ReplicationStatus other)
public Reservation.ReplicationStatus.Builder mergeFrom(Reservation.ReplicationStatus other)
public Reservation.ReplicationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Reservation.ReplicationStatus.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Reservation.ReplicationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public Reservation.ReplicationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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
|
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];
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Reservation.ReplicationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Reservation.ReplicationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides