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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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.v1.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.v1.VideoSegment segment = 1;
Returns
getSegmentBuilder()
public VideoSegment.Builder getSegmentBuilder()
Video segment where a face was detected.
.google.cloud.videointelligence.v1.VideoSegment segment = 1;
Returns
getSegmentOrBuilder()
public VideoSegmentOrBuilder getSegmentOrBuilder()
Video segment where a face was detected.
.google.cloud.videointelligence.v1.VideoSegment segment = 1;
Returns
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
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.v1.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.v1.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.v1.VideoSegment segment = 1;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final FaceSegment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides