public static final class FaceAnnotation.Builder extends GeneratedMessageV3.Builder<FaceAnnotation.Builder> implements FaceAnnotationOrBuilder
Face annotation.Protobuf type
google.cloud.videointelligence.v1beta2.FaceAnnotation
Modifier and Type | Method and Description |
---|---|
FaceAnnotation.Builder |
addAllFrames(java.lang.Iterable<? extends FaceFrame> values)
All video frames where a face was detected.
|
FaceAnnotation.Builder |
addAllSegments(java.lang.Iterable<? extends FaceSegment> values)
All video segments where a face was detected.
|
FaceAnnotation.Builder |
addFrames(FaceFrame.Builder builderForValue)
All video frames where a face was detected.
|
FaceAnnotation.Builder |
addFrames(FaceFrame value)
All video frames where a face was detected.
|
FaceAnnotation.Builder |
addFrames(int index,
FaceFrame.Builder builderForValue)
All video frames where a face was detected.
|
FaceAnnotation.Builder |
addFrames(int index,
FaceFrame value)
All video frames where a face was detected.
|
FaceFrame.Builder |
addFramesBuilder()
All video frames where a face was detected.
|
FaceFrame.Builder |
addFramesBuilder(int index)
All video frames where a face was detected.
|
FaceAnnotation.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
FaceAnnotation.Builder |
addSegments(FaceSegment.Builder builderForValue)
All video segments where a face was detected.
|
FaceAnnotation.Builder |
addSegments(FaceSegment value)
All video segments where a face was detected.
|
FaceAnnotation.Builder |
addSegments(int index,
FaceSegment.Builder builderForValue)
All video segments where a face was detected.
|
FaceAnnotation.Builder |
addSegments(int index,
FaceSegment value)
All video segments where a face was detected.
|
FaceSegment.Builder |
addSegmentsBuilder()
All video segments where a face was detected.
|
FaceSegment.Builder |
addSegmentsBuilder(int index)
All video segments where a face was detected.
|
FaceAnnotation |
build() |
FaceAnnotation |
buildPartial() |
FaceAnnotation.Builder |
clear() |
FaceAnnotation.Builder |
clearField(Descriptors.FieldDescriptor field) |
FaceAnnotation.Builder |
clearFrames()
All video frames where a face was detected.
|
FaceAnnotation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
FaceAnnotation.Builder |
clearSegments()
All video segments where a face was detected.
|
FaceAnnotation.Builder |
clearThumbnail()
Thumbnail of a representative face view (in JPEG format).
|
FaceAnnotation.Builder |
clone() |
FaceAnnotation |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
FaceFrame |
getFrames(int index)
All video frames where a face was detected.
|
FaceFrame.Builder |
getFramesBuilder(int index)
All video frames where a face was detected.
|
java.util.List<FaceFrame.Builder> |
getFramesBuilderList()
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.
|
FaceSegment |
getSegments(int index)
All video segments where a face was detected.
|
FaceSegment.Builder |
getSegmentsBuilder(int index)
All video segments where a face was detected.
|
java.util.List<FaceSegment.Builder> |
getSegmentsBuilderList()
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.
|
ByteString |
getThumbnail()
Thumbnail of a representative face view (in JPEG format).
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FaceAnnotation.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
FaceAnnotation.Builder |
mergeFrom(FaceAnnotation other) |
FaceAnnotation.Builder |
mergeFrom(Message other) |
FaceAnnotation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
FaceAnnotation.Builder |
removeFrames(int index)
All video frames where a face was detected.
|
FaceAnnotation.Builder |
removeSegments(int index)
All video segments where a face was detected.
|
FaceAnnotation.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
FaceAnnotation.Builder |
setFrames(int index,
FaceFrame.Builder builderForValue)
All video frames where a face was detected.
|
FaceAnnotation.Builder |
setFrames(int index,
FaceFrame value)
All video frames where a face was detected.
|
FaceAnnotation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
FaceAnnotation.Builder |
setSegments(int index,
FaceSegment.Builder builderForValue)
All video segments where a face was detected.
|
FaceAnnotation.Builder |
setSegments(int index,
FaceSegment value)
All video segments where a face was detected.
|
FaceAnnotation.Builder |
setThumbnail(ByteString value)
Thumbnail of a representative face view (in JPEG format).
|
FaceAnnotation.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public FaceAnnotation build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public FaceAnnotation buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public FaceAnnotation.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder mergeFrom(FaceAnnotation other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public FaceAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<FaceAnnotation.Builder>
java.io.IOException
public ByteString getThumbnail()
Thumbnail of a representative face view (in JPEG format).
bytes thumbnail = 1;
getThumbnail
in interface FaceAnnotationOrBuilder
public FaceAnnotation.Builder setThumbnail(ByteString value)
Thumbnail of a representative face view (in JPEG format).
bytes thumbnail = 1;
public FaceAnnotation.Builder clearThumbnail()
Thumbnail of a representative face view (in JPEG format).
bytes thumbnail = 1;
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 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 FaceAnnotation.Builder setSegments(int index, FaceSegment value)
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
public FaceAnnotation.Builder setSegments(int index, FaceSegment.Builder builderForValue)
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
public FaceAnnotation.Builder addSegments(FaceSegment value)
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
public FaceAnnotation.Builder addSegments(int index, FaceSegment value)
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
public FaceAnnotation.Builder addSegments(FaceSegment.Builder builderForValue)
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
public FaceAnnotation.Builder addSegments(int index, FaceSegment.Builder builderForValue)
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
public FaceAnnotation.Builder addAllSegments(java.lang.Iterable<? extends FaceSegment> values)
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
public FaceAnnotation.Builder clearSegments()
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
public FaceAnnotation.Builder removeSegments(int index)
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
public FaceSegment.Builder getSegmentsBuilder(int index)
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
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<? extends FaceSegmentOrBuilder> getSegmentsOrBuilderList()
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
getSegmentsOrBuilderList
in interface FaceAnnotationOrBuilder
public FaceSegment.Builder addSegmentsBuilder()
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
public FaceSegment.Builder addSegmentsBuilder(int index)
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
public java.util.List<FaceSegment.Builder> getSegmentsBuilderList()
All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceSegment segments = 2;
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 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 FaceAnnotation.Builder setFrames(int index, FaceFrame value)
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
public FaceAnnotation.Builder setFrames(int index, FaceFrame.Builder builderForValue)
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
public FaceAnnotation.Builder addFrames(FaceFrame value)
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
public FaceAnnotation.Builder addFrames(int index, FaceFrame value)
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
public FaceAnnotation.Builder addFrames(FaceFrame.Builder builderForValue)
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
public FaceAnnotation.Builder addFrames(int index, FaceFrame.Builder builderForValue)
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
public FaceAnnotation.Builder addAllFrames(java.lang.Iterable<? extends FaceFrame> values)
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
public FaceAnnotation.Builder clearFrames()
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
public FaceAnnotation.Builder removeFrames(int index)
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
public FaceFrame.Builder getFramesBuilder(int index)
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
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 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 FaceFrame.Builder addFramesBuilder()
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
public FaceFrame.Builder addFramesBuilder(int index)
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
public java.util.List<FaceFrame.Builder> getFramesBuilderList()
All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1beta2.FaceFrame frames = 3;
public final FaceAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>
public final FaceAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>