Package com.google.cloud.visionai.v1
Class PersonalProtectiveEquipmentDetectionOutput.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.Builder>
com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.Builder
- All Implemented Interfaces:
PersonalProtectiveEquipmentDetectionOutputOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PersonalProtectiveEquipmentDetectionOutput
public static final class PersonalProtectiveEquipmentDetectionOutput.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.Builder>
implements PersonalProtectiveEquipmentDetectionOutputOrBuilder
Output format for Personal Protective Equipment Detection Operator.Protobuf type
google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput-
Method Summary
Modifier and TypeMethodDescriptionaddAllDetectedPersons(Iterable<? extends PersonalProtectiveEquipmentDetectionOutput.DetectedPerson> values) A list of DetectedPersons.addDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson value) A list of DetectedPersons.addDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder builderForValue) A list of DetectedPersons.A list of DetectedPersons.addDetectedPersons(PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder builderForValue) A list of DetectedPersons.A list of DetectedPersons.addDetectedPersonsBuilder(int index) A list of DetectedPersons.build()clear()Current timestamp.A list of DetectedPersons.com.google.protobuf.TimestampCurrent timestamp.com.google.protobuf.Timestamp.BuilderCurrent timestamp.com.google.protobuf.TimestampOrBuilderCurrent timestamp.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDetectedPersons(int index) A list of DetectedPersons.getDetectedPersonsBuilder(int index) A list of DetectedPersons.A list of DetectedPersons.intA list of DetectedPersons.A list of DetectedPersons.getDetectedPersonsOrBuilder(int index) A list of DetectedPersons.A list of DetectedPersons.booleanCurrent timestamp.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCurrentTime(com.google.protobuf.Timestamp value) Current timestamp.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeDetectedPersons(int index) A list of DetectedPersons.setCurrentTime(com.google.protobuf.Timestamp value) Current timestamp.setCurrentTime(com.google.protobuf.Timestamp.Builder builderForValue) Current timestamp.setDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson value) A list of DetectedPersons.setDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder builderForValue) A list of DetectedPersons.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public PersonalProtectiveEquipmentDetectionOutput.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.Builder>
-
mergeFrom
public PersonalProtectiveEquipmentDetectionOutput.Builder mergeFrom(PersonalProtectiveEquipmentDetectionOutput other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.Builder>
-
mergeFrom
public PersonalProtectiveEquipmentDetectionOutput.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.Builder>- Throws:
IOException
-
hasCurrentTime
public boolean hasCurrentTime()Current timestamp.
.google.protobuf.Timestamp current_time = 1;- Specified by:
hasCurrentTimein interfacePersonalProtectiveEquipmentDetectionOutputOrBuilder- Returns:
- Whether the currentTime field is set.
-
getCurrentTime
public com.google.protobuf.Timestamp getCurrentTime()Current timestamp.
.google.protobuf.Timestamp current_time = 1;- Specified by:
getCurrentTimein interfacePersonalProtectiveEquipmentDetectionOutputOrBuilder- Returns:
- The currentTime.
-
setCurrentTime
public PersonalProtectiveEquipmentDetectionOutput.Builder setCurrentTime(com.google.protobuf.Timestamp value) Current timestamp.
.google.protobuf.Timestamp current_time = 1; -
setCurrentTime
public PersonalProtectiveEquipmentDetectionOutput.Builder setCurrentTime(com.google.protobuf.Timestamp.Builder builderForValue) Current timestamp.
.google.protobuf.Timestamp current_time = 1; -
mergeCurrentTime
public PersonalProtectiveEquipmentDetectionOutput.Builder mergeCurrentTime(com.google.protobuf.Timestamp value) Current timestamp.
.google.protobuf.Timestamp current_time = 1; -
clearCurrentTime
Current timestamp.
.google.protobuf.Timestamp current_time = 1; -
getCurrentTimeBuilder
public com.google.protobuf.Timestamp.Builder getCurrentTimeBuilder()Current timestamp.
.google.protobuf.Timestamp current_time = 1; -
getCurrentTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCurrentTimeOrBuilder()Current timestamp.
.google.protobuf.Timestamp current_time = 1;- Specified by:
getCurrentTimeOrBuilderin interfacePersonalProtectiveEquipmentDetectionOutputOrBuilder
-
getDetectedPersonsList
A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;- Specified by:
getDetectedPersonsListin interfacePersonalProtectiveEquipmentDetectionOutputOrBuilder
-
getDetectedPersonsCount
public int getDetectedPersonsCount()A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;- Specified by:
getDetectedPersonsCountin interfacePersonalProtectiveEquipmentDetectionOutputOrBuilder
-
getDetectedPersons
A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;- Specified by:
getDetectedPersonsin interfacePersonalProtectiveEquipmentDetectionOutputOrBuilder
-
setDetectedPersons
public PersonalProtectiveEquipmentDetectionOutput.Builder setDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson value) A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2; -
setDetectedPersons
public PersonalProtectiveEquipmentDetectionOutput.Builder setDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder builderForValue) A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2; -
addDetectedPersons
public PersonalProtectiveEquipmentDetectionOutput.Builder addDetectedPersons(PersonalProtectiveEquipmentDetectionOutput.DetectedPerson value) A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2; -
addDetectedPersons
public PersonalProtectiveEquipmentDetectionOutput.Builder addDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson value) A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2; -
addDetectedPersons
public PersonalProtectiveEquipmentDetectionOutput.Builder addDetectedPersons(PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder builderForValue) A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2; -
addDetectedPersons
public PersonalProtectiveEquipmentDetectionOutput.Builder addDetectedPersons(int index, PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder builderForValue) A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2; -
addAllDetectedPersons
public PersonalProtectiveEquipmentDetectionOutput.Builder addAllDetectedPersons(Iterable<? extends PersonalProtectiveEquipmentDetectionOutput.DetectedPerson> values) A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2; -
clearDetectedPersons
A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2; -
removeDetectedPersons
A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2; -
getDetectedPersonsBuilder
public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder getDetectedPersonsBuilder(int index) A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2; -
getDetectedPersonsOrBuilder
public PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder getDetectedPersonsOrBuilder(int index) A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;- Specified by:
getDetectedPersonsOrBuilderin interfacePersonalProtectiveEquipmentDetectionOutputOrBuilder
-
getDetectedPersonsOrBuilderList
public List<? extends PersonalProtectiveEquipmentDetectionOutput.DetectedPersonOrBuilder> getDetectedPersonsOrBuilderList()A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;- Specified by:
getDetectedPersonsOrBuilderListin interfacePersonalProtectiveEquipmentDetectionOutputOrBuilder
-
addDetectedPersonsBuilder
public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder addDetectedPersonsBuilder()A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2; -
addDetectedPersonsBuilder
public PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder addDetectedPersonsBuilder(int index) A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2; -
getDetectedPersonsBuilderList
public List<PersonalProtectiveEquipmentDetectionOutput.DetectedPerson.Builder> getDetectedPersonsBuilderList()A list of DetectedPersons.
repeated .google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson detected_persons = 2;
-