Interface ExamplePayloadOrBuilder (2.45.0)

public interface ExamplePayloadOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocument()

public abstract Document getDocument()

Example document.

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

Returns
Type Description
Document

The document.

getDocumentOrBuilder()

public abstract DocumentOrBuilder getDocumentOrBuilder()

Example document.

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

Returns
Type Description
DocumentOrBuilder

getImage()

public abstract Image getImage()

Example image.

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

Returns
Type Description
Image

The image.

getImageOrBuilder()

public abstract ImageOrBuilder getImageOrBuilder()

Example image.

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

Returns
Type Description
ImageOrBuilder

getPayloadCase()

public abstract ExamplePayload.PayloadCase getPayloadCase()
Returns
Type Description
ExamplePayload.PayloadCase

getTextSnippet()

public abstract TextSnippet getTextSnippet()

Example text.

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

Returns
Type Description
TextSnippet

The textSnippet.

getTextSnippetOrBuilder()

public abstract TextSnippetOrBuilder getTextSnippetOrBuilder()

Example text.

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

Returns
Type Description
TextSnippetOrBuilder

hasDocument()

public abstract boolean hasDocument()

Example document.

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

Returns
Type Description
boolean

Whether the document field is set.

hasImage()

public abstract boolean hasImage()

Example image.

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

Returns
Type Description
boolean

Whether the image field is set.

hasTextSnippet()

public abstract boolean hasTextSnippet()

Example text.

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

Returns
Type Description
boolean

Whether the textSnippet field is set.