public static final class PersonalProtectiveEquipmentDetectionOutput.PPEEntity extends GeneratedMessageV3 implements PersonalProtectiveEquipmentDetectionOutput.PPEEntityOrBuilder
The entity info for annotations from PPE detection prediction result.
Protobuf type
google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PersonalProtectiveEquipmentDetectionOutput.PPEEntityStatic Fields
PPE_ENTITY_ID_FIELD_NUMBER
public static final int PPE_ENTITY_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PPE_LABEL_ID_FIELD_NUMBER
public static final int PPE_LABEL_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PPE_LABEL_STRING_FIELD_NUMBER
public static final int PPE_LABEL_STRING_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PPE_SUPERCATEGORY_LABEL_STRING_FIELD_NUMBER
public static final int PPE_SUPERCATEGORY_LABEL_STRING_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity getDefaultInstance()
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder newBuilder()
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder |
newBuilder(PersonalProtectiveEquipmentDetectionOutput.PPEEntity prototype)
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder newBuilder(PersonalProtectiveEquipmentDetectionOutput.PPEEntity prototype)
Parameter | |
---|---|
Name | Description |
prototype |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder |
parseDelimitedFrom(InputStream input)
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PersonalProtectiveEquipmentDetectionOutput.PPEEntity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PersonalProtectiveEquipmentDetectionOutput.PPEEntity> parser()
Returns | |
---|---|
Type | Description |
Parser<PPEEntity> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public PersonalProtectiveEquipmentDetectionOutput.PPEEntity getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity |
getParserForType()
public Parser<PersonalProtectiveEquipmentDetectionOutput.PPEEntity> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<PPEEntity> |
getPpeEntityId()
public long getPpeEntityId()
Entity id.
int64 ppe_entity_id = 4;
Returns | |
---|---|
Type | Description |
long |
The ppeEntityId. |
getPpeLabelId()
public long getPpeLabelId()
Label id.
int64 ppe_label_id = 1;
Returns | |
---|---|
Type | Description |
long |
The ppeLabelId. |
getPpeLabelString()
public String getPpeLabelString()
Human readable string of the label (Examples: helmet, glove, mask).
string ppe_label_string = 2;
Returns | |
---|---|
Type | Description |
String |
The ppeLabelString. |
getPpeLabelStringBytes()
public ByteString getPpeLabelStringBytes()
Human readable string of the label (Examples: helmet, glove, mask).
string ppe_label_string = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ppeLabelString. |
getPpeSupercategoryLabelString()
public String getPpeSupercategoryLabelString()
Human readable string of the super category label (Examples: head_cover, hands_cover, face_cover).
string ppe_supercategory_label_string = 3;
Returns | |
---|---|
Type | Description |
String |
The ppeSupercategoryLabelString. |
getPpeSupercategoryLabelStringBytes()
public ByteString getPpeSupercategoryLabelStringBytes()
Human readable string of the super category label (Examples: head_cover, hands_cover, face_cover).
string ppe_supercategory_label_string = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ppeSupercategoryLabelString. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder toBuilder()
Returns | |
---|---|
Type | Description |
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |