Interface DataItemOrBuilder (0.150.0)

public interface DataItemOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getImagePayload()

public abstract ImagePayload getImagePayload()

The image payload, a container of the image bytes/uri.

.google.cloud.datalabeling.v1beta1.ImagePayload image_payload = 2;

Returns
TypeDescription
ImagePayload

The imagePayload.

getImagePayloadOrBuilder()

public abstract ImagePayloadOrBuilder getImagePayloadOrBuilder()

The image payload, a container of the image bytes/uri.

.google.cloud.datalabeling.v1beta1.ImagePayload image_payload = 2;

Returns
TypeDescription
ImagePayloadOrBuilder

getName()

public abstract String getName()

Output only. Name of the data item, in format of: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Name of the data item, in format of: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPayloadCase()

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

getTextPayload()

public abstract TextPayload getTextPayload()

The text payload, a container of text content.

.google.cloud.datalabeling.v1beta1.TextPayload text_payload = 3;

Returns
TypeDescription
TextPayload

The textPayload.

getTextPayloadOrBuilder()

public abstract TextPayloadOrBuilder getTextPayloadOrBuilder()

The text payload, a container of text content.

.google.cloud.datalabeling.v1beta1.TextPayload text_payload = 3;

Returns
TypeDescription
TextPayloadOrBuilder

getVideoPayload()

public abstract VideoPayload getVideoPayload()

The video payload, a container of the video uri.

.google.cloud.datalabeling.v1beta1.VideoPayload video_payload = 4;

Returns
TypeDescription
VideoPayload

The videoPayload.

getVideoPayloadOrBuilder()

public abstract VideoPayloadOrBuilder getVideoPayloadOrBuilder()

The video payload, a container of the video uri.

.google.cloud.datalabeling.v1beta1.VideoPayload video_payload = 4;

Returns
TypeDescription
VideoPayloadOrBuilder

hasImagePayload()

public abstract boolean hasImagePayload()

The image payload, a container of the image bytes/uri.

.google.cloud.datalabeling.v1beta1.ImagePayload image_payload = 2;

Returns
TypeDescription
boolean

Whether the imagePayload field is set.

hasTextPayload()

public abstract boolean hasTextPayload()

The text payload, a container of text content.

.google.cloud.datalabeling.v1beta1.TextPayload text_payload = 3;

Returns
TypeDescription
boolean

Whether the textPayload field is set.

hasVideoPayload()

public abstract boolean hasVideoPayload()

The video payload, a container of the video uri.

.google.cloud.datalabeling.v1beta1.VideoPayload video_payload = 4;

Returns
TypeDescription
boolean

Whether the videoPayload field is set.