Package com.google.privacy.dlp.v2
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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Required.Disable profiling for resources that match this filter.Required.How often and when to update data profiles.Optional.Optional.Optional.Required.Required.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDisable profiling for resources that match this filter.Disable profiling for resources that match this filter.Disable profiling for resources that match this filter.Required.Required.Required.How often and when to update data profiles.How often and when to update data profiles.How often and when to update data profiles.booleanOptional.booleanRequired.booleanDisable profiling for resources that match this filter.booleanRequired.booleanHow often and when to update data profiles.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.Required.mergeDisabled(Disabled value) Disable profiling for resources that match this filter.Required.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) How often and when to update data profiles.Optional.setConditions(DiscoveryOtherCloudConditions.Builder builderForValue) Optional.setDataSourceType(DataSourceType value) Required.setDataSourceType(DataSourceType.Builder builderForValue) Required.setDisabled(Disabled value) Disable profiling for resources that match this filter.setDisabled(Disabled.Builder builderForValue) Disable profiling for resources that match this filter.Required.setFilter(DiscoveryOtherCloudFilter.Builder builderForValue) Required.How often and when to update data profiles.setGenerationCadence(DiscoveryOtherCloudGenerationCadence.Builder builderForValue) How often and when to update data profiles.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OtherCloudDiscoveryTarget.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OtherCloudDiscoveryTarget.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OtherCloudDiscoveryTarget.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OtherCloudDiscoveryTarget.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OtherCloudDiscoveryTarget.Builder>- Throws:
IOException
-
getCadenceCase
- Specified by:
getCadenceCasein interfaceOtherCloudDiscoveryTargetOrBuilder
-
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:
hasDataSourceTypein interfaceOtherCloudDiscoveryTargetOrBuilder- Returns:
- Whether the dataSourceType field is set.
-
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:
getDataSourceTypein interfaceOtherCloudDiscoveryTargetOrBuilder- Returns:
- The dataSourceType.
-
setDataSourceType
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
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
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
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
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
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:
getDataSourceTypeOrBuilderin interfaceOtherCloudDiscoveryTargetOrBuilder
-
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:
hasFilterin interfaceOtherCloudDiscoveryTargetOrBuilder- Returns:
- Whether the filter field is set.
-
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:
getFilterin interfaceOtherCloudDiscoveryTargetOrBuilder- 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
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]; -
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
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
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
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:
getFilterOrBuilderin interfaceOtherCloudDiscoveryTargetOrBuilder
-
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:
hasConditionsin interfaceOtherCloudDiscoveryTargetOrBuilder- Returns:
- Whether the conditions field is set.
-
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:
getConditionsin interfaceOtherCloudDiscoveryTargetOrBuilder- 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
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]; -
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
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
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
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:
getConditionsOrBuilderin interfaceOtherCloudDiscoveryTargetOrBuilder
-
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:
hasGenerationCadencein interfaceOtherCloudDiscoveryTargetOrBuilder- Returns:
- Whether the generationCadence field is set.
-
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:
getGenerationCadencein interfaceOtherCloudDiscoveryTargetOrBuilder- Returns:
- The generationCadence.
-
setGenerationCadence
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; -
setGenerationCadence
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; -
mergeGenerationCadence
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; -
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
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
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:
getGenerationCadenceOrBuilderin interfaceOtherCloudDiscoveryTargetOrBuilder
-
hasDisabled
public boolean hasDisabled()Disable profiling for resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 5;- Specified by:
hasDisabledin interfaceOtherCloudDiscoveryTargetOrBuilder- Returns:
- Whether the disabled field is set.
-
getDisabled
Disable profiling for resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 5;- Specified by:
getDisabledin interfaceOtherCloudDiscoveryTargetOrBuilder- Returns:
- The disabled.
-
setDisabled
Disable profiling for resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 5; -
setDisabled
Disable profiling for resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 5; -
mergeDisabled
Disable profiling for resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 5; -
clearDisabled
Disable profiling for resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 5; -
getDisabledBuilder
Disable profiling for resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 5; -
getDisabledOrBuilder
Disable profiling for resources that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 5;- Specified by:
getDisabledOrBuilderin interfaceOtherCloudDiscoveryTargetOrBuilder
-