public static final class PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox extends GeneratedMessageV3 implements PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder
PPEIdentified box contains the location and the entity info of the PPE.
Protobuf type
google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox
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 |
|
PPE_ENTITY_FIELD_NUMBER
public static final int PPE_ENTITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder newBuilder()
newBuilder(PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox prototype)
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder newBuilder(PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox prototype)
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox parseDelimitedFrom(InputStream input)
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox parseFrom(CodedInputStream input)
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox parseFrom(InputStream input)
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox> 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.PPEIdentifiedBox 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.PPEIdentifiedBox> getParserForType()
Overrides
getPpeEntity()
public PersonalProtectiveEquipmentDetectionOutput.PPEEntity getPpeEntity()
PPE entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity ppe_entity = 4;
getPpeEntityOrBuilder()
public PersonalProtectiveEquipmentDetectionOutput.PPEEntityOrBuilder getPpeEntityOrBuilder()
PPE entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity ppe_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.
|
hasPpeEntity()
public boolean hasPpeEntity()
PPE entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity ppe_entity = 4;
Returns |
Type |
Description |
boolean |
Whether the ppeEntity field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides