# Interface ObjectCustomContextPayloadOrBuilder (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 ObjectCustomContextPayloadOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getValue()

    public abstract String getValue()

The value of the object custom context.
If set, `value` must NOT be an empty string since it is a required field in
custom context. If unset, `value` will be ignored and no changes will be
made to the `value` field of the custom context payload.

`optional string value = 1;`

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

### getValueBytes()

    public abstract ByteString getValueBytes()

The value of the object custom context.
If set, `value` must NOT be an empty string since it is a required field in
custom context. If unset, `value` will be ignored and no changes will be
made to the `value` field of the custom context payload.

`optional string value = 1;`

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

### hasValue()

    public abstract boolean hasValue()

The value of the object custom context.
If set, `value` must NOT be an empty string since it is a required field in
custom context. If unset, `value` will be ignored and no changes will be
made to the `value` field of the custom context payload.

`optional string value = 1;`

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