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, 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<FaceFrame.Builder>
public FaceFrame.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<FaceFrame.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<FaceFrame.Builder>
public FaceFrame getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public FaceFrame build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public FaceFrame buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public FaceFrame.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<FaceFrame.Builder>
public FaceFrame.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<FaceFrame.Builder>
public FaceFrame.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<FaceFrame.Builder>
public FaceFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<FaceFrame.Builder>
public FaceFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<FaceFrame.Builder>
public FaceFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<FaceFrame.Builder>
public FaceFrame.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<FaceFrame.Builder>
public FaceFrame.Builder mergeFrom(FaceFrame other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<FaceFrame.Builder>
public FaceFrame.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<FaceFrame.Builder>
java.io.IOException
public 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 FaceFrameOrBuilder
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;
getNormalizedBoundingBoxesCount
in interface FaceFrameOrBuilder
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;
getNormalizedBoundingBoxes
in interface FaceFrameOrBuilder
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;
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 FaceFrameOrBuilder
public 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 FaceFrameOrBuilder
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;
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 FaceFrameOrBuilder
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;
getTimeOffset
in interface FaceFrameOrBuilder
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;
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 FaceFrameOrBuilder
public final FaceFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<FaceFrame.Builder>
public final FaceFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<FaceFrame.Builder>