Class OtherCloudDiscoveryTarget.Builder

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

public static final class OtherCloudDiscoveryTarget.Builder extends com.google.protobuf.GeneratedMessage.Builder<OtherCloudDiscoveryTarget.Builder> implements OtherCloudDiscoveryTargetOrBuilder
 Target used to match against for discovery of resources from other clouds.
 An [AWS connector in Security Command Center
 (Enterprise](https://cloud.google.com/security-command-center/docs/connect-scc-to-aws)
 is required to use this feature.
 
Protobuf type google.privacy.dlp.v2.OtherCloudDiscoveryTarget
  • 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<OtherCloudDiscoveryTarget.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<OtherCloudDiscoveryTarget.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<OtherCloudDiscoveryTarget.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public OtherCloudDiscoveryTarget.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<OtherCloudDiscoveryTarget.Builder>
      Throws:
      IOException
    • getCadenceCase

      public OtherCloudDiscoveryTarget.CadenceCase getCadenceCase()
      Specified by:
      getCadenceCase in interface OtherCloudDiscoveryTargetOrBuilder
    • clearCadence

      public OtherCloudDiscoveryTarget.Builder clearCadence()
    • hasDataSourceType

      public boolean hasDataSourceType()
       Required. The type of data profiles generated by this discovery target.
       Supported values are:
       * aws/s3/bucket
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDataSourceType in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      Whether the dataSourceType field is set.
    • getDataSourceType

      public DataSourceType getDataSourceType()
       Required. The type of data profiles generated by this discovery target.
       Supported values are:
       * aws/s3/bucket
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataSourceType in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      The dataSourceType.
    • setDataSourceType

      public OtherCloudDiscoveryTarget.Builder setDataSourceType(DataSourceType value)
       Required. The type of data profiles generated by this discovery target.
       Supported values are:
       * aws/s3/bucket
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];
    • setDataSourceType

      public OtherCloudDiscoveryTarget.Builder setDataSourceType(DataSourceType.Builder builderForValue)
       Required. The type of data profiles generated by this discovery target.
       Supported values are:
       * aws/s3/bucket
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeDataSourceType

      public OtherCloudDiscoveryTarget.Builder mergeDataSourceType(DataSourceType value)
       Required. The type of data profiles generated by this discovery target.
       Supported values are:
       * aws/s3/bucket
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearDataSourceType

      public OtherCloudDiscoveryTarget.Builder clearDataSourceType()
       Required. The type of data profiles generated by this discovery target.
       Supported values are:
       * aws/s3/bucket
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDataSourceTypeBuilder

      public DataSourceType.Builder getDataSourceTypeBuilder()
       Required. The type of data profiles generated by this discovery target.
       Supported values are:
       * aws/s3/bucket
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];
    • getDataSourceTypeOrBuilder

      public DataSourceTypeOrBuilder getDataSourceTypeOrBuilder()
       Required. The type of data profiles generated by this discovery target.
       Supported values are:
       * aws/s3/bucket
       
      .google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataSourceTypeOrBuilder in interface OtherCloudDiscoveryTargetOrBuilder
    • hasFilter

      public boolean hasFilter()
       Required. The resources that the discovery cadence applies to. The
       first target with a matching filter will be the one to apply to a resource.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasFilter in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public DiscoveryOtherCloudFilter getFilter()
       Required. The resources that the discovery cadence applies to. The
       first target with a matching filter will be the one to apply to a resource.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilter in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      The filter.
    • setFilter

       Required. The resources that the discovery cadence applies to. The
       first target with a matching filter will be the one to apply to a resource.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];
    • setFilter

       Required. The resources that the discovery cadence applies to. The
       first target with a matching filter will be the one to apply to a resource.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeFilter

       Required. The resources that the discovery cadence applies to. The
       first target with a matching filter will be the one to apply to a resource.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearFilter

      public OtherCloudDiscoveryTarget.Builder clearFilter()
       Required. The resources that the discovery cadence applies to. The
       first target with a matching filter will be the one to apply to a resource.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];
    • getFilterBuilder

      public DiscoveryOtherCloudFilter.Builder getFilterBuilder()
       Required. The resources that the discovery cadence applies to. The
       first target with a matching filter will be the one to apply to a resource.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];
    • getFilterOrBuilder

      public DiscoveryOtherCloudFilterOrBuilder getFilterOrBuilder()
       Required. The resources that the discovery cadence applies to. The
       first target with a matching filter will be the one to apply to a resource.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilterOrBuilder in interface OtherCloudDiscoveryTargetOrBuilder
    • hasConditions

      public boolean hasConditions()
       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasConditions in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      Whether the conditions field is set.
    • getConditions

      public DiscoveryOtherCloudConditions getConditions()
       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConditions in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      The conditions.
    • setConditions

       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setConditions

       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeConditions

       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearConditions

      public OtherCloudDiscoveryTarget.Builder clearConditions()
       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getConditionsBuilder

      public DiscoveryOtherCloudConditions.Builder getConditionsBuilder()
       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getConditionsOrBuilder

      public DiscoveryOtherCloudConditionsOrBuilder getConditionsOrBuilder()
       Optional. In addition to matching the filter, these conditions must be true
       before a profile is generated.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConditionsOrBuilder in interface OtherCloudDiscoveryTargetOrBuilder
    • hasGenerationCadence

      public boolean hasGenerationCadence()
       How often and when to update data profiles. New resources that match both
       the filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;
      Specified by:
      hasGenerationCadence in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      Whether the generationCadence field is set.
    • getGenerationCadence

      public DiscoveryOtherCloudGenerationCadence getGenerationCadence()
       How often and when to update data profiles. New resources that match both
       the filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;
      Specified by:
      getGenerationCadence in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      The generationCadence.
    • setGenerationCadence

       How often and when to update data profiles. New resources that match both
       the filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;
    • setGenerationCadence

       How often and when to update data profiles. New resources that match both
       the filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;
    • mergeGenerationCadence

       How often and when to update data profiles. New resources that match both
       the filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;
    • clearGenerationCadence

      public OtherCloudDiscoveryTarget.Builder clearGenerationCadence()
       How often and when to update data profiles. New resources that match both
       the filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;
    • getGenerationCadenceBuilder

      public DiscoveryOtherCloudGenerationCadence.Builder getGenerationCadenceBuilder()
       How often and when to update data profiles. New resources that match both
       the filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;
    • getGenerationCadenceOrBuilder

      public DiscoveryOtherCloudGenerationCadenceOrBuilder getGenerationCadenceOrBuilder()
       How often and when to update data profiles. New resources that match both
       the filter and conditions are scanned as quickly as possible depending on
       system capacity.
       
      .google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;
      Specified by:
      getGenerationCadenceOrBuilder in interface OtherCloudDiscoveryTargetOrBuilder
    • hasDisabled

      public boolean hasDisabled()
       Disable profiling for resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 5;
      Specified by:
      hasDisabled in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      Whether the disabled field is set.
    • getDisabled

      public Disabled getDisabled()
       Disable profiling for resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 5;
      Specified by:
      getDisabled in interface OtherCloudDiscoveryTargetOrBuilder
      Returns:
      The disabled.
    • setDisabled

      public OtherCloudDiscoveryTarget.Builder setDisabled(Disabled value)
       Disable profiling for resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 5;
    • setDisabled

      public OtherCloudDiscoveryTarget.Builder setDisabled(Disabled.Builder builderForValue)
       Disable profiling for resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 5;
    • mergeDisabled

      public OtherCloudDiscoveryTarget.Builder mergeDisabled(Disabled value)
       Disable profiling for resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 5;
    • clearDisabled

      public OtherCloudDiscoveryTarget.Builder clearDisabled()
       Disable profiling for resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 5;
    • getDisabledBuilder

      public Disabled.Builder getDisabledBuilder()
       Disable profiling for resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 5;
    • getDisabledOrBuilder

      public DisabledOrBuilder getDisabledOrBuilder()
       Disable profiling for resources that match this filter.
       
      .google.privacy.dlp.v2.Disabled disabled = 5;
      Specified by:
      getDisabledOrBuilder in interface OtherCloudDiscoveryTargetOrBuilder