public final class FaceAnnotation extends GeneratedMessageV3 implements FaceAnnotationOrBuilder
Face annotation.Protobuf type
google.cloud.videointelligence.v1beta2.FaceAnnotation
Modifier and Type | Class and Description |
---|---|
static class |
FaceAnnotation.Builder
Face annotation.
|
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 |
FRAMES_FIELD_NUMBER |
static int |
SEGMENTS_FIELD_NUMBER |
static int |
THUMBNAIL_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static FaceAnnotation |
getDefaultInstance() |
FaceAnnotation |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
FaceFrame |
getFrames(int index)
All video frames where a face was detected.
|
int |
getFramesCount()
All video frames where a face was detected.
|
java.util.List<FaceFrame> |
getFramesList()
All video frames where a face was detected.
|
FaceFrameOrBuilder |
getFramesOrBuilder(int index)
All video frames where a face was detected.
|
java.util.List<? extends FaceFrameOrBuilder> |
getFramesOrBuilderList()
All video frames where a face was detected.
|
Parser<FaceAnnotation> |
getParserForType() |
FaceSegment |
getSegments(int index)
All video segments where a face was detected.
|
int |
getSegmentsCount()
All video segments where a face was detected.
|
java.util.List<FaceSegment> |
getSegmentsList()
All video segments where a face was detected.
|
FaceSegmentOrBuilder |
getSegmentsOrBuilder(int index)
All video segments where a face was detected.
|
java.util.List<? extends FaceSegmentOrBuilder> |
getSegmentsOrBuilderList()
All video segments where a face was detected.
|
int |
getSerializedSize() |
ByteString |
getThumbnail()
Thumbnail of a representative face view (in JPEG format).
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FaceAnnotation.Builder |
newBuilder() |
static FaceAnnotation.Builder |
newBuilder(FaceAnnotation prototype) |
FaceAnnotation.Builder |
newBuilderForType() |
protected FaceAnnotation.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static FaceAnnotation |
parseDelimitedFrom(java.io.InputStream input) |
static FaceAnnotation |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static FaceAnnotation |
parseFrom(byte[] data) |
static FaceAnnotation |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static FaceAnnotation |
parseFrom(java.nio.ByteBuffer data) |
static FaceAnnotation |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static FaceAnnotation |
parseFrom(ByteString data) |
static FaceAnnotation |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static FaceAnnotation |
parseFrom(CodedInputStream input) |
static FaceAnnotation |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static FaceAnnotation |
parseFrom(java.io.InputStream input) |
static FaceAnnotation |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<FaceAnnotation> |
parser() |
FaceAnnotation.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 THUMBNAIL_FIELD_NUMBER
public static final int SEGMENTS_FIELD_NUMBER
public static final int FRAMES_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 ByteString getThumbnail()
Thumbnail of a representative face view (in JPEG format).
bytes thumbnail = 1;
getThumbnail
in interface FaceAnnotationOrBuilder
public java.util.List<FaceSegment> getSegmentsList()
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
getSegmentsList
in interface FaceAnnotationOrBuilder
public java.util.List<? extends FaceSegmentOrBuilder> getSegmentsOrBuilderList()
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
getSegmentsOrBuilderList
in interface FaceAnnotationOrBuilder
public int getSegmentsCount()
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
getSegmentsCount
in interface FaceAnnotationOrBuilder
public FaceSegment getSegments(int index)
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
getSegments
in interface FaceAnnotationOrBuilder
public FaceSegmentOrBuilder getSegmentsOrBuilder(int index)
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
getSegmentsOrBuilder
in interface FaceAnnotationOrBuilder
public java.util.List<FaceFrame> getFramesList()
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
getFramesList
in interface FaceAnnotationOrBuilder
public java.util.List<? extends FaceFrameOrBuilder> getFramesOrBuilderList()
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
getFramesOrBuilderList
in interface FaceAnnotationOrBuilder
public int getFramesCount()
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
getFramesCount
in interface FaceAnnotationOrBuilder
public FaceFrame getFrames(int index)
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
getFrames
in interface FaceAnnotationOrBuilder
public FaceFrameOrBuilder getFramesOrBuilder(int index)
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
getFramesOrBuilder
in interface FaceAnnotationOrBuilder
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 FaceAnnotation parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FaceAnnotation parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FaceAnnotation parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FaceAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FaceAnnotation parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FaceAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FaceAnnotation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static FaceAnnotation parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static FaceAnnotation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static FaceAnnotation parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static FaceAnnotation parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static FaceAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public FaceAnnotation.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static FaceAnnotation.Builder newBuilder()
public static FaceAnnotation.Builder newBuilder(FaceAnnotation prototype)
public FaceAnnotation.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected FaceAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static FaceAnnotation getDefaultInstance()
public static Parser<FaceAnnotation> parser()
public Parser<FaceAnnotation> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public FaceAnnotation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder