Interface ExampleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Example
,Example.Builder
public interface ExampleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Annotation
getAnnotations(int index)
Output only.int
getAnnotationsCount()
Output only.List<Annotation>
getAnnotationsList()
Output only.AnnotationOrBuilder
getAnnotationsOrBuilder(int index)
Output only.List<? extends AnnotationOrBuilder>
getAnnotationsOrBuilderList()
Output only.ImagePayload
getImagePayload()
The image payload, a container of the image bytes/uri.ImagePayloadOrBuilder
getImagePayloadOrBuilder()
The image payload, a container of the image bytes/uri.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.Example.PayloadCase
getPayloadCase()
TextPayload
getTextPayload()
The text payload, a container of the text content.TextPayloadOrBuilder
getTextPayloadOrBuilder()
The text payload, a container of the text content.VideoPayload
getVideoPayload()
The video payload, a container of the video uri.VideoPayloadOrBuilder
getVideoPayloadOrBuilder()
The video payload, a container of the video uri.boolean
hasImagePayload()
The image payload, a container of the image bytes/uri.boolean
hasTextPayload()
The text payload, a container of the text content.boolean
hasVideoPayload()
The video payload, a container of the video uri.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 the text content.
.google.cloud.datalabeling.v1beta1.TextPayload text_payload = 6;
- Returns:
- Whether the textPayload field is set.
-
getTextPayload
TextPayload getTextPayload()
The text payload, a container of the text content.
.google.cloud.datalabeling.v1beta1.TextPayload text_payload = 6;
- Returns:
- The textPayload.
-
getTextPayloadOrBuilder
TextPayloadOrBuilder getTextPayloadOrBuilder()
The text payload, a container of the text content.
.google.cloud.datalabeling.v1beta1.TextPayload text_payload = 6;
-
hasVideoPayload
boolean hasVideoPayload()
The video payload, a container of the video uri.
.google.cloud.datalabeling.v1beta1.VideoPayload video_payload = 7;
- 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 = 7;
- Returns:
- The videoPayload.
-
getVideoPayloadOrBuilder
VideoPayloadOrBuilder getVideoPayloadOrBuilder()
The video payload, a container of the video uri.
.google.cloud.datalabeling.v1beta1.VideoPayload video_payload = 7;
-
getName
String getName()
Output only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}
string name = 1;
- Returns:
- The bytes for name.
-
getAnnotationsList
List<Annotation> getAnnotationsList()
Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations.
repeated .google.cloud.datalabeling.v1beta1.Annotation annotations = 5;
-
getAnnotations
Annotation getAnnotations(int index)
Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations.
repeated .google.cloud.datalabeling.v1beta1.Annotation annotations = 5;
-
getAnnotationsCount
int getAnnotationsCount()
Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations.
repeated .google.cloud.datalabeling.v1beta1.Annotation annotations = 5;
-
getAnnotationsOrBuilderList
List<? extends AnnotationOrBuilder> getAnnotationsOrBuilderList()
Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations.
repeated .google.cloud.datalabeling.v1beta1.Annotation annotations = 5;
-
getAnnotationsOrBuilder
AnnotationOrBuilder getAnnotationsOrBuilder(int index)
Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations.
repeated .google.cloud.datalabeling.v1beta1.Annotation annotations = 5;
-
getPayloadCase
Example.PayloadCase getPayloadCase()
-
-