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
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

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()

getDescriptor()

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

newBuilder()

public static PersonalProtectiveEquipmentDetectionConfig.Builder newBuilder()

newBuilder(PersonalProtectiveEquipmentDetectionConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<PersonalProtectiveEquipmentDetectionConfig> parser()

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PersonalProtectiveEquipmentDetectionConfig getDefaultInstanceForType()

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()
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()

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public PersonalProtectiveEquipmentDetectionConfig.Builder toBuilder()

writeTo(CodedOutputStream output)

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