Class PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder (0.1.0)

public static final class PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder extends GeneratedMessageV3.Builder<PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder> implements PersonalProtectiveEquipmentDetectionOutput.PersonEntityOrBuilder

The entity info for annotations from person detection prediction result.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPersonEntityId()

public PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder clearPersonEntityId()

Entity id.

int64 person_entity_id = 1;

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getPersonEntityId()

public long getPersonEntityId()

Entity id.

int64 person_entity_id = 1;

Returns
Type Description
long

The personEntityId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PersonalProtectiveEquipmentDetectionOutput.PersonEntity other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPersonEntityId(long value)

public PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder setPersonEntityId(long value)

Entity id.

int64 person_entity_id = 1;

Parameter
Name Description
value long

The personEntityId to set.

Returns
Type Description
PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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