Class VideoObjectTrackingPredictionResult.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VideoObjectTrackingPredictionResult.Builder>
com.google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Builder
All Implemented Interfaces:
VideoObjectTrackingPredictionResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
VideoObjectTrackingPredictionResult

public static final class VideoObjectTrackingPredictionResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<VideoObjectTrackingPredictionResult.Builder> implements VideoObjectTrackingPredictionResultOrBuilder
 Prediction output format for Video Object Tracking.
 
Protobuf type google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<VideoObjectTrackingPredictionResult.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.GeneratedMessage.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.GeneratedMessage.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

      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
    • mergeFrom

      public VideoObjectTrackingPredictionResult.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<VideoObjectTrackingPredictionResult.Builder>
    • mergeFrom

    • isInitialized

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

      public VideoObjectTrackingPredictionResult.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<VideoObjectTrackingPredictionResult.Builder>
      Throws:
      IOException
    • getId

      public String getId()
       The resource ID of the AnnotationSpec that had been identified.
       
      string id = 1;
      Specified by:
      getId in interface VideoObjectTrackingPredictionResultOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       The resource ID of the AnnotationSpec that had been identified.
       
      string id = 1;
      Specified by:
      getIdBytes in interface VideoObjectTrackingPredictionResultOrBuilder
      Returns:
      The bytes for id.
    • setId

       The resource ID of the AnnotationSpec that had been identified.
       
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       The resource ID of the AnnotationSpec that had been identified.
       
      string id = 1;
      Returns:
      This builder for chaining.
    • 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.
    • getDisplayName

      public String getDisplayName()
       The display name of the AnnotationSpec that had been identified.
       
      string display_name = 2;
      Specified by:
      getDisplayName in interface VideoObjectTrackingPredictionResultOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       The display name of the AnnotationSpec that had been identified.
       
      string display_name = 2;
      Specified by:
      getDisplayNameBytes in interface VideoObjectTrackingPredictionResultOrBuilder
      Returns:
      The bytes for displayName.
    • 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

       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

       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
    • getFramesList

       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:
      getFramesList 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
    • getFrames

      public VideoObjectTrackingPredictionResult.Frame getFrames(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;
      Specified by:
      getFrames in interface VideoObjectTrackingPredictionResultOrBuilder
    • setFrames

       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;
    • setFrames

       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;
    • addFrames

       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;
    • addFrames

       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;
    • addFrames

       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;
    • addFrames

       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;
    • addAllFrames

       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;
    • 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;
    • getFramesOrBuilder

      public VideoObjectTrackingPredictionResult.FrameOrBuilder getFramesOrBuilder(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;
      Specified by:
      getFramesOrBuilder in interface VideoObjectTrackingPredictionResultOrBuilder
    • getFramesOrBuilderList

      public List<? extends VideoObjectTrackingPredictionResult.FrameOrBuilder> getFramesOrBuilderList()
       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:
      getFramesOrBuilderList in interface VideoObjectTrackingPredictionResultOrBuilder
    • 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

       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;