public interface DataItemOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getImagePayload()
public abstract ImagePayload getImagePayload()The image payload, a container of the image bytes/uri.
.google.cloud.datalabeling.v1beta1.ImagePayload image_payload = 2;
| 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;
| 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;
| 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;
| Type | Description |
| ByteString | The bytes for name. |
getPayloadCase()
public abstract DataItem.PayloadCase getPayloadCase()| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| Type | Description |
| boolean | Whether the videoPayload field is set. |