public static final class FaceFrame.Builder extends GeneratedMessageV3.Builder<FaceFrame.Builder> implements FaceFrameOrBuilder
Deprecated. No effect.
Protobuf type google.cloud.videointelligence.v1.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()
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.videointelligence.v1.NormalizedBoundingBox>
|
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameter
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameter
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameters
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameters
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FaceFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public FaceFrame buildPartial()
Returns
clear()
public FaceFrame.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public FaceFrame.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public FaceFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
clone()
public FaceFrame.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public FaceFrame getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameter
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameter
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameter
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Returns
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.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
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;
Returns
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;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(FaceFrame other)
public FaceFrame.Builder mergeFrom(FaceFrame other)
Parameter
Returns
public FaceFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FaceFrame.Builder mergeFrom(Message other)
Parameter
Returns
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FaceFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public FaceFrame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameters
Returns
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FaceFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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;
Parameter
Returns
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
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final FaceFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides