Send feedback
Class FaceSegment.Builder (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.0 keyboard_arrow_down
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.v1beta2.FaceSegment
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FaceSegment . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public FaceSegment build ()
Returns
buildPartial()
public FaceSegment buildPartial ()
Returns
clear()
public FaceSegment . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public FaceSegment . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FaceSegment . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearSegment()
public FaceSegment . Builder clearSegment ()
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
Returns
clone()
public FaceSegment . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public FaceSegment getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getSegment()
public VideoSegment getSegment ()
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
Returns
getSegmentBuilder()
public VideoSegment . Builder getSegmentBuilder ()
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
Returns
getSegmentOrBuilder()
public VideoSegmentOrBuilder getSegmentOrBuilder ()
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
Returns
hasSegment()
public boolean hasSegment ()
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
Returns
Type Description boolean Whether the segment field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(FaceSegment other)
public FaceSegment . Builder mergeFrom ( FaceSegment other )
Parameter
Returns
public FaceSegment . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FaceSegment . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeSegment(VideoSegment value)
public FaceSegment . Builder mergeSegment ( VideoSegment value )
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FaceSegment . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FaceSegment . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FaceSegment . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setSegment(VideoSegment value)
public FaceSegment . Builder setSegment ( VideoSegment value )
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
Parameter
Returns
setSegment(VideoSegment.Builder builderForValue)
public FaceSegment . Builder setSegment ( VideoSegment . Builder builderForValue )
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final FaceSegment . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]