Class ImageContainmentType.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImageContainmentType.Builder>
com.google.privacy.dlp.v2.ImageContainmentType.Builder
All Implemented Interfaces:
ImageContainmentTypeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ImageContainmentType

public static final class ImageContainmentType.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImageContainmentType.Builder> implements ImageContainmentTypeOrBuilder
 Specifies the relationship between bounding boxes for image findings.
 
Protobuf type google.privacy.dlp.v2.ImageContainmentType
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ImageContainmentType.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ImageContainmentType.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ImageContainmentType.Builder>
    • getDefaultInstanceForType

      public ImageContainmentType getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ImageContainmentType build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ImageContainmentType buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ImageContainmentType.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImageContainmentType.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ImageContainmentType.Builder>
    • mergeFrom

      public ImageContainmentType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImageContainmentType.Builder>
      Throws:
      IOException
    • getTypeCase

      public ImageContainmentType.TypeCase getTypeCase()
      Specified by:
      getTypeCase in interface ImageContainmentTypeOrBuilder
    • clearType

      public ImageContainmentType.Builder clearType()
    • 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;
      Specified by:
      hasEncloses in interface ImageContainmentTypeOrBuilder
      Returns:
      Whether the encloses field is set.
    • 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;
      Specified by:
      getEncloses in interface ImageContainmentTypeOrBuilder
      Returns:
      The encloses.
    • setEncloses

      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;
    • setEncloses

      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;
    • mergeEncloses

      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;
    • 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;
    • 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;
    • 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;
      Specified by:
      getEnclosesOrBuilder in interface ImageContainmentTypeOrBuilder
    • 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;
      Specified by:
      hasFullyInside in interface ImageContainmentTypeOrBuilder
      Returns:
      Whether the fullyInside field is set.
    • 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;
      Specified by:
      getFullyInside in interface ImageContainmentTypeOrBuilder
      Returns:
      The fullyInside.
    • setFullyInside

      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;
    • setFullyInside

      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;
    • mergeFullyInside

      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;
    • 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;
    • 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;
    • 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;
      Specified by:
      getFullyInsideOrBuilder in interface ImageContainmentTypeOrBuilder
    • 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;
      Specified by:
      hasOverlaps in interface ImageContainmentTypeOrBuilder
      Returns:
      Whether the overlaps field is set.
    • 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;
      Specified by:
      getOverlaps in interface ImageContainmentTypeOrBuilder
      Returns:
      The overlaps.
    • setOverlaps

      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;
    • setOverlaps

      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;
    • mergeOverlaps

      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;
    • 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;
    • 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;
    • 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;
      Specified by:
      getOverlapsOrBuilder in interface ImageContainmentTypeOrBuilder