Interface DatabaseInstance.SqlFailoverReplicaOrBuilder (0.1.0)

public static interface DatabaseInstance.SqlFailoverReplicaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAvailable()

public abstract BoolValue getAvailable()

The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.

.google.protobuf.BoolValue available = 2;

Returns
Type Description
BoolValue

The available.

getAvailableOrBuilder()

public abstract BoolValueOrBuilder getAvailableOrBuilder()

The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.

.google.protobuf.BoolValue available = 2;

Returns
Type Description
BoolValueOrBuilder

getName()

public abstract String getName()

The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

hasAvailable()

public abstract boolean hasAvailable()

The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.

.google.protobuf.BoolValue available = 2;

Returns
Type Description
boolean

Whether the available field is set.