public static final class PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox extends GeneratedMessageV3 implements PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder
PersonIdentified box contains the location and the entity info of the
person.
Protobuf type
google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox
Inherited Members
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
BOX_ID_FIELD_NUMBER
public static final int BOX_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CONFIDENCE_SCORE_FIELD_NUMBER
public static final int CONFIDENCE_SCORE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NORMALIZED_BOUNDING_BOX_FIELD_NUMBER
public static final int NORMALIZED_BOUNDING_BOX_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PERSON_ENTITY_FIELD_NUMBER
public static final int PERSON_ENTITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder newBuilder()
newBuilder(PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox prototype)
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder newBuilder(PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox prototype)
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox parseDelimitedFrom(InputStream input)
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox parseFrom(CodedInputStream input)
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox parseFrom(InputStream input)
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBoxId()
An unique id for this box.
int64 box_id = 1;
Returns |
Type |
Description |
long |
The boxId.
|
getConfidenceScore()
public float getConfidenceScore()
Confidence score associated with this box.
float confidence_score = 3;
Returns |
Type |
Description |
float |
The confidenceScore.
|
getDefaultInstanceForType()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox getDefaultInstanceForType()
getNormalizedBoundingBox()
public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox getNormalizedBoundingBox()
Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;
getNormalizedBoundingBoxOrBuilder()
public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder()
Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;
getParserForType()
public Parser<PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox> getParserForType()
Overrides
getPersonEntity()
public PersonalProtectiveEquipmentDetectionOutput.PersonEntity getPersonEntity()
Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;
getPersonEntityOrBuilder()
public PersonalProtectiveEquipmentDetectionOutput.PersonEntityOrBuilder getPersonEntityOrBuilder()
Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasNormalizedBoundingBox()
public boolean hasNormalizedBoundingBox()
Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;
Returns |
Type |
Description |
boolean |
Whether the normalizedBoundingBox field is set.
|
hasPersonEntity()
public boolean hasPersonEntity()
Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;
Returns |
Type |
Description |
boolean |
Whether the personEntity field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides