Class FaceFrame.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FaceFrame.Builder>
com.google.cloud.videointelligence.v1.FaceFrame.Builder
- All Implemented Interfaces:
FaceFrameOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FaceFrame
public static final class FaceFrame.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FaceFrame.Builder>
implements FaceFrameOrBuilder
Deprecated. No effect.Protobuf type
google.cloud.videointelligence.v1.FaceFrame-
Method Summary
Modifier and TypeMethodDescriptionaddAllNormalizedBoundingBoxes(Iterable<? extends NormalizedBoundingBox> values) Normalized Bounding boxes in a frame.addNormalizedBoundingBoxes(int index, NormalizedBoundingBox value) Normalized Bounding boxes in a frame.addNormalizedBoundingBoxes(int index, NormalizedBoundingBox.Builder builderForValue) Normalized Bounding boxes in a frame.Normalized Bounding boxes in a frame.addNormalizedBoundingBoxes(NormalizedBoundingBox.Builder builderForValue) Normalized Bounding boxes in a frame.Normalized Bounding boxes in a frame.addNormalizedBoundingBoxesBuilder(int index) Normalized Bounding boxes in a frame.build()clear()Normalized Bounding boxes in a frame.Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNormalizedBoundingBoxes(int index) Normalized Bounding boxes in a frame.getNormalizedBoundingBoxesBuilder(int index) Normalized Bounding boxes in a frame.Normalized Bounding boxes in a frame.intNormalized Bounding boxes in a frame.Normalized Bounding boxes in a frame.getNormalizedBoundingBoxesOrBuilder(int index) Normalized Bounding boxes in a frame.List<? extends NormalizedBoundingBoxOrBuilder>Normalized Bounding boxes in a frame.com.google.protobuf.DurationTime-offset, relative to the beginning of the video, corresponding to the video frame for this location.com.google.protobuf.Duration.BuilderTime-offset, relative to the beginning of the video, corresponding to the video frame for this location.com.google.protobuf.DurationOrBuilderTime-offset, relative to the beginning of the video, corresponding to the video frame for this location.booleanTime-offset, relative to the beginning of the video, corresponding to the video frame for this location.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTimeOffset(com.google.protobuf.Duration value) Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.removeNormalizedBoundingBoxes(int index) Normalized Bounding boxes in a frame.setNormalizedBoundingBoxes(int index, NormalizedBoundingBox value) Normalized Bounding boxes in a frame.setNormalizedBoundingBoxes(int index, NormalizedBoundingBox.Builder builderForValue) Normalized Bounding boxes in a frame.setTimeOffset(com.google.protobuf.Duration value) Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.setTimeOffset(com.google.protobuf.Duration.Builder builderForValue) Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FaceFrame.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FaceFrame.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FaceFrame.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FaceFrame.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FaceFrame.Builder>
-
mergeFrom
public FaceFrame.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FaceFrame.Builder>- Throws:
IOException
-
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;- Specified by:
getNormalizedBoundingBoxesListin interfaceFaceFrameOrBuilder
-
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;- Specified by:
getNormalizedBoundingBoxesCountin interfaceFaceFrameOrBuilder
-
getNormalizedBoundingBoxes
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;- Specified by:
getNormalizedBoundingBoxesin interfaceFaceFrameOrBuilder
-
setNormalizedBoundingBoxes
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; -
setNormalizedBoundingBoxes
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; -
addNormalizedBoundingBoxes
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; -
addNormalizedBoundingBoxes
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; -
addNormalizedBoundingBoxes
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; -
addNormalizedBoundingBoxes
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; -
addAllNormalizedBoundingBoxes
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; -
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; -
removeNormalizedBoundingBoxes
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; -
getNormalizedBoundingBoxesBuilder
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; -
getNormalizedBoundingBoxesOrBuilder
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;- Specified by:
getNormalizedBoundingBoxesOrBuilderin interfaceFaceFrameOrBuilder
-
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;- Specified by:
getNormalizedBoundingBoxesOrBuilderListin interfaceFaceFrameOrBuilder
-
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; -
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; -
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; -
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;- Specified by:
hasTimeOffsetin interfaceFaceFrameOrBuilder- Returns:
- Whether the timeOffset field is set.
-
getTimeOffset
public com.google.protobuf.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;- Specified by:
getTimeOffsetin interfaceFaceFrameOrBuilder- Returns:
- The timeOffset.
-
setTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 2; -
setTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 2; -
mergeTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 2; -
clearTimeOffset
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location.
.google.protobuf.Duration time_offset = 2; -
getTimeOffsetBuilder
public com.google.protobuf.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 com.google.protobuf.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;- Specified by:
getTimeOffsetOrBuilderin interfaceFaceFrameOrBuilder
-