0.58.0 (latest) 0.57.0 0.55.0 0.52.0 0.51.0 0.49.0 0.47.0 0.46.0 0.44.0 0.42.0 0.40.0 0.39.0 0.38.0 0.37.0 0.36.0 0.34.0 0.32.0 0.31.0 0.28.0 0.27.0 0.26.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.1.0

    public interface PayloadOptionsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getFieldMask()

    public abstract FieldMask getFieldMask()

Optional. If `include_resource` is set to `true`, the list of fields to
include in the event payload. Separate fields with a comma. For example, to
include a Google Chat message's sender and create time, enter
`message.sender,message.createTime`. If omitted, the payload includes all
fields for the resource.

If you specify a field that doesn't exist for the resource, the system
ignores the field.

`.google.protobuf.FieldMask field_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 fieldMask. |

### getFieldMaskOrBuilder()

    public abstract FieldMaskOrBuilder getFieldMaskOrBuilder()

Optional. If `include_resource` is set to `true`, the list of fields to
include in the event payload. Separate fields with a comma. For example, to
include a Google Chat message's sender and create time, enter
`message.sender,message.createTime`. If omitted, the payload includes all
fields for the resource.

If you specify a field that doesn't exist for the resource, the system
ignores the field.

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

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

### getIncludeResource()

    public abstract boolean getIncludeResource()

Optional. Whether the event payload includes data about the resource that
changed. For example, for an event where a Google Chat message was created,
whether the payload contains data about the
[`Message`](https://developers.google.com/chat/api/reference/rest/v1/spaces.messages)
resource. If false, the event payload only includes the name of the changed
resource.

`bool include_resource = 1 [(.google.api.field_behavior) = OPTIONAL];`

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

### hasFieldMask()

    public abstract boolean hasFieldMask()

Optional. If `include_resource` is set to `true`, the list of fields to
include in the event payload. Separate fields with a comma. For example, to
include a Google Chat message's sender and create time, enter
`message.sender,message.createTime`. If omitted, the payload includes all
fields for the resource.

If you specify a field that doesn't exist for the resource, the system
ignores the field.

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

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