public static final class SdpImageFindingLocation.Builder extends GeneratedMessage.Builder<SdpImageFindingLocation.Builder> implements SdpImageFindingLocationOrBuilder
Location of the finding within an image.
Protobuf type google.cloud.modelarmor.v1.SdpImageFindingLocation
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllBoundingBoxes(Iterable<? extends SdpImageFindingLocation.SdpBoundingBox> values)
public SdpImageFindingLocation.Builder addAllBoundingBoxes(Iterable<? extends SdpImageFindingLocation.SdpBoundingBox> values)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox>
|
addBoundingBoxes(SdpImageFindingLocation.SdpBoundingBox value)
public SdpImageFindingLocation.Builder addBoundingBoxes(SdpImageFindingLocation.SdpBoundingBox value)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
addBoundingBoxes(SdpImageFindingLocation.SdpBoundingBox.Builder builderForValue)
public SdpImageFindingLocation.Builder addBoundingBoxes(SdpImageFindingLocation.SdpBoundingBox.Builder builderForValue)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
addBoundingBoxes(int index, SdpImageFindingLocation.SdpBoundingBox value)
public SdpImageFindingLocation.Builder addBoundingBoxes(int index, SdpImageFindingLocation.SdpBoundingBox value)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
addBoundingBoxes(int index, SdpImageFindingLocation.SdpBoundingBox.Builder builderForValue)
public SdpImageFindingLocation.Builder addBoundingBoxes(int index, SdpImageFindingLocation.SdpBoundingBox.Builder builderForValue)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
addBoundingBoxesBuilder()
public SdpImageFindingLocation.SdpBoundingBox.Builder addBoundingBoxesBuilder()
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
addBoundingBoxesBuilder(int index)
public SdpImageFindingLocation.SdpBoundingBox.Builder addBoundingBoxesBuilder(int index)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
| Parameter |
| Name |
Description |
index |
int
|
build()
public SdpImageFindingLocation build()
buildPartial()
public SdpImageFindingLocation buildPartial()
clear()
public SdpImageFindingLocation.Builder clear()
Overrides
clearBoundingBoxes()
public SdpImageFindingLocation.Builder clearBoundingBoxes()
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
getBoundingBoxes(int index)
public SdpImageFindingLocation.SdpBoundingBox getBoundingBoxes(int index)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
| Parameter |
| Name |
Description |
index |
int
|
getBoundingBoxesBuilder(int index)
public SdpImageFindingLocation.SdpBoundingBox.Builder getBoundingBoxesBuilder(int index)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
| Parameter |
| Name |
Description |
index |
int
|
getBoundingBoxesBuilderList()
public List<SdpImageFindingLocation.SdpBoundingBox.Builder> getBoundingBoxesBuilderList()
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
getBoundingBoxesCount()
public int getBoundingBoxesCount()
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
| Returns |
| Type |
Description |
int |
|
getBoundingBoxesList()
public List<SdpImageFindingLocation.SdpBoundingBox> getBoundingBoxesList()
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
getBoundingBoxesOrBuilder(int index)
public SdpImageFindingLocation.SdpBoundingBoxOrBuilder getBoundingBoxesOrBuilder(int index)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
| Parameter |
| Name |
Description |
index |
int
|
getBoundingBoxesOrBuilderList()
public List<? extends SdpImageFindingLocation.SdpBoundingBoxOrBuilder> getBoundingBoxesOrBuilderList()
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBoxOrBuilder> |
|
getDefaultInstanceForType()
public SdpImageFindingLocation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SdpImageFindingLocation other)
public SdpImageFindingLocation.Builder mergeFrom(SdpImageFindingLocation other)
public SdpImageFindingLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SdpImageFindingLocation.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeBoundingBoxes(int index)
public SdpImageFindingLocation.Builder removeBoundingBoxes(int index)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
| Parameter |
| Name |
Description |
index |
int
|
setBoundingBoxes(int index, SdpImageFindingLocation.SdpBoundingBox value)
public SdpImageFindingLocation.Builder setBoundingBoxes(int index, SdpImageFindingLocation.SdpBoundingBox value)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;
setBoundingBoxes(int index, SdpImageFindingLocation.SdpBoundingBox.Builder builderForValue)
public SdpImageFindingLocation.Builder setBoundingBoxes(int index, SdpImageFindingLocation.SdpBoundingBox.Builder builderForValue)
Bounding boxes locating the pixels within the image containing the finding.
repeated .google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox bounding_boxes = 1;