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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllNormalizedBoundingBoxes(Iterable<? extends NormalizedBoundingBox> values)
public FaceFrame.Builder addAllNormalizedBoundingBoxes(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;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBox>
|
addNormalizedBoundingBoxes(NormalizedBoundingBox value)
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;
addNormalizedBoundingBoxes(NormalizedBoundingBox.Builder builderForValue)
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;
addNormalizedBoundingBoxes(int index, NormalizedBoundingBox value)
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;
addNormalizedBoundingBoxes(int index, NormalizedBoundingBox.Builder builderForValue)
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;
addNormalizedBoundingBoxesBuilder()
public 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;
addNormalizedBoundingBoxesBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FaceFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public FaceFrame buildPartial()
clear()
public FaceFrame.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FaceFrame.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNormalizedBoundingBoxes()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public FaceFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTimeOffset()
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;
clone()
public FaceFrame.Builder clone()
Overrides
getDefaultInstanceForType()
public FaceFrame getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNormalizedBoundingBoxes(int index)
public 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;
Parameter |
---|
Name | Description |
index | int
|
getNormalizedBoundingBoxesBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getNormalizedBoundingBoxesBuilderList()
public 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;
getNormalizedBoundingBoxesCount()
public 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;
Returns |
---|
Type | Description |
int | |
getNormalizedBoundingBoxesList()
public 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;
getNormalizedBoundingBoxesOrBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getNormalizedBoundingBoxesOrBuilderList()
public 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;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1beta2.NormalizedBoundingBoxOrBuilder> | |
getTimeOffset()
public 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;
Returns |
---|
Type | Description |
Duration | The timeOffset.
|
getTimeOffsetBuilder()
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;
getTimeOffsetOrBuilder()
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;
hasTimeOffset()
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;
Returns |
---|
Type | Description |
boolean | Whether the timeOffset field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FaceFrame other)
public FaceFrame.Builder mergeFrom(FaceFrame other)
public FaceFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FaceFrame.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeTimeOffset(Duration value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FaceFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNormalizedBoundingBoxes(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public FaceFrame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNormalizedBoundingBoxes(int index, NormalizedBoundingBox value)
public 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;
setNormalizedBoundingBoxes(int index, NormalizedBoundingBox.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FaceFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTimeOffset(Duration value)
public 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;
setTimeOffset(Duration.Builder builderForValue)
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;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FaceFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides