Class PersonalProtectiveEquipmentDetectionConfig.Builder (0.14.1)

public static final class PersonalProtectiveEquipmentDetectionConfig.Builder extends GeneratedMessageV3.Builder<PersonalProtectiveEquipmentDetectionConfig.Builder> implements PersonalProtectiveEquipmentDetectionConfigOrBuilder

Message describing PersonalProtectiveEquipmentDetectionConfig.

Protobuf type google.events.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PersonalProtectiveEquipmentDetectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder
Overrides

build()

public PersonalProtectiveEquipmentDetectionConfig build()
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig

buildPartial()

public PersonalProtectiveEquipmentDetectionConfig buildPartial()
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig

clear()

public PersonalProtectiveEquipmentDetectionConfig.Builder clear()
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder
Overrides

clearEnableFaceCoverageDetection()

public PersonalProtectiveEquipmentDetectionConfig.Builder clearEnableFaceCoverageDetection()

Whether to enable face coverage detection.

bool enable_face_coverage_detection = 1;

Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder

This builder for chaining.

clearEnableHandsCoverageDetection()

public PersonalProtectiveEquipmentDetectionConfig.Builder clearEnableHandsCoverageDetection()

Whether to enable hands coverage detection.

bool enable_hands_coverage_detection = 3;

Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder

This builder for chaining.

clearEnableHeadCoverageDetection()

public PersonalProtectiveEquipmentDetectionConfig.Builder clearEnableHeadCoverageDetection()

Whether to enable head coverage detection.

bool enable_head_coverage_detection = 2;

Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PersonalProtectiveEquipmentDetectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PersonalProtectiveEquipmentDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder
Overrides

clone()

public PersonalProtectiveEquipmentDetectionConfig.Builder clone()
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder
Overrides

getDefaultInstanceForType()

public PersonalProtectiveEquipmentDetectionConfig getDefaultInstanceForType()
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnableFaceCoverageDetection()

public boolean getEnableFaceCoverageDetection()

Whether to enable face coverage detection.

bool enable_face_coverage_detection = 1;

Returns
TypeDescription
boolean

The enableFaceCoverageDetection.

getEnableHandsCoverageDetection()

public boolean getEnableHandsCoverageDetection()

Whether to enable hands coverage detection.

bool enable_hands_coverage_detection = 3;

Returns
TypeDescription
boolean

The enableHandsCoverageDetection.

getEnableHeadCoverageDetection()

public boolean getEnableHeadCoverageDetection()

Whether to enable head coverage detection.

bool enable_head_coverage_detection = 2;

Returns
TypeDescription
boolean

The enableHeadCoverageDetection.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PersonalProtectiveEquipmentDetectionConfig other)

public PersonalProtectiveEquipmentDetectionConfig.Builder mergeFrom(PersonalProtectiveEquipmentDetectionConfig other)
Parameter
NameDescription
otherPersonalProtectiveEquipmentDetectionConfig
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PersonalProtectiveEquipmentDetectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PersonalProtectiveEquipmentDetectionConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PersonalProtectiveEquipmentDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder
Overrides

setEnableFaceCoverageDetection(boolean value)

public PersonalProtectiveEquipmentDetectionConfig.Builder setEnableFaceCoverageDetection(boolean value)

Whether to enable face coverage detection.

bool enable_face_coverage_detection = 1;

Parameter
NameDescription
valueboolean

The enableFaceCoverageDetection to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The enableHandsCoverageDetection to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The enableHeadCoverageDetection to set.

Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PersonalProtectiveEquipmentDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PersonalProtectiveEquipmentDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PersonalProtectiveEquipmentDetectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder
Overrides