Interface SqlInstancesPromoteReplicaRequestOrBuilder (0.1.0)

public interface SqlInstancesPromoteReplicaRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFailover()

public abstract boolean getFailover()

Set to true to invoke a replica failover to the DR replica. As part of replica failover, the promote operation attempts to add the original primary instance as a replica of the promoted DR replica when the original primary instance comes back online. If set to false or not specified, then the original primary instance becomes an independent Cloud SQL primary instance.

bool failover = 3;

Returns
Type Description
boolean

The failover.

getInstance()

public abstract String getInstance()

Cloud SQL read replica instance name.

string instance = 1;

Returns
Type Description
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

Cloud SQL read replica instance name.

string instance = 1;

Returns
Type Description
ByteString

The bytes for instance.

getProject()

public abstract String getProject()

ID of the project that contains the read replica.

string project = 2;

Returns
Type Description
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

ID of the project that contains the read replica.

string project = 2;

Returns
Type Description
ByteString

The bytes for project.