Interface ExamplePayloadOrBuilder (2.10.0)

public interface ExamplePayloadOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocument()

public abstract Document getDocument()

Example document.

.google.cloud.automl.v1.Document document = 4;

Returns
TypeDescription
Document

The document.

getDocumentOrBuilder()

public abstract DocumentOrBuilder getDocumentOrBuilder()

Example document.

.google.cloud.automl.v1.Document document = 4;

Returns
TypeDescription
DocumentOrBuilder

getImage()

public abstract Image getImage()

Example image.

.google.cloud.automl.v1.Image image = 1;

Returns
TypeDescription
Image

The image.

getImageOrBuilder()

public abstract ImageOrBuilder getImageOrBuilder()

Example image.

.google.cloud.automl.v1.Image image = 1;

Returns
TypeDescription
ImageOrBuilder

getPayloadCase()

public abstract ExamplePayload.PayloadCase getPayloadCase()
Returns
TypeDescription
ExamplePayload.PayloadCase

getTextSnippet()

public abstract TextSnippet getTextSnippet()

Example text.

.google.cloud.automl.v1.TextSnippet text_snippet = 2;

Returns
TypeDescription
TextSnippet

The textSnippet.

getTextSnippetOrBuilder()

public abstract TextSnippetOrBuilder getTextSnippetOrBuilder()

Example text.

.google.cloud.automl.v1.TextSnippet text_snippet = 2;

Returns
TypeDescription
TextSnippetOrBuilder

hasDocument()

public abstract boolean hasDocument()

Example document.

.google.cloud.automl.v1.Document document = 4;

Returns
TypeDescription
boolean

Whether the document field is set.

hasImage()

public abstract boolean hasImage()

Example image.

.google.cloud.automl.v1.Image image = 1;

Returns
TypeDescription
boolean

Whether the image field is set.

hasTextSnippet()

public abstract boolean hasTextSnippet()

Example text.

.google.cloud.automl.v1.TextSnippet text_snippet = 2;

Returns
TypeDescription
boolean

Whether the textSnippet field is set.