public static final class FaceDetectionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FaceDetectionConfig.Builder> implements FaceDetectionConfigOrBuilder
Config for FACE_DETECTION.Protobuf type
google.cloud.videointelligence.v1p3beta1.FaceDetectionConfig| Modifier and Type | Method and Description |
|---|---|
FaceDetectionConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FaceDetectionConfig |
build() |
FaceDetectionConfig |
buildPartial() |
FaceDetectionConfig.Builder |
clear() |
FaceDetectionConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FaceDetectionConfig.Builder |
clearIncludeAttributes()
Whether to enable face attributes detection, such as glasses, dark_glasses,
mouth_open etc.
|
FaceDetectionConfig.Builder |
clearIncludeBoundingBoxes()
Whether bounding boxes are included in the face annotation output.
|
FaceDetectionConfig.Builder |
clearModel()
Model to use for face detection.
|
FaceDetectionConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FaceDetectionConfig.Builder |
clone() |
FaceDetectionConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIncludeAttributes()
Whether to enable face attributes detection, such as glasses, dark_glasses,
mouth_open etc.
|
boolean |
getIncludeBoundingBoxes()
Whether bounding boxes are included in the face annotation output.
|
String |
getModel()
Model to use for face detection.
|
com.google.protobuf.ByteString |
getModelBytes()
Model to use for face detection.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FaceDetectionConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FaceDetectionConfig.Builder |
mergeFrom(FaceDetectionConfig other) |
FaceDetectionConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
FaceDetectionConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FaceDetectionConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FaceDetectionConfig.Builder |
setIncludeAttributes(boolean value)
Whether to enable face attributes detection, such as glasses, dark_glasses,
mouth_open etc.
|
FaceDetectionConfig.Builder |
setIncludeBoundingBoxes(boolean value)
Whether bounding boxes are included in the face annotation output.
|
FaceDetectionConfig.Builder |
setModel(String value)
Model to use for face detection.
|
FaceDetectionConfig.Builder |
setModelBytes(com.google.protobuf.ByteString value)
Model to use for face detection.
|
FaceDetectionConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FaceDetectionConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FaceDetectionConfig.Builder>public FaceDetectionConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FaceDetectionConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FaceDetectionConfig.Builder>public FaceDetectionConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FaceDetectionConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FaceDetectionConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FaceDetectionConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FaceDetectionConfig.Builder>public FaceDetectionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<FaceDetectionConfig.Builder>public FaceDetectionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FaceDetectionConfig.Builder>public FaceDetectionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FaceDetectionConfig.Builder>public FaceDetectionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FaceDetectionConfig.Builder>public FaceDetectionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FaceDetectionConfig.Builder>public FaceDetectionConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FaceDetectionConfig.Builder>public FaceDetectionConfig.Builder mergeFrom(FaceDetectionConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FaceDetectionConfig.Builder>public FaceDetectionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FaceDetectionConfig.Builder>IOExceptionpublic String getModel()
Model to use for face detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 1;getModel in interface FaceDetectionConfigOrBuilderpublic com.google.protobuf.ByteString getModelBytes()
Model to use for face detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 1;getModelBytes in interface FaceDetectionConfigOrBuilderpublic FaceDetectionConfig.Builder setModel(String value)
Model to use for face detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 1;value - The model to set.public FaceDetectionConfig.Builder clearModel()
Model to use for face detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 1;public FaceDetectionConfig.Builder setModelBytes(com.google.protobuf.ByteString value)
Model to use for face detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 1;value - The bytes for model to set.public boolean getIncludeBoundingBoxes()
Whether bounding boxes are included in the face annotation output.
bool include_bounding_boxes = 2;getIncludeBoundingBoxes in interface FaceDetectionConfigOrBuilderpublic FaceDetectionConfig.Builder setIncludeBoundingBoxes(boolean value)
Whether bounding boxes are included in the face annotation output.
bool include_bounding_boxes = 2;value - The includeBoundingBoxes to set.public FaceDetectionConfig.Builder clearIncludeBoundingBoxes()
Whether bounding boxes are included in the face annotation output.
bool include_bounding_boxes = 2;public boolean getIncludeAttributes()
Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
bool include_attributes = 5;getIncludeAttributes in interface FaceDetectionConfigOrBuilderpublic FaceDetectionConfig.Builder setIncludeAttributes(boolean value)
Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
bool include_attributes = 5;value - The includeAttributes to set.public FaceDetectionConfig.Builder clearIncludeAttributes()
Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
bool include_attributes = 5;public final FaceDetectionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FaceDetectionConfig.Builder>public final FaceDetectionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FaceDetectionConfig.Builder>Copyright © 2024 Google LLC. All rights reserved.