    public interface SqlDatabasesUpdateRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getBody()

    public abstract Database getBody()

`.google.cloud.sql.v1.Database body = 100;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1.Database` | The body. |

### getBodyOrBuilder()

    public abstract DatabaseOrBuilder getBodyOrBuilder()

`.google.cloud.sql.v1.Database body = 100;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1.DatabaseOrBuilder` |   |

### getDatabase()

    public abstract String getDatabase()

Name of the database to be updated in the instance.

`string database = 1;`

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

### getDatabaseBytes()

    public abstract ByteString getDatabaseBytes()

Name of the database to be updated in the instance.

`string database = 1;`

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

### getInstance()

    public abstract String getInstance()

Database instance ID. This does not include the project ID.

`string instance = 2;`

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

### getInstanceBytes()

    public abstract ByteString getInstanceBytes()

Database instance ID. This does not include the project ID.

`string instance = 2;`

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

### getProject()

    public abstract String getProject()

Project ID of the project that contains the instance.

`string project = 3;`

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

### getProjectBytes()

    public abstract ByteString getProjectBytes()

Project ID of the project that contains the instance.

`string project = 3;`

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

### hasBody()

    public abstract boolean hasBody()

`.google.cloud.sql.v1.Database body = 100;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the body field is set. |