    public interface DemoteContextOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getKind()

    public abstract String getKind()

This is always `sql#demoteContext`.

`string kind = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The kind. |

### getKindBytes()

    public abstract ByteString getKindBytes()

This is always `sql#demoteContext`.

`string kind = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for kind. |

### getSourceRepresentativeInstanceName()

    public abstract String getSourceRepresentativeInstanceName()

Required. The name of the instance which acts as the on-premises primary instance in the replication setup.

`string source_representative_instance_name = 2 [(.google.api.field_behavior) = REQUIRED]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The sourceRepresentativeInstanceName. |

### getSourceRepresentativeInstanceNameBytes()

    public abstract ByteString getSourceRepresentativeInstanceNameBytes()

Required. The name of the instance which acts as the on-premises primary instance in the replication setup.

`string source_representative_instance_name = 2 [(.google.api.field_behavior) = REQUIRED]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for sourceRepresentativeInstanceName. |