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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NORMALIZED_BOUNDING_BOXES_FIELD_NUMBER
public static final int TIME_OFFSET_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 FaceFrameOrBuilder
public 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 FaceFrameOrBuilder
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;
getNormalizedBoundingBoxesCount
in interface FaceFrameOrBuilder
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;
getNormalizedBoundingBoxes
in interface FaceFrameOrBuilder
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;
getNormalizedBoundingBoxesOrBuilder
in interface FaceFrameOrBuilder
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;
hasTimeOffset
in interface FaceFrameOrBuilder
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;
getTimeOffset
in interface FaceFrameOrBuilder
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;
getTimeOffsetOrBuilder
in interface FaceFrameOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static FaceFrame parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FaceFrame parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FaceFrame parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FaceFrame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FaceFrame parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FaceFrame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FaceFrame parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static FaceFrame parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static FaceFrame parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static FaceFrame parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static FaceFrame parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static FaceFrame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public FaceFrame.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static FaceFrame.Builder newBuilder()
public static FaceFrame.Builder newBuilder(FaceFrame prototype)
public FaceFrame.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected FaceFrame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static FaceFrame getDefaultInstance()
public Parser<FaceFrame> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public FaceFrame getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder