Class VideoActionRecognitionPredictionResult.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<VideoActionRecognitionPredictionResult.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<VideoActionRecognitionPredictionResult.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public VideoActionRecognitionPredictionResult.Builder setIdBytes​(com.google.protobuf.ByteString value)
         The resource ID of the AnnotationSpec that had been identified.
         
        string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • setDisplayName

        public VideoActionRecognitionPredictionResult.Builder setDisplayName​(String value)
         The display name of the AnnotationSpec that had been identified.
         
        string display_name = 2;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public VideoActionRecognitionPredictionResult.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         The display name of the AnnotationSpec that had been identified.
         
        string display_name = 2;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • hasTimeSegmentStart

        public boolean hasTimeSegmentStart()
         The beginning, inclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_start = 4;
        Specified by:
        hasTimeSegmentStart in interface VideoActionRecognitionPredictionResultOrBuilder
        Returns:
        Whether the timeSegmentStart field is set.
      • getTimeSegmentStart

        public com.google.protobuf.Duration getTimeSegmentStart()
         The beginning, inclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_start = 4;
        Specified by:
        getTimeSegmentStart in interface VideoActionRecognitionPredictionResultOrBuilder
        Returns:
        The timeSegmentStart.
      • setTimeSegmentStart

        public VideoActionRecognitionPredictionResult.Builder setTimeSegmentStart​(com.google.protobuf.Duration value)
         The beginning, inclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_start = 4;
      • setTimeSegmentStart

        public VideoActionRecognitionPredictionResult.Builder setTimeSegmentStart​(com.google.protobuf.Duration.Builder builderForValue)
         The beginning, inclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_start = 4;
      • mergeTimeSegmentStart

        public VideoActionRecognitionPredictionResult.Builder mergeTimeSegmentStart​(com.google.protobuf.Duration value)
         The beginning, inclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_start = 4;
      • clearTimeSegmentStart

        public VideoActionRecognitionPredictionResult.Builder clearTimeSegmentStart()
         The beginning, inclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_start = 4;
      • getTimeSegmentStartBuilder

        public com.google.protobuf.Duration.Builder getTimeSegmentStartBuilder()
         The beginning, inclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_start = 4;
      • getTimeSegmentStartOrBuilder

        public com.google.protobuf.DurationOrBuilder getTimeSegmentStartOrBuilder()
         The beginning, inclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_start = 4;
        Specified by:
        getTimeSegmentStartOrBuilder in interface VideoActionRecognitionPredictionResultOrBuilder
      • hasTimeSegmentEnd

        public boolean hasTimeSegmentEnd()
         The end, exclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_end = 5;
        Specified by:
        hasTimeSegmentEnd in interface VideoActionRecognitionPredictionResultOrBuilder
        Returns:
        Whether the timeSegmentEnd field is set.
      • getTimeSegmentEnd

        public com.google.protobuf.Duration getTimeSegmentEnd()
         The end, exclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_end = 5;
        Specified by:
        getTimeSegmentEnd in interface VideoActionRecognitionPredictionResultOrBuilder
        Returns:
        The timeSegmentEnd.
      • setTimeSegmentEnd

        public VideoActionRecognitionPredictionResult.Builder setTimeSegmentEnd​(com.google.protobuf.Duration value)
         The end, exclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_end = 5;
      • setTimeSegmentEnd

        public VideoActionRecognitionPredictionResult.Builder setTimeSegmentEnd​(com.google.protobuf.Duration.Builder builderForValue)
         The end, exclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_end = 5;
      • mergeTimeSegmentEnd

        public VideoActionRecognitionPredictionResult.Builder mergeTimeSegmentEnd​(com.google.protobuf.Duration value)
         The end, exclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_end = 5;
      • clearTimeSegmentEnd

        public VideoActionRecognitionPredictionResult.Builder clearTimeSegmentEnd()
         The end, exclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_end = 5;
      • getTimeSegmentEndBuilder

        public com.google.protobuf.Duration.Builder getTimeSegmentEndBuilder()
         The end, exclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_end = 5;
      • getTimeSegmentEndOrBuilder

        public com.google.protobuf.DurationOrBuilder getTimeSegmentEndOrBuilder()
         The end, exclusive, of the video's time segment in which the
         AnnotationSpec has been identified. Expressed as a number of seconds as
         measured from the start of the video, with fractions up to a microsecond
         precision, and with "s" appended at the end.
         
        .google.protobuf.Duration time_segment_end = 5;
        Specified by:
        getTimeSegmentEndOrBuilder in interface VideoActionRecognitionPredictionResultOrBuilder
      • hasConfidence

        public boolean hasConfidence()
         The Model's confidence in correction of this prediction, higher
         value means higher confidence.
         
        .google.protobuf.FloatValue confidence = 6;
        Specified by:
        hasConfidence in interface VideoActionRecognitionPredictionResultOrBuilder
        Returns:
        Whether the confidence field is set.
      • getConfidence

        public com.google.protobuf.FloatValue getConfidence()
         The Model's confidence in correction of this prediction, higher
         value means higher confidence.
         
        .google.protobuf.FloatValue confidence = 6;
        Specified by:
        getConfidence in interface VideoActionRecognitionPredictionResultOrBuilder
        Returns:
        The confidence.
      • setConfidence

        public VideoActionRecognitionPredictionResult.Builder setConfidence​(com.google.protobuf.FloatValue value)
         The Model's confidence in correction of this prediction, higher
         value means higher confidence.
         
        .google.protobuf.FloatValue confidence = 6;
      • setConfidence

        public VideoActionRecognitionPredictionResult.Builder setConfidence​(com.google.protobuf.FloatValue.Builder builderForValue)
         The Model's confidence in correction of this prediction, higher
         value means higher confidence.
         
        .google.protobuf.FloatValue confidence = 6;
      • mergeConfidence

        public VideoActionRecognitionPredictionResult.Builder mergeConfidence​(com.google.protobuf.FloatValue value)
         The Model's confidence in correction of this prediction, higher
         value means higher confidence.
         
        .google.protobuf.FloatValue confidence = 6;
      • clearConfidence

        public VideoActionRecognitionPredictionResult.Builder clearConfidence()
         The Model's confidence in correction of this prediction, higher
         value means higher confidence.
         
        .google.protobuf.FloatValue confidence = 6;
      • getConfidenceBuilder

        public com.google.protobuf.FloatValue.Builder getConfidenceBuilder()
         The Model's confidence in correction of this prediction, higher
         value means higher confidence.
         
        .google.protobuf.FloatValue confidence = 6;