public final class DataProfileJobConfig extends com.google.protobuf.GeneratedMessageV3 implements DataProfileJobConfigOrBuilder
Configuration for setting up a job to scan resources for profile generation. Only one data profile configuration may exist per organization, folder, or project. The generated data profiles are retained according to the [data retention policy] (https://cloud.google.com/dlp/docs/data-profiles#retention).Protobuf type
google.privacy.dlp.v2.DataProfileJobConfig| Modifier and Type | Class and Description |
|---|---|
static class |
DataProfileJobConfig.Builder
Configuration for setting up a job to scan resources for profile generation.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_PROFILE_ACTIONS_FIELD_NUMBER |
static int |
INSPECT_TEMPLATES_FIELD_NUMBER |
static int |
LOCATION_FIELD_NUMBER |
static int |
PROJECT_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DataProfileAction |
getDataProfileActions(int index)
Actions to execute at the completion of the job.
|
int |
getDataProfileActionsCount()
Actions to execute at the completion of the job.
|
List<DataProfileAction> |
getDataProfileActionsList()
Actions to execute at the completion of the job.
|
DataProfileActionOrBuilder |
getDataProfileActionsOrBuilder(int index)
Actions to execute at the completion of the job.
|
List<? extends DataProfileActionOrBuilder> |
getDataProfileActionsOrBuilderList()
Actions to execute at the completion of the job.
|
static DataProfileJobConfig |
getDefaultInstance() |
DataProfileJobConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getInspectTemplates(int index)
Detection logic for profile generation.
|
com.google.protobuf.ByteString |
getInspectTemplatesBytes(int index)
Detection logic for profile generation.
|
int |
getInspectTemplatesCount()
Detection logic for profile generation.
|
com.google.protobuf.ProtocolStringList |
getInspectTemplatesList()
Detection logic for profile generation.
|
DataProfileLocation |
getLocation()
The data to scan.
|
DataProfileLocationOrBuilder |
getLocationOrBuilder()
The data to scan.
|
com.google.protobuf.Parser<DataProfileJobConfig> |
getParserForType() |
String |
getProjectId()
The project that will run the scan.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
The project that will run the scan.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasLocation()
The data to scan.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DataProfileJobConfig.Builder |
newBuilder() |
static DataProfileJobConfig.Builder |
newBuilder(DataProfileJobConfig prototype) |
DataProfileJobConfig.Builder |
newBuilderForType() |
protected DataProfileJobConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DataProfileJobConfig |
parseDelimitedFrom(InputStream input) |
static DataProfileJobConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataProfileJobConfig |
parseFrom(byte[] data) |
static DataProfileJobConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataProfileJobConfig |
parseFrom(ByteBuffer data) |
static DataProfileJobConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataProfileJobConfig |
parseFrom(com.google.protobuf.ByteString data) |
static DataProfileJobConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataProfileJobConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DataProfileJobConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataProfileJobConfig |
parseFrom(InputStream input) |
static DataProfileJobConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DataProfileJobConfig> |
parser() |
DataProfileJobConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int LOCATION_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
public static final int INSPECT_TEMPLATES_FIELD_NUMBER
public static final int DATA_PROFILE_ACTIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasLocation()
The data to scan.
.google.privacy.dlp.v2.DataProfileLocation location = 1;hasLocation in interface DataProfileJobConfigOrBuilderpublic DataProfileLocation getLocation()
The data to scan.
.google.privacy.dlp.v2.DataProfileLocation location = 1;getLocation in interface DataProfileJobConfigOrBuilderpublic DataProfileLocationOrBuilder getLocationOrBuilder()
The data to scan.
.google.privacy.dlp.v2.DataProfileLocation location = 1;getLocationOrBuilder in interface DataProfileJobConfigOrBuilderpublic String getProjectId()
The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
string project_id = 5;getProjectId in interface DataProfileJobConfigOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
string project_id = 5;getProjectIdBytes in interface DataProfileJobConfigOrBuilderpublic com.google.protobuf.ProtocolStringList getInspectTemplatesList()
Detection logic for profile generation. Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned. For more information, see https://cloud.google.com/dlp/docs/data-profiles#data_residency.
repeated string inspect_templates = 7;getInspectTemplatesList in interface DataProfileJobConfigOrBuilderpublic int getInspectTemplatesCount()
Detection logic for profile generation. Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned. For more information, see https://cloud.google.com/dlp/docs/data-profiles#data_residency.
repeated string inspect_templates = 7;getInspectTemplatesCount in interface DataProfileJobConfigOrBuilderpublic String getInspectTemplates(int index)
Detection logic for profile generation. Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned. For more information, see https://cloud.google.com/dlp/docs/data-profiles#data_residency.
repeated string inspect_templates = 7;getInspectTemplates in interface DataProfileJobConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getInspectTemplatesBytes(int index)
Detection logic for profile generation. Not all template features are used by profiles. FindingLimits, include_quote and exclude_info_types have no impact on data profiling. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned. For more information, see https://cloud.google.com/dlp/docs/data-profiles#data_residency.
repeated string inspect_templates = 7;getInspectTemplatesBytes in interface DataProfileJobConfigOrBuilderindex - The index of the value to return.public List<DataProfileAction> getDataProfileActionsList()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;getDataProfileActionsList in interface DataProfileJobConfigOrBuilderpublic List<? extends DataProfileActionOrBuilder> getDataProfileActionsOrBuilderList()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;getDataProfileActionsOrBuilderList in interface DataProfileJobConfigOrBuilderpublic int getDataProfileActionsCount()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;getDataProfileActionsCount in interface DataProfileJobConfigOrBuilderpublic DataProfileAction getDataProfileActions(int index)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;getDataProfileActions in interface DataProfileJobConfigOrBuilderpublic DataProfileActionOrBuilder getDataProfileActionsOrBuilder(int index)
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6;getDataProfileActionsOrBuilder in interface DataProfileJobConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DataProfileJobConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataProfileJobConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataProfileJobConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataProfileJobConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataProfileJobConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataProfileJobConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataProfileJobConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static DataProfileJobConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataProfileJobConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DataProfileJobConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataProfileJobConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DataProfileJobConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DataProfileJobConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DataProfileJobConfig.Builder newBuilder()
public static DataProfileJobConfig.Builder newBuilder(DataProfileJobConfig prototype)
public DataProfileJobConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DataProfileJobConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DataProfileJobConfig getDefaultInstance()
public static com.google.protobuf.Parser<DataProfileJobConfig> parser()
public com.google.protobuf.Parser<DataProfileJobConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DataProfileJobConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.