public static final class VideoClassificationAnnotation.Builder extends GeneratedMessage.Builder<VideoClassificationAnnotation.Builder> implements VideoClassificationAnnotationOrBuilderVideo classification annotation.
Protobuf type google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VideoClassificationAnnotation.BuilderImplements
VideoClassificationAnnotationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VideoClassificationAnnotation build()| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation |
|
buildPartial()
public VideoClassificationAnnotation buildPartial()| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation |
|
clear()
public VideoClassificationAnnotation.Builder clear()| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation.Builder |
|
clearAnnotationSpec()
public VideoClassificationAnnotation.Builder clearAnnotationSpec()Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation.Builder |
|
clearTimeSegment()
public VideoClassificationAnnotation.Builder clearTimeSegment()The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation.Builder |
|
getAnnotationSpec()
public AnnotationSpec getAnnotationSpec()Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
| Returns | |
|---|---|
| Type | Description |
AnnotationSpec |
The annotationSpec. |
getAnnotationSpecBuilder()
public AnnotationSpec.Builder getAnnotationSpecBuilder()Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
| Returns | |
|---|---|
| Type | Description |
AnnotationSpec.Builder |
|
getAnnotationSpecOrBuilder()
public AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
| Returns | |
|---|---|
| Type | Description |
AnnotationSpecOrBuilder |
|
getDefaultInstanceForType()
public VideoClassificationAnnotation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTimeSegment()
public TimeSegment getTimeSegment()The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
| Returns | |
|---|---|
| Type | Description |
TimeSegment |
The timeSegment. |
getTimeSegmentBuilder()
public TimeSegment.Builder getTimeSegmentBuilder()The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
| Returns | |
|---|---|
| Type | Description |
TimeSegment.Builder |
|
getTimeSegmentOrBuilder()
public TimeSegmentOrBuilder getTimeSegmentOrBuilder()The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
| Returns | |
|---|---|
| Type | Description |
TimeSegmentOrBuilder |
|
hasAnnotationSpec()
public boolean hasAnnotationSpec()Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the annotationSpec field is set. |
hasTimeSegment()
public boolean hasTimeSegment()The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the timeSegment field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAnnotationSpec(AnnotationSpec value)
public VideoClassificationAnnotation.Builder mergeAnnotationSpec(AnnotationSpec value)Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
AnnotationSpec |
| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation.Builder |
|
mergeFrom(VideoClassificationAnnotation other)
public VideoClassificationAnnotation.Builder mergeFrom(VideoClassificationAnnotation other)| Parameter | |
|---|---|
| Name | Description |
other |
VideoClassificationAnnotation |
| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VideoClassificationAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VideoClassificationAnnotation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation.Builder |
|
mergeTimeSegment(TimeSegment value)
public VideoClassificationAnnotation.Builder mergeTimeSegment(TimeSegment value)The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
TimeSegment |
| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation.Builder |
|
setAnnotationSpec(AnnotationSpec value)
public VideoClassificationAnnotation.Builder setAnnotationSpec(AnnotationSpec value)Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
AnnotationSpec |
| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation.Builder |
|
setAnnotationSpec(AnnotationSpec.Builder builderForValue)
public VideoClassificationAnnotation.Builder setAnnotationSpec(AnnotationSpec.Builder builderForValue)Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AnnotationSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation.Builder |
|
setTimeSegment(TimeSegment value)
public VideoClassificationAnnotation.Builder setTimeSegment(TimeSegment value)The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
TimeSegment |
| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation.Builder |
|
setTimeSegment(TimeSegment.Builder builderForValue)
public VideoClassificationAnnotation.Builder setTimeSegment(TimeSegment.Builder builderForValue)The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TimeSegment.Builder |
| Returns | |
|---|---|
| Type | Description |
VideoClassificationAnnotation.Builder |
|