# Interface CitationsOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface CitationsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getCitedChunks(int index)

    public abstract Citations.CitedChunk getCitedChunks(int index)

List of cited pieces of information.

`repeated .google.cloud.ces.v1.Citations.CitedChunk cited_chunks = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getCitedChunksCount()

    public abstract int getCitedChunksCount()

List of cited pieces of information.

`repeated .google.cloud.ces.v1.Citations.CitedChunk cited_chunks = 1;`

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

### getCitedChunksList()

    public abstract List<Citations.CitedChunk> getCitedChunksList()

List of cited pieces of information.

`repeated .google.cloud.ces.v1.Citations.CitedChunk cited_chunks = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Citations.CitedChunk>` |   |

### getCitedChunksOrBuilder(int index)

    public abstract Citations.CitedChunkOrBuilder getCitedChunksOrBuilder(int index)

List of cited pieces of information.

`repeated .google.cloud.ces.v1.Citations.CitedChunk cited_chunks = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

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

### getCitedChunksOrBuilderList()

    public abstract List<? extends Citations.CitedChunkOrBuilder> getCitedChunksOrBuilderList()

List of cited pieces of information.

`repeated .google.cloud.ces.v1.Citations.CitedChunk cited_chunks = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.ces.v1.Citations.CitedChunkOrBuilder>` |   |