Class DiscoveryOtherCloudFilter.Builder

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

public static final class DiscoveryOtherCloudFilter.Builder extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryOtherCloudFilter.Builder> implements DiscoveryOtherCloudFilterOrBuilder
 Determines which resources from the other cloud will have profiles generated.
 Includes the ability to filter by resource names.
 
Protobuf type google.privacy.dlp.v2.DiscoveryOtherCloudFilter
  • 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<DiscoveryOtherCloudFilter.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<DiscoveryOtherCloudFilter.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<DiscoveryOtherCloudFilter.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public DiscoveryOtherCloudFilter.FilterCase getFilterCase()
      Specified by:
      getFilterCase in interface DiscoveryOtherCloudFilterOrBuilder
    • clearFilter

      public DiscoveryOtherCloudFilter.Builder clearFilter()
    • hasCollection

      public boolean hasCollection()
       A collection of resources for this filter to apply to.
       
      .google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
      Specified by:
      hasCollection in interface DiscoveryOtherCloudFilterOrBuilder
      Returns:
      Whether the collection field is set.
    • getCollection

      public OtherCloudResourceCollection getCollection()
       A collection of resources for this filter to apply to.
       
      .google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
      Specified by:
      getCollection in interface DiscoveryOtherCloudFilterOrBuilder
      Returns:
      The collection.
    • setCollection

       A collection of resources for this filter to apply to.
       
      .google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
    • setCollection

       A collection of resources for this filter to apply to.
       
      .google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
    • mergeCollection

       A collection of resources for this filter to apply to.
       
      .google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
    • clearCollection

      public DiscoveryOtherCloudFilter.Builder clearCollection()
       A collection of resources for this filter to apply to.
       
      .google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
    • getCollectionBuilder

      public OtherCloudResourceCollection.Builder getCollectionBuilder()
       A collection of resources for this filter to apply to.
       
      .google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
    • getCollectionOrBuilder

      public OtherCloudResourceCollectionOrBuilder getCollectionOrBuilder()
       A collection of resources for this filter to apply to.
       
      .google.privacy.dlp.v2.OtherCloudResourceCollection collection = 1;
      Specified by:
      getCollectionOrBuilder in interface DiscoveryOtherCloudFilterOrBuilder
    • hasSingleResource

      public boolean hasSingleResource()
       The resource to scan. Configs using this filter can only have one target
       (the target with this single resource reference).
       
      .google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;
      Specified by:
      hasSingleResource in interface DiscoveryOtherCloudFilterOrBuilder
      Returns:
      Whether the singleResource field is set.
    • getSingleResource

      public OtherCloudSingleResourceReference getSingleResource()
       The resource to scan. Configs using this filter can only have one target
       (the target with this single resource reference).
       
      .google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;
      Specified by:
      getSingleResource in interface DiscoveryOtherCloudFilterOrBuilder
      Returns:
      The singleResource.
    • setSingleResource

       The resource to scan. Configs using this filter can only have one target
       (the target with this single resource reference).
       
      .google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;
    • setSingleResource

       The resource to scan. Configs using this filter can only have one target
       (the target with this single resource reference).
       
      .google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;
    • mergeSingleResource

       The resource to scan. Configs using this filter can only have one target
       (the target with this single resource reference).
       
      .google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;
    • clearSingleResource

      public DiscoveryOtherCloudFilter.Builder clearSingleResource()
       The resource to scan. Configs using this filter can only have one target
       (the target with this single resource reference).
       
      .google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;
    • getSingleResourceBuilder

      public OtherCloudSingleResourceReference.Builder getSingleResourceBuilder()
       The resource to scan. Configs using this filter can only have one target
       (the target with this single resource reference).
       
      .google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;
    • getSingleResourceOrBuilder

      public OtherCloudSingleResourceReferenceOrBuilder getSingleResourceOrBuilder()
       The resource to scan. Configs using this filter can only have one target
       (the target with this single resource reference).
       
      .google.privacy.dlp.v2.OtherCloudSingleResourceReference single_resource = 2;
      Specified by:
      getSingleResourceOrBuilder in interface DiscoveryOtherCloudFilterOrBuilder
    • hasOthers

      public boolean hasOthers()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasOthers in interface DiscoveryOtherCloudFilterOrBuilder
      Returns:
      Whether the others field is set.
    • getOthers

      public AllOtherResources getOthers()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOthers in interface DiscoveryOtherCloudFilterOrBuilder
      Returns:
      The others.
    • setOthers

       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
    • setOthers

       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
    • mergeOthers

       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
    • clearOthers

      public DiscoveryOtherCloudFilter.Builder clearOthers()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
    • getOthersBuilder

      public AllOtherResources.Builder getOthersBuilder()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
    • getOthersOrBuilder

      public AllOtherResourcesOrBuilder getOthersOrBuilder()
       Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOthersOrBuilder in interface DiscoveryOtherCloudFilterOrBuilder