Class VideoEventAnnotation.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VideoEventAnnotation.Builder>
      • clear

        public VideoEventAnnotation.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<VideoEventAnnotation.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VideoEventAnnotation.Builder>
      • getDefaultInstanceForType

        public VideoEventAnnotation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public VideoEventAnnotation build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public VideoEventAnnotation buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public VideoEventAnnotation.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<VideoEventAnnotation.Builder>
      • setField

        public VideoEventAnnotation.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoEventAnnotation.Builder>
      • clearField

        public VideoEventAnnotation.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoEventAnnotation.Builder>
      • clearOneof

        public VideoEventAnnotation.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VideoEventAnnotation.Builder>
      • setRepeatedField

        public VideoEventAnnotation.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoEventAnnotation.Builder>
      • addRepeatedField

        public VideoEventAnnotation.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoEventAnnotation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VideoEventAnnotation.Builder>
      • mergeFrom

        public VideoEventAnnotation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VideoEventAnnotation.Builder>
        Throws:
        IOException
      • hasAnnotationSpec

        public boolean hasAnnotationSpec()
         Label of the event in this annotation.
         
        .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
        Specified by:
        hasAnnotationSpec in interface VideoEventAnnotationOrBuilder
        Returns:
        Whether the annotationSpec field is set.
      • setAnnotationSpec

        public VideoEventAnnotation.Builder setAnnotationSpec​(AnnotationSpec value)
         Label of the event in this annotation.
         
        .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
      • mergeAnnotationSpec

        public VideoEventAnnotation.Builder mergeAnnotationSpec​(AnnotationSpec value)
         Label of the event in this annotation.
         
        .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
      • clearAnnotationSpec

        public VideoEventAnnotation.Builder clearAnnotationSpec()
         Label of the event in this annotation.
         
        .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
      • getAnnotationSpecBuilder

        public AnnotationSpec.Builder getAnnotationSpecBuilder()
         Label of the event in this annotation.
         
        .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
      • hasTimeSegment

        public boolean hasTimeSegment()
         The time segment of the video to which the annotation applies.
         
        .google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
        Specified by:
        hasTimeSegment in interface VideoEventAnnotationOrBuilder
        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 = 2;
        Specified by:
        getTimeSegment in interface VideoEventAnnotationOrBuilder
        Returns:
        The timeSegment.
      • setTimeSegment

        public VideoEventAnnotation.Builder setTimeSegment​(TimeSegment value)
         The time segment of the video to which the annotation applies.
         
        .google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
      • setTimeSegment

        public VideoEventAnnotation.Builder setTimeSegment​(TimeSegment.Builder builderForValue)
         The time segment of the video to which the annotation applies.
         
        .google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
      • mergeTimeSegment

        public VideoEventAnnotation.Builder mergeTimeSegment​(TimeSegment value)
         The time segment of the video to which the annotation applies.
         
        .google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
      • clearTimeSegment

        public VideoEventAnnotation.Builder clearTimeSegment()
         The time segment of the video to which the annotation applies.
         
        .google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
      • getTimeSegmentBuilder

        public TimeSegment.Builder getTimeSegmentBuilder()
         The time segment of the video to which the annotation applies.
         
        .google.cloud.datalabeling.v1beta1.TimeSegment time_segment = 2;
      • setUnknownFields

        public final VideoEventAnnotation.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VideoEventAnnotation.Builder>
      • mergeUnknownFields

        public final VideoEventAnnotation.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VideoEventAnnotation.Builder>