# Interface UpdateObjectCustomContextOrBuilder (0.33.0)

0.33.0 (latest) 0.31.0 0.28.0 0.27.0 0.25.0 0.23.0 0.22.0 0.20.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.10.0 0.8.0 0.7.0 0.4.0 0.3.0 0.2.0

    public interface UpdateObjectCustomContextOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getActionCase()

    public abstract UpdateObjectCustomContext.ActionCase getActionCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/com.google.cloud.storagebatchoperations.v1.UpdateObjectCustomContext.ActionCase` |   |

### getClearAll()

    public abstract boolean getClearAll()

If set, must be set to true and all existing object custom contexts will
be deleted.

`bool clear_all = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The clearAll. |

### getCustomContextUpdates()

    public abstract CustomContextUpdates getCustomContextUpdates()

A collection of updates to apply to specific custom contexts.
Use this to add, update or delete individual contexts by key.

`.google.cloud.storagebatchoperations.v1.CustomContextUpdates custom_context_updates = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/com.google.cloud.storagebatchoperations.v1.CustomContextUpdates` | The customContextUpdates. |

### getCustomContextUpdatesOrBuilder()

    public abstract CustomContextUpdatesOrBuilder getCustomContextUpdatesOrBuilder()

A collection of updates to apply to specific custom contexts.
Use this to add, update or delete individual contexts by key.

`.google.cloud.storagebatchoperations.v1.CustomContextUpdates custom_context_updates = 1;
`

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

### hasClearAll()

    public abstract boolean hasClearAll()

If set, must be set to true and all existing object custom contexts will
be deleted.

`bool clear_all = 2;`

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

### hasCustomContextUpdates()

    public abstract boolean hasCustomContextUpdates()

A collection of updates to apply to specific custom contexts.
Use this to add, update or delete individual contexts by key.

`.google.cloud.storagebatchoperations.v1.CustomContextUpdates custom_context_updates = 1;
`

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