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, 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 java.lang.String getThumbnail()
Thumbnail of a representative face view (in JPEG format). Encoding: base64.
string thumbnail = 1;
getThumbnail
in interface FaceAnnotationOrBuilder
public ByteString getThumbnailBytes()
Thumbnail of a representative face view (in JPEG format). Encoding: base64.
string thumbnail = 1;
getThumbnailBytes
in interface FaceAnnotationOrBuilder
public 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 FaceAnnotationOrBuilder
public 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 FaceAnnotationOrBuilder
public 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 FaceAnnotationOrBuilder
public 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 FaceAnnotationOrBuilder
public 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 FaceAnnotationOrBuilder
public 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 FaceAnnotationOrBuilder
public int getLocationsCount()
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;
getLocationsCount
in interface FaceAnnotationOrBuilder
public FaceLocation getLocations(int index)
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;
getLocations
in interface FaceAnnotationOrBuilder
public 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 FaceAnnotationOrBuilder
public java.util.List<? extends FaceLocationOrBuilder> getLocationsOrBuilderList()
Face locations at one frame per second.
repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;
getLocationsOrBuilderList
in interface FaceAnnotationOrBuilder
public 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.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>