# Interface ChunkOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface ChunkOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAgentTransfer()

    public abstract AgentTransfer getAgentTransfer()

Optional. Agent transfer event.

`
.google.cloud.ces.v1.AgentTransfer agent_transfer = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.AgentTransfer` | The agentTransfer. |

### getAgentTransferOrBuilder()

    public abstract AgentTransferOrBuilder getAgentTransferOrBuilder()

Optional. Agent transfer event.

`
.google.cloud.ces.v1.AgentTransfer agent_transfer = 4 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getBlob()

    public abstract Blob getBlob()

Optional. Blob data.

`.google.cloud.ces.v1.Blob blob = 7 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Blob` | The blob. |

### getBlobOrBuilder()

    public abstract BlobOrBuilder getBlobOrBuilder()

Optional. Blob data.

`.google.cloud.ces.v1.Blob blob = 7 [(.google.api.field_behavior) = OPTIONAL];`

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

### getDataCase()

    public abstract Chunk.DataCase getDataCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Chunk.DataCase` |   |

### getDefaultVariables()

    public abstract Struct getDefaultVariables()

A struct represents default variables at the start of the conversation,
keyed by variable names.

`.google.protobuf.Struct default_variables = 10;`

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

### getDefaultVariablesOrBuilder()

    public abstract StructOrBuilder getDefaultVariablesOrBuilder()

A struct represents default variables at the start of the conversation,
keyed by variable names.

`.google.protobuf.Struct default_variables = 10;`

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

### getImage()

    public abstract Image getImage()

Optional. Image data.

`.google.cloud.ces.v1.Image image = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Image` | The image. |

### getImageOrBuilder()

    public abstract ImageOrBuilder getImageOrBuilder()

Optional. Image data.

`.google.cloud.ces.v1.Image image = 5 [(.google.api.field_behavior) = OPTIONAL];`

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

### getPayload()

    public abstract Struct getPayload()

Optional. Custom payload data.

`.google.protobuf.Struct payload = 11 [(.google.api.field_behavior) = OPTIONAL];`

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

### getPayloadOrBuilder()

    public abstract StructOrBuilder getPayloadOrBuilder()

Optional. Custom payload data.

`.google.protobuf.Struct payload = 11 [(.google.api.field_behavior) = OPTIONAL];`

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

### getText()

    public abstract String getText()

Optional. Text data.

`string text = 1 [(.google.api.field_behavior) = OPTIONAL];`

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

### getTextBytes()

    public abstract ByteString getTextBytes()

Optional. Text data.

`string text = 1 [(.google.api.field_behavior) = OPTIONAL];`

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

### getToolCall()

    public abstract ToolCall getToolCall()

Optional. Tool execution request.

`.google.cloud.ces.v1.ToolCall tool_call = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.ToolCall` | The toolCall. |

### getToolCallOrBuilder()

    public abstract ToolCallOrBuilder getToolCallOrBuilder()

Optional. Tool execution request.

`.google.cloud.ces.v1.ToolCall tool_call = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getToolResponse()

    public abstract ToolResponse getToolResponse()

Optional. Tool execution response.

`
.google.cloud.ces.v1.ToolResponse tool_response = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.ToolResponse` | The toolResponse. |

### getToolResponseOrBuilder()

    public abstract ToolResponseOrBuilder getToolResponseOrBuilder()

Optional. Tool execution response.

`
.google.cloud.ces.v1.ToolResponse tool_response = 3 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getTranscript()

    public abstract String getTranscript()

Optional. Transcript associated with the audio.

`string transcript = 9 [(.google.api.field_behavior) = OPTIONAL];`

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

### getTranscriptBytes()

    public abstract ByteString getTranscriptBytes()

Optional. Transcript associated with the audio.

`string transcript = 9 [(.google.api.field_behavior) = OPTIONAL];`

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

### getUpdatedVariables()

    public abstract Struct getUpdatedVariables()

A struct represents variables that were updated in the conversation,
keyed by variable names.

`.google.protobuf.Struct updated_variables = 8;`

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

### getUpdatedVariablesOrBuilder()

    public abstract StructOrBuilder getUpdatedVariablesOrBuilder()

A struct represents variables that were updated in the conversation,
keyed by variable names.

`.google.protobuf.Struct updated_variables = 8;`

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

### hasAgentTransfer()

    public abstract boolean hasAgentTransfer()

Optional. Agent transfer event.

`
.google.cloud.ces.v1.AgentTransfer agent_transfer = 4 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasBlob()

    public abstract boolean hasBlob()

Optional. Blob data.

`.google.cloud.ces.v1.Blob blob = 7 [(.google.api.field_behavior) = OPTIONAL];`

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

### hasDefaultVariables()

    public abstract boolean hasDefaultVariables()

A struct represents default variables at the start of the conversation,
keyed by variable names.

`.google.protobuf.Struct default_variables = 10;`

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

### hasImage()

    public abstract boolean hasImage()

Optional. Image data.

`.google.cloud.ces.v1.Image image = 5 [(.google.api.field_behavior) = OPTIONAL];`

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

### hasPayload()

    public abstract boolean hasPayload()

Optional. Custom payload data.

`.google.protobuf.Struct payload = 11 [(.google.api.field_behavior) = OPTIONAL];`

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

### hasText()

    public abstract boolean hasText()

Optional. Text data.

`string text = 1 [(.google.api.field_behavior) = OPTIONAL];`

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

### hasToolCall()

    public abstract boolean hasToolCall()

Optional. Tool execution request.

`.google.cloud.ces.v1.ToolCall tool_call = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasToolResponse()

    public abstract boolean hasToolResponse()

Optional. Tool execution response.

`
.google.cloud.ces.v1.ToolResponse tool_response = 3 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasTranscript()

    public abstract boolean hasTranscript()

Optional. Transcript associated with the audio.

`string transcript = 9 [(.google.api.field_behavior) = OPTIONAL];`

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

### hasUpdatedVariables()

    public abstract boolean hasUpdatedVariables()

A struct represents variables that were updated in the conversation,
keyed by variable names.

`.google.protobuf.Struct updated_variables = 8;`

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