Class FaceFrame (2.4.0)

public final class FaceFrame extends GeneratedMessageV3 implements FaceFrameOrBuilder

Deprecated. No effect.

Protobuf type google.cloud.videointelligence.v1.FaceFrame

Implements

FaceFrameOrBuilder

Static Fields

NORMALIZED_BOUNDING_BOXES_FIELD_NUMBER

public static final int NORMALIZED_BOUNDING_BOXES_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_OFFSET_FIELD_NUMBER

public static final int TIME_OFFSET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FaceFrame getDefaultInstance()
Returns
TypeDescription
FaceFrame

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static FaceFrame.Builder newBuilder()
Returns
TypeDescription
FaceFrame.Builder

newBuilder(FaceFrame prototype)

public static FaceFrame.Builder newBuilder(FaceFrame prototype)
Parameter
NameDescription
prototypeFaceFrame
Returns
TypeDescription
FaceFrame.Builder

parseDelimitedFrom(InputStream input)

public static FaceFrame parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FaceFrame
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FaceFrame parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FaceFrame
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FaceFrame parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FaceFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FaceFrame parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FaceFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FaceFrame parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FaceFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FaceFrame parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FaceFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FaceFrame parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FaceFrame
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FaceFrame parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FaceFrame
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FaceFrame parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FaceFrame
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FaceFrame parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FaceFrame
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FaceFrame parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FaceFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FaceFrame parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FaceFrame
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FaceFrame> parser()
Returns
TypeDescription
Parser<FaceFrame>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public FaceFrame getDefaultInstanceForType()
Returns
TypeDescription
FaceFrame

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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NormalizedBoundingBox

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;

Returns
TypeDescription
int

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;

Returns
TypeDescription
List<NormalizedBoundingBox>

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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NormalizedBoundingBoxOrBuilder

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;

Returns
TypeDescription
List<? extends com.google.cloud.videointelligence.v1.NormalizedBoundingBoxOrBuilder>

getParserForType()

public Parser<FaceFrame> getParserForType()
Returns
TypeDescription
Parser<FaceFrame>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
Duration

The timeOffset.

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
TypeDescription
DurationOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

Whether the timeOffset field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FaceFrame.Builder newBuilderForType()
Returns
TypeDescription
FaceFrame.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FaceFrame.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FaceFrame.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FaceFrame.Builder toBuilder()
Returns
TypeDescription
FaceFrame.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException