Class SdpImageFindingLocation.Builder (0.36.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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>
Returns
Type Description
SdpImageFindingLocation.Builder

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;

Parameter
Name Description
value SdpImageFindingLocation.SdpBoundingBox
Returns
Type Description
SdpImageFindingLocation.Builder

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;

Parameter
Name Description
builderForValue SdpImageFindingLocation.SdpBoundingBox.Builder
Returns
Type Description
SdpImageFindingLocation.Builder

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;

Parameters
Name Description
index int
value SdpImageFindingLocation.SdpBoundingBox
Returns
Type Description
SdpImageFindingLocation.Builder

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;

Parameters
Name Description
index int
builderForValue SdpImageFindingLocation.SdpBoundingBox.Builder
Returns
Type Description
SdpImageFindingLocation.Builder

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;

Returns
Type Description
SdpImageFindingLocation.SdpBoundingBox.Builder

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
Returns
Type Description
SdpImageFindingLocation.SdpBoundingBox.Builder

build()

public SdpImageFindingLocation build()
Returns
Type Description
SdpImageFindingLocation

buildPartial()

public SdpImageFindingLocation buildPartial()
Returns
Type Description
SdpImageFindingLocation

clear()

public SdpImageFindingLocation.Builder clear()
Returns
Type Description
SdpImageFindingLocation.Builder
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;

Returns
Type Description
SdpImageFindingLocation.Builder

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
Returns
Type Description
SdpImageFindingLocation.SdpBoundingBox

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
Returns
Type Description
SdpImageFindingLocation.SdpBoundingBox.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<SdpBoundingBox>

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
Returns
Type Description
SdpImageFindingLocation.SdpBoundingBoxOrBuilder

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()
Returns
Type Description
SdpImageFindingLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SdpImageFindingLocation other)

public SdpImageFindingLocation.Builder mergeFrom(SdpImageFindingLocation other)
Parameter
Name Description
other SdpImageFindingLocation
Returns
Type Description
SdpImageFindingLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SdpImageFindingLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpImageFindingLocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SdpImageFindingLocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SdpImageFindingLocation.Builder
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
Returns
Type Description
SdpImageFindingLocation.Builder

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;

Parameters
Name Description
index int
value SdpImageFindingLocation.SdpBoundingBox
Returns
Type Description
SdpImageFindingLocation.Builder

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;

Parameters
Name Description
index int
builderForValue SdpImageFindingLocation.SdpBoundingBox.Builder
Returns
Type Description
SdpImageFindingLocation.Builder