public final class FaceFrame extends GeneratedMessageV3 implements FaceFrameOrBuilder
Video frame level annotation results for face detection.Protobuf type
google.cloud.videointelligence.v1beta2.FaceFrame| Modifier and Type | Class and Description |
|---|---|
static class |
FaceFrame.Builder
Video frame level annotation results for face detection.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
NORMALIZED_BOUNDING_BOXES_FIELD_NUMBER |
static int |
TIME_OFFSET_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static FaceFrame |
getDefaultInstance() |
FaceFrame |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
NormalizedBoundingBox |
getNormalizedBoundingBoxes(int index)
Normalized Bounding boxes in a frame.
|
int |
getNormalizedBoundingBoxesCount()
Normalized Bounding boxes in a frame.
|
java.util.List<NormalizedBoundingBox> |
getNormalizedBoundingBoxesList()
Normalized Bounding boxes in a frame.
|
NormalizedBoundingBoxOrBuilder |
getNormalizedBoundingBoxesOrBuilder(int index)
Normalized Bounding boxes in a frame.
|
java.util.List<? extends NormalizedBoundingBoxOrBuilder> |
getNormalizedBoundingBoxesOrBuilderList()
Normalized Bounding boxes in a frame.
|
Parser<FaceFrame> |
getParserForType() |
int |
getSerializedSize() |
Duration |
getTimeOffset()
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this location.
|
DurationOrBuilder |
getTimeOffsetOrBuilder()
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this location.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTimeOffset()
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this location.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FaceFrame.Builder |
newBuilder() |
static FaceFrame.Builder |
newBuilder(FaceFrame prototype) |
FaceFrame.Builder |
newBuilderForType() |
protected FaceFrame.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static FaceFrame |
parseDelimitedFrom(java.io.InputStream input) |
static FaceFrame |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static FaceFrame |
parseFrom(byte[] data) |
static FaceFrame |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static FaceFrame |
parseFrom(java.nio.ByteBuffer data) |
static FaceFrame |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static FaceFrame |
parseFrom(ByteString data) |
static FaceFrame |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static FaceFrame |
parseFrom(CodedInputStream input) |
static FaceFrame |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static FaceFrame |
parseFrom(java.io.InputStream input) |
static FaceFrame |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<FaceFrame> |
parser() |
FaceFrame.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NORMALIZED_BOUNDING_BOXES_FIELD_NUMBER
public static final int TIME_OFFSET_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.util.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;getNormalizedBoundingBoxesList in interface FaceFrameOrBuilderpublic java.util.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;getNormalizedBoundingBoxesOrBuilderList in interface FaceFrameOrBuilderpublic 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;getNormalizedBoundingBoxesCount in interface FaceFrameOrBuilderpublic 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;getNormalizedBoundingBoxes in interface FaceFrameOrBuilderpublic 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;getNormalizedBoundingBoxesOrBuilder in interface FaceFrameOrBuilderpublic 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;hasTimeOffset in interface FaceFrameOrBuilderpublic 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;getTimeOffset in interface FaceFrameOrBuilderpublic 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;getTimeOffsetOrBuilder in interface FaceFrameOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static FaceFrame parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static FaceFrame parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static FaceFrame parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static FaceFrame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static FaceFrame parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static FaceFrame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static FaceFrame parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static FaceFrame parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static FaceFrame parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static FaceFrame parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static FaceFrame parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static FaceFrame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic FaceFrame.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static FaceFrame.Builder newBuilder()
public static FaceFrame.Builder newBuilder(FaceFrame prototype)
public FaceFrame.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected FaceFrame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static FaceFrame getDefaultInstance()
public Parser<FaceFrame> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public FaceFrame getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder