public final class FaceFrame extends GeneratedMessageV3 implements FaceFrameOrBuilder
Video frame level annotation results for face detection.
Protobuf type google.cloud.videointelligence.v1beta2.FaceFrame
Static Fields
NORMALIZED_BOUNDING_BOXES_FIELD_NUMBER
public static final int NORMALIZED_BOUNDING_BOXES_FIELD_NUMBER
Field Value
TIME_OFFSET_FIELD_NUMBER
public static final int TIME_OFFSET_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static FaceFrame getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static FaceFrame.Builder newBuilder()
Returns
newBuilder(FaceFrame prototype)
public static FaceFrame.Builder newBuilder(FaceFrame prototype)
Parameter
Returns
public static FaceFrame parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static FaceFrame parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static FaceFrame parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FaceFrame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static FaceFrame parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FaceFrame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FaceFrame parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static FaceFrame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FaceFrame parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static FaceFrame parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static FaceFrame parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FaceFrame parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<FaceFrame> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public FaceFrame getDefaultInstanceForType()
Returns
getNormalizedBoundingBoxes(int index)
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.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameter
Returns
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.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;
Returns
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.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;
Returns
getNormalizedBoundingBoxesOrBuilder(int index)
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.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameter
Returns
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.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;
Returns
Type | Description |
List<? extends com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> | |
getParserForType()
public Parser<FaceFrame> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTimeOffset()
public 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;
Returns
getTimeOffsetOrBuilder()
public 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;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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;
Returns
Type | Description |
boolean | Whether the timeOffset field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public FaceFrame.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FaceFrame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public FaceFrame.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions