Class InspectJobConfig.Builder

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

public static final class InspectJobConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<InspectJobConfig.Builder> implements InspectJobConfigOrBuilder
 Controls what and how to inspect for findings.
 
Protobuf type google.privacy.dlp.v2.InspectJobConfig
  • 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<InspectJobConfig.Builder>
    • clear

      public InspectJobConfig.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<InspectJobConfig.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<InspectJobConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public InspectJobConfig.Builder mergeFrom(InspectJobConfig other)
    • isInitialized

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

      public InspectJobConfig.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<InspectJobConfig.Builder>
      Throws:
      IOException
    • hasStorageConfig

      public boolean hasStorageConfig()
       The data to scan.
       
      .google.privacy.dlp.v2.StorageConfig storage_config = 1;
      Specified by:
      hasStorageConfig in interface InspectJobConfigOrBuilder
      Returns:
      Whether the storageConfig field is set.
    • getStorageConfig

      public StorageConfig getStorageConfig()
       The data to scan.
       
      .google.privacy.dlp.v2.StorageConfig storage_config = 1;
      Specified by:
      getStorageConfig in interface InspectJobConfigOrBuilder
      Returns:
      The storageConfig.
    • setStorageConfig

      public InspectJobConfig.Builder setStorageConfig(StorageConfig value)
       The data to scan.
       
      .google.privacy.dlp.v2.StorageConfig storage_config = 1;
    • setStorageConfig

      public InspectJobConfig.Builder setStorageConfig(StorageConfig.Builder builderForValue)
       The data to scan.
       
      .google.privacy.dlp.v2.StorageConfig storage_config = 1;
    • mergeStorageConfig

      public InspectJobConfig.Builder mergeStorageConfig(StorageConfig value)
       The data to scan.
       
      .google.privacy.dlp.v2.StorageConfig storage_config = 1;
    • clearStorageConfig

      public InspectJobConfig.Builder clearStorageConfig()
       The data to scan.
       
      .google.privacy.dlp.v2.StorageConfig storage_config = 1;
    • getStorageConfigBuilder

      public StorageConfig.Builder getStorageConfigBuilder()
       The data to scan.
       
      .google.privacy.dlp.v2.StorageConfig storage_config = 1;
    • getStorageConfigOrBuilder

      public StorageConfigOrBuilder getStorageConfigOrBuilder()
       The data to scan.
       
      .google.privacy.dlp.v2.StorageConfig storage_config = 1;
      Specified by:
      getStorageConfigOrBuilder in interface InspectJobConfigOrBuilder
    • hasInspectConfig

      public boolean hasInspectConfig()
       How and what to scan for.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
      Specified by:
      hasInspectConfig in interface InspectJobConfigOrBuilder
      Returns:
      Whether the inspectConfig field is set.
    • getInspectConfig

      public InspectConfig getInspectConfig()
       How and what to scan for.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
      Specified by:
      getInspectConfig in interface InspectJobConfigOrBuilder
      Returns:
      The inspectConfig.
    • setInspectConfig

      public InspectJobConfig.Builder setInspectConfig(InspectConfig value)
       How and what to scan for.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
    • setInspectConfig

      public InspectJobConfig.Builder setInspectConfig(InspectConfig.Builder builderForValue)
       How and what to scan for.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
    • mergeInspectConfig

      public InspectJobConfig.Builder mergeInspectConfig(InspectConfig value)
       How and what to scan for.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
    • clearInspectConfig

      public InspectJobConfig.Builder clearInspectConfig()
       How and what to scan for.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
    • getInspectConfigBuilder

      public InspectConfig.Builder getInspectConfigBuilder()
       How and what to scan for.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
    • getInspectConfigOrBuilder

      public InspectConfigOrBuilder getInspectConfigOrBuilder()
       How and what to scan for.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
      Specified by:
      getInspectConfigOrBuilder in interface InspectJobConfigOrBuilder
    • getInspectTemplateName

      public String getInspectTemplateName()
       If provided, will be used as the default for all values in InspectConfig.
       `inspect_config` will be merged into the values persisted as part of the
       template.
       
      string inspect_template_name = 3;
      Specified by:
      getInspectTemplateName in interface InspectJobConfigOrBuilder
      Returns:
      The inspectTemplateName.
    • getInspectTemplateNameBytes

      public com.google.protobuf.ByteString getInspectTemplateNameBytes()
       If provided, will be used as the default for all values in InspectConfig.
       `inspect_config` will be merged into the values persisted as part of the
       template.
       
      string inspect_template_name = 3;
      Specified by:
      getInspectTemplateNameBytes in interface InspectJobConfigOrBuilder
      Returns:
      The bytes for inspectTemplateName.
    • setInspectTemplateName

      public InspectJobConfig.Builder setInspectTemplateName(String value)
       If provided, will be used as the default for all values in InspectConfig.
       `inspect_config` will be merged into the values persisted as part of the
       template.
       
      string inspect_template_name = 3;
      Parameters:
      value - The inspectTemplateName to set.
      Returns:
      This builder for chaining.
    • clearInspectTemplateName

      public InspectJobConfig.Builder clearInspectTemplateName()
       If provided, will be used as the default for all values in InspectConfig.
       `inspect_config` will be merged into the values persisted as part of the
       template.
       
      string inspect_template_name = 3;
      Returns:
      This builder for chaining.
    • setInspectTemplateNameBytes

      public InspectJobConfig.Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value)
       If provided, will be used as the default for all values in InspectConfig.
       `inspect_config` will be merged into the values persisted as part of the
       template.
       
      string inspect_template_name = 3;
      Parameters:
      value - The bytes for inspectTemplateName to set.
      Returns:
      This builder for chaining.
    • getActionsList

      public List<Action> getActionsList()
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
      Specified by:
      getActionsList in interface InspectJobConfigOrBuilder
    • getActionsCount

      public int getActionsCount()
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
      Specified by:
      getActionsCount in interface InspectJobConfigOrBuilder
    • getActions

      public Action getActions(int index)
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
      Specified by:
      getActions in interface InspectJobConfigOrBuilder
    • setActions

      public InspectJobConfig.Builder setActions(int index, Action value)
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
    • setActions

      public InspectJobConfig.Builder setActions(int index, Action.Builder builderForValue)
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
    • addActions

      public InspectJobConfig.Builder addActions(Action value)
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
    • addActions

      public InspectJobConfig.Builder addActions(int index, Action value)
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
    • addActions

      public InspectJobConfig.Builder addActions(Action.Builder builderForValue)
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
    • addActions

      public InspectJobConfig.Builder addActions(int index, Action.Builder builderForValue)
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
    • addAllActions

      public InspectJobConfig.Builder addAllActions(Iterable<? extends Action> values)
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
    • clearActions

      public InspectJobConfig.Builder clearActions()
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
    • removeActions

      public InspectJobConfig.Builder removeActions(int index)
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
    • getActionsBuilder

      public Action.Builder getActionsBuilder(int index)
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
    • getActionsOrBuilder

      public ActionOrBuilder getActionsOrBuilder(int index)
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
      Specified by:
      getActionsOrBuilder in interface InspectJobConfigOrBuilder
    • getActionsOrBuilderList

      public List<? extends ActionOrBuilder> getActionsOrBuilderList()
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
      Specified by:
      getActionsOrBuilderList in interface InspectJobConfigOrBuilder
    • addActionsBuilder

      public Action.Builder addActionsBuilder()
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
    • addActionsBuilder

      public Action.Builder addActionsBuilder(int index)
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;
    • getActionsBuilderList

      public List<Action.Builder> getActionsBuilderList()
       Actions to execute at the completion of the job.
       
      repeated .google.privacy.dlp.v2.Action actions = 4;