public static final class PersonalProtectiveEquipmentDetectionConfig.Builder extends GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionConfig.Builder> implements PersonalProtectiveEquipmentDetectionConfigOrBuilderMessage describing PersonalProtectiveEquipmentDetectionConfig.
Protobuf type google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PersonalProtectiveEquipmentDetectionConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PersonalProtectiveEquipmentDetectionConfig build()| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionConfig |
|
buildPartial()
public PersonalProtectiveEquipmentDetectionConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionConfig |
|
clear()
public PersonalProtectiveEquipmentDetectionConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionConfig.Builder |
|
clearEnableFaceCoverageDetection()
public PersonalProtectiveEquipmentDetectionConfig.Builder clearEnableFaceCoverageDetection()Whether to enable face coverage detection.
bool enable_face_coverage_detection = 1;
| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionConfig.Builder |
This builder for chaining. |
clearEnableHandsCoverageDetection()
public PersonalProtectiveEquipmentDetectionConfig.Builder clearEnableHandsCoverageDetection()Whether to enable hands coverage detection.
bool enable_hands_coverage_detection = 3;
| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionConfig.Builder |
This builder for chaining. |
clearEnableHeadCoverageDetection()
public PersonalProtectiveEquipmentDetectionConfig.Builder clearEnableHeadCoverageDetection()Whether to enable head coverage detection.
bool enable_head_coverage_detection = 2;
| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PersonalProtectiveEquipmentDetectionConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnableFaceCoverageDetection()
public boolean getEnableFaceCoverageDetection()Whether to enable face coverage detection.
bool enable_face_coverage_detection = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableFaceCoverageDetection. |
getEnableHandsCoverageDetection()
public boolean getEnableHandsCoverageDetection()Whether to enable hands coverage detection.
bool enable_hands_coverage_detection = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableHandsCoverageDetection. |
getEnableHeadCoverageDetection()
public boolean getEnableHeadCoverageDetection()Whether to enable head coverage detection.
bool enable_head_coverage_detection = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableHeadCoverageDetection. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PersonalProtectiveEquipmentDetectionConfig other)
public PersonalProtectiveEquipmentDetectionConfig.Builder mergeFrom(PersonalProtectiveEquipmentDetectionConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
PersonalProtectiveEquipmentDetectionConfig |
| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PersonalProtectiveEquipmentDetectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PersonalProtectiveEquipmentDetectionConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionConfig.Builder |
|
setEnableFaceCoverageDetection(boolean value)
public PersonalProtectiveEquipmentDetectionConfig.Builder setEnableFaceCoverageDetection(boolean value)Whether to enable face coverage detection.
bool enable_face_coverage_detection = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableFaceCoverageDetection to set. |
| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionConfig.Builder |
This builder for chaining. |
setEnableHandsCoverageDetection(boolean value)
public PersonalProtectiveEquipmentDetectionConfig.Builder setEnableHandsCoverageDetection(boolean value)Whether to enable hands coverage detection.
bool enable_hands_coverage_detection = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableHandsCoverageDetection to set. |
| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionConfig.Builder |
This builder for chaining. |
setEnableHeadCoverageDetection(boolean value)
public PersonalProtectiveEquipmentDetectionConfig.Builder setEnableHeadCoverageDetection(boolean value)Whether to enable head coverage detection.
bool enable_head_coverage_detection = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableHeadCoverageDetection to set. |
| Returns | |
|---|---|
| Type | Description |
PersonalProtectiveEquipmentDetectionConfig.Builder |
This builder for chaining. |