- 2.82.0 (latest)
- 2.81.0
- 2.79.0
- 2.77.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.71.0
- 2.69.0
- 2.67.0
- 2.66.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.13
- 2.1.0
- 2.0.27
public static final class FaceAnnotation.Builder extends GeneratedMessage.Builder<FaceAnnotation.Builder> implements FaceAnnotationOrBuilderDeprecated. No effect.
Protobuf type google.cloud.videointelligence.v1.FaceAnnotation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FaceAnnotation.BuilderImplements
FaceAnnotationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllFrames(Iterable<? extends FaceFrame> values)
public FaceAnnotation.Builder addAllFrames(Iterable<? extends FaceFrame> values)All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.videointelligence.v1.FaceFrame> |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
addAllSegments(Iterable<? extends FaceSegment> values)
public FaceAnnotation.Builder addAllSegments(Iterable<? extends FaceSegment> values)All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.videointelligence.v1.FaceSegment> |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
addFrames(FaceFrame value)
public FaceAnnotation.Builder addFrames(FaceFrame value)All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
FaceFrame |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
addFrames(FaceFrame.Builder builderForValue)
public FaceAnnotation.Builder addFrames(FaceFrame.Builder builderForValue)All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FaceFrame.Builder |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
addFrames(int index, FaceFrame value)
public FaceAnnotation.Builder addFrames(int index, FaceFrame value)All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FaceFrame |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
addFrames(int index, FaceFrame.Builder builderForValue)
public FaceAnnotation.Builder addFrames(int index, FaceFrame.Builder builderForValue)All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FaceFrame.Builder |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
addFramesBuilder()
public FaceFrame.Builder addFramesBuilder()All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Returns | |
|---|---|
| Type | Description |
FaceFrame.Builder |
|
addFramesBuilder(int index)
public FaceFrame.Builder addFramesBuilder(int index)All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FaceFrame.Builder |
|
addSegments(FaceSegment value)
public FaceAnnotation.Builder addSegments(FaceSegment value)All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FaceSegment |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
addSegments(FaceSegment.Builder builderForValue)
public FaceAnnotation.Builder addSegments(FaceSegment.Builder builderForValue)All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FaceSegment.Builder |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
addSegments(int index, FaceSegment value)
public FaceAnnotation.Builder addSegments(int index, FaceSegment value)All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FaceSegment |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
addSegments(int index, FaceSegment.Builder builderForValue)
public FaceAnnotation.Builder addSegments(int index, FaceSegment.Builder builderForValue)All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FaceSegment.Builder |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
addSegmentsBuilder()
public FaceSegment.Builder addSegmentsBuilder()All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Returns | |
|---|---|
| Type | Description |
FaceSegment.Builder |
|
addSegmentsBuilder(int index)
public FaceSegment.Builder addSegmentsBuilder(int index)All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FaceSegment.Builder |
|
build()
public FaceAnnotation build()| Returns | |
|---|---|
| Type | Description |
FaceAnnotation |
|
buildPartial()
public FaceAnnotation buildPartial()| Returns | |
|---|---|
| Type | Description |
FaceAnnotation |
|
clear()
public FaceAnnotation.Builder clear()| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
clearFrames()
public FaceAnnotation.Builder clearFrames()All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
clearSegments()
public FaceAnnotation.Builder clearSegments()All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
clearThumbnail()
public FaceAnnotation.Builder clearThumbnail()Thumbnail of a representative face view (in JPEG format).
bytes thumbnail = 1;
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FaceAnnotation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FaceAnnotation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFrames(int index)
public FaceFrame getFrames(int index)All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FaceFrame |
|
getFramesBuilder(int index)
public FaceFrame.Builder getFramesBuilder(int index)All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FaceFrame.Builder |
|
getFramesBuilderList()
public List<FaceFrame.Builder> getFramesBuilderList()All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getFramesCount()
public int getFramesCount()All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getFramesList()
public List<FaceFrame> getFramesList()All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Returns | |
|---|---|
| Type | Description |
List<FaceFrame> |
|
getFramesOrBuilder(int index)
public FaceFrameOrBuilder getFramesOrBuilder(int index)All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FaceFrameOrBuilder |
|
getFramesOrBuilderList()
public List<? extends FaceFrameOrBuilder> getFramesOrBuilderList()All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.videointelligence.v1.FaceFrameOrBuilder> |
|
getSegments(int index)
public FaceSegment getSegments(int index)All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FaceSegment |
|
getSegmentsBuilder(int index)
public FaceSegment.Builder getSegmentsBuilder(int index)All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FaceSegment.Builder |
|
getSegmentsBuilderList()
public List<FaceSegment.Builder> getSegmentsBuilderList()All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSegmentsCount()
public int getSegmentsCount()All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSegmentsList()
public List<FaceSegment> getSegmentsList()All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Returns | |
|---|---|
| Type | Description |
List<FaceSegment> |
|
getSegmentsOrBuilder(int index)
public FaceSegmentOrBuilder getSegmentsOrBuilder(int index)All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FaceSegmentOrBuilder |
|
getSegmentsOrBuilderList()
public List<? extends FaceSegmentOrBuilder> getSegmentsOrBuilderList()All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.videointelligence.v1.FaceSegmentOrBuilder> |
|
getThumbnail()
public ByteString getThumbnail()Thumbnail of a representative face view (in JPEG format).
bytes thumbnail = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The thumbnail. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FaceAnnotation other)
public FaceAnnotation.Builder mergeFrom(FaceAnnotation other)| Parameter | |
|---|---|
| Name | Description |
other |
FaceAnnotation |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FaceAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FaceAnnotation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
removeFrames(int index)
public FaceAnnotation.Builder removeFrames(int index)All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
removeSegments(int index)
public FaceAnnotation.Builder removeSegments(int index)All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
setFrames(int index, FaceFrame value)
public FaceAnnotation.Builder setFrames(int index, FaceFrame value)All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FaceFrame |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
setFrames(int index, FaceFrame.Builder builderForValue)
public FaceAnnotation.Builder setFrames(int index, FaceFrame.Builder builderForValue)All video frames where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceFrame frames = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FaceFrame.Builder |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
setSegments(int index, FaceSegment value)
public FaceAnnotation.Builder setSegments(int index, FaceSegment value)All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FaceSegment |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
setSegments(int index, FaceSegment.Builder builderForValue)
public FaceAnnotation.Builder setSegments(int index, FaceSegment.Builder builderForValue)All video segments where a face was detected.
repeated .google.cloud.videointelligence.v1.FaceSegment segments = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FaceSegment.Builder |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
|
setThumbnail(ByteString value)
public FaceAnnotation.Builder setThumbnail(ByteString value)Thumbnail of a representative face view (in JPEG format).
bytes thumbnail = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe thumbnail to set. |
| Returns | |
|---|---|
| Type | Description |
FaceAnnotation.Builder |
This builder for chaining. |