Class VideoClassificationAnnotation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder>
-
- com.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation.Builder
-
- All Implemented Interfaces:
VideoClassificationAnnotationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- VideoClassificationAnnotation
public static final class VideoClassificationAnnotation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder> implements VideoClassificationAnnotationOrBuilder
Video classification annotation.
Protobuf typegoogle.cloud.datalabeling.v1beta1.VideoClassificationAnnotation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoClassificationAnnotation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VideoClassificationAnnotation
build()
VideoClassificationAnnotation
buildPartial()
VideoClassificationAnnotation.Builder
clear()
VideoClassificationAnnotation.Builder
clearAnnotationSpec()
Label of the segment specified by time_segment.VideoClassificationAnnotation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
VideoClassificationAnnotation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
VideoClassificationAnnotation.Builder
clearTimeSegment()
The time segment of the video to which the annotation applies.VideoClassificationAnnotation.Builder
clone()
AnnotationSpec
getAnnotationSpec()
Label of the segment specified by time_segment.AnnotationSpec.Builder
getAnnotationSpecBuilder()
Label of the segment specified by time_segment.AnnotationSpecOrBuilder
getAnnotationSpecOrBuilder()
Label of the segment specified by time_segment.VideoClassificationAnnotation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
TimeSegment
getTimeSegment()
The time segment of the video to which the annotation applies.TimeSegment.Builder
getTimeSegmentBuilder()
The time segment of the video to which the annotation applies.TimeSegmentOrBuilder
getTimeSegmentOrBuilder()
The time segment of the video to which the annotation applies.boolean
hasAnnotationSpec()
Label of the segment specified by time_segment.boolean
hasTimeSegment()
The time segment of the video to which the annotation applies.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
VideoClassificationAnnotation.Builder
mergeAnnotationSpec(AnnotationSpec value)
Label of the segment specified by time_segment.VideoClassificationAnnotation.Builder
mergeFrom(VideoClassificationAnnotation other)
VideoClassificationAnnotation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VideoClassificationAnnotation.Builder
mergeFrom(com.google.protobuf.Message other)
VideoClassificationAnnotation.Builder
mergeTimeSegment(TimeSegment value)
The time segment of the video to which the annotation applies.VideoClassificationAnnotation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VideoClassificationAnnotation.Builder
setAnnotationSpec(AnnotationSpec value)
Label of the segment specified by time_segment.VideoClassificationAnnotation.Builder
setAnnotationSpec(AnnotationSpec.Builder builderForValue)
Label of the segment specified by time_segment.VideoClassificationAnnotation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VideoClassificationAnnotation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
VideoClassificationAnnotation.Builder
setTimeSegment(TimeSegment value)
The time segment of the video to which the annotation applies.VideoClassificationAnnotation.Builder
setTimeSegment(TimeSegment.Builder builderForValue)
The time segment of the video to which the annotation applies.VideoClassificationAnnotation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder>
-
clear
public VideoClassificationAnnotation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder>
-
getDefaultInstanceForType
public VideoClassificationAnnotation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VideoClassificationAnnotation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VideoClassificationAnnotation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VideoClassificationAnnotation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder>
-
setField
public VideoClassificationAnnotation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder>
-
clearField
public VideoClassificationAnnotation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder>
-
clearOneof
public VideoClassificationAnnotation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder>
-
setRepeatedField
public VideoClassificationAnnotation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder>
-
addRepeatedField
public VideoClassificationAnnotation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder>
-
mergeFrom
public VideoClassificationAnnotation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VideoClassificationAnnotation.Builder>
-
mergeFrom
public VideoClassificationAnnotation.Builder mergeFrom(VideoClassificationAnnotation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder>
-
mergeFrom
public VideoClassificationAnnotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VideoClassificationAnnotation.Builder>
- Throws:
IOException
-
hasTimeSegment
public boolean hasTimeSegment()
The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
- Specified by:
hasTimeSegment
in interfaceVideoClassificationAnnotationOrBuilder
- Returns:
- Whether the timeSegment field is set.
-
getTimeSegment
public TimeSegment getTimeSegment()
The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
- Specified by:
getTimeSegment
in interfaceVideoClassificationAnnotationOrBuilder
- Returns:
- The timeSegment.
-
setTimeSegment
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;
-
setTimeSegment
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;
-
mergeTimeSegment
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;
-
clearTimeSegment
public VideoClassificationAnnotation.Builder clearTimeSegment()
The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
-
getTimeSegmentBuilder
public TimeSegment.Builder getTimeSegmentBuilder()
The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
-
getTimeSegmentOrBuilder
public TimeSegmentOrBuilder getTimeSegmentOrBuilder()
The time segment of the video to which the annotation applies.
.google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 1;
- Specified by:
getTimeSegmentOrBuilder
in interfaceVideoClassificationAnnotationOrBuilder
-
hasAnnotationSpec
public boolean hasAnnotationSpec()
Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
- Specified by:
hasAnnotationSpec
in interfaceVideoClassificationAnnotationOrBuilder
- Returns:
- Whether the annotationSpec field is set.
-
getAnnotationSpec
public AnnotationSpec getAnnotationSpec()
Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
- Specified by:
getAnnotationSpec
in interfaceVideoClassificationAnnotationOrBuilder
- Returns:
- The annotationSpec.
-
setAnnotationSpec
public VideoClassificationAnnotation.Builder setAnnotationSpec(AnnotationSpec value)
Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
-
setAnnotationSpec
public VideoClassificationAnnotation.Builder setAnnotationSpec(AnnotationSpec.Builder builderForValue)
Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
-
mergeAnnotationSpec
public VideoClassificationAnnotation.Builder mergeAnnotationSpec(AnnotationSpec value)
Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
-
clearAnnotationSpec
public VideoClassificationAnnotation.Builder clearAnnotationSpec()
Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
-
getAnnotationSpecBuilder
public AnnotationSpec.Builder getAnnotationSpecBuilder()
Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
-
getAnnotationSpecOrBuilder
public AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()
Label of the segment specified by time_segment.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 2;
- Specified by:
getAnnotationSpecOrBuilder
in interfaceVideoClassificationAnnotationOrBuilder
-
setUnknownFields
public final VideoClassificationAnnotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder>
-
mergeUnknownFields
public final VideoClassificationAnnotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoClassificationAnnotation.Builder>
-
-