Class PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder (0.11.0)

public static final class PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder extends GeneratedMessageV3.Builder<PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder> implements PersonalProtectiveEquipmentDetectionOutput.PPEEntityOrBuilder

The entity info for annotations from PPE detection prediction result.

Protobuf type google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder
Overrides

build()

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity build()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity

buildPartial()

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity buildPartial()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity

clear()

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder clear()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder
Overrides

clearPpeEntityId()

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder clearPpeEntityId()

Entity id.

int64 ppe_entity_id = 4;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder

This builder for chaining.

clearPpeLabelId()

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder clearPpeLabelId()

Label id.

int64 ppe_label_id = 1;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder

This builder for chaining.

clearPpeLabelString()

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder clearPpeLabelString()

Human readable string of the label (Examples: helmet, glove, mask).

string ppe_label_string = 2;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder

This builder for chaining.

clearPpeSupercategoryLabelString()

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder clearPpeSupercategoryLabelString()

Human readable string of the super category label (Examples: head_cover, hands_cover, face_cover).

string ppe_supercategory_label_string = 3;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder

This builder for chaining.

clone()

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder clone()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder
Overrides

getDefaultInstanceForType()

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity getDefaultInstanceForType()
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PersonalProtectiveEquipmentDetectionOutput.PPEEntity other)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder mergeFrom(PersonalProtectiveEquipmentDetectionOutput.PPEEntity other)
Parameter
Name Description
other PersonalProtectiveEquipmentDetectionOutput.PPEEntity
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder
Overrides

setPpeEntityId(long value)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder setPpeEntityId(long value)

Entity id.

int64 ppe_entity_id = 4;

Parameter
Name Description
value long

The ppeEntityId to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder

This builder for chaining.

setPpeLabelId(long value)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder setPpeLabelId(long value)

Label id.

int64 ppe_label_id = 1;

Parameter
Name Description
value long

The ppeLabelId to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder

This builder for chaining.

setPpeLabelString(String value)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder setPpeLabelString(String value)

Human readable string of the label (Examples: helmet, glove, mask).

string ppe_label_string = 2;

Parameter
Name Description
value String

The ppeLabelString to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder

This builder for chaining.

setPpeLabelStringBytes(ByteString value)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder setPpeLabelStringBytes(ByteString value)

Human readable string of the label (Examples: helmet, glove, mask).

string ppe_label_string = 2;

Parameter
Name Description
value ByteString

The bytes for ppeLabelString to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder

This builder for chaining.

setPpeSupercategoryLabelString(String value)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder setPpeSupercategoryLabelString(String value)

Human readable string of the super category label (Examples: head_cover, hands_cover, face_cover).

string ppe_supercategory_label_string = 3;

Parameter
Name Description
value String

The ppeSupercategoryLabelString to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder

This builder for chaining.

setPpeSupercategoryLabelStringBytes(ByteString value)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder setPpeSupercategoryLabelStringBytes(ByteString value)

Human readable string of the super category label (Examples: head_cover, hands_cover, face_cover).

string ppe_supercategory_label_string = 3;

Parameter
Name Description
value ByteString

The bytes for ppeSupercategoryLabelString to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder
Overrides