Class VideoObjectTrackingPredictionResult.Frame.Builder

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

public static final class VideoObjectTrackingPredictionResult.Frame.Builder extends com.google.protobuf.GeneratedMessage.Builder<VideoObjectTrackingPredictionResult.Frame.Builder> implements VideoObjectTrackingPredictionResult.FrameOrBuilder
 The fields `xMin`, `xMax`, `yMin`, and `yMax` refer to a bounding box,
 i.e. the rectangle over the video frame pinpointing the found
 AnnotationSpec. The coordinates are relative to the frame size, and the
 point 0,0 is in the top left of the frame.
 
Protobuf type google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame
  • 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.Frame.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.Frame.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.Frame.Builder>
    • getDefaultInstanceForType

      public VideoObjectTrackingPredictionResult.Frame 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

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public boolean hasTimeOffset()
       A time (frame) of a video in which the object 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_offset = 1;
      Specified by:
      hasTimeOffset in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
      Returns:
      Whether the timeOffset field is set.
    • getTimeOffset

      public com.google.protobuf.Duration getTimeOffset()
       A time (frame) of a video in which the object 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_offset = 1;
      Specified by:
      getTimeOffset in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
      Returns:
      The timeOffset.
    • setTimeOffset

      public VideoObjectTrackingPredictionResult.Frame.Builder setTimeOffset(com.google.protobuf.Duration value)
       A time (frame) of a video in which the object 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_offset = 1;
    • setTimeOffset

      public VideoObjectTrackingPredictionResult.Frame.Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
       A time (frame) of a video in which the object 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_offset = 1;
    • mergeTimeOffset

      public VideoObjectTrackingPredictionResult.Frame.Builder mergeTimeOffset(com.google.protobuf.Duration value)
       A time (frame) of a video in which the object 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_offset = 1;
    • clearTimeOffset

       A time (frame) of a video in which the object 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_offset = 1;
    • getTimeOffsetBuilder

      public com.google.protobuf.Duration.Builder getTimeOffsetBuilder()
       A time (frame) of a video in which the object 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_offset = 1;
    • getTimeOffsetOrBuilder

      public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder()
       A time (frame) of a video in which the object 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_offset = 1;
      Specified by:
      getTimeOffsetOrBuilder in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
    • hasXMin

      public boolean hasXMin()
       The leftmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_min = 2;
      Specified by:
      hasXMin in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
      Returns:
      Whether the xMin field is set.
    • getXMin

      public com.google.protobuf.FloatValue getXMin()
       The leftmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_min = 2;
      Specified by:
      getXMin in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
      Returns:
      The xMin.
    • setXMin

      public VideoObjectTrackingPredictionResult.Frame.Builder setXMin(com.google.protobuf.FloatValue value)
       The leftmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_min = 2;
    • setXMin

      public VideoObjectTrackingPredictionResult.Frame.Builder setXMin(com.google.protobuf.FloatValue.Builder builderForValue)
       The leftmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_min = 2;
    • mergeXMin

      public VideoObjectTrackingPredictionResult.Frame.Builder mergeXMin(com.google.protobuf.FloatValue value)
       The leftmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_min = 2;
    • clearXMin

       The leftmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_min = 2;
    • getXMinBuilder

      public com.google.protobuf.FloatValue.Builder getXMinBuilder()
       The leftmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_min = 2;
    • getXMinOrBuilder

      public com.google.protobuf.FloatValueOrBuilder getXMinOrBuilder()
       The leftmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_min = 2;
      Specified by:
      getXMinOrBuilder in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
    • hasXMax

      public boolean hasXMax()
       The rightmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_max = 3;
      Specified by:
      hasXMax in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
      Returns:
      Whether the xMax field is set.
    • getXMax

      public com.google.protobuf.FloatValue getXMax()
       The rightmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_max = 3;
      Specified by:
      getXMax in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
      Returns:
      The xMax.
    • setXMax

      public VideoObjectTrackingPredictionResult.Frame.Builder setXMax(com.google.protobuf.FloatValue value)
       The rightmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_max = 3;
    • setXMax

      public VideoObjectTrackingPredictionResult.Frame.Builder setXMax(com.google.protobuf.FloatValue.Builder builderForValue)
       The rightmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_max = 3;
    • mergeXMax

      public VideoObjectTrackingPredictionResult.Frame.Builder mergeXMax(com.google.protobuf.FloatValue value)
       The rightmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_max = 3;
    • clearXMax

       The rightmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_max = 3;
    • getXMaxBuilder

      public com.google.protobuf.FloatValue.Builder getXMaxBuilder()
       The rightmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_max = 3;
    • getXMaxOrBuilder

      public com.google.protobuf.FloatValueOrBuilder getXMaxOrBuilder()
       The rightmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue x_max = 3;
      Specified by:
      getXMaxOrBuilder in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
    • hasYMin

      public boolean hasYMin()
       The topmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_min = 4;
      Specified by:
      hasYMin in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
      Returns:
      Whether the yMin field is set.
    • getYMin

      public com.google.protobuf.FloatValue getYMin()
       The topmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_min = 4;
      Specified by:
      getYMin in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
      Returns:
      The yMin.
    • setYMin

      public VideoObjectTrackingPredictionResult.Frame.Builder setYMin(com.google.protobuf.FloatValue value)
       The topmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_min = 4;
    • setYMin

      public VideoObjectTrackingPredictionResult.Frame.Builder setYMin(com.google.protobuf.FloatValue.Builder builderForValue)
       The topmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_min = 4;
    • mergeYMin

      public VideoObjectTrackingPredictionResult.Frame.Builder mergeYMin(com.google.protobuf.FloatValue value)
       The topmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_min = 4;
    • clearYMin

       The topmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_min = 4;
    • getYMinBuilder

      public com.google.protobuf.FloatValue.Builder getYMinBuilder()
       The topmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_min = 4;
    • getYMinOrBuilder

      public com.google.protobuf.FloatValueOrBuilder getYMinOrBuilder()
       The topmost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_min = 4;
      Specified by:
      getYMinOrBuilder in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
    • hasYMax

      public boolean hasYMax()
       The bottommost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_max = 5;
      Specified by:
      hasYMax in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
      Returns:
      Whether the yMax field is set.
    • getYMax

      public com.google.protobuf.FloatValue getYMax()
       The bottommost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_max = 5;
      Specified by:
      getYMax in interface VideoObjectTrackingPredictionResult.FrameOrBuilder
      Returns:
      The yMax.
    • setYMax

      public VideoObjectTrackingPredictionResult.Frame.Builder setYMax(com.google.protobuf.FloatValue value)
       The bottommost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_max = 5;
    • setYMax

      public VideoObjectTrackingPredictionResult.Frame.Builder setYMax(com.google.protobuf.FloatValue.Builder builderForValue)
       The bottommost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_max = 5;
    • mergeYMax

      public VideoObjectTrackingPredictionResult.Frame.Builder mergeYMax(com.google.protobuf.FloatValue value)
       The bottommost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_max = 5;
    • clearYMax

       The bottommost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_max = 5;
    • getYMaxBuilder

      public com.google.protobuf.FloatValue.Builder getYMaxBuilder()
       The bottommost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_max = 5;
    • getYMaxOrBuilder

      public com.google.protobuf.FloatValueOrBuilder getYMaxOrBuilder()
       The bottommost coordinate of the bounding box.
       
      .google.protobuf.FloatValue y_max = 5;
      Specified by:
      getYMaxOrBuilder in interface VideoObjectTrackingPredictionResult.FrameOrBuilder