Package com.google.cloud.visionai.v1
Class PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder>
com.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder
- All Implemented Interfaces:
PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox
public static final class PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder>
implements PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder
PPEIdentified box contains the location and the entity info of the PPE.Protobuf type
google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()An unique id for this box.Confidence score associated with this box.Bounding Box in the normalized coordinates.PPE 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.PPE entity info.PPE entity info.PPE entity info.booleanBounding Box in the normalized coordinates.booleanPPE 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.PPE 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.PPE entity info.setPpeEntity(PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder builderForValue) PPE 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.PPEIdentifiedBox.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.PPEIdentifiedBox.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.PPEIdentifiedBox.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.PPEIdentifiedBox.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder>
-
mergeFrom
public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.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.PPEIdentifiedBox.Builder>- Throws:
IOException
-
getBoxId
public long getBoxId()An unique id for this box.
int64 box_id = 1;- Specified by:
getBoxIdin interfacePersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder- 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.PPEIdentifiedBoxOrBuilder- 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.PPEIdentifiedBoxOrBuilder- Returns:
- The normalizedBoundingBox.
-
setNormalizedBoundingBox
public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder setNormalizedBoundingBox(PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox value) Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2; -
setNormalizedBoundingBox
public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.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.PPEIdentifiedBox.Builder mergeNormalizedBoundingBox(PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox value) Bounding Box in the normalized coordinates.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox normalized_bounding_box = 2; -
clearNormalizedBoundingBox
public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.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.PPEIdentifiedBoxOrBuilder
-
getConfidenceScore
public float getConfidenceScore()Confidence score associated with this box.
float confidence_score = 3;- Specified by:
getConfidenceScorein interfacePersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder- Returns:
- The confidenceScore.
-
setConfidenceScore
public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.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
Confidence score associated with this box.
float confidence_score = 3;- Returns:
- This builder for chaining.
-
hasPpeEntity
public boolean hasPpeEntity()PPE entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity ppe_entity = 4;- Specified by:
hasPpeEntityin interfacePersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder- Returns:
- Whether the ppeEntity field is set.
-
getPpeEntity
PPE entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity ppe_entity = 4;- Specified by:
getPpeEntityin interfacePersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder- Returns:
- The ppeEntity.
-
setPpeEntity
public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder setPpeEntity(PersonalProtectiveEquipmentDetectionOutput.PPEEntity value) PPE entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity ppe_entity = 4; -
setPpeEntity
public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder setPpeEntity(PersonalProtectiveEquipmentDetectionOutput.PPEEntity.Builder builderForValue) PPE entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity ppe_entity = 4; -
mergePpeEntity
public PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox.Builder mergePpeEntity(PersonalProtectiveEquipmentDetectionOutput.PPEEntity value) PPE entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity ppe_entity = 4; -
clearPpeEntity
PPE entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity ppe_entity = 4; -
getPpeEntityBuilder
PPE entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity ppe_entity = 4; -
getPpeEntityOrBuilder
PPE entity info.
.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity ppe_entity = 4;- Specified by:
getPpeEntityOrBuilderin interfacePersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBoxOrBuilder
-