Package com.google.privacy.dlp.v2
Class DiscoveryConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.DiscoveryConfig
- All Implemented Interfaces:
DiscoveryConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DiscoveryConfig
extends com.google.protobuf.GeneratedMessage
implements DiscoveryConfigOrBuilder
Configuration for discovery to scan resources for profile generation. Only one discovery configuration may exist per organization, folder, or project. The generated data profiles are retained according to the [data retention policy] (https://cloud.google.com/sensitive-data-protection/docs/data-profiles#retention).Protobuf type
google.privacy.dlp.v2.DiscoveryConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration for discovery to scan resources for profile generation.static final classProject and scan location information.static interfacestatic enumWhether the discovery config is currently active.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetActions(int index) Actions to execute at the completion of scanning.intActions to execute at the completion of scanning.Actions to execute at the completion of scanning.getActionsOrBuilder(int index) Actions to execute at the completion of scanning.List<? extends DataProfileActionOrBuilder>Actions to execute at the completion of scanning.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static DiscoveryConfigstatic final com.google.protobuf.Descriptors.DescriptorDisplay name (max 100 chars)com.google.protobuf.ByteStringDisplay name (max 100 chars)getErrors(int index) Output only.intOutput only.Output only.getErrorsOrBuilder(int index) Output only.List<? extends ErrorOrBuilder>Output only.getInspectTemplates(int index) Detection logic for profile generation.com.google.protobuf.ByteStringgetInspectTemplatesBytes(int index) Detection logic for profile generation.intDetection logic for profile generation.com.google.protobuf.ProtocolStringListDetection logic for profile generation.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created, for example `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`.com.google.protobuf.ByteStringUnique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created, for example `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`.Only set when the parent is an org.Only set when the parent is an org.Must be set only when scanning other clouds.Must be set only when scanning other clouds.com.google.protobuf.Parser<DiscoveryConfig>Optional.Optional.intRequired.intRequired.getTargets(int index) Target to match against for determining what to scan and how frequently.intTarget to match against for determining what to scan and how frequently.Target to match against for determining what to scan and how frequently.getTargetsOrBuilder(int index) Target to match against for determining what to scan and how frequently.List<? extends DiscoveryTargetOrBuilder>Target to match against for determining what to scan and how frequently.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOnly set when the parent is an org.booleanMust be set only when scanning other clouds.booleanOptional.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DiscoveryConfig.Builderstatic DiscoveryConfig.BuildernewBuilder(DiscoveryConfig prototype) protected DiscoveryConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DiscoveryConfigparseDelimitedFrom(InputStream input) static DiscoveryConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryConfigparseFrom(byte[] data) static DiscoveryConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryConfigparseFrom(com.google.protobuf.ByteString data) static DiscoveryConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryConfigparseFrom(com.google.protobuf.CodedInputStream input) static DiscoveryConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryConfigparseFrom(InputStream input) static DiscoveryConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryConfigparseFrom(ByteBuffer data) static DiscoveryConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DiscoveryConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
ORG_CONFIG_FIELD_NUMBER
public static final int ORG_CONFIG_FIELD_NUMBER- See Also:
-
OTHER_CLOUD_STARTING_LOCATION_FIELD_NUMBER
public static final int OTHER_CLOUD_STARTING_LOCATION_FIELD_NUMBER- See Also:
-
INSPECT_TEMPLATES_FIELD_NUMBER
public static final int INSPECT_TEMPLATES_FIELD_NUMBER- See Also:
-
ACTIONS_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER- See Also:
-
TARGETS_FIELD_NUMBER
public static final int TARGETS_FIELD_NUMBER- See Also:
-
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
LAST_RUN_TIME_FIELD_NUMBER
public static final int LAST_RUN_TIME_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
PROCESSING_LOCATION_FIELD_NUMBER
public static final int PROCESSING_LOCATION_FIELD_NUMBER- See Also:
-
-
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
-
getName
Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created, for example `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`.
string name = 1;- Specified by:
getNamein interfaceDiscoveryConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created, for example `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`.
string name = 1;- Specified by:
getNameBytesin interfaceDiscoveryConfigOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
Display name (max 100 chars)
string display_name = 11;- Specified by:
getDisplayNamein interfaceDiscoveryConfigOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Display name (max 100 chars)
string display_name = 11;- Specified by:
getDisplayNameBytesin interfaceDiscoveryConfigOrBuilder- Returns:
- The bytes for displayName.
-
hasOrgConfig
public boolean hasOrgConfig()Only set when the parent is an org.
.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;- Specified by:
hasOrgConfigin interfaceDiscoveryConfigOrBuilder- Returns:
- Whether the orgConfig field is set.
-
getOrgConfig
Only set when the parent is an org.
.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;- Specified by:
getOrgConfigin interfaceDiscoveryConfigOrBuilder- Returns:
- The orgConfig.
-
getOrgConfigOrBuilder
Only set when the parent is an org.
.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;- Specified by:
getOrgConfigOrBuilderin interfaceDiscoveryConfigOrBuilder
-
hasOtherCloudStartingLocation
public boolean hasOtherCloudStartingLocation()Must be set only when scanning other clouds.
.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 12;- Specified by:
hasOtherCloudStartingLocationin interfaceDiscoveryConfigOrBuilder- Returns:
- Whether the otherCloudStartingLocation field is set.
-
getOtherCloudStartingLocation
Must be set only when scanning other clouds.
.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 12;- Specified by:
getOtherCloudStartingLocationin interfaceDiscoveryConfigOrBuilder- Returns:
- The otherCloudStartingLocation.
-
getOtherCloudStartingLocationOrBuilder
Must be set only when scanning other clouds.
.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 12;- Specified by:
getOtherCloudStartingLocationOrBuilderin interfaceDiscoveryConfigOrBuilder
-
getInspectTemplatesList
public com.google.protobuf.ProtocolStringList getInspectTemplatesList()Detection logic for profile generation. Not all template features are used by Discovery. FindingLimits, include_quote and exclude_info_types have no impact on Discovery. 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/sensitive-data-protection/docs/data-profiles#data-residency.
repeated string inspect_templates = 3;- Specified by:
getInspectTemplatesListin interfaceDiscoveryConfigOrBuilder- Returns:
- A list containing the inspectTemplates.
-
getInspectTemplatesCount
public int getInspectTemplatesCount()Detection logic for profile generation. Not all template features are used by Discovery. FindingLimits, include_quote and exclude_info_types have no impact on Discovery. 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/sensitive-data-protection/docs/data-profiles#data-residency.
repeated string inspect_templates = 3;- Specified by:
getInspectTemplatesCountin interfaceDiscoveryConfigOrBuilder- Returns:
- The count of inspectTemplates.
-
getInspectTemplates
Detection logic for profile generation. Not all template features are used by Discovery. FindingLimits, include_quote and exclude_info_types have no impact on Discovery. 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/sensitive-data-protection/docs/data-profiles#data-residency.
repeated string inspect_templates = 3;- Specified by:
getInspectTemplatesin interfaceDiscoveryConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The inspectTemplates at the given index.
-
getInspectTemplatesBytes
public com.google.protobuf.ByteString getInspectTemplatesBytes(int index) Detection logic for profile generation. Not all template features are used by Discovery. FindingLimits, include_quote and exclude_info_types have no impact on Discovery. 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/sensitive-data-protection/docs/data-profiles#data-residency.
repeated string inspect_templates = 3;- Specified by:
getInspectTemplatesBytesin interfaceDiscoveryConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inspectTemplates at the given index.
-
getActionsList
Actions to execute at the completion of scanning.
repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;- Specified by:
getActionsListin interfaceDiscoveryConfigOrBuilder
-
getActionsOrBuilderList
Actions to execute at the completion of scanning.
repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;- Specified by:
getActionsOrBuilderListin interfaceDiscoveryConfigOrBuilder
-
getActionsCount
public int getActionsCount()Actions to execute at the completion of scanning.
repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;- Specified by:
getActionsCountin interfaceDiscoveryConfigOrBuilder
-
getActions
Actions to execute at the completion of scanning.
repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;- Specified by:
getActionsin interfaceDiscoveryConfigOrBuilder
-
getActionsOrBuilder
Actions to execute at the completion of scanning.
repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;- Specified by:
getActionsOrBuilderin interfaceDiscoveryConfigOrBuilder
-
getTargetsList
Target to match against for determining what to scan and how frequently.
repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;- Specified by:
getTargetsListin interfaceDiscoveryConfigOrBuilder
-
getTargetsOrBuilderList
Target to match against for determining what to scan and how frequently.
repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;- Specified by:
getTargetsOrBuilderListin interfaceDiscoveryConfigOrBuilder
-
getTargetsCount
public int getTargetsCount()Target to match against for determining what to scan and how frequently.
repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;- Specified by:
getTargetsCountin interfaceDiscoveryConfigOrBuilder
-
getTargets
Target to match against for determining what to scan and how frequently.
repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;- Specified by:
getTargetsin interfaceDiscoveryConfigOrBuilder
-
getTargetsOrBuilder
Target to match against for determining what to scan and how frequently.
repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;- Specified by:
getTargetsOrBuilderin interfaceDiscoveryConfigOrBuilder
-
getErrorsList
Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsListin interfaceDiscoveryConfigOrBuilder
-
getErrorsOrBuilderList
Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsOrBuilderListin interfaceDiscoveryConfigOrBuilder
-
getErrorsCount
public int getErrorsCount()Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsCountin interfaceDiscoveryConfigOrBuilder
-
getErrors
Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsin interfaceDiscoveryConfigOrBuilder
-
getErrorsOrBuilder
Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsOrBuilderin interfaceDiscoveryConfigOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. The creation timestamp of a DiscoveryConfig.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDiscoveryConfigOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The creation timestamp of a DiscoveryConfig.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDiscoveryConfigOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation timestamp of a DiscoveryConfig.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDiscoveryConfigOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The last update timestamp of a DiscoveryConfig.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceDiscoveryConfigOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The last update timestamp of a DiscoveryConfig.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceDiscoveryConfigOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The last update timestamp of a DiscoveryConfig.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceDiscoveryConfigOrBuilder
-
hasLastRunTime
public boolean hasLastRunTime()Output only. The timestamp of the last time this config was executed.
.google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLastRunTimein interfaceDiscoveryConfigOrBuilder- Returns:
- Whether the lastRunTime field is set.
-
getLastRunTime
public com.google.protobuf.Timestamp getLastRunTime()Output only. The timestamp of the last time this config was executed.
.google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastRunTimein interfaceDiscoveryConfigOrBuilder- Returns:
- The lastRunTime.
-
getLastRunTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder()Output only. The timestamp of the last time this config was executed.
.google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastRunTimeOrBuilderin interfaceDiscoveryConfigOrBuilder
-
getStatusValue
public int getStatusValue()Required. A status for this configuration.
.google.privacy.dlp.v2.DiscoveryConfig.Status status = 10 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStatusValuein interfaceDiscoveryConfigOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Required. A status for this configuration.
.google.privacy.dlp.v2.DiscoveryConfig.Status status = 10 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getStatusin interfaceDiscoveryConfigOrBuilder- Returns:
- The status.
-
hasProcessingLocation
public boolean hasProcessingLocation()Optional. Processing location configuration. Vertex AI dataset scanning will set processing_location.image_fallback_type to MultiRegionProcessing by default.
.google.privacy.dlp.v2.ProcessingLocation processing_location = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasProcessingLocationin interfaceDiscoveryConfigOrBuilder- Returns:
- Whether the processingLocation field is set.
-
getProcessingLocation
Optional. Processing location configuration. Vertex AI dataset scanning will set processing_location.image_fallback_type to MultiRegionProcessing by default.
.google.privacy.dlp.v2.ProcessingLocation processing_location = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProcessingLocationin interfaceDiscoveryConfigOrBuilder- Returns:
- The processingLocation.
-
getProcessingLocationOrBuilder
Optional. Processing location configuration. Vertex AI dataset scanning will set processing_location.image_fallback_type to MultiRegionProcessing by default.
.google.privacy.dlp.v2.ProcessingLocation processing_location = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProcessingLocationOrBuilderin interfaceDiscoveryConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DiscoveryConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DiscoveryConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DiscoveryConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DiscoveryConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DiscoveryConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DiscoveryConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-