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

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

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

        public VideoObjectTrackingPredictionResult 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<VideoObjectTrackingPredictionResult.Builder>
      • setIdBytes

        public VideoObjectTrackingPredictionResult.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 VideoObjectTrackingPredictionResult.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.
      • clearDisplayName

        public VideoObjectTrackingPredictionResult.Builder clearDisplayName()
         The display name of the AnnotationSpec that had been identified.
         
        string display_name = 2;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public VideoObjectTrackingPredictionResult.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
         object instance has been detected. 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 = 3;
        Specified by:
        hasTimeSegmentStart in interface VideoObjectTrackingPredictionResultOrBuilder
        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
         object instance has been detected. 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 = 3;
        Specified by:
        getTimeSegmentStart in interface VideoObjectTrackingPredictionResultOrBuilder
        Returns:
        The timeSegmentStart.
      • setTimeSegmentStart

        public VideoObjectTrackingPredictionResult.Builder setTimeSegmentStart​(com.google.protobuf.Duration value)
         The beginning, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 3;
      • setTimeSegmentStart

        public VideoObjectTrackingPredictionResult.Builder setTimeSegmentStart​(com.google.protobuf.Duration.Builder builderForValue)
         The beginning, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 3;
      • mergeTimeSegmentStart

        public VideoObjectTrackingPredictionResult.Builder mergeTimeSegmentStart​(com.google.protobuf.Duration value)
         The beginning, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 3;
      • clearTimeSegmentStart

        public VideoObjectTrackingPredictionResult.Builder clearTimeSegmentStart()
         The beginning, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 3;
      • getTimeSegmentStartBuilder

        public com.google.protobuf.Duration.Builder getTimeSegmentStartBuilder()
         The beginning, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 3;
      • getTimeSegmentStartOrBuilder

        public com.google.protobuf.DurationOrBuilder getTimeSegmentStartOrBuilder()
         The beginning, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 3;
        Specified by:
        getTimeSegmentStartOrBuilder in interface VideoObjectTrackingPredictionResultOrBuilder
      • hasTimeSegmentEnd

        public boolean hasTimeSegmentEnd()
         The end, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 4;
        Specified by:
        hasTimeSegmentEnd in interface VideoObjectTrackingPredictionResultOrBuilder
        Returns:
        Whether the timeSegmentEnd field is set.
      • getTimeSegmentEnd

        public com.google.protobuf.Duration getTimeSegmentEnd()
         The end, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 4;
        Specified by:
        getTimeSegmentEnd in interface VideoObjectTrackingPredictionResultOrBuilder
        Returns:
        The timeSegmentEnd.
      • setTimeSegmentEnd

        public VideoObjectTrackingPredictionResult.Builder setTimeSegmentEnd​(com.google.protobuf.Duration value)
         The end, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 4;
      • setTimeSegmentEnd

        public VideoObjectTrackingPredictionResult.Builder setTimeSegmentEnd​(com.google.protobuf.Duration.Builder builderForValue)
         The end, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 4;
      • mergeTimeSegmentEnd

        public VideoObjectTrackingPredictionResult.Builder mergeTimeSegmentEnd​(com.google.protobuf.Duration value)
         The end, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 4;
      • clearTimeSegmentEnd

        public VideoObjectTrackingPredictionResult.Builder clearTimeSegmentEnd()
         The end, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 4;
      • getTimeSegmentEndBuilder

        public com.google.protobuf.Duration.Builder getTimeSegmentEndBuilder()
         The end, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 4;
      • getTimeSegmentEndOrBuilder

        public com.google.protobuf.DurationOrBuilder getTimeSegmentEndOrBuilder()
         The end, inclusive, of the video's time segment in which the
         object instance has been detected. 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 = 4;
        Specified by:
        getTimeSegmentEndOrBuilder in interface VideoObjectTrackingPredictionResultOrBuilder
      • hasConfidence

        public boolean hasConfidence()
         The Model's confidence in correction of this prediction, higher
         value means higher confidence.
         
        .google.protobuf.FloatValue confidence = 5;
        Specified by:
        hasConfidence in interface VideoObjectTrackingPredictionResultOrBuilder
        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 = 5;
        Specified by:
        getConfidence in interface VideoObjectTrackingPredictionResultOrBuilder
        Returns:
        The confidence.
      • setConfidence

        public VideoObjectTrackingPredictionResult.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 = 5;
      • setConfidence

        public VideoObjectTrackingPredictionResult.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 = 5;
      • mergeConfidence

        public VideoObjectTrackingPredictionResult.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 = 5;
      • clearConfidence

        public VideoObjectTrackingPredictionResult.Builder clearConfidence()
         The Model's confidence in correction of this prediction, higher
         value means higher confidence.
         
        .google.protobuf.FloatValue confidence = 5;
      • 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 = 5;
      • getConfidenceOrBuilder

        public com.google.protobuf.FloatValueOrBuilder getConfidenceOrBuilder()
         The Model's confidence in correction of this prediction, higher
         value means higher confidence.
         
        .google.protobuf.FloatValue confidence = 5;
        Specified by:
        getConfidenceOrBuilder in interface VideoObjectTrackingPredictionResultOrBuilder
      • getFramesCount

        public int getFramesCount()
         All of the frames of the video in which a single object instance has been
         detected. The bounding boxes in the frames identify the same object.
         
        repeated .google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;
        Specified by:
        getFramesCount in interface VideoObjectTrackingPredictionResultOrBuilder
      • clearFrames

        public VideoObjectTrackingPredictionResult.Builder clearFrames()
         All of the frames of the video in which a single object instance has been
         detected. The bounding boxes in the frames identify the same object.
         
        repeated .google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;
      • removeFrames

        public VideoObjectTrackingPredictionResult.Builder removeFrames​(int index)
         All of the frames of the video in which a single object instance has been
         detected. The bounding boxes in the frames identify the same object.
         
        repeated .google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;
      • getFramesBuilder

        public VideoObjectTrackingPredictionResult.Frame.Builder getFramesBuilder​(int index)
         All of the frames of the video in which a single object instance has been
         detected. The bounding boxes in the frames identify the same object.
         
        repeated .google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;
      • addFramesBuilder

        public VideoObjectTrackingPredictionResult.Frame.Builder addFramesBuilder()
         All of the frames of the video in which a single object instance has been
         detected. The bounding boxes in the frames identify the same object.
         
        repeated .google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;
      • addFramesBuilder

        public VideoObjectTrackingPredictionResult.Frame.Builder addFramesBuilder​(int index)
         All of the frames of the video in which a single object instance has been
         detected. The bounding boxes in the frames identify the same object.
         
        repeated .google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;
      • getFramesBuilderList

        public List<VideoObjectTrackingPredictionResult.Frame.Builder> getFramesBuilderList()
         All of the frames of the video in which a single object instance has been
         detected. The bounding boxes in the frames identify the same object.
         
        repeated .google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame frames = 6;