    public interface UpdateBackupRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getBackup()

    public abstract Backup getBackup()

Required. The backup to update. The backup's `name` field is used to identify the backup to update. Format: projects/{project}/backups/{backup}

`.google.cloud.sql.v1beta4.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1beta4.Backup` | The backup. |

### getBackupOrBuilder()

    public abstract BackupOrBuilder getBackupOrBuilder()

Required. The backup to update. The backup's `name` field is used to identify the backup to update. Format: projects/{project}/backups/{backup}

`.google.cloud.sql.v1beta4.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; `

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

### getUpdateMask()

    public abstract FieldMask getUpdateMask()

The list of fields that you can update. You can update only the description and retention period of the final backup.

`.google.protobuf.FieldMask update_mask = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMask.html` | The updateMask. |

### getUpdateMaskOrBuilder()

    public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields that you can update. You can update only the description and retention period of the final backup.

`.google.protobuf.FieldMask update_mask = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMaskOrBuilder.html` |   |

### hasBackup()

    public abstract boolean hasBackup()

Required. The backup to update. The backup's `name` field is used to identify the backup to update. Format: projects/{project}/backups/{backup}

`.google.cloud.sql.v1beta4.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; `

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

### hasUpdateMask()

    public abstract boolean hasUpdateMask()

The list of fields that you can update. You can update only the description and retention period of the final backup.

`.google.protobuf.FieldMask update_mask = 2;`

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