Interface GetDocumentResponseOrBuilder (2.28.0)

public interface GetDocumentResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocument()

public abstract Document getDocument()

.google.cloud.documentai.v1beta3.Document document = 1;

Returns
TypeDescription
Document

The document.

getDocumentOrBuilder()

public abstract DocumentOrBuilder getDocumentOrBuilder()

.google.cloud.documentai.v1beta3.Document document = 1;

Returns
TypeDescription
DocumentOrBuilder

hasDocument()

public abstract boolean hasDocument()

.google.cloud.documentai.v1beta3.Document document = 1;

Returns
TypeDescription
boolean

Whether the document field is set.