Interface DataItemOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataItem,DataItem.Builder
@Generated
public interface DataItemOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe image payload, a container of the image bytes/uri.The image payload, a container of the image bytes/uri.getName()Output only.com.google.protobuf.ByteStringOutput only.The text payload, a container of text content.The text payload, a container of text content.The video payload, a container of the video uri.The video payload, a container of the video uri.booleanThe image payload, a container of the image bytes/uri.booleanThe text payload, a container of text content.booleanThe video payload, a container of the video uri.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasImagePayload
boolean hasImagePayload()The image payload, a container of the image bytes/uri.
.google.cloud.datalabeling.v1beta1.ImagePayload image_payload = 2;- Returns:
- Whether the imagePayload field is set.
-
getImagePayload
ImagePayload getImagePayload()The image payload, a container of the image bytes/uri.
.google.cloud.datalabeling.v1beta1.ImagePayload image_payload = 2;- Returns:
- The imagePayload.
-
getImagePayloadOrBuilder
ImagePayloadOrBuilder getImagePayloadOrBuilder()The image payload, a container of the image bytes/uri.
.google.cloud.datalabeling.v1beta1.ImagePayload image_payload = 2; -
hasTextPayload
boolean hasTextPayload()The text payload, a container of text content.
.google.cloud.datalabeling.v1beta1.TextPayload text_payload = 3;- Returns:
- Whether the textPayload field is set.
-
getTextPayload
TextPayload getTextPayload()The text payload, a container of text content.
.google.cloud.datalabeling.v1beta1.TextPayload text_payload = 3;- Returns:
- The textPayload.
-
getTextPayloadOrBuilder
TextPayloadOrBuilder getTextPayloadOrBuilder()The text payload, a container of text content.
.google.cloud.datalabeling.v1beta1.TextPayload text_payload = 3; -
hasVideoPayload
boolean hasVideoPayload()The video payload, a container of the video uri.
.google.cloud.datalabeling.v1beta1.VideoPayload video_payload = 4;- Returns:
- Whether the videoPayload field is set.
-
getVideoPayload
VideoPayload getVideoPayload()The video payload, a container of the video uri.
.google.cloud.datalabeling.v1beta1.VideoPayload video_payload = 4;- Returns:
- The videoPayload.
-
getVideoPayloadOrBuilder
VideoPayloadOrBuilder getVideoPayloadOrBuilder()The video payload, a container of the video uri.
.google.cloud.datalabeling.v1beta1.VideoPayload video_payload = 4; -
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getPayloadCase
DataItem.PayloadCase getPayloadCase()
-