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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FaceSegment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FaceSegment build()
buildPartial()
public FaceSegment buildPartial()
clear()
public FaceSegment.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FaceSegment.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FaceSegment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSegment()
public FaceSegment.Builder clearSegment()
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
clone()
public FaceSegment.Builder clone()
Overrides
getDefaultInstanceForType()
public FaceSegment getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSegment()
public VideoSegment getSegment()
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
getSegmentBuilder()
public VideoSegment.Builder getSegmentBuilder()
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
getSegmentOrBuilder()
public VideoSegmentOrBuilder getSegmentOrBuilder()
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FaceSegment other)
public FaceSegment.Builder mergeFrom(FaceSegment other)
public FaceSegment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FaceSegment.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeSegment(VideoSegment value)
public FaceSegment.Builder mergeSegment(VideoSegment value)
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FaceSegment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FaceSegment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FaceSegment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSegment(VideoSegment value)
public FaceSegment.Builder setSegment(VideoSegment value)
Video segment where a face was detected.
.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final FaceSegment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides