Class FaceFrame.Builder (2.2.0)

public static final class FaceFrame.Builder extends GeneratedMessageV3.Builder<FaceFrame.Builder> implements FaceFrameOrBuilder

Deprecated. No effect.

Protobuf type google.cloud.videointelligence.v1.FaceFrame

Implements

FaceFrameOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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
NameDescription
valuesIterable<? extends com.google.cloud.videointelligence.v1.NormalizedBoundingBox>
Returns
TypeDescription
FaceFrame.Builder

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
NameDescription
valueNormalizedBoundingBox
Returns
TypeDescription
FaceFrame.Builder

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
NameDescription
builderForValueNormalizedBoundingBox.Builder
Returns
TypeDescription
FaceFrame.Builder

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
NameDescription
indexint
valueNormalizedBoundingBox
Returns
TypeDescription
FaceFrame.Builder

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
NameDescription
indexint
builderForValueNormalizedBoundingBox.Builder
Returns
TypeDescription
FaceFrame.Builder

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
TypeDescription
NormalizedBoundingBox.Builder

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
NameDescription
indexint
Returns
TypeDescription
NormalizedBoundingBox.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FaceFrame.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FaceFrame.Builder
Overrides

build()

public FaceFrame build()
Returns
TypeDescription
FaceFrame

buildPartial()

public FaceFrame buildPartial()
Returns
TypeDescription
FaceFrame

clear()

public FaceFrame.Builder clear()
Returns
TypeDescription
FaceFrame.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FaceFrame.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FaceFrame.Builder
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
TypeDescription
FaceFrame.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FaceFrame.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FaceFrame.Builder
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
TypeDescription
FaceFrame.Builder

clone()

public FaceFrame.Builder clone()
Returns
TypeDescription
FaceFrame.Builder
Overrides

getDefaultInstanceForType()

public FaceFrame getDefaultInstanceForType()
Returns
TypeDescription
FaceFrame

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
NameDescription
indexint
Returns
TypeDescription
NormalizedBoundingBox

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
NameDescription
indexint
Returns
TypeDescription
NormalizedBoundingBox.Builder

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
TypeDescription
List<Builder>

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
TypeDescription
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.v1.NormalizedBoundingBox normalized_bounding_boxes = 1;

Returns
TypeDescription
List<NormalizedBoundingBox>

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
NameDescription
indexint
Returns
TypeDescription
NormalizedBoundingBoxOrBuilder

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
TypeDescription
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
TypeDescription
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;

Returns
TypeDescription
Builder

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
TypeDescription
DurationOrBuilder

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
TypeDescription
boolean

Whether the timeOffset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FaceFrame other)

public FaceFrame.Builder mergeFrom(FaceFrame other)
Parameter
NameDescription
otherFaceFrame
Returns
TypeDescription
FaceFrame.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FaceFrame.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FaceFrame.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FaceFrame.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FaceFrame.Builder
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
NameDescription
valueDuration
Returns
TypeDescription
FaceFrame.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FaceFrame.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FaceFrame.Builder
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
NameDescription
indexint
Returns
TypeDescription
FaceFrame.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FaceFrame.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FaceFrame.Builder
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
NameDescription
indexint
valueNormalizedBoundingBox
Returns
TypeDescription
FaceFrame.Builder

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
NameDescription
indexint
builderForValueNormalizedBoundingBox.Builder
Returns
TypeDescription
FaceFrame.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FaceFrame.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FaceFrame.Builder
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
NameDescription
valueDuration
Returns
TypeDescription
FaceFrame.Builder

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
NameDescription
builderForValueBuilder
Returns
TypeDescription
FaceFrame.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final FaceFrame.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FaceFrame.Builder
Overrides