Interface Answer.DocumentReferenceOrBuilder (0.3.0)

public static interface Answer.DocumentReferenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocumentChunk()

public abstract DocumentChunk getDocumentChunk()

Output only. Contains the document chunk. The document_chunk.id field is not set and will be empty.

.google.developers.knowledge.v1.DocumentChunk document_chunk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DocumentChunk

The documentChunk.

getDocumentChunkOrBuilder()

public abstract DocumentChunkOrBuilder getDocumentChunkOrBuilder()

Output only. Contains the document chunk. The document_chunk.id field is not set and will be empty.

.google.developers.knowledge.v1.DocumentChunk document_chunk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DocumentChunkOrBuilder

hasDocumentChunk()

public abstract boolean hasDocumentChunk()

Output only. Contains the document chunk. The document_chunk.id field is not set and will be empty.

.google.developers.knowledge.v1.DocumentChunk document_chunk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the documentChunk field is set.