public static final class PersonDetectionConfig.Builder extends GeneratedMessageV3.Builder<PersonDetectionConfig.Builder> implements PersonDetectionConfigOrBuilder
Config for PERSON_DETECTION.
Protobuf type google.cloud.videointelligence.v1.PersonDetectionConfig
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 PersonDetectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PersonDetectionConfig build()
buildPartial()
public PersonDetectionConfig buildPartial()
clear()
public PersonDetectionConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PersonDetectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIncludeAttributes()
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;
clearIncludeBoundingBoxes()
public PersonDetectionConfig.Builder clearIncludeBoundingBoxes()
Whether bounding boxes are included in the person detection annotation
output.
bool include_bounding_boxes = 1;
clearIncludePoseLandmarks()
public PersonDetectionConfig.Builder clearIncludePoseLandmarks()
Whether to enable pose landmarks detection. Ignored if
'include_bounding_boxes' is set to false.
bool include_pose_landmarks = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public PersonDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public PersonDetectionConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public PersonDetectionConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getIncludeAttributes()
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;
Returns |
Type |
Description |
boolean |
The includeAttributes.
|
getIncludeBoundingBoxes()
public boolean getIncludeBoundingBoxes()
Whether bounding boxes are included in the person detection annotation
output.
bool include_bounding_boxes = 1;
Returns |
Type |
Description |
boolean |
The includeBoundingBoxes.
|
getIncludePoseLandmarks()
public boolean getIncludePoseLandmarks()
Whether to enable pose landmarks detection. Ignored if
'include_bounding_boxes' is set to false.
bool include_pose_landmarks = 2;
Returns |
Type |
Description |
boolean |
The includePoseLandmarks.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PersonDetectionConfig other)
public PersonDetectionConfig.Builder mergeFrom(PersonDetectionConfig other)
public PersonDetectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PersonDetectionConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PersonDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PersonDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIncludeAttributes(boolean value)
public 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;
Parameter |
Name |
Description |
value |
boolean
The includeAttributes to set.
|
setIncludeBoundingBoxes(boolean value)
public PersonDetectionConfig.Builder setIncludeBoundingBoxes(boolean value)
Whether bounding boxes are included in the person detection annotation
output.
bool include_bounding_boxes = 1;
Parameter |
Name |
Description |
value |
boolean
The includeBoundingBoxes to set.
|
setIncludePoseLandmarks(boolean value)
public 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;
Parameter |
Name |
Description |
value |
boolean
The includePoseLandmarks to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PersonDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PersonDetectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides