public interface InstancesDemoteRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDemoteContext()
public abstract DemoteContext getDemoteContext()Required. This context is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.
.google.cloud.sql.v1beta4.DemoteContext demote_context = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DemoteContext |
The demoteContext. |
getDemoteContextOrBuilder()
public abstract DemoteContextOrBuilder getDemoteContextOrBuilder()Required. This context is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.
.google.cloud.sql.v1beta4.DemoteContext demote_context = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DemoteContextOrBuilder |
|
hasDemoteContext()
public abstract boolean hasDemoteContext()Required. This context is used to demote an existing standalone instance to be a Cloud SQL read replica for an external database server.
.google.cloud.sql.v1beta4.DemoteContext demote_context = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the demoteContext field is set. |