Class FaceSegment.Builder (2.46.0)

public static final class FaceSegment.Builder extends GeneratedMessageV3.Builder<FaceSegment.Builder> implements FaceSegmentOrBuilder

Video segment level annotation results for face detection.

Protobuf type google.cloud.videointelligence.v1.FaceSegment

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FaceSegment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FaceSegment.Builder
Overrides

build()

public FaceSegment build()
Returns
Type Description
FaceSegment

buildPartial()

public FaceSegment buildPartial()
Returns
Type Description
FaceSegment

clear()

public FaceSegment.Builder clear()
Returns
Type Description
FaceSegment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FaceSegment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FaceSegment.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FaceSegment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FaceSegment.Builder
Overrides

clearSegment()

public FaceSegment.Builder clearSegment()

Video segment where a face was detected.

.google.cloud.videointelligence.v1.VideoSegment segment = 1;

Returns
Type Description
FaceSegment.Builder

clone()

public FaceSegment.Builder clone()
Returns
Type Description
FaceSegment.Builder
Overrides

getDefaultInstanceForType()

public FaceSegment getDefaultInstanceForType()
Returns
Type Description
FaceSegment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSegment()

public VideoSegment getSegment()

Video segment where a face was detected.

.google.cloud.videointelligence.v1.VideoSegment segment = 1;

Returns
Type Description
VideoSegment

The segment.

getSegmentBuilder()

public VideoSegment.Builder getSegmentBuilder()

Video segment where a face was detected.

.google.cloud.videointelligence.v1.VideoSegment segment = 1;

Returns
Type Description
VideoSegment.Builder

getSegmentOrBuilder()

public VideoSegmentOrBuilder getSegmentOrBuilder()

Video segment where a face was detected.

.google.cloud.videointelligence.v1.VideoSegment segment = 1;

Returns
Type Description
VideoSegmentOrBuilder

hasSegment()

public boolean hasSegment()

Video segment where a face was detected.

.google.cloud.videointelligence.v1.VideoSegment segment = 1;

Returns
Type Description
boolean

Whether the segment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FaceSegment other)

public FaceSegment.Builder mergeFrom(FaceSegment other)
Parameter
Name Description
other FaceSegment
Returns
Type Description
FaceSegment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FaceSegment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FaceSegment.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FaceSegment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FaceSegment.Builder
Overrides

mergeSegment(VideoSegment value)

public FaceSegment.Builder mergeSegment(VideoSegment value)

Video segment where a face was detected.

.google.cloud.videointelligence.v1.VideoSegment segment = 1;

Parameter
Name Description
value VideoSegment
Returns
Type Description
FaceSegment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FaceSegment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FaceSegment.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FaceSegment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FaceSegment.Builder
Overrides

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

public FaceSegment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FaceSegment.Builder
Overrides

setSegment(VideoSegment value)

public FaceSegment.Builder setSegment(VideoSegment value)

Video segment where a face was detected.

.google.cloud.videointelligence.v1.VideoSegment segment = 1;

Parameter
Name Description
value VideoSegment
Returns
Type Description
FaceSegment.Builder

setSegment(VideoSegment.Builder builderForValue)

public FaceSegment.Builder setSegment(VideoSegment.Builder builderForValue)

Video segment where a face was detected.

.google.cloud.videointelligence.v1.VideoSegment segment = 1;

Parameter
Name Description
builderForValue VideoSegment.Builder
Returns
Type Description
FaceSegment.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final FaceSegment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FaceSegment.Builder
Overrides