public static final class VideoClassificationAnnotation.Builder extends GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder> implements VideoClassificationAnnotationOrBuilder
Video classification annotation.
Protobuf type google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoClassificationAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VideoClassificationAnnotation build()
Returns
buildPartial()
public VideoClassificationAnnotation buildPartial()
Returns
clear()
public VideoClassificationAnnotation.Builder clear()
Returns
Overrides
clearAnnotationSpec()
public VideoClassificationAnnotation.Builder clearAnnotationSpec()
Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public VideoClassificationAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoClassificationAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
clone()
public VideoClassificationAnnotation.Builder clone()
Returns
Overrides
getAnnotationSpec()
public AnnotationSpec getAnnotationSpec()
Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
Returns
getAnnotationSpecBuilder()
public AnnotationSpec.Builder getAnnotationSpecBuilder()
Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
Returns
getAnnotationSpecOrBuilder()
public AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()
Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
Returns
getDefaultInstanceForType()
public VideoClassificationAnnotation getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getTimeSegment()
public TimeSegment getTimeSegment()
The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
Returns
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
getTimeSegmentOrBuilder()
public TimeSegmentOrBuilder getTimeSegmentOrBuilder()
The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
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
Returns
mergeFrom(VideoClassificationAnnotation other)
public VideoClassificationAnnotation.Builder mergeFrom(VideoClassificationAnnotation other)
Parameter
Returns
public VideoClassificationAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VideoClassificationAnnotation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoClassificationAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VideoClassificationAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoClassificationAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoClassificationAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides