Class FaceFrame.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FaceFrame.Builder>
com.google.cloud.videointelligence.v1.FaceFrame.Builder
All Implemented Interfaces:
FaceFrameOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FaceFrame

public static final class FaceFrame.Builder extends com.google.protobuf.GeneratedMessage.Builder<FaceFrame.Builder> implements FaceFrameOrBuilder
 Deprecated. No effect.
 
Protobuf type google.cloud.videointelligence.v1.FaceFrame
  • 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<FaceFrame.Builder>
    • clear

      public FaceFrame.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<FaceFrame.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<FaceFrame.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public FaceFrame.Builder mergeFrom(FaceFrame other)
    • isInitialized

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

      public FaceFrame.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<FaceFrame.Builder>
      Throws:
      IOException
    • getNormalizedBoundingBoxesList

      public List<NormalizedBoundingBox> getNormalizedBoundingBoxesList()
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
      Specified by:
      getNormalizedBoundingBoxesList in interface FaceFrameOrBuilder
    • getNormalizedBoundingBoxesCount

      public int getNormalizedBoundingBoxesCount()
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
      Specified by:
      getNormalizedBoundingBoxesCount in interface FaceFrameOrBuilder
    • getNormalizedBoundingBoxes

      public NormalizedBoundingBox getNormalizedBoundingBoxes(int index)
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
      Specified by:
      getNormalizedBoundingBoxes in interface FaceFrameOrBuilder
    • setNormalizedBoundingBoxes

      public FaceFrame.Builder setNormalizedBoundingBoxes(int index, NormalizedBoundingBox value)
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
    • setNormalizedBoundingBoxes

      public FaceFrame.Builder setNormalizedBoundingBoxes(int index, NormalizedBoundingBox.Builder builderForValue)
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
    • addNormalizedBoundingBoxes

      public FaceFrame.Builder addNormalizedBoundingBoxes(NormalizedBoundingBox value)
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
    • addNormalizedBoundingBoxes

      public FaceFrame.Builder addNormalizedBoundingBoxes(int index, NormalizedBoundingBox value)
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
    • addNormalizedBoundingBoxes

      public FaceFrame.Builder addNormalizedBoundingBoxes(NormalizedBoundingBox.Builder builderForValue)
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
    • addNormalizedBoundingBoxes

      public FaceFrame.Builder addNormalizedBoundingBoxes(int index, NormalizedBoundingBox.Builder builderForValue)
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
    • addAllNormalizedBoundingBoxes

      public FaceFrame.Builder addAllNormalizedBoundingBoxes(Iterable<? extends NormalizedBoundingBox> values)
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
    • clearNormalizedBoundingBoxes

      public FaceFrame.Builder clearNormalizedBoundingBoxes()
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
    • removeNormalizedBoundingBoxes

      public FaceFrame.Builder removeNormalizedBoundingBoxes(int index)
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
    • getNormalizedBoundingBoxesBuilder

      public NormalizedBoundingBox.Builder getNormalizedBoundingBoxesBuilder(int index)
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
    • getNormalizedBoundingBoxesOrBuilder

      public NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder(int index)
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
      Specified by:
      getNormalizedBoundingBoxesOrBuilder in interface FaceFrameOrBuilder
    • getNormalizedBoundingBoxesOrBuilderList

      public List<? extends NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxesOrBuilderList()
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
      Specified by:
      getNormalizedBoundingBoxesOrBuilderList in interface FaceFrameOrBuilder
    • addNormalizedBoundingBoxesBuilder

      public NormalizedBoundingBox.Builder addNormalizedBoundingBoxesBuilder()
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
    • addNormalizedBoundingBoxesBuilder

      public NormalizedBoundingBox.Builder addNormalizedBoundingBoxesBuilder(int index)
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
    • getNormalizedBoundingBoxesBuilderList

      public List<NormalizedBoundingBox.Builder> getNormalizedBoundingBoxesBuilderList()
       Normalized Bounding boxes in a frame.
       There can be more than one boxes if the same face is detected in multiple
       locations within the current frame.
       
      repeated .google.cloud.videointelligence.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
    • hasTimeOffset

      public boolean hasTimeOffset()
       Time-offset, relative to the beginning of the video,
       corresponding to the video frame for this location.
       
      .google.protobuf.Duration time_offset = 2;
      Specified by:
      hasTimeOffset in interface FaceFrameOrBuilder
      Returns:
      Whether the timeOffset field is set.
    • getTimeOffset

      public com.google.protobuf.Duration getTimeOffset()
       Time-offset, relative to the beginning of the video,
       corresponding to the video frame for this location.
       
      .google.protobuf.Duration time_offset = 2;
      Specified by:
      getTimeOffset in interface FaceFrameOrBuilder
      Returns:
      The timeOffset.
    • setTimeOffset

      public FaceFrame.Builder setTimeOffset(com.google.protobuf.Duration value)
       Time-offset, relative to the beginning of the video,
       corresponding to the video frame for this location.
       
      .google.protobuf.Duration time_offset = 2;
    • setTimeOffset

      public FaceFrame.Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
       Time-offset, relative to the beginning of the video,
       corresponding to the video frame for this location.
       
      .google.protobuf.Duration time_offset = 2;
    • mergeTimeOffset

      public FaceFrame.Builder mergeTimeOffset(com.google.protobuf.Duration value)
       Time-offset, relative to the beginning of the video,
       corresponding to the video frame for this location.
       
      .google.protobuf.Duration time_offset = 2;
    • clearTimeOffset

      public FaceFrame.Builder clearTimeOffset()
       Time-offset, relative to the beginning of the video,
       corresponding to the video frame for this location.
       
      .google.protobuf.Duration time_offset = 2;
    • getTimeOffsetBuilder

      public com.google.protobuf.Duration.Builder getTimeOffsetBuilder()
       Time-offset, relative to the beginning of the video,
       corresponding to the video frame for this location.
       
      .google.protobuf.Duration time_offset = 2;
    • getTimeOffsetOrBuilder

      public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder()
       Time-offset, relative to the beginning of the video,
       corresponding to the video frame for this location.
       
      .google.protobuf.Duration time_offset = 2;
      Specified by:
      getTimeOffsetOrBuilder in interface FaceFrameOrBuilder