Interface DataItemOrBuilder (0.163.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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getPayloadCase()

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

getTextPayload()

public abstract TextPayload getTextPayload()

The text payload, a container of text content.

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

Returns
Type Description
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
Type Description
TextPayloadOrBuilder

getVideoPayload()

public abstract VideoPayload getVideoPayload()

The video payload, a container of the video uri.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the videoPayload field is set.