0.3.0 (latest) 0.2.0 0.1.0

    public static interface Answer.AnswerCitationOrBuilder extends MessageOrBuilder

## Implements

com.google.protobuf.MessageOrBuilder

## Methods

### getEndIndex()

    public abstract int getEndIndex()

Output only. Indicates the end of the segment, measured in bytes (UTF-8
unicode), exclusive. If there are multi-byte characters, such as
non-ASCII characters, the index measurement is longer than the string
length.

`int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getSources(int index)

    public abstract Answer.CitationSource getSources(int index)

Output only. Contains citation sources for the attributed segment.

`
repeated .google.developers.knowledge.v1.Answer.CitationSource sources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://developers.google.com/java/docs/reference/google-cloud-developer-knowledge/latest/com.google.developers.knowledge.v1.Answer.CitationSource` |   |

### getSourcesCount()

    public abstract int getSourcesCount()

Output only. Contains citation sources for the attributed segment.

`
repeated .google.developers.knowledge.v1.Answer.CitationSource sources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### getSourcesList()

    public abstract List<Answer.CitationSource> getSourcesList()

Output only. Contains citation sources for the attributed segment.

`
repeated .google.developers.knowledge.v1.Answer.CitationSource sources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://developers.google.com/java/docs/reference/google-cloud-developer-knowledge/latest/com.google.developers.knowledge.v1.Answer.CitationSource>` |   |

### getSourcesOrBuilder(int index)

    public abstract Answer.CitationSourceOrBuilder getSourcesOrBuilder(int index)

Output only. Contains citation sources for the attributed segment.

`
repeated .google.developers.knowledge.v1.Answer.CitationSource sources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://developers.google.com/java/docs/reference/google-cloud-developer-knowledge/latest/com.google.developers.knowledge.v1.Answer.CitationSourceOrBuilder` |   |

### getSourcesOrBuilderList()

    public abstract List<? extends Answer.CitationSourceOrBuilder> getSourcesOrBuilderList()

Output only. Contains citation sources for the attributed segment.

`
repeated .google.developers.knowledge.v1.Answer.CitationSource sources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.developers.knowledge.v1.Answer.CitationSourceOrBuilder>` |   |

### getStartIndex()

    public abstract int getStartIndex()

Output only. Indicates the start of the segment, measured in bytes (UTF-8
unicode), inclusive. If there are multi-byte characters, such as
non-ASCII characters, the index measurement is longer than the string
length.

`int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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