Class DiscoveryVertexDatasetFilter.Builder

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

public static final class DiscoveryVertexDatasetFilter.Builder extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryVertexDatasetFilter.Builder> implements DiscoveryVertexDatasetFilterOrBuilder
 Determines what datasets will have profiles generated within an organization
 or project. Includes the ability to filter by regular expression patterns
 on project ID or dataset regex.
 
Protobuf type google.privacy.dlp.v2.DiscoveryVertexDatasetFilter
  • 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<DiscoveryVertexDatasetFilter.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<DiscoveryVertexDatasetFilter.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<DiscoveryVertexDatasetFilter.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public DiscoveryVertexDatasetFilter.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<DiscoveryVertexDatasetFilter.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<DiscoveryVertexDatasetFilter.Builder>
    • mergeFrom

      public DiscoveryVertexDatasetFilter.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<DiscoveryVertexDatasetFilter.Builder>
      Throws:
      IOException
    • getFilterCase

      Specified by:
      getFilterCase in interface DiscoveryVertexDatasetFilterOrBuilder
    • clearFilter

    • hasCollection

      public boolean hasCollection()
       A specific set of Vertex AI datasets for this filter to apply to.
       
      .google.privacy.dlp.v2.VertexDatasetCollection collection = 1;
      Specified by:
      hasCollection in interface DiscoveryVertexDatasetFilterOrBuilder
      Returns:
      Whether the collection field is set.
    • getCollection

      public VertexDatasetCollection getCollection()
       A specific set of Vertex AI datasets for this filter to apply to.
       
      .google.privacy.dlp.v2.VertexDatasetCollection collection = 1;
      Specified by:
      getCollection in interface DiscoveryVertexDatasetFilterOrBuilder
      Returns:
      The collection.
    • setCollection

       A specific set of Vertex AI datasets for this filter to apply to.
       
      .google.privacy.dlp.v2.VertexDatasetCollection collection = 1;
    • setCollection

       A specific set of Vertex AI datasets for this filter to apply to.
       
      .google.privacy.dlp.v2.VertexDatasetCollection collection = 1;
    • mergeCollection

       A specific set of Vertex AI datasets for this filter to apply to.
       
      .google.privacy.dlp.v2.VertexDatasetCollection collection = 1;
    • clearCollection

      public DiscoveryVertexDatasetFilter.Builder clearCollection()
       A specific set of Vertex AI datasets for this filter to apply to.
       
      .google.privacy.dlp.v2.VertexDatasetCollection collection = 1;
    • getCollectionBuilder

      public VertexDatasetCollection.Builder getCollectionBuilder()
       A specific set of Vertex AI datasets for this filter to apply to.
       
      .google.privacy.dlp.v2.VertexDatasetCollection collection = 1;
    • getCollectionOrBuilder

      public VertexDatasetCollectionOrBuilder getCollectionOrBuilder()
       A specific set of Vertex AI datasets for this filter to apply to.
       
      .google.privacy.dlp.v2.VertexDatasetCollection collection = 1;
      Specified by:
      getCollectionOrBuilder in interface DiscoveryVertexDatasetFilterOrBuilder
    • hasVertexDatasetResourceReference

      public boolean hasVertexDatasetResourceReference()
       The dataset resource to scan. Targets including this can only include
       one target (the target with this dataset resource reference).
       
      .google.privacy.dlp.v2.VertexDatasetResourceReference vertex_dataset_resource_reference = 2;
      Specified by:
      hasVertexDatasetResourceReference in interface DiscoveryVertexDatasetFilterOrBuilder
      Returns:
      Whether the vertexDatasetResourceReference field is set.
    • getVertexDatasetResourceReference

      public VertexDatasetResourceReference getVertexDatasetResourceReference()
       The dataset resource to scan. Targets including this can only include
       one target (the target with this dataset resource reference).
       
      .google.privacy.dlp.v2.VertexDatasetResourceReference vertex_dataset_resource_reference = 2;
      Specified by:
      getVertexDatasetResourceReference in interface DiscoveryVertexDatasetFilterOrBuilder
      Returns:
      The vertexDatasetResourceReference.
    • setVertexDatasetResourceReference

      public DiscoveryVertexDatasetFilter.Builder setVertexDatasetResourceReference(VertexDatasetResourceReference value)
       The dataset resource to scan. Targets including this can only include
       one target (the target with this dataset resource reference).
       
      .google.privacy.dlp.v2.VertexDatasetResourceReference vertex_dataset_resource_reference = 2;
    • setVertexDatasetResourceReference

      public DiscoveryVertexDatasetFilter.Builder setVertexDatasetResourceReference(VertexDatasetResourceReference.Builder builderForValue)
       The dataset resource to scan. Targets including this can only include
       one target (the target with this dataset resource reference).
       
      .google.privacy.dlp.v2.VertexDatasetResourceReference vertex_dataset_resource_reference = 2;
    • mergeVertexDatasetResourceReference

      public DiscoveryVertexDatasetFilter.Builder mergeVertexDatasetResourceReference(VertexDatasetResourceReference value)
       The dataset resource to scan. Targets including this can only include
       one target (the target with this dataset resource reference).
       
      .google.privacy.dlp.v2.VertexDatasetResourceReference vertex_dataset_resource_reference = 2;
    • clearVertexDatasetResourceReference

      public DiscoveryVertexDatasetFilter.Builder clearVertexDatasetResourceReference()
       The dataset resource to scan. Targets including this can only include
       one target (the target with this dataset resource reference).
       
      .google.privacy.dlp.v2.VertexDatasetResourceReference vertex_dataset_resource_reference = 2;
    • getVertexDatasetResourceReferenceBuilder

      public VertexDatasetResourceReference.Builder getVertexDatasetResourceReferenceBuilder()
       The dataset resource to scan. Targets including this can only include
       one target (the target with this dataset resource reference).
       
      .google.privacy.dlp.v2.VertexDatasetResourceReference vertex_dataset_resource_reference = 2;
    • getVertexDatasetResourceReferenceOrBuilder

      public VertexDatasetResourceReferenceOrBuilder getVertexDatasetResourceReferenceOrBuilder()
       The dataset resource to scan. Targets including this can only include
       one target (the target with this dataset resource reference).
       
      .google.privacy.dlp.v2.VertexDatasetResourceReference vertex_dataset_resource_reference = 2;
      Specified by:
      getVertexDatasetResourceReferenceOrBuilder in interface DiscoveryVertexDatasetFilterOrBuilder
    • hasOthers

      public boolean hasOthers()
       Catch-all. This should always be the last target in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.AllOtherResources others = 100;
      Specified by:
      hasOthers in interface DiscoveryVertexDatasetFilterOrBuilder
      Returns:
      Whether the others field is set.
    • getOthers

      public AllOtherResources getOthers()
       Catch-all. This should always be the last target in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.AllOtherResources others = 100;
      Specified by:
      getOthers in interface DiscoveryVertexDatasetFilterOrBuilder
      Returns:
      The others.
    • setOthers

       Catch-all. This should always be the last target in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.AllOtherResources others = 100;
    • setOthers

       Catch-all. This should always be the last target in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.AllOtherResources others = 100;
    • mergeOthers

       Catch-all. This should always be the last target in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.AllOtherResources others = 100;
    • clearOthers

       Catch-all. This should always be the last target in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.AllOtherResources others = 100;
    • getOthersBuilder

      public AllOtherResources.Builder getOthersBuilder()
       Catch-all. This should always be the last target in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.AllOtherResources others = 100;
    • getOthersOrBuilder

      public AllOtherResourcesOrBuilder getOthersOrBuilder()
       Catch-all. This should always be the last target in the list because
       anything above it will apply first. Should only appear once in a
       configuration. If none is specified, a default one will be added
       automatically.
       
      .google.privacy.dlp.v2.AllOtherResources others = 100;
      Specified by:
      getOthersOrBuilder in interface DiscoveryVertexDatasetFilterOrBuilder