public interface DemoteMasterContextOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getKind()
public abstract String getKind() This is always sql#demoteMasterContext.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public abstract ByteString getKindBytes() This is always sql#demoteMasterContext.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getMasterInstanceName()
public abstract String getMasterInstanceName()The name of the instance which will act as on-premises primary instance in the replication setup.
string master_instance_name = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The masterInstanceName. |
getMasterInstanceNameBytes()
public abstract ByteString getMasterInstanceNameBytes()The name of the instance which will act as on-premises primary instance in the replication setup.
string master_instance_name = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for masterInstanceName. |
getReplicaConfiguration()
public abstract DemoteMasterConfiguration getReplicaConfiguration()Configuration specific to read-replicas replicating from the on-premises primary instance.
.google.cloud.sql.v1beta4.DemoteMasterConfiguration replica_configuration = 4;
| Returns | |
|---|---|
| Type | Description |
DemoteMasterConfiguration |
The replicaConfiguration. |
getReplicaConfigurationOrBuilder()
public abstract DemoteMasterConfigurationOrBuilder getReplicaConfigurationOrBuilder()Configuration specific to read-replicas replicating from the on-premises primary instance.
.google.cloud.sql.v1beta4.DemoteMasterConfiguration replica_configuration = 4;
| Returns | |
|---|---|
| Type | Description |
DemoteMasterConfigurationOrBuilder |
|
getSkipReplicationSetup()
public abstract boolean getSkipReplicationSetup()Flag to skip replication setup on the instance.
bool skip_replication_setup = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
The skipReplicationSetup. |
getVerifyGtidConsistency()
public abstract BoolValue getVerifyGtidConsistency() Verify the GTID consistency for demote operation. Default value:
True. Setting this flag to false enables you to bypass the GTID
consistency check between on-premises primary instance and Cloud SQL
instance during the demotion operation but also exposes you to the risk of
future replication failures. Change the value only if you know the reason
for the GTID divergence and are confident that doing so will not cause any
replication issues.
.google.protobuf.BoolValue verify_gtid_consistency = 2;
| Returns | |
|---|---|
| Type | Description |
BoolValue |
The verifyGtidConsistency. |
getVerifyGtidConsistencyOrBuilder()
public abstract BoolValueOrBuilder getVerifyGtidConsistencyOrBuilder() Verify the GTID consistency for demote operation. Default value:
True. Setting this flag to false enables you to bypass the GTID
consistency check between on-premises primary instance and Cloud SQL
instance during the demotion operation but also exposes you to the risk of
future replication failures. Change the value only if you know the reason
for the GTID divergence and are confident that doing so will not cause any
replication issues.
.google.protobuf.BoolValue verify_gtid_consistency = 2;
| Returns | |
|---|---|
| Type | Description |
BoolValueOrBuilder |
|
hasReplicaConfiguration()
public abstract boolean hasReplicaConfiguration()Configuration specific to read-replicas replicating from the on-premises primary instance.
.google.cloud.sql.v1beta4.DemoteMasterConfiguration replica_configuration = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the replicaConfiguration field is set. |
hasVerifyGtidConsistency()
public abstract boolean hasVerifyGtidConsistency() Verify the GTID consistency for demote operation. Default value:
True. Setting this flag to false enables you to bypass the GTID
consistency check between on-premises primary instance and Cloud SQL
instance during the demotion operation but also exposes you to the risk of
future replication failures. Change the value only if you know the reason
for the GTID divergence and are confident that doing so will not cause any
replication issues.
.google.protobuf.BoolValue verify_gtid_consistency = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the verifyGtidConsistency field is set. |