Package com.google.privacy.dlp.v2
Class ImageLocation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
- com.google.privacy.dlp.v2.ImageLocation.Builder
-
- All Implemented Interfaces:
ImageLocationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImageLocation
public static final class ImageLocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder> implements ImageLocationOrBuilder
Location of the finding within an image.
Protobuf typegoogle.privacy.dlp.v2.ImageLocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageLocation.BuilderaddAllBoundingBoxes(Iterable<? extends BoundingBox> values)Bounding boxes locating the pixels within the image containing the finding.ImageLocation.BuilderaddBoundingBoxes(int index, BoundingBox value)Bounding boxes locating the pixels within the image containing the finding.ImageLocation.BuilderaddBoundingBoxes(int index, BoundingBox.Builder builderForValue)Bounding boxes locating the pixels within the image containing the finding.ImageLocation.BuilderaddBoundingBoxes(BoundingBox value)Bounding boxes locating the pixels within the image containing the finding.ImageLocation.BuilderaddBoundingBoxes(BoundingBox.Builder builderForValue)Bounding boxes locating the pixels within the image containing the finding.BoundingBox.BuilderaddBoundingBoxesBuilder()Bounding boxes locating the pixels within the image containing the finding.BoundingBox.BuilderaddBoundingBoxesBuilder(int index)Bounding boxes locating the pixels within the image containing the finding.ImageLocation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ImageLocationbuild()ImageLocationbuildPartial()ImageLocation.Builderclear()ImageLocation.BuilderclearBoundingBoxes()Bounding boxes locating the pixels within the image containing the finding.ImageLocation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ImageLocation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ImageLocation.Builderclone()BoundingBoxgetBoundingBoxes(int index)Bounding boxes locating the pixels within the image containing the finding.BoundingBox.BuildergetBoundingBoxesBuilder(int index)Bounding boxes locating the pixels within the image containing the finding.List<BoundingBox.Builder>getBoundingBoxesBuilderList()Bounding boxes locating the pixels within the image containing the finding.intgetBoundingBoxesCount()Bounding boxes locating the pixels within the image containing the finding.List<BoundingBox>getBoundingBoxesList()Bounding boxes locating the pixels within the image containing the finding.BoundingBoxOrBuildergetBoundingBoxesOrBuilder(int index)Bounding boxes locating the pixels within the image containing the finding.List<? extends BoundingBoxOrBuilder>getBoundingBoxesOrBuilderList()Bounding boxes locating the pixels within the image containing the finding.ImageLocationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ImageLocation.BuildermergeFrom(ImageLocation other)ImageLocation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ImageLocation.BuildermergeFrom(com.google.protobuf.Message other)ImageLocation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ImageLocation.BuilderremoveBoundingBoxes(int index)Bounding boxes locating the pixels within the image containing the finding.ImageLocation.BuildersetBoundingBoxes(int index, BoundingBox value)Bounding boxes locating the pixels within the image containing the finding.ImageLocation.BuildersetBoundingBoxes(int index, BoundingBox.Builder builderForValue)Bounding boxes locating the pixels within the image containing the finding.ImageLocation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ImageLocation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ImageLocation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
clear
public ImageLocation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.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.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
getDefaultInstanceForType
public ImageLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ImageLocation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ImageLocation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ImageLocation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
setField
public ImageLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
clearField
public ImageLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
clearOneof
public ImageLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
setRepeatedField
public ImageLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
addRepeatedField
public ImageLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
mergeFrom
public ImageLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImageLocation.Builder>
-
mergeFrom
public ImageLocation.Builder mergeFrom(ImageLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
mergeFrom
public ImageLocation.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<ImageLocation.Builder>- Throws:
IOException
-
getBoundingBoxesList
public List<BoundingBox> getBoundingBoxesList()
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;- Specified by:
getBoundingBoxesListin interfaceImageLocationOrBuilder
-
getBoundingBoxesCount
public int getBoundingBoxesCount()
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;- Specified by:
getBoundingBoxesCountin interfaceImageLocationOrBuilder
-
getBoundingBoxes
public BoundingBox getBoundingBoxes(int index)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;- Specified by:
getBoundingBoxesin interfaceImageLocationOrBuilder
-
setBoundingBoxes
public ImageLocation.Builder setBoundingBoxes(int index, BoundingBox value)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
-
setBoundingBoxes
public ImageLocation.Builder setBoundingBoxes(int index, BoundingBox.Builder builderForValue)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
-
addBoundingBoxes
public ImageLocation.Builder addBoundingBoxes(BoundingBox value)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
-
addBoundingBoxes
public ImageLocation.Builder addBoundingBoxes(int index, BoundingBox value)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
-
addBoundingBoxes
public ImageLocation.Builder addBoundingBoxes(BoundingBox.Builder builderForValue)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
-
addBoundingBoxes
public ImageLocation.Builder addBoundingBoxes(int index, BoundingBox.Builder builderForValue)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
-
addAllBoundingBoxes
public ImageLocation.Builder addAllBoundingBoxes(Iterable<? extends BoundingBox> values)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
-
clearBoundingBoxes
public ImageLocation.Builder clearBoundingBoxes()
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
-
removeBoundingBoxes
public ImageLocation.Builder removeBoundingBoxes(int index)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
-
getBoundingBoxesBuilder
public BoundingBox.Builder getBoundingBoxesBuilder(int index)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
-
getBoundingBoxesOrBuilder
public BoundingBoxOrBuilder getBoundingBoxesOrBuilder(int index)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;- Specified by:
getBoundingBoxesOrBuilderin interfaceImageLocationOrBuilder
-
getBoundingBoxesOrBuilderList
public List<? extends BoundingBoxOrBuilder> getBoundingBoxesOrBuilderList()
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;- Specified by:
getBoundingBoxesOrBuilderListin interfaceImageLocationOrBuilder
-
addBoundingBoxesBuilder
public BoundingBox.Builder addBoundingBoxesBuilder()
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
-
addBoundingBoxesBuilder
public BoundingBox.Builder addBoundingBoxesBuilder(int index)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
-
getBoundingBoxesBuilderList
public List<BoundingBox.Builder> getBoundingBoxesBuilderList()
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.privacy.dlp.v2.BoundingBox bounding_boxes = 1;
-
setUnknownFields
public final ImageLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
mergeUnknownFields
public final ImageLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
-