public static final class FaceFrame.Builder extends GeneratedMessageV3.Builder<FaceFrame.Builder> implements FaceFrameOrBuilder
Video frame level annotation results for face detection.Protobuf type
google.cloud.videointelligence.v1beta2.FaceFrame| Modifier and Type | Method and Description |
|---|---|
FaceFrame.Builder |
addAllNormalizedBoundingBoxes(java.lang.Iterable<? extends NormalizedBoundingBox> values)
Normalized Bounding boxes in a frame.
|
FaceFrame.Builder |
addNormalizedBoundingBoxes(int index,
NormalizedBoundingBox.Builder builderForValue)
Normalized Bounding boxes in a frame.
|
FaceFrame.Builder |
addNormalizedBoundingBoxes(int index,
NormalizedBoundingBox value)
Normalized Bounding boxes in a frame.
|
FaceFrame.Builder |
addNormalizedBoundingBoxes(NormalizedBoundingBox.Builder builderForValue)
Normalized Bounding boxes in a frame.
|
FaceFrame.Builder |
addNormalizedBoundingBoxes(NormalizedBoundingBox value)
Normalized Bounding boxes in a frame.
|
NormalizedBoundingBox.Builder |
addNormalizedBoundingBoxesBuilder()
Normalized Bounding boxes in a frame.
|
NormalizedBoundingBox.Builder |
addNormalizedBoundingBoxesBuilder(int index)
Normalized Bounding boxes in a frame.
|
FaceFrame.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
FaceFrame |
build() |
FaceFrame |
buildPartial() |
FaceFrame.Builder |
clear() |
FaceFrame.Builder |
clearField(Descriptors.FieldDescriptor field) |
FaceFrame.Builder |
clearNormalizedBoundingBoxes()
Normalized Bounding boxes in a frame.
|
FaceFrame.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
FaceFrame.Builder |
clearTimeOffset()
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this location.
|
FaceFrame.Builder |
clone() |
FaceFrame |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
NormalizedBoundingBox |
getNormalizedBoundingBoxes(int index)
Normalized Bounding boxes in a frame.
|
NormalizedBoundingBox.Builder |
getNormalizedBoundingBoxesBuilder(int index)
Normalized Bounding boxes in a frame.
|
java.util.List<NormalizedBoundingBox.Builder> |
getNormalizedBoundingBoxesBuilderList()
Normalized Bounding boxes in a frame.
|
int |
getNormalizedBoundingBoxesCount()
Normalized Bounding boxes in a frame.
|
java.util.List<NormalizedBoundingBox> |
getNormalizedBoundingBoxesList()
Normalized Bounding boxes in a frame.
|
NormalizedBoundingBoxOrBuilder |
getNormalizedBoundingBoxesOrBuilder(int index)
Normalized Bounding boxes in a frame.
|
java.util.List<? extends NormalizedBoundingBoxOrBuilder> |
getNormalizedBoundingBoxesOrBuilderList()
Normalized Bounding boxes in a frame.
|
Duration |
getTimeOffset()
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this location.
|
Duration.Builder |
getTimeOffsetBuilder()
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this location.
|
DurationOrBuilder |
getTimeOffsetOrBuilder()
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this location.
|
boolean |
hasTimeOffset()
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this location.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FaceFrame.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
FaceFrame.Builder |
mergeFrom(FaceFrame other) |
FaceFrame.Builder |
mergeFrom(Message other) |
FaceFrame.Builder |
mergeTimeOffset(Duration value)
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this location.
|
FaceFrame.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
FaceFrame.Builder |
removeNormalizedBoundingBoxes(int index)
Normalized Bounding boxes in a frame.
|
FaceFrame.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
FaceFrame.Builder |
setNormalizedBoundingBoxes(int index,
NormalizedBoundingBox.Builder builderForValue)
Normalized Bounding boxes in a frame.
|
FaceFrame.Builder |
setNormalizedBoundingBoxes(int index,
NormalizedBoundingBox value)
Normalized Bounding boxes in a frame.
|
FaceFrame.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
FaceFrame.Builder |
setTimeOffset(Duration.Builder builderForValue)
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this location.
|
FaceFrame.Builder |
setTimeOffset(Duration value)
Time-offset, relative to the beginning of the video,
corresponding to the video frame for this location.
|
FaceFrame.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<FaceFrame.Builder>public FaceFrame.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<FaceFrame.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<FaceFrame.Builder>public FaceFrame getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic FaceFrame build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic FaceFrame buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic FaceFrame.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<FaceFrame.Builder>public FaceFrame.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<FaceFrame.Builder>public FaceFrame.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<FaceFrame.Builder>public FaceFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<FaceFrame.Builder>public FaceFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<FaceFrame.Builder>public FaceFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<FaceFrame.Builder>public FaceFrame.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<FaceFrame.Builder>public FaceFrame.Builder mergeFrom(FaceFrame other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<FaceFrame.Builder>public FaceFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<FaceFrame.Builder>java.io.IOExceptionpublic java.util.List<NormalizedBoundingBox> getNormalizedBoundingBoxesList()
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;getNormalizedBoundingBoxesList in interface FaceFrameOrBuilderpublic int getNormalizedBoundingBoxesCount()
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;getNormalizedBoundingBoxesCount in interface FaceFrameOrBuilderpublic NormalizedBoundingBox getNormalizedBoundingBoxes(int index)
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;getNormalizedBoundingBoxes in interface FaceFrameOrBuilderpublic FaceFrame.Builder setNormalizedBoundingBoxes(int index, NormalizedBoundingBox value)
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;public FaceFrame.Builder setNormalizedBoundingBoxes(int index, NormalizedBoundingBox.Builder builderForValue)
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;public FaceFrame.Builder addNormalizedBoundingBoxes(NormalizedBoundingBox value)
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;public FaceFrame.Builder addNormalizedBoundingBoxes(int index, NormalizedBoundingBox value)
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;public FaceFrame.Builder addNormalizedBoundingBoxes(NormalizedBoundingBox.Builder builderForValue)
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;public FaceFrame.Builder addNormalizedBoundingBoxes(int index, NormalizedBoundingBox.Builder builderForValue)
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;public FaceFrame.Builder addAllNormalizedBoundingBoxes(java.lang.Iterable<? extends NormalizedBoundingBox> values)
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;public FaceFrame.Builder clearNormalizedBoundingBoxes()
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;public FaceFrame.Builder removeNormalizedBoundingBoxes(int index)
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;public NormalizedBoundingBox.Builder getNormalizedBoundingBoxesBuilder(int index)
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;public NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxesOrBuilder(int index)
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;getNormalizedBoundingBoxesOrBuilder in interface FaceFrameOrBuilderpublic java.util.List<? extends NormalizedBoundingBoxOrBuilder> getNormalizedBoundingBoxesOrBuilderList()
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;getNormalizedBoundingBoxesOrBuilderList in interface FaceFrameOrBuilderpublic NormalizedBoundingBox.Builder addNormalizedBoundingBoxesBuilder()
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;public NormalizedBoundingBox.Builder addNormalizedBoundingBoxesBuilder(int index)
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;public java.util.List<NormalizedBoundingBox.Builder> getNormalizedBoundingBoxesBuilderList()
Normalized Bounding boxes in a frame. There can be more than one boxes if the same face is detected in multiple locations within the current frame.
repeated .google.cloud.videointelligence.v1beta2.NormalizedBoundingBox normalized_bounding_boxes = 1;public boolean hasTimeOffset()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 2;hasTimeOffset in interface FaceFrameOrBuilderpublic Duration getTimeOffset()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 2;getTimeOffset in interface FaceFrameOrBuilderpublic FaceFrame.Builder setTimeOffset(Duration value)
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 2;public FaceFrame.Builder setTimeOffset(Duration.Builder builderForValue)
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 2;public FaceFrame.Builder mergeTimeOffset(Duration value)
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 2;public FaceFrame.Builder clearTimeOffset()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 2;public Duration.Builder getTimeOffsetBuilder()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 2;public DurationOrBuilder getTimeOffsetOrBuilder()
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 2;getTimeOffsetOrBuilder in interface FaceFrameOrBuilderpublic final FaceFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<FaceFrame.Builder>public final FaceFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<FaceFrame.Builder>