public static final class ImageContainmentType.Builder extends GeneratedMessage.Builder<ImageContainmentType.Builder> implements ImageContainmentTypeOrBuilderSpecifies the relationship between bounding boxes for image findings.
Protobuf type google.privacy.dlp.v2.ImageContainmentType
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImageContainmentType.BuilderImplements
ImageContainmentTypeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ImageContainmentType build()| Returns | |
|---|---|
| Type | Description |
ImageContainmentType |
|
buildPartial()
public ImageContainmentType buildPartial()| Returns | |
|---|---|
| Type | Description |
ImageContainmentType |
|
clear()
public ImageContainmentType.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
clearEncloses()
public ImageContainmentType.Builder clearEncloses()The context finding's bounding box must fully contain the target finding's bounding box.
.google.privacy.dlp.v2.Encloses encloses = 1;
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
clearFullyInside()
public ImageContainmentType.Builder clearFullyInside()The context finding's bounding box must be fully inside the target finding's bounding box.
.google.privacy.dlp.v2.FullyInside fully_inside = 2;
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
clearOverlaps()
public ImageContainmentType.Builder clearOverlaps()The context finding's bounding box and the target finding's bounding box must have a non-zero intersection.
.google.privacy.dlp.v2.Overlap overlaps = 3;
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
clearType()
public ImageContainmentType.Builder clearType()| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
getDefaultInstanceForType()
public ImageContainmentType getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImageContainmentType |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEncloses()
public Encloses getEncloses()The context finding's bounding box must fully contain the target finding's bounding box.
.google.privacy.dlp.v2.Encloses encloses = 1;
| Returns | |
|---|---|
| Type | Description |
Encloses |
The encloses. |
getEnclosesBuilder()
public Encloses.Builder getEnclosesBuilder()The context finding's bounding box must fully contain the target finding's bounding box.
.google.privacy.dlp.v2.Encloses encloses = 1;
| Returns | |
|---|---|
| Type | Description |
Encloses.Builder |
|
getEnclosesOrBuilder()
public EnclosesOrBuilder getEnclosesOrBuilder()The context finding's bounding box must fully contain the target finding's bounding box.
.google.privacy.dlp.v2.Encloses encloses = 1;
| Returns | |
|---|---|
| Type | Description |
EnclosesOrBuilder |
|
getFullyInside()
public FullyInside getFullyInside()The context finding's bounding box must be fully inside the target finding's bounding box.
.google.privacy.dlp.v2.FullyInside fully_inside = 2;
| Returns | |
|---|---|
| Type | Description |
FullyInside |
The fullyInside. |
getFullyInsideBuilder()
public FullyInside.Builder getFullyInsideBuilder()The context finding's bounding box must be fully inside the target finding's bounding box.
.google.privacy.dlp.v2.FullyInside fully_inside = 2;
| Returns | |
|---|---|
| Type | Description |
FullyInside.Builder |
|
getFullyInsideOrBuilder()
public FullyInsideOrBuilder getFullyInsideOrBuilder()The context finding's bounding box must be fully inside the target finding's bounding box.
.google.privacy.dlp.v2.FullyInside fully_inside = 2;
| Returns | |
|---|---|
| Type | Description |
FullyInsideOrBuilder |
|
getOverlaps()
public Overlap getOverlaps()The context finding's bounding box and the target finding's bounding box must have a non-zero intersection.
.google.privacy.dlp.v2.Overlap overlaps = 3;
| Returns | |
|---|---|
| Type | Description |
Overlap |
The overlaps. |
getOverlapsBuilder()
public Overlap.Builder getOverlapsBuilder()The context finding's bounding box and the target finding's bounding box must have a non-zero intersection.
.google.privacy.dlp.v2.Overlap overlaps = 3;
| Returns | |
|---|---|
| Type | Description |
Overlap.Builder |
|
getOverlapsOrBuilder()
public OverlapOrBuilder getOverlapsOrBuilder()The context finding's bounding box and the target finding's bounding box must have a non-zero intersection.
.google.privacy.dlp.v2.Overlap overlaps = 3;
| Returns | |
|---|---|
| Type | Description |
OverlapOrBuilder |
|
getTypeCase()
public ImageContainmentType.TypeCase getTypeCase()| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.TypeCase |
|
hasEncloses()
public boolean hasEncloses()The context finding's bounding box must fully contain the target finding's bounding box.
.google.privacy.dlp.v2.Encloses encloses = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the encloses field is set. |
hasFullyInside()
public boolean hasFullyInside()The context finding's bounding box must be fully inside the target finding's bounding box.
.google.privacy.dlp.v2.FullyInside fully_inside = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the fullyInside field is set. |
hasOverlaps()
public boolean hasOverlaps()The context finding's bounding box and the target finding's bounding box must have a non-zero intersection.
.google.privacy.dlp.v2.Overlap overlaps = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the overlaps field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEncloses(Encloses value)
public ImageContainmentType.Builder mergeEncloses(Encloses value)The context finding's bounding box must fully contain the target finding's bounding box.
.google.privacy.dlp.v2.Encloses encloses = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Encloses |
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
mergeFrom(ImageContainmentType other)
public ImageContainmentType.Builder mergeFrom(ImageContainmentType other)| Parameter | |
|---|---|
| Name | Description |
other |
ImageContainmentType |
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImageContainmentType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImageContainmentType.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
mergeFullyInside(FullyInside value)
public ImageContainmentType.Builder mergeFullyInside(FullyInside value)The context finding's bounding box must be fully inside the target finding's bounding box.
.google.privacy.dlp.v2.FullyInside fully_inside = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FullyInside |
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
mergeOverlaps(Overlap value)
public ImageContainmentType.Builder mergeOverlaps(Overlap value)The context finding's bounding box and the target finding's bounding box must have a non-zero intersection.
.google.privacy.dlp.v2.Overlap overlaps = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Overlap |
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
setEncloses(Encloses value)
public ImageContainmentType.Builder setEncloses(Encloses value)The context finding's bounding box must fully contain the target finding's bounding box.
.google.privacy.dlp.v2.Encloses encloses = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Encloses |
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
setEncloses(Encloses.Builder builderForValue)
public ImageContainmentType.Builder setEncloses(Encloses.Builder builderForValue)The context finding's bounding box must fully contain the target finding's bounding box.
.google.privacy.dlp.v2.Encloses encloses = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Encloses.Builder |
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
setFullyInside(FullyInside value)
public ImageContainmentType.Builder setFullyInside(FullyInside value)The context finding's bounding box must be fully inside the target finding's bounding box.
.google.privacy.dlp.v2.FullyInside fully_inside = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FullyInside |
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
setFullyInside(FullyInside.Builder builderForValue)
public ImageContainmentType.Builder setFullyInside(FullyInside.Builder builderForValue)The context finding's bounding box must be fully inside the target finding's bounding box.
.google.privacy.dlp.v2.FullyInside fully_inside = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FullyInside.Builder |
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
setOverlaps(Overlap value)
public ImageContainmentType.Builder setOverlaps(Overlap value)The context finding's bounding box and the target finding's bounding box must have a non-zero intersection.
.google.privacy.dlp.v2.Overlap overlaps = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Overlap |
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|
setOverlaps(Overlap.Builder builderForValue)
public ImageContainmentType.Builder setOverlaps(Overlap.Builder builderForValue)The context finding's bounding box and the target finding's bounding box must have a non-zero intersection.
.google.privacy.dlp.v2.Overlap overlaps = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Overlap.Builder |
| Returns | |
|---|---|
| Type | Description |
ImageContainmentType.Builder |
|