Package com.google.cloud.visionai.v1
Class PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder>
com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder
- All Implemented Interfaces:
PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox
public static final class PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder>
implements PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder
PersonIdentified box contains the location and the entity info of the person.Protobuf type
google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()An unique id for this box.Confidence score associated with this box.Bounding Box in the normalized coordinates.Person entity info.longgetBoxId()An unique id for this box.floatConfidence score associated with this box.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorBounding Box in the normalized coordinates.Bounding Box in the normalized coordinates.Bounding Box in the normalized coordinates.Person entity info.Person entity info.Person entity info.booleanBounding Box in the normalized coordinates.booleanPerson entity info.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Bounding Box in the normalized coordinates.Person entity info.setBoxId(long value) An unique id for this box.setConfidenceScore(float value) Confidence score associated with this box.Bounding Box in the normalized coordinates.setNormalizedBoundingBox(PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder builderForValue) Bounding Box in the normalized coordinates.Person entity info.Person entity info.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.PersonIdentifiedBox.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.PersonIdentifiedBox.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.PersonIdentifiedBox.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.PersonIdentifiedBox.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder>
-
mergeFrom
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.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.PersonIdentifiedBox.Builder>- Throws:
IOException
-
getBoxId
public long getBoxId()An unique id for this box.
int64 box_id = 1;- Specified by:
getBoxIdin interfacePersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder- Returns:
- The boxId.
-
setBoxId
An unique id for this box.
int64 box_id = 1;- Parameters:
value- The boxId to set.- Returns:
- This builder for chaining.
-
clearBoxId
An unique id for this box.
int64 box_id = 1;- Returns:
- This builder for chaining.
-
hasNormalizedBoundingBox
public boolean hasNormalizedBoundingBox()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;- Specified by:
hasNormalizedBoundingBoxin interfacePersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder- Returns:
- Whether the normalizedBoundingBox field is set.
-
getNormalizedBoundingBox
Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;- Specified by:
getNormalizedBoundingBoxin interfacePersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder- Returns:
- The normalizedBoundingBox.
-
setNormalizedBoundingBox
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setNormalizedBoundingBox(PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox value) Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2; -
setNormalizedBoundingBox
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setNormalizedBoundingBox(PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder builderForValue) Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2; -
mergeNormalizedBoundingBox
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder mergeNormalizedBoundingBox(PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox value) Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2; -
clearNormalizedBoundingBox
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clearNormalizedBoundingBox()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2; -
getNormalizedBoundingBoxBuilder
public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox.Builder getNormalizedBoundingBoxBuilder()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2; -
getNormalizedBoundingBoxOrBuilder
public PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder()Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2;- Specified by:
getNormalizedBoundingBoxOrBuilderin interfacePersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder
-
getConfidenceScore
public float getConfidenceScore()Confidence score associated with this box.
float confidence_score = 3;- Specified by:
getConfidenceScorein interfacePersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder- Returns:
- The confidenceScore.
-
setConfidenceScore
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setConfidenceScore(float value) Confidence score associated with this box.
float confidence_score = 3;- Parameters:
value- The confidenceScore to set.- Returns:
- This builder for chaining.
-
clearConfidenceScore
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder clearConfidenceScore()Confidence score associated with this box.
float confidence_score = 3;- Returns:
- This builder for chaining.
-
hasPersonEntity
public boolean hasPersonEntity()Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;- Specified by:
hasPersonEntityin interfacePersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder- Returns:
- Whether the personEntity field is set.
-
getPersonEntity
Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;- Specified by:
getPersonEntityin interfacePersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder- Returns:
- The personEntity.
-
setPersonEntity
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setPersonEntity(PersonalProtectiveEquipmentDetectionOutput.PersonEntity value) Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4; -
setPersonEntity
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder setPersonEntity(PersonalProtectiveEquipmentDetectionOutput.PersonEntity.Builder builderForValue) Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4; -
mergePersonEntity
public PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox.Builder mergePersonEntity(PersonalProtectiveEquipmentDetectionOutput.PersonEntity value) Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4; -
clearPersonEntity
Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4; -
getPersonEntityBuilder
Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4; -
getPersonEntityOrBuilder
Person entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity person_entity = 4;- Specified by:
getPersonEntityOrBuilderin interfacePersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBoxOrBuilder
-