public static final class Reservation.ReplicationStatus extends GeneratedMessage 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.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LAST_ERROR_TIME_FIELD_NUMBER
public static final int LAST_ERROR_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LAST_REPLICATION_TIME_FIELD_NUMBER
public static final int LAST_REPLICATION_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SOFT_FAILOVER_START_TIME_FIELD_NUMBER
public static final int SOFT_FAILOVER_START_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Reservation.ReplicationStatus getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Reservation.ReplicationStatus.Builder newBuilder()
newBuilder(Reservation.ReplicationStatus prototype)
public static Reservation.ReplicationStatus.Builder newBuilder(Reservation.ReplicationStatus prototype)
public static Reservation.ReplicationStatus parseDelimitedFrom(InputStream input)
public static Reservation.ReplicationStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Reservation.ReplicationStatus parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Reservation.ReplicationStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Reservation.ReplicationStatus parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Reservation.ReplicationStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Reservation.ReplicationStatus parseFrom(CodedInputStream input)
public static Reservation.ReplicationStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Reservation.ReplicationStatus parseFrom(InputStream input)
public static Reservation.ReplicationStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Reservation.ReplicationStatus parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Reservation.ReplicationStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Reservation.ReplicationStatus> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Reservation.ReplicationStatus getDefaultInstanceForType()
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.
|
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.
|
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.
|
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];
getParserForType()
public Parser<Reservation.ReplicationStatus> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSoftFailoverStartTime()
public Timestamp getSoftFailoverStartTime()
Output only. The time at which a soft failover for the reservation and
its associated datasets was initiated. After this field is set, all
subsequent changes to the reservation will be rejected unless a hard
failover overrides this operation. This field will be cleared once the
failover is complete.
.google.protobuf.Timestamp soft_failover_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The softFailoverStartTime.
|
getSoftFailoverStartTimeOrBuilder()
public TimestampOrBuilder getSoftFailoverStartTimeOrBuilder()
Output only. The time at which a soft failover for the reservation and
its associated datasets was initiated. After this field is set, all
subsequent changes to the reservation will be rejected unless a hard
failover overrides this operation. This field will be cleared once the
failover is complete.
.google.protobuf.Timestamp soft_failover_start_time = 4 [(.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.
|
hasSoftFailoverStartTime()
public boolean hasSoftFailoverStartTime()
Output only. The time at which a soft failover for the reservation and
its associated datasets was initiated. After this field is set, all
subsequent changes to the reservation will be rejected unless a hard
failover overrides this operation. This field will be cleared once the
failover is complete.
.google.protobuf.Timestamp soft_failover_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the softFailoverStartTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Reservation.ReplicationStatus.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Reservation.ReplicationStatus.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Reservation.ReplicationStatus.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides