Class DataProfileConfigSnapshot.Builder

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

public static final class DataProfileConfigSnapshot.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataProfileConfigSnapshot.Builder> implements DataProfileConfigSnapshotOrBuilder
 Snapshot of the configurations used to generate the profile.
 
Protobuf type google.privacy.dlp.v2.DataProfileConfigSnapshot
  • 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<DataProfileConfigSnapshot.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<DataProfileConfigSnapshot.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<DataProfileConfigSnapshot.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public DataProfileConfigSnapshot.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<DataProfileConfigSnapshot.Builder>
      Throws:
      IOException
    • hasInspectConfig

      public boolean hasInspectConfig()
       A copy of the inspection config used to generate this profile. This
       is a copy of the inspect_template specified in `DataProfileJobConfig`.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
      Specified by:
      hasInspectConfig in interface DataProfileConfigSnapshotOrBuilder
      Returns:
      Whether the inspectConfig field is set.
    • getInspectConfig

      public InspectConfig getInspectConfig()
       A copy of the inspection config used to generate this profile. This
       is a copy of the inspect_template specified in `DataProfileJobConfig`.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
      Specified by:
      getInspectConfig in interface DataProfileConfigSnapshotOrBuilder
      Returns:
      The inspectConfig.
    • setInspectConfig

      public DataProfileConfigSnapshot.Builder setInspectConfig(InspectConfig value)
       A copy of the inspection config used to generate this profile. This
       is a copy of the inspect_template specified in `DataProfileJobConfig`.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
    • setInspectConfig

      public DataProfileConfigSnapshot.Builder setInspectConfig(InspectConfig.Builder builderForValue)
       A copy of the inspection config used to generate this profile. This
       is a copy of the inspect_template specified in `DataProfileJobConfig`.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
    • mergeInspectConfig

      public DataProfileConfigSnapshot.Builder mergeInspectConfig(InspectConfig value)
       A copy of the inspection config used to generate this profile. This
       is a copy of the inspect_template specified in `DataProfileJobConfig`.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
    • clearInspectConfig

      public DataProfileConfigSnapshot.Builder clearInspectConfig()
       A copy of the inspection config used to generate this profile. This
       is a copy of the inspect_template specified in `DataProfileJobConfig`.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
    • getInspectConfigBuilder

      public InspectConfig.Builder getInspectConfigBuilder()
       A copy of the inspection config used to generate this profile. This
       is a copy of the inspect_template specified in `DataProfileJobConfig`.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
    • getInspectConfigOrBuilder

      public InspectConfigOrBuilder getInspectConfigOrBuilder()
       A copy of the inspection config used to generate this profile. This
       is a copy of the inspect_template specified in `DataProfileJobConfig`.
       
      .google.privacy.dlp.v2.InspectConfig inspect_config = 2;
      Specified by:
      getInspectConfigOrBuilder in interface DataProfileConfigSnapshotOrBuilder
    • hasDataProfileJob

      @Deprecated public boolean hasDataProfileJob()
      Deprecated.
      google.privacy.dlp.v2.DataProfileConfigSnapshot.data_profile_job is deprecated. See google/privacy/dlp/v2/dlp.proto;l=7894
       A copy of the configuration used to generate this profile. This is
       deprecated, and the DiscoveryConfig field is preferred moving forward.
       DataProfileJobConfig will still be written here for Discovery in BigQuery
       for backwards compatibility, but will not be updated with new fields, while
       DiscoveryConfig will.
       
      .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true];
      Specified by:
      hasDataProfileJob in interface DataProfileConfigSnapshotOrBuilder
      Returns:
      Whether the dataProfileJob field is set.
    • getDataProfileJob

      @Deprecated public DataProfileJobConfig getDataProfileJob()
      Deprecated.
      google.privacy.dlp.v2.DataProfileConfigSnapshot.data_profile_job is deprecated. See google/privacy/dlp/v2/dlp.proto;l=7894
       A copy of the configuration used to generate this profile. This is
       deprecated, and the DiscoveryConfig field is preferred moving forward.
       DataProfileJobConfig will still be written here for Discovery in BigQuery
       for backwards compatibility, but will not be updated with new fields, while
       DiscoveryConfig will.
       
      .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true];
      Specified by:
      getDataProfileJob in interface DataProfileConfigSnapshotOrBuilder
      Returns:
      The dataProfileJob.
    • setDataProfileJob

      Deprecated.
       A copy of the configuration used to generate this profile. This is
       deprecated, and the DiscoveryConfig field is preferred moving forward.
       DataProfileJobConfig will still be written here for Discovery in BigQuery
       for backwards compatibility, but will not be updated with new fields, while
       DiscoveryConfig will.
       
      .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true];
    • setDataProfileJob

      Deprecated.
       A copy of the configuration used to generate this profile. This is
       deprecated, and the DiscoveryConfig field is preferred moving forward.
       DataProfileJobConfig will still be written here for Discovery in BigQuery
       for backwards compatibility, but will not be updated with new fields, while
       DiscoveryConfig will.
       
      .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true];
    • mergeDataProfileJob

      Deprecated.
       A copy of the configuration used to generate this profile. This is
       deprecated, and the DiscoveryConfig field is preferred moving forward.
       DataProfileJobConfig will still be written here for Discovery in BigQuery
       for backwards compatibility, but will not be updated with new fields, while
       DiscoveryConfig will.
       
      .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true];
    • clearDataProfileJob

      @Deprecated public DataProfileConfigSnapshot.Builder clearDataProfileJob()
      Deprecated.
       A copy of the configuration used to generate this profile. This is
       deprecated, and the DiscoveryConfig field is preferred moving forward.
       DataProfileJobConfig will still be written here for Discovery in BigQuery
       for backwards compatibility, but will not be updated with new fields, while
       DiscoveryConfig will.
       
      .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true];
    • getDataProfileJobBuilder

      @Deprecated public DataProfileJobConfig.Builder getDataProfileJobBuilder()
      Deprecated.
       A copy of the configuration used to generate this profile. This is
       deprecated, and the DiscoveryConfig field is preferred moving forward.
       DataProfileJobConfig will still be written here for Discovery in BigQuery
       for backwards compatibility, but will not be updated with new fields, while
       DiscoveryConfig will.
       
      .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true];
    • getDataProfileJobOrBuilder

      @Deprecated public DataProfileJobConfigOrBuilder getDataProfileJobOrBuilder()
      Deprecated.
       A copy of the configuration used to generate this profile. This is
       deprecated, and the DiscoveryConfig field is preferred moving forward.
       DataProfileJobConfig will still be written here for Discovery in BigQuery
       for backwards compatibility, but will not be updated with new fields, while
       DiscoveryConfig will.
       
      .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3 [deprecated = true];
      Specified by:
      getDataProfileJobOrBuilder in interface DataProfileConfigSnapshotOrBuilder
    • hasDiscoveryConfig

      public boolean hasDiscoveryConfig()
       A copy of the configuration used to generate this profile.
       
      .google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;
      Specified by:
      hasDiscoveryConfig in interface DataProfileConfigSnapshotOrBuilder
      Returns:
      Whether the discoveryConfig field is set.
    • getDiscoveryConfig

      public DiscoveryConfig getDiscoveryConfig()
       A copy of the configuration used to generate this profile.
       
      .google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;
      Specified by:
      getDiscoveryConfig in interface DataProfileConfigSnapshotOrBuilder
      Returns:
      The discoveryConfig.
    • setDiscoveryConfig

      public DataProfileConfigSnapshot.Builder setDiscoveryConfig(DiscoveryConfig value)
       A copy of the configuration used to generate this profile.
       
      .google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;
    • setDiscoveryConfig

      public DataProfileConfigSnapshot.Builder setDiscoveryConfig(DiscoveryConfig.Builder builderForValue)
       A copy of the configuration used to generate this profile.
       
      .google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;
    • mergeDiscoveryConfig

      public DataProfileConfigSnapshot.Builder mergeDiscoveryConfig(DiscoveryConfig value)
       A copy of the configuration used to generate this profile.
       
      .google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;
    • clearDiscoveryConfig

      public DataProfileConfigSnapshot.Builder clearDiscoveryConfig()
       A copy of the configuration used to generate this profile.
       
      .google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;
    • getDiscoveryConfigBuilder

      public DiscoveryConfig.Builder getDiscoveryConfigBuilder()
       A copy of the configuration used to generate this profile.
       
      .google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;
    • getDiscoveryConfigOrBuilder

      public DiscoveryConfigOrBuilder getDiscoveryConfigOrBuilder()
       A copy of the configuration used to generate this profile.
       
      .google.privacy.dlp.v2.DiscoveryConfig discovery_config = 4;
      Specified by:
      getDiscoveryConfigOrBuilder in interface DataProfileConfigSnapshotOrBuilder
    • getInspectTemplateName

      public String getInspectTemplateName()
       Name of the inspection template used to generate this profile
       
      string inspect_template_name = 5;
      Specified by:
      getInspectTemplateName in interface DataProfileConfigSnapshotOrBuilder
      Returns:
      The inspectTemplateName.
    • getInspectTemplateNameBytes

      public com.google.protobuf.ByteString getInspectTemplateNameBytes()
       Name of the inspection template used to generate this profile
       
      string inspect_template_name = 5;
      Specified by:
      getInspectTemplateNameBytes in interface DataProfileConfigSnapshotOrBuilder
      Returns:
      The bytes for inspectTemplateName.
    • setInspectTemplateName

      public DataProfileConfigSnapshot.Builder setInspectTemplateName(String value)
       Name of the inspection template used to generate this profile
       
      string inspect_template_name = 5;
      Parameters:
      value - The inspectTemplateName to set.
      Returns:
      This builder for chaining.
    • clearInspectTemplateName

      public DataProfileConfigSnapshot.Builder clearInspectTemplateName()
       Name of the inspection template used to generate this profile
       
      string inspect_template_name = 5;
      Returns:
      This builder for chaining.
    • setInspectTemplateNameBytes

      public DataProfileConfigSnapshot.Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value)
       Name of the inspection template used to generate this profile
       
      string inspect_template_name = 5;
      Parameters:
      value - The bytes for inspectTemplateName to set.
      Returns:
      This builder for chaining.
    • hasInspectTemplateModifiedTime

      public boolean hasInspectTemplateModifiedTime()
       Timestamp when the template was modified
       
      .google.protobuf.Timestamp inspect_template_modified_time = 6;
      Specified by:
      hasInspectTemplateModifiedTime in interface DataProfileConfigSnapshotOrBuilder
      Returns:
      Whether the inspectTemplateModifiedTime field is set.
    • getInspectTemplateModifiedTime

      public com.google.protobuf.Timestamp getInspectTemplateModifiedTime()
       Timestamp when the template was modified
       
      .google.protobuf.Timestamp inspect_template_modified_time = 6;
      Specified by:
      getInspectTemplateModifiedTime in interface DataProfileConfigSnapshotOrBuilder
      Returns:
      The inspectTemplateModifiedTime.
    • setInspectTemplateModifiedTime

      public DataProfileConfigSnapshot.Builder setInspectTemplateModifiedTime(com.google.protobuf.Timestamp value)
       Timestamp when the template was modified
       
      .google.protobuf.Timestamp inspect_template_modified_time = 6;
    • setInspectTemplateModifiedTime

      public DataProfileConfigSnapshot.Builder setInspectTemplateModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when the template was modified
       
      .google.protobuf.Timestamp inspect_template_modified_time = 6;
    • mergeInspectTemplateModifiedTime

      public DataProfileConfigSnapshot.Builder mergeInspectTemplateModifiedTime(com.google.protobuf.Timestamp value)
       Timestamp when the template was modified
       
      .google.protobuf.Timestamp inspect_template_modified_time = 6;
    • clearInspectTemplateModifiedTime

      public DataProfileConfigSnapshot.Builder clearInspectTemplateModifiedTime()
       Timestamp when the template was modified
       
      .google.protobuf.Timestamp inspect_template_modified_time = 6;
    • getInspectTemplateModifiedTimeBuilder

      public com.google.protobuf.Timestamp.Builder getInspectTemplateModifiedTimeBuilder()
       Timestamp when the template was modified
       
      .google.protobuf.Timestamp inspect_template_modified_time = 6;
    • getInspectTemplateModifiedTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getInspectTemplateModifiedTimeOrBuilder()
       Timestamp when the template was modified
       
      .google.protobuf.Timestamp inspect_template_modified_time = 6;
      Specified by:
      getInspectTemplateModifiedTimeOrBuilder in interface DataProfileConfigSnapshotOrBuilder