Class OtherCloudDiscoveryTarget.Builder (3.58.0)

public static final class OtherCloudDiscoveryTarget.Builder extends GeneratedMessageV3.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 is required to use this feature.

Protobuf type google.privacy.dlp.v2.OtherCloudDiscoveryTarget

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OtherCloudDiscoveryTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OtherCloudDiscoveryTarget.Builder
Overrides

build()

public OtherCloudDiscoveryTarget build()
Returns
Type Description
OtherCloudDiscoveryTarget

buildPartial()

public OtherCloudDiscoveryTarget buildPartial()
Returns
Type Description
OtherCloudDiscoveryTarget

clear()

public OtherCloudDiscoveryTarget.Builder clear()
Returns
Type Description
OtherCloudDiscoveryTarget.Builder
Overrides

clearCadence()

public OtherCloudDiscoveryTarget.Builder clearCadence()
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

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];

Returns
Type Description
OtherCloudDiscoveryTarget.Builder

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];

Returns
Type Description
OtherCloudDiscoveryTarget.Builder

clearDisabled()

public OtherCloudDiscoveryTarget.Builder clearDisabled()

Disable profiling for resources that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 5;

Returns
Type Description
OtherCloudDiscoveryTarget.Builder

clearField(Descriptors.FieldDescriptor field)

public OtherCloudDiscoveryTarget.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OtherCloudDiscoveryTarget.Builder
Overrides

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];

Returns
Type Description
OtherCloudDiscoveryTarget.Builder

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;

Returns
Type Description
OtherCloudDiscoveryTarget.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public OtherCloudDiscoveryTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OtherCloudDiscoveryTarget.Builder
Overrides

clone()

public OtherCloudDiscoveryTarget.Builder clone()
Returns
Type Description
OtherCloudDiscoveryTarget.Builder
Overrides

getCadenceCase()

public OtherCloudDiscoveryTarget.CadenceCase getCadenceCase()
Returns
Type Description
OtherCloudDiscoveryTarget.CadenceCase

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];

Returns
Type Description
DiscoveryOtherCloudConditions

The conditions.

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];

Returns
Type Description
DiscoveryOtherCloudConditions.Builder

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];

Returns
Type Description
DiscoveryOtherCloudConditionsOrBuilder

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];

Returns
Type Description
DataSourceType

The dataSourceType.

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];

Returns
Type Description
DataSourceType.Builder

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];

Returns
Type Description
DataSourceTypeOrBuilder

getDefaultInstanceForType()

public OtherCloudDiscoveryTarget getDefaultInstanceForType()
Returns
Type Description
OtherCloudDiscoveryTarget

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisabled()

public Disabled getDisabled()

Disable profiling for resources that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 5;

Returns
Type Description
Disabled

The disabled.

getDisabledBuilder()

public Disabled.Builder getDisabledBuilder()

Disable profiling for resources that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 5;

Returns
Type Description
Disabled.Builder

getDisabledOrBuilder()

public DisabledOrBuilder getDisabledOrBuilder()

Disable profiling for resources that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 5;

Returns
Type Description
DisabledOrBuilder

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];

Returns
Type Description
DiscoveryOtherCloudFilter

The filter.

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];

Returns
Type Description
DiscoveryOtherCloudFilter.Builder

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];

Returns
Type Description
DiscoveryOtherCloudFilterOrBuilder

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;

Returns
Type Description
DiscoveryOtherCloudGenerationCadence

The generationCadence.

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;

Returns
Type Description
DiscoveryOtherCloudGenerationCadence.Builder

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;

Returns
Type Description
DiscoveryOtherCloudGenerationCadenceOrBuilder

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];

Returns
Type Description
boolean

Whether the conditions field is set.

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];

Returns
Type Description
boolean

Whether the dataSourceType field is set.

hasDisabled()

public boolean hasDisabled()

Disable profiling for resources that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 5;

Returns
Type Description
boolean

Whether the disabled field is set.

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];

Returns
Type Description
boolean

Whether the filter field is set.

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;

Returns
Type Description
boolean

Whether the generationCadence field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConditions(DiscoveryOtherCloudConditions value)

public OtherCloudDiscoveryTarget.Builder mergeConditions(DiscoveryOtherCloudConditions value)

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];

