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
Inherited Members
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()
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;
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;
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;
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)
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)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PersonalProtectiveEquipmentDetectionOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
getCurrentTimeOrBuilder()
public TimestampOrBuilder getCurrentTimeOrBuilder()
Current timestamp.
.google.protobuf.Timestamp current_time = 1;
getDefaultInstanceForType()
public PersonalProtectiveEquipmentDetectionOutput getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCurrentTime(Timestamp value)
public PersonalProtectiveEquipmentDetectionOutput.Builder mergeCurrentTime(Timestamp value)
Current timestamp.
.google.protobuf.Timestamp current_time = 1;
mergeFrom(PersonalProtectiveEquipmentDetectionOutput other)
public PersonalProtectiveEquipmentDetectionOutput.Builder mergeFrom(PersonalProtectiveEquipmentDetectionOutput other)
public PersonalProtectiveEquipmentDetectionOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
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)
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;
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public PersonalProtectiveEquipmentDetectionOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PersonalProtectiveEquipmentDetectionOutput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PersonalProtectiveEquipmentDetectionOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides