Class PersonalProtectiveEquipmentDetectionOutput.Builder (0.15.0)

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

Output format for Personal Protective Equipment Detection Operator.

Protobuf type google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addAllDetectedPersons(Iterable<? extends PersonalProtectiveEquipmentDetectionOutput.DetectedPerson> values)

public PersonalProtectiveEquipmentDetectionOutput.Builder addAllDetectedPersons(Iterable<? extends PersonalProtectiveEquipmentDetectionOutput.DetectedPerson> values)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson>

addDetectedPersons(PersonalProtectiveEquipmentDetectionOutput.DetectedPerson value)

public PersonalProtectiveEquipmentDetectionOutput.Builder addDetectedPersons(PersonalProtectiveEquipmentDetectionOutput.DetectedPerson value)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

addDetectedPersons(PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder builderForValue)

public PersonalProtectiveEquipmentDetectionOutput.Builder addDetectedPersons(PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder builderForValue)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Parameter
Name Description
builderForValue PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

addDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson value)

public PersonalProtectiveEquipmentDetectionOutput.Builder addDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson value)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Parameters
Name Description
index int
value PersonalProtectiveEquipmentDetectionOutput.DetectedPerson

addDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder builderForValue)

public PersonalProtectiveEquipmentDetectionOutput.Builder addDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder builderForValue)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Parameters
Name Description
index int
builderForValue PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

addDetectedPersonsBuilder()

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder addDetectedPersonsBuilder()

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

addDetectedPersonsBuilder(int index)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder addDetectedPersonsBuilder(int index)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Parameter
Name Description
index int

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PersonalProtectiveEquipmentDetectionOutput build()

buildPartial()

public PersonalProtectiveEquipmentDetectionOutput buildPartial()

clear()

public PersonalProtectiveEquipmentDetectionOutput.Builder clear()
Overrides

clearCurrentTime()

public PersonalProtectiveEquipmentDetectionOutput.Builder clearCurrentTime()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

clearDetectedPersons()

public PersonalProtectiveEquipmentDetectionOutput.Builder clearDetectedPersons()

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public PersonalProtectiveEquipmentDetectionOutput.Builder clone()
Overrides

getCurrentTime()

public Timestamp getCurrentTime()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
Timestamp

The currentTime.

getCurrentTimeBuilder()

public Timestamp.Builder getCurrentTimeBuilder()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
Builder

getCurrentTimeOrBuilder()

public TimestampOrBuilder getCurrentTimeOrBuilder()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public PersonalProtectiveEquipmentDetectionOutput getDefaultInstanceForType()

getDescriptorForType()

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

getDetectedPersons(int index)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson getDetectedPersons(int index)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Parameter
Name Description
index int

getDetectedPersonsBuilder(int index)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder getDetectedPersonsBuilder(int index)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Parameter
Name Description
index int

getDetectedPersonsBuilderList()

public List<PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder> getDetectedPersonsBuilderList()

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Returns
Type Description
List<Builder>

getDetectedPersonsCount()

public int getDetectedPersonsCount()

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Returns
Type Description
int

getDetectedPersonsList()

public List<PersonalProtectiveEquipmentDetectionOutput.DetectedPerson> getDetectedPersonsList()

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Returns
Type Description
List<DetectedPerson>

getDetectedPersonsOrBuilder(int index)

public PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder getDetectedPersonsOrBuilder(int index)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Parameter
Name Description
index int

getDetectedPersonsOrBuilderList()

public List<? extends PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder> getDetectedPersonsOrBuilderList()

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder>

hasCurrentTime()

public boolean hasCurrentTime()

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Returns
Type Description
boolean

Whether the currentTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCurrentTime(Timestamp value)

public PersonalProtectiveEquipmentDetectionOutput.Builder mergeCurrentTime(Timestamp value)

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Parameter
Name Description
value Timestamp

mergeFrom(PersonalProtectiveEquipmentDetectionOutput other)

public PersonalProtectiveEquipmentDetectionOutput.Builder mergeFrom(PersonalProtectiveEquipmentDetectionOutput other)
Parameter
Name Description
other PersonalProtectiveEquipmentDetectionOutput

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDetectedPersons(int index)

public PersonalProtectiveEquipmentDetectionOutput.Builder removeDetectedPersons(int index)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Parameter
Name Description
index int

setCurrentTime(Timestamp value)

public PersonalProtectiveEquipmentDetectionOutput.Builder setCurrentTime(Timestamp value)

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Parameter
Name Description
value Timestamp

setCurrentTime(Timestamp.Builder builderForValue)

public PersonalProtectiveEquipmentDetectionOutput.Builder setCurrentTime(Timestamp.Builder builderForValue)

Current timestamp.

.google.protobuf.Timestamp current_time = 1;

Parameter
Name Description
builderForValue Builder

setDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson value)

public PersonalProtectiveEquipmentDetectionOutput.Builder setDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson value)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Parameters
Name Description
index int
value PersonalProtectiveEquipmentDetectionOutput.DetectedPerson

setDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder builderForValue)

public PersonalProtectiveEquipmentDetectionOutput.Builder setDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder builderForValue)

A list of DetectedPersons.

repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;

Parameters
Name Description
index int
builderForValue PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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