public static final class PersonDetectionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PersonDetectionConfig.Builder> implements PersonDetectionConfigOrBuilder
Config for PERSON_DETECTION.Protobuf type
google.cloud.videointelligence.v1p3beta1.PersonDetectionConfig| Modifier and Type | Method and Description |
|---|---|
PersonDetectionConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PersonDetectionConfig |
build() |
PersonDetectionConfig |
buildPartial() |
PersonDetectionConfig.Builder |
clear() |
PersonDetectionConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PersonDetectionConfig.Builder |
clearIncludeAttributes()
Whether to enable person attributes detection, such as cloth color (black,
blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
etc.
|
PersonDetectionConfig.Builder |
clearIncludeBoundingBoxes()
Whether bounding boxes are included in the person detection annotation
output.
|
PersonDetectionConfig.Builder |
clearIncludePoseLandmarks()
Whether to enable pose landmarks detection.
|
PersonDetectionConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PersonDetectionConfig.Builder |
clone() |
PersonDetectionConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIncludeAttributes()
Whether to enable person attributes detection, such as cloth color (black,
blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
etc.
|
boolean |
getIncludeBoundingBoxes()
Whether bounding boxes are included in the person detection annotation
output.
|
boolean |
getIncludePoseLandmarks()
Whether to enable pose landmarks detection.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PersonDetectionConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PersonDetectionConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
PersonDetectionConfig.Builder |
mergeFrom(PersonDetectionConfig other) |
PersonDetectionConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PersonDetectionConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PersonDetectionConfig.Builder |
setIncludeAttributes(boolean value)
Whether to enable person attributes detection, such as cloth color (black,
blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair,
etc.
|
PersonDetectionConfig.Builder |
setIncludeBoundingBoxes(boolean value)
Whether bounding boxes are included in the person detection annotation
output.
|
PersonDetectionConfig.Builder |
setIncludePoseLandmarks(boolean value)
Whether to enable pose landmarks detection.
|
PersonDetectionConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PersonDetectionConfig.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<PersonDetectionConfig.Builder>public PersonDetectionConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PersonDetectionConfig.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<PersonDetectionConfig.Builder>public PersonDetectionConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PersonDetectionConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PersonDetectionConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PersonDetectionConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PersonDetectionConfig.Builder>public PersonDetectionConfig.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<PersonDetectionConfig.Builder>public PersonDetectionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PersonDetectionConfig.Builder>public PersonDetectionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PersonDetectionConfig.Builder>public PersonDetectionConfig.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<PersonDetectionConfig.Builder>public PersonDetectionConfig.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<PersonDetectionConfig.Builder>public PersonDetectionConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PersonDetectionConfig.Builder>public PersonDetectionConfig.Builder mergeFrom(PersonDetectionConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PersonDetectionConfig.Builder>public PersonDetectionConfig.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<PersonDetectionConfig.Builder>IOExceptionpublic boolean getIncludeBoundingBoxes()
Whether bounding boxes are included in the person detection annotation output.
bool include_bounding_boxes = 1;getIncludeBoundingBoxes in interface PersonDetectionConfigOrBuilderpublic PersonDetectionConfig.Builder setIncludeBoundingBoxes(boolean value)
Whether bounding boxes are included in the person detection annotation output.
bool include_bounding_boxes = 1;value - The includeBoundingBoxes to set.public PersonDetectionConfig.Builder clearIncludeBoundingBoxes()
Whether bounding boxes are included in the person detection annotation output.
bool include_bounding_boxes = 1;public boolean getIncludePoseLandmarks()
Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false.
bool include_pose_landmarks = 2;getIncludePoseLandmarks in interface PersonDetectionConfigOrBuilderpublic PersonDetectionConfig.Builder setIncludePoseLandmarks(boolean value)
Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false.
bool include_pose_landmarks = 2;value - The includePoseLandmarks to set.public PersonDetectionConfig.Builder clearIncludePoseLandmarks()
Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false.
bool include_pose_landmarks = 2;public boolean getIncludeAttributes()
Whether to enable person attributes detection, such as cloth color (black, blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc. Ignored if 'include_bounding_boxes' is set to false.
bool include_attributes = 3;getIncludeAttributes in interface PersonDetectionConfigOrBuilderpublic PersonDetectionConfig.Builder setIncludeAttributes(boolean value)
Whether to enable person attributes detection, such as cloth color (black, blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc. Ignored if 'include_bounding_boxes' is set to false.
bool include_attributes = 3;value - The includeAttributes to set.public PersonDetectionConfig.Builder clearIncludeAttributes()
Whether to enable person attributes detection, such as cloth color (black, blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc. Ignored if 'include_bounding_boxes' is set to false.
bool include_attributes = 3;public final PersonDetectionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PersonDetectionConfig.Builder>public final PersonDetectionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PersonDetectionConfig.Builder>Copyright © 2024 Google LLC. All rights reserved.