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.Builder
addAllBoundingBoxes(Iterable<? extends BoundingBox> values)
Bounding boxes locating the pixels within the image containing the finding.ImageLocation.Builder
addBoundingBoxes(int index, BoundingBox value)
Bounding boxes locating the pixels within the image containing the finding.ImageLocation.Builder
addBoundingBoxes(int index, BoundingBox.Builder builderForValue)
Bounding boxes locating the pixels within the image containing the finding.ImageLocation.Builder
addBoundingBoxes(BoundingBox value)
Bounding boxes locating the pixels within the image containing the finding.ImageLocation.Builder
addBoundingBoxes(BoundingBox.Builder builderForValue)
Bounding boxes locating the pixels within the image containing the finding.BoundingBox.Builder
addBoundingBoxesBuilder()
Bounding boxes locating the pixels within the image containing the finding.BoundingBox.Builder
addBoundingBoxesBuilder(int index)
Bounding boxes locating the pixels within the image containing the finding.ImageLocation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ImageLocation
build()
ImageLocation
buildPartial()
ImageLocation.Builder
clear()
ImageLocation.Builder
clearBoundingBoxes()
Bounding boxes locating the pixels within the image containing the finding.ImageLocation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ImageLocation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ImageLocation.Builder
clone()
BoundingBox
getBoundingBoxes(int index)
Bounding boxes locating the pixels within the image containing the finding.BoundingBox.Builder
getBoundingBoxesBuilder(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.int
getBoundingBoxesCount()
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.BoundingBoxOrBuilder
getBoundingBoxesOrBuilder(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.ImageLocation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ImageLocation.Builder
mergeFrom(ImageLocation other)
ImageLocation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ImageLocation.Builder
mergeFrom(com.google.protobuf.Message other)
ImageLocation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ImageLocation.Builder
removeBoundingBoxes(int index)
Bounding boxes locating the pixels within the image containing the finding.ImageLocation.Builder
setBoundingBoxes(int index, BoundingBox value)
Bounding boxes locating the pixels within the image containing the finding.ImageLocation.Builder
setBoundingBoxes(int index, BoundingBox.Builder builderForValue)
Bounding boxes locating the pixels within the image containing the finding.ImageLocation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ImageLocation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ImageLocation.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
clear
public ImageLocation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
getDefaultInstanceForType
public ImageLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ImageLocation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ImageLocation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ImageLocation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
setField
public ImageLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
clearField
public ImageLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
clearOneof
public ImageLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
setRepeatedField
public ImageLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
addRepeatedField
public ImageLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
mergeFrom
public ImageLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ImageLocation.Builder>
-
mergeFrom
public ImageLocation.Builder mergeFrom(ImageLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getBoundingBoxesList
in 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:
getBoundingBoxesCount
in 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:
getBoundingBoxes
in 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:
getBoundingBoxesOrBuilder
in 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:
getBoundingBoxesOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
mergeUnknownFields
public final ImageLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImageLocation.Builder>
-
-