public static final class FaceAnnotation.Builder extends GeneratedMessageV3.Builder<FaceAnnotation.Builder> implements FaceAnnotationOrBuilder
Face annotation.Protobuf type
google.cloud.videointelligence.v1beta1.FaceAnnotation| Modifier and Type | Method and Description |
|---|---|
FaceAnnotation.Builder |
addAllLocations(java.lang.Iterable<? extends FaceLocation> values)
Face locations at one frame per second.
|
FaceAnnotation.Builder |
addAllSegments(java.lang.Iterable<? extends VideoSegment> values)
All locations where a face was detected.
|
FaceAnnotation.Builder |
addLocations(FaceLocation.Builder builderForValue)
Face locations at one frame per second.
|
FaceAnnotation.Builder |
addLocations(FaceLocation value)
Face locations at one frame per second.
|
FaceAnnotation.Builder |
addLocations(int index,
FaceLocation.Builder builderForValue)
Face locations at one frame per second.
|
FaceAnnotation.Builder |
addLocations(int index,
FaceLocation value)
Face locations at one frame per second.
|
FaceLocation.Builder |
addLocationsBuilder()
Face locations at one frame per second.
|
FaceLocation.Builder |
addLocationsBuilder(int index)
Face locations at one frame per second.
|
FaceAnnotation.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
FaceAnnotation.Builder |
addSegments(int index,
VideoSegment.Builder builderForValue)
All locations where a face was detected.
|
FaceAnnotation.Builder |
addSegments(int index,
VideoSegment value)
All locations where a face was detected.
|
FaceAnnotation.Builder |
addSegments(VideoSegment.Builder builderForValue)
All locations where a face was detected.
|
FaceAnnotation.Builder |
addSegments(VideoSegment value)
All locations where a face was detected.
|
VideoSegment.Builder |
addSegmentsBuilder()
All locations where a face was detected.
|
VideoSegment.Builder |
addSegmentsBuilder(int index)
All locations where a face was detected.
|
FaceAnnotation |
build() |
FaceAnnotation |
buildPartial() |
FaceAnnotation.Builder |
clear() |
FaceAnnotation.Builder |
clearField(Descriptors.FieldDescriptor field) |
FaceAnnotation.Builder |
clearLocations()
Face locations at one frame per second.
|
FaceAnnotation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
FaceAnnotation.Builder |
clearSegments()
All locations 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() |
FaceLocation |
getLocations(int index)
Face locations at one frame per second.
|
FaceLocation.Builder |
getLocationsBuilder(int index)
Face locations at one frame per second.
|
java.util.List<FaceLocation.Builder> |
getLocationsBuilderList()
Face locations at one frame per second.
|
int |
getLocationsCount()
Face locations at one frame per second.
|
java.util.List<FaceLocation> |
getLocationsList()
Face locations at one frame per second.
|
FaceLocationOrBuilder |
getLocationsOrBuilder(int index)
Face locations at one frame per second.
|
java.util.List<? extends FaceLocationOrBuilder> |
getLocationsOrBuilderList()
Face locations at one frame per second.
|
VideoSegment |
getSegments(int index)
All locations where a face was detected.
|
VideoSegment.Builder |
getSegmentsBuilder(int index)
All locations where a face was detected.
|
java.util.List<VideoSegment.Builder> |
getSegmentsBuilderList()
All locations where a face was detected.
|
int |
getSegmentsCount()
All locations where a face was detected.
|
java.util.List<VideoSegment> |
getSegmentsList()
All locations where a face was detected.
|
VideoSegmentOrBuilder |
getSegmentsOrBuilder(int index)
All locations where a face was detected.
|
java.util.List<? extends VideoSegmentOrBuilder> |
getSegmentsOrBuilderList()
All locations where a face was detected.
|
java.lang.String |
getThumbnail()
Thumbnail of a representative face view (in JPEG format).
|
ByteString |
getThumbnailBytes()
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 |
removeLocations(int index)
Face locations at one frame per second.
|
FaceAnnotation.Builder |
removeSegments(int index)
All locations where a face was detected.
|
FaceAnnotation.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
FaceAnnotation.Builder |
setLocations(int index,
FaceLocation.Builder builderForValue)
Face locations at one frame per second.
|
FaceAnnotation.Builder |
setLocations(int index,
FaceLocation value)
Face locations at one frame per second.
|
FaceAnnotation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
FaceAnnotation.Builder |
setSegments(int index,
VideoSegment.Builder builderForValue)
All locations where a face was detected.
|
FaceAnnotation.Builder |
setSegments(int index,
VideoSegment value)
All locations where a face was detected.
|
FaceAnnotation.Builder |
setThumbnail(java.lang.String value)
Thumbnail of a representative face view (in JPEG format).
|
FaceAnnotation.Builder |
setThumbnailBytes(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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>public FaceAnnotation.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>public FaceAnnotation getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic FaceAnnotation build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic FaceAnnotation buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic FaceAnnotation.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>public FaceAnnotation.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>public FaceAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>public FaceAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>public FaceAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>public FaceAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>public FaceAnnotation.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<FaceAnnotation.Builder>public FaceAnnotation.Builder mergeFrom(FaceAnnotation other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>public FaceAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<FaceAnnotation.Builder>java.io.IOExceptionpublic java.lang.String getThumbnail()
Thumbnail of a representative face view (in JPEG format). Encoding: base64.
string thumbnail = 1;getThumbnail in interface FaceAnnotationOrBuilderpublic ByteString getThumbnailBytes()
Thumbnail of a representative face view (in JPEG format). Encoding: base64.
string thumbnail = 1;getThumbnailBytes in interface FaceAnnotationOrBuilderpublic FaceAnnotation.Builder setThumbnail(java.lang.String value)
Thumbnail of a representative face view (in JPEG format). Encoding: base64.
string thumbnail = 1;public FaceAnnotation.Builder clearThumbnail()
Thumbnail of a representative face view (in JPEG format). Encoding: base64.
string thumbnail = 1;public FaceAnnotation.Builder setThumbnailBytes(ByteString value)
Thumbnail of a representative face view (in JPEG format). Encoding: base64.
string thumbnail = 1;public java.util.List<VideoSegment> getSegmentsList()
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;getSegmentsList in interface FaceAnnotationOrBuilderpublic int getSegmentsCount()
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;getSegmentsCount in interface FaceAnnotationOrBuilderpublic VideoSegment getSegments(int index)
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;getSegments in interface FaceAnnotationOrBuilderpublic FaceAnnotation.Builder setSegments(int index, VideoSegment value)
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;public FaceAnnotation.Builder setSegments(int index, VideoSegment.Builder builderForValue)
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;public FaceAnnotation.Builder addSegments(VideoSegment value)
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;public FaceAnnotation.Builder addSegments(int index, VideoSegment value)
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;public FaceAnnotation.Builder addSegments(VideoSegment.Builder builderForValue)
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;public FaceAnnotation.Builder addSegments(int index, VideoSegment.Builder builderForValue)
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;public FaceAnnotation.Builder addAllSegments(java.lang.Iterable<? extends VideoSegment> values)
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;public FaceAnnotation.Builder clearSegments()
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;public FaceAnnotation.Builder removeSegments(int index)
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;public VideoSegment.Builder getSegmentsBuilder(int index)
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;public VideoSegmentOrBuilder getSegmentsOrBuilder(int index)
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;getSegmentsOrBuilder in interface FaceAnnotationOrBuilderpublic java.util.List<? extends VideoSegmentOrBuilder> getSegmentsOrBuilderList()
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;getSegmentsOrBuilderList in interface FaceAnnotationOrBuilderpublic VideoSegment.Builder addSegmentsBuilder()
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;public VideoSegment.Builder addSegmentsBuilder(int index)
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;public java.util.List<VideoSegment.Builder> getSegmentsBuilderList()
All locations where a face was detected. Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).
repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;public java.util.List<FaceLocation> getLocationsList()
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;getLocationsList in interface FaceAnnotationOrBuilderpublic int getLocationsCount()
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;getLocationsCount in interface FaceAnnotationOrBuilderpublic FaceLocation getLocations(int index)
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;getLocations in interface FaceAnnotationOrBuilderpublic FaceAnnotation.Builder setLocations(int index, FaceLocation value)
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;public FaceAnnotation.Builder setLocations(int index, FaceLocation.Builder builderForValue)
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;public FaceAnnotation.Builder addLocations(FaceLocation value)
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;public FaceAnnotation.Builder addLocations(int index, FaceLocation value)
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;public FaceAnnotation.Builder addLocations(FaceLocation.Builder builderForValue)
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;public FaceAnnotation.Builder addLocations(int index, FaceLocation.Builder builderForValue)
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;public FaceAnnotation.Builder addAllLocations(java.lang.Iterable<? extends FaceLocation> values)
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;public FaceAnnotation.Builder clearLocations()
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;public FaceAnnotation.Builder removeLocations(int index)
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;public FaceLocation.Builder getLocationsBuilder(int index)
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;public FaceLocationOrBuilder getLocationsOrBuilder(int index)
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;getLocationsOrBuilder in interface FaceAnnotationOrBuilderpublic java.util.List<? extends FaceLocationOrBuilder> getLocationsOrBuilderList()
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;getLocationsOrBuilderList in interface FaceAnnotationOrBuilderpublic FaceLocation.Builder addLocationsBuilder()
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;public FaceLocation.Builder addLocationsBuilder(int index)
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;public java.util.List<FaceLocation.Builder> getLocationsBuilderList()
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;public final FaceAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>public final FaceAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<FaceAnnotation.Builder>