# Interface UpdateWatchlistRequestOrBuilder (0.31.0)

0.31.0 (latest) 0.29.0 0.26.0 0.25.0 0.23.0 0.21.0 0.20.0 0.19.0 0.18.0 0.16.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.8.0 0.6.0 0.5.0 0.2.0 0.1.0

    public interface UpdateWatchlistRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getUpdateMask()

    public abstract FieldMask getUpdateMask()

Optional. The list of fields to update.

`.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getUpdateMaskOrBuilder()

    public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of fields to update.

`.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getWatchlist()

    public abstract Watchlist getWatchlist()

Required. The watchlist to update.

The watchlist's `name` field is used to identify the watchlist to update.
Format:
`projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`

`
.google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.Watchlist` | The watchlist. |

### getWatchlistOrBuilder()

    public abstract WatchlistOrBuilder getWatchlistOrBuilder()

Required. The watchlist to update.

The watchlist's `name` field is used to identify the watchlist to update.
Format:
`projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`

`
.google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
`

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

### hasUpdateMask()

    public abstract boolean hasUpdateMask()

Optional. The list of fields to update.

`.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasWatchlist()

    public abstract boolean hasWatchlist()

Required. The watchlist to update.

The watchlist's `name` field is used to identify the watchlist to update.
Format:
`projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`

`
.google.cloud.chronicle.v1.Watchlist watchlist = 1 [(.google.api.field_behavior) = REQUIRED];
`

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