Parameter
Name Description
value DiscoveryOtherCloudConditions
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

mergeDataSourceType(DataSourceType value)

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];

Parameter
Name Description
value DataSourceType
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

mergeDisabled(Disabled value)

public OtherCloudDiscoveryTarget.Builder mergeDisabled(Disabled value)

Disable profiling for resources that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 5;

Parameter
Name Description
value Disabled
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

mergeFilter(DiscoveryOtherCloudFilter value)

public OtherCloudDiscoveryTarget.Builder mergeFilter(DiscoveryOtherCloudFilter value)

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];

Parameter
Name Description
value DiscoveryOtherCloudFilter
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

mergeFrom(OtherCloudDiscoveryTarget other)

public OtherCloudDiscoveryTarget.Builder mergeFrom(OtherCloudDiscoveryTarget other)
Parameter
Name Description
other OtherCloudDiscoveryTarget
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OtherCloudDiscoveryTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudDiscoveryTarget.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OtherCloudDiscoveryTarget.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OtherCloudDiscoveryTarget.Builder
Overrides

mergeGenerationCadence(DiscoveryOtherCloudGenerationCadence value)

public OtherCloudDiscoveryTarget.Builder mergeGenerationCadence(DiscoveryOtherCloudGenerationCadence value)

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;

Parameter
Name Description
value DiscoveryOtherCloudGenerationCadence
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OtherCloudDiscoveryTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OtherCloudDiscoveryTarget.Builder
Overrides

setConditions(DiscoveryOtherCloudConditions value)

public OtherCloudDiscoveryTarget.Builder setConditions(DiscoveryOtherCloudConditions value)

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];

Parameter
Name Description
value DiscoveryOtherCloudConditions
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

setConditions(DiscoveryOtherCloudConditions.Builder builderForValue)

public OtherCloudDiscoveryTarget.Builder setConditions(DiscoveryOtherCloudConditions.Builder builderForValue)

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];

Parameter
Name Description
builderForValue DiscoveryOtherCloudConditions.Builder
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

setDataSourceType(DataSourceType value)

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];

Parameter
Name Description
value DataSourceType
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

setDataSourceType(DataSourceType.Builder builderForValue)

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];

Parameter
Name Description
builderForValue DataSourceType.Builder
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

setDisabled(Disabled value)

public OtherCloudDiscoveryTarget.Builder setDisabled(Disabled value)

Disable profiling for resources that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 5;

Parameter
Name Description
value Disabled
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

setDisabled(Disabled.Builder builderForValue)

public OtherCloudDiscoveryTarget.Builder setDisabled(Disabled.Builder builderForValue)

Disable profiling for resources that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 5;

Parameter
Name Description
builderForValue Disabled.Builder
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OtherCloudDiscoveryTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OtherCloudDiscoveryTarget.Builder
Overrides

setFilter(DiscoveryOtherCloudFilter value)

public OtherCloudDiscoveryTarget.Builder setFilter(DiscoveryOtherCloudFilter value)

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];

Parameter
Name Description
value DiscoveryOtherCloudFilter
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

setFilter(DiscoveryOtherCloudFilter.Builder builderForValue)

public OtherCloudDiscoveryTarget.Builder setFilter(DiscoveryOtherCloudFilter.Builder builderForValue)

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];

Parameter
Name Description
builderForValue DiscoveryOtherCloudFilter.Builder
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

setGenerationCadence(DiscoveryOtherCloudGenerationCadence value)

public OtherCloudDiscoveryTarget.Builder setGenerationCadence(DiscoveryOtherCloudGenerationCadence value)

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;

Parameter
Name Description
value DiscoveryOtherCloudGenerationCadence
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

setGenerationCadence(DiscoveryOtherCloudGenerationCadence.Builder builderForValue)

public OtherCloudDiscoveryTarget.Builder setGenerationCadence(DiscoveryOtherCloudGenerationCadence.Builder builderForValue)

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;

Parameter
Name Description
builderForValue DiscoveryOtherCloudGenerationCadence.Builder
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OtherCloudDiscoveryTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OtherCloudDiscoveryTarget.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OtherCloudDiscoveryTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OtherCloudDiscoveryTarget.Builder
Overrides