Class PersonalProtectiveEquipmentDetectionConfig (0.14.1)

public final class PersonalProtectiveEquipmentDetectionConfig extends GeneratedMessageV3 implements PersonalProtectiveEquipmentDetectionConfigOrBuilder

Message describing PersonalProtectiveEquipmentDetectionConfig.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PersonalProtectiveEquipmentDetectionConfig

Static Fields

ENABLE_FACE_COVERAGE_DETECTION_FIELD_NUMBER

public static final int ENABLE_FACE_COVERAGE_DETECTION_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_HANDS_COVERAGE_DETECTION_FIELD_NUMBER

public static final int ENABLE_HANDS_COVERAGE_DETECTION_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_HEAD_COVERAGE_DETECTION_FIELD_NUMBER

public static final int ENABLE_HEAD_COVERAGE_DETECTION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PersonalProtectiveEquipmentDetectionConfig getDefaultInstance()
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig

getDescriptor()

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

newBuilder()

public static PersonalProtectiveEquipmentDetectionConfig.Builder newBuilder()
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder

newBuilder(PersonalProtectiveEquipmentDetectionConfig prototype)

public static PersonalProtectiveEquipmentDetectionConfig.Builder newBuilder(PersonalProtectiveEquipmentDetectionConfig prototype)
Parameter
NameDescription
prototypePersonalProtectiveEquipmentDetectionConfig
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder

parseDelimitedFrom(InputStream input)

public static PersonalProtectiveEquipmentDetectionConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PersonalProtectiveEquipmentDetectionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PersonalProtectiveEquipmentDetectionConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PersonalProtectiveEquipmentDetectionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PersonalProtectiveEquipmentDetectionConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PersonalProtectiveEquipmentDetectionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PersonalProtectiveEquipmentDetectionConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PersonalProtectiveEquipmentDetectionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PersonalProtectiveEquipmentDetectionConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PersonalProtectiveEquipmentDetectionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PersonalProtectiveEquipmentDetectionConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PersonalProtectiveEquipmentDetectionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PersonalProtectiveEquipmentDetectionConfig> parser()
Returns
TypeDescription
Parser<PersonalProtectiveEquipmentDetectionConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PersonalProtectiveEquipmentDetectionConfig getDefaultInstanceForType()
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig

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.

getParserForType()

public Parser<PersonalProtectiveEquipmentDetectionConfig> getParserForType()
Returns
TypeDescription
Parser<PersonalProtectiveEquipmentDetectionConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PersonalProtectiveEquipmentDetectionConfig.Builder newBuilderForType()
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PersonalProtectiveEquipmentDetectionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PersonalProtectiveEquipmentDetectionConfig.Builder toBuilder()
Returns
TypeDescription
PersonalProtectiveEquipmentDetectionConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException