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

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()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PersonalProtectiveEquipmentDetectionConfig build()

buildPartial()

public PersonalProtectiveEquipmentDetectionConfig buildPartial()

clear()

public PersonalProtectiveEquipmentDetectionConfig.Builder clear()
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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public PersonalProtectiveEquipmentDetectionConfig.Builder clone()
Overrides

getDefaultInstanceForType()

public PersonalProtectiveEquipmentDetectionConfig getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PersonalProtectiveEquipmentDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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