public static final class SdpImageFindingLocation.SdpBoundingBox.Builder extends GeneratedMessage.Builder<SdpImageFindingLocation.SdpBoundingBox.Builder> implements SdpImageFindingLocation.SdpBoundingBoxOrBuilderBounding box encompassing a finding within an image.
Protobuf type google.cloud.modelarmor.v1.SdpImageFindingLocation.SdpBoundingBox
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SdpImageFindingLocation.SdpBoundingBox.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SdpImageFindingLocation.SdpBoundingBox build()| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox |
|
buildPartial()
public SdpImageFindingLocation.SdpBoundingBox buildPartial()| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox |
|
clear()
public SdpImageFindingLocation.SdpBoundingBox.Builder clear()| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox.Builder |
|
clearHeight()
public SdpImageFindingLocation.SdpBoundingBox.Builder clearHeight()Height of the bounding box in pixels.
int32 height = 4;
| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox.Builder |
This builder for chaining. |
clearLeft()
public SdpImageFindingLocation.SdpBoundingBox.Builder clearLeft()Left coordinate of the bounding box. (0,0) is upper left.
int32 left = 2;
| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox.Builder |
This builder for chaining. |
clearTop()
public SdpImageFindingLocation.SdpBoundingBox.Builder clearTop()Top coordinate of the bounding box. (0,0) is upper left.
int32 top = 1;
| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox.Builder |
This builder for chaining. |
clearWidth()
public SdpImageFindingLocation.SdpBoundingBox.Builder clearWidth()Width of the bounding box in pixels.
int32 width = 3;
| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SdpImageFindingLocation.SdpBoundingBox getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHeight()
public int getHeight()Height of the bounding box in pixels.
int32 height = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The height. |
getLeft()
public int getLeft()Left coordinate of the bounding box. (0,0) is upper left.
int32 left = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The left. |
getTop()
public int getTop()Top coordinate of the bounding box. (0,0) is upper left.
int32 top = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The top. |
getWidth()
public int getWidth()Width of the bounding box in pixels.
int32 width = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The width. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SdpImageFindingLocation.SdpBoundingBox other)
public SdpImageFindingLocation.SdpBoundingBox.Builder mergeFrom(SdpImageFindingLocation.SdpBoundingBox other)| Parameter | |
|---|---|
| Name | Description |
other |
SdpImageFindingLocation.SdpBoundingBox |
| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SdpImageFindingLocation.SdpBoundingBox.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SdpImageFindingLocation.SdpBoundingBox.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox.Builder |
|
setHeight(int value)
public SdpImageFindingLocation.SdpBoundingBox.Builder setHeight(int value)Height of the bounding box in pixels.
int32 height = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe height to set. |
| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox.Builder |
This builder for chaining. |
setLeft(int value)
public SdpImageFindingLocation.SdpBoundingBox.Builder setLeft(int value)Left coordinate of the bounding box. (0,0) is upper left.
int32 left = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe left to set. |
| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox.Builder |
This builder for chaining. |
setTop(int value)
public SdpImageFindingLocation.SdpBoundingBox.Builder setTop(int value)Top coordinate of the bounding box. (0,0) is upper left.
int32 top = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe top to set. |
| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox.Builder |
This builder for chaining. |
setWidth(int value)
public SdpImageFindingLocation.SdpBoundingBox.Builder setWidth(int value)Width of the bounding box in pixels.
int32 width = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe width to set. |
| Returns | |
|---|---|
| Type | Description |
SdpImageFindingLocation.SdpBoundingBox.Builder |
This builder for chaining. |