Package com.google.cloud.visionai.v1
Class PersonalProtectiveEquipmentDetectionOutput.DetectedPerson
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson
- All Implemented Interfaces:
PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- PersonalProtectiveEquipmentDetectionOutput
public static final class PersonalProtectiveEquipmentDetectionOutput.DetectedPerson
extends com.google.protobuf.GeneratedMessage
implements PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder
Detected Person contains the detected person and their associated ppes and their protecting information.Protobuf type
google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetected Person contains the detected person and their associated ppes and their protecting information.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanfloatCoverage score for body.static final com.google.protobuf.Descriptors.DescriptorThe info of detected person identified box.The info of detected person identified box.getDetectedPpeIdentifiedBoxes(int index) The info of detected person associated ppe identified boxes.intThe info of detected person associated ppe identified boxes.The info of detected person associated ppe identified boxes.getDetectedPpeIdentifiedBoxesOrBuilder(int index) The info of detected person associated ppe identified boxes.The info of detected person associated ppe identified boxes.floatCoverage score for eyes.floatCoverage score for each body part.floatCoverage score for feet.floatCoverage score for hands.floatCoverage score for head.com.google.protobuf.Parser<PersonalProtectiveEquipmentDetectionOutput.DetectedPerson>longThe id of detected person.intbooleanCoverage score for body.booleanThe info of detected person identified box.booleanCoverage score for eyes.booleanCoverage score for each body part.booleanCoverage score for feet.booleanCoverage score for hands.inthashCode()booleanCoverage score for head.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PersonalProtectiveEquipmentDetectionOutput.DetectedPerson>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PERSON_ID_FIELD_NUMBER
public static final int PERSON_ID_FIELD_NUMBER- See Also:
-
DETECTED_PERSON_IDENTIFIED_BOX_FIELD_NUMBER
public static final int DETECTED_PERSON_IDENTIFIED_BOX_FIELD_NUMBER- See Also:
-
DETECTED_PPE_IDENTIFIED_BOXES_FIELD_NUMBER
public static final int DETECTED_PPE_IDENTIFIED_BOXES_FIELD_NUMBER- See Also:
-
FACE_COVERAGE_SCORE_FIELD_NUMBER
public static final int FACE_COVERAGE_SCORE_FIELD_NUMBER- See Also:
-
EYES_COVERAGE_SCORE_FIELD_NUMBER
public static final int EYES_COVERAGE_SCORE_FIELD_NUMBER- See Also:
-
HEAD_COVERAGE_SCORE_FIELD_NUMBER
public static final int HEAD_COVERAGE_SCORE_FIELD_NUMBER- See Also:
-
HANDS_COVERAGE_SCORE_FIELD_NUMBER
public static final int HANDS_COVERAGE_SCORE_FIELD_NUMBER- See Also:
-
BODY_COVERAGE_SCORE_FIELD_NUMBER
public static final int BODY_COVERAGE_SCORE_FIELD_NUMBER- See Also:
-
FEET_COVERAGE_SCORE_FIELD_NUMBER
public static final int FEET_COVERAGE_SCORE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getPersonId
public long getPersonId()The id of detected person.
int64 person_id = 1;- Specified by:
getPersonIdin interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- The personId.
-
hasDetectedPersonIdentifiedBox
public boolean hasDetectedPersonIdentifiedBox()The info of detected person identified box.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;- Specified by:
hasDetectedPersonIdentifiedBoxin interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- Whether the detectedPersonIdentifiedBox field is set.
-
getDetectedPersonIdentifiedBox
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox getDetectedPersonIdentifiedBox()The info of detected person identified box.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;- Specified by:
getDetectedPersonIdentifiedBoxin interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- The detectedPersonIdentifiedBox.
-
getDetectedPersonIdentifiedBoxOrBuilder
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder getDetectedPersonIdentifiedBoxOrBuilder()The info of detected person identified box.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox detected_person_identified_box = 2;- Specified by:
getDetectedPersonIdentifiedBoxOrBuilderin interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder
-
getDetectedPpeIdentifiedBoxesList
public List<PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox> getDetectedPpeIdentifiedBoxesList()The info of detected person associated ppe identified boxes.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;- Specified by:
getDetectedPpeIdentifiedBoxesListin interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder
-
getDetectedPpeIdentifiedBoxesOrBuilderList
public List<? extends PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder> getDetectedPpeIdentifiedBoxesOrBuilderList()The info of detected person associated ppe identified boxes.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;- Specified by:
getDetectedPpeIdentifiedBoxesOrBuilderListin interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder
-
getDetectedPpeIdentifiedBoxesCount
public int getDetectedPpeIdentifiedBoxesCount()The info of detected person associated ppe identified boxes.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;- Specified by:
getDetectedPpeIdentifiedBoxesCountin interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder
-
getDetectedPpeIdentifiedBoxes
public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox getDetectedPpeIdentifiedBoxes(int index) The info of detected person associated ppe identified boxes.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;- Specified by:
getDetectedPpeIdentifiedBoxesin interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder
-
getDetectedPpeIdentifiedBoxesOrBuilder
public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder getDetectedPpeIdentifiedBoxesOrBuilder(int index) The info of detected person associated ppe identified boxes.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox detected_ppe_identified_boxes = 3;- Specified by:
getDetectedPpeIdentifiedBoxesOrBuilderin interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder
-
hasFaceCoverageScore
public boolean hasFaceCoverageScore()Coverage score for each body part. Coverage score for face.
optional float face_coverage_score = 4;- Specified by:
hasFaceCoverageScorein interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- Whether the faceCoverageScore field is set.
-
getFaceCoverageScore
public float getFaceCoverageScore()Coverage score for each body part. Coverage score for face.
optional float face_coverage_score = 4;- Specified by:
getFaceCoverageScorein interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- The faceCoverageScore.
-
hasEyesCoverageScore
public boolean hasEyesCoverageScore()Coverage score for eyes.
optional float eyes_coverage_score = 5;- Specified by:
hasEyesCoverageScorein interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- Whether the eyesCoverageScore field is set.
-
getEyesCoverageScore
public float getEyesCoverageScore()Coverage score for eyes.
optional float eyes_coverage_score = 5;- Specified by:
getEyesCoverageScorein interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- The eyesCoverageScore.
-
hasHeadCoverageScore
public boolean hasHeadCoverageScore()Coverage score for head.
optional float head_coverage_score = 6;- Specified by:
hasHeadCoverageScorein interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- Whether the headCoverageScore field is set.
-
getHeadCoverageScore
public float getHeadCoverageScore()Coverage score for head.
optional float head_coverage_score = 6;- Specified by:
getHeadCoverageScorein interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- The headCoverageScore.
-
hasHandsCoverageScore
public boolean hasHandsCoverageScore()Coverage score for hands.
optional float hands_coverage_score = 7;- Specified by:
hasHandsCoverageScorein interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- Whether the handsCoverageScore field is set.
-
getHandsCoverageScore
public float getHandsCoverageScore()Coverage score for hands.
optional float hands_coverage_score = 7;- Specified by:
getHandsCoverageScorein interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- The handsCoverageScore.
-
hasBodyCoverageScore
public boolean hasBodyCoverageScore()Coverage score for body.
optional float body_coverage_score = 8;- Specified by:
hasBodyCoverageScorein interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- Whether the bodyCoverageScore field is set.
-
getBodyCoverageScore
public float getBodyCoverageScore()Coverage score for body.
optional float body_coverage_score = 8;- Specified by:
getBodyCoverageScorein interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- The bodyCoverageScore.
-
hasFeetCoverageScore
public boolean hasFeetCoverageScore()Coverage score for feet.
optional float feet_coverage_score = 9;- Specified by:
hasFeetCoverageScorein interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- Whether the feetCoverageScore field is set.
-
getFeetCoverageScore
public float getFeetCoverageScore()Coverage score for feet.
optional float feet_coverage_score = 9;- Specified by:
getFeetCoverageScorein interfacePersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder- Returns:
- The feetCoverageScore.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder newBuilder(PersonalProtectiveEquipmentDetectionOutput.DetectedPerson prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
public static com.google.protobuf.Parser<PersonalProtectiveEquipmentDetectionOutput.DetectedPerson> parser() -
getParserForType
public com.google.protobuf.Parser<PersonalProtectiveEquipmentDetectionOutput.DetectedPerson> getParserForType()- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-