Package com.google.privacy.dlp.v2
Class DiscoveryTarget
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.DiscoveryTarget
- All Implemented Interfaces:
DiscoveryTargetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DiscoveryTarget
extends com.google.protobuf.GeneratedMessage
implements DiscoveryTargetOrBuilder
Target used to match against for Discovery.Protobuf type
google.privacy.dlp.v2.DiscoveryTarget- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTarget used to match against for Discovery.static enumNested 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 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 TypeMethodDescriptionbooleanBigQuery target for Discovery.BigQuery target for Discovery.Cloud SQL target for Discovery.Cloud SQL target for Discovery.Cloud Storage target for Discovery.Cloud Storage target for Discovery.static DiscoveryTargetstatic final com.google.protobuf.Descriptors.DescriptorOther clouds target for discovery.Other clouds target for discovery.com.google.protobuf.Parser<DiscoveryTarget>Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center.Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center.intVertex AI dataset target for Discovery.Vertex AI dataset target for Discovery.booleanBigQuery target for Discovery.booleanCloud SQL target for Discovery.booleanCloud Storage target for Discovery.inthashCode()booleanOther clouds target for discovery.booleanDiscovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center.booleanVertex AI dataset target for Discovery.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DiscoveryTarget.Builderstatic DiscoveryTarget.BuildernewBuilder(DiscoveryTarget prototype) protected DiscoveryTarget.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DiscoveryTargetparseDelimitedFrom(InputStream input) static DiscoveryTargetparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryTargetparseFrom(byte[] data) static DiscoveryTargetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryTargetparseFrom(com.google.protobuf.ByteString data) static DiscoveryTargetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryTargetparseFrom(com.google.protobuf.CodedInputStream input) static DiscoveryTargetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryTargetparseFrom(InputStream input) static DiscoveryTargetparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiscoveryTargetparseFrom(ByteBuffer data) static DiscoveryTargetparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DiscoveryTarget>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
-
BIG_QUERY_TARGET_FIELD_NUMBER
public static final int BIG_QUERY_TARGET_FIELD_NUMBER- See Also:
-
CLOUD_SQL_TARGET_FIELD_NUMBER
public static final int CLOUD_SQL_TARGET_FIELD_NUMBER- See Also:
-
SECRETS_TARGET_FIELD_NUMBER
public static final int SECRETS_TARGET_FIELD_NUMBER- See Also:
-
CLOUD_STORAGE_TARGET_FIELD_NUMBER
public static final int CLOUD_STORAGE_TARGET_FIELD_NUMBER- See Also:
-
OTHER_CLOUD_TARGET_FIELD_NUMBER
public static final int OTHER_CLOUD_TARGET_FIELD_NUMBER- See Also:
-
VERTEX_DATASET_TARGET_FIELD_NUMBER
public static final int VERTEX_DATASET_TARGET_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
-
getTargetCase
- Specified by:
getTargetCasein interfaceDiscoveryTargetOrBuilder
-
hasBigQueryTarget
public boolean hasBigQueryTarget()BigQuery target for Discovery. The first target to match a table will be the one applied.
.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;- Specified by:
hasBigQueryTargetin interfaceDiscoveryTargetOrBuilder- Returns:
- Whether the bigQueryTarget field is set.
-
getBigQueryTarget
BigQuery target for Discovery. The first target to match a table will be the one applied.
.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;- Specified by:
getBigQueryTargetin interfaceDiscoveryTargetOrBuilder- Returns:
- The bigQueryTarget.
-
getBigQueryTargetOrBuilder
BigQuery target for Discovery. The first target to match a table will be the one applied.
.google.privacy.dlp.v2.BigQueryDiscoveryTarget big_query_target = 1;- Specified by:
getBigQueryTargetOrBuilderin interfaceDiscoveryTargetOrBuilder
-
hasCloudSqlTarget
public boolean hasCloudSqlTarget()Cloud SQL target for Discovery. The first target to match a table will be the one applied.
.google.privacy.dlp.v2.CloudSqlDiscoveryTarget cloud_sql_target = 2;- Specified by:
hasCloudSqlTargetin interfaceDiscoveryTargetOrBuilder- Returns:
- Whether the cloudSqlTarget field is set.
-
getCloudSqlTarget
Cloud SQL target for Discovery. The first target to match a table will be the one applied.
.google.privacy.dlp.v2.CloudSqlDiscoveryTarget cloud_sql_target = 2;- Specified by:
getCloudSqlTargetin interfaceDiscoveryTargetOrBuilder- Returns:
- The cloudSqlTarget.
-
getCloudSqlTargetOrBuilder
Cloud SQL target for Discovery. The first target to match a table will be the one applied.
.google.privacy.dlp.v2.CloudSqlDiscoveryTarget cloud_sql_target = 2;- Specified by:
getCloudSqlTargetOrBuilderin interfaceDiscoveryTargetOrBuilder
-
hasSecretsTarget
public boolean hasSecretsTarget()Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.
.google.privacy.dlp.v2.SecretsDiscoveryTarget secrets_target = 3;- Specified by:
hasSecretsTargetin interfaceDiscoveryTargetOrBuilder- Returns:
- Whether the secretsTarget field is set.
-
getSecretsTarget
Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.
.google.privacy.dlp.v2.SecretsDiscoveryTarget secrets_target = 3;- Specified by:
getSecretsTargetin interfaceDiscoveryTargetOrBuilder- Returns:
- The secretsTarget.
-
getSecretsTargetOrBuilder
Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.
.google.privacy.dlp.v2.SecretsDiscoveryTarget secrets_target = 3;- Specified by:
getSecretsTargetOrBuilderin interfaceDiscoveryTargetOrBuilder
-
hasCloudStorageTarget
public boolean hasCloudStorageTarget()Cloud Storage target for Discovery. The first target to match a table will be the one applied.
.google.privacy.dlp.v2.CloudStorageDiscoveryTarget cloud_storage_target = 4;- Specified by:
hasCloudStorageTargetin interfaceDiscoveryTargetOrBuilder- Returns:
- Whether the cloudStorageTarget field is set.
-
getCloudStorageTarget
Cloud Storage target for Discovery. The first target to match a table will be the one applied.
.google.privacy.dlp.v2.CloudStorageDiscoveryTarget cloud_storage_target = 4;- Specified by:
getCloudStorageTargetin interfaceDiscoveryTargetOrBuilder- Returns:
- The cloudStorageTarget.
-
getCloudStorageTargetOrBuilder
Cloud Storage target for Discovery. The first target to match a table will be the one applied.
.google.privacy.dlp.v2.CloudStorageDiscoveryTarget cloud_storage_target = 4;- Specified by:
getCloudStorageTargetOrBuilderin interfaceDiscoveryTargetOrBuilder
-
hasOtherCloudTarget
public boolean hasOtherCloudTarget()Other clouds target for discovery. The first target to match a resource will be the one applied.
.google.privacy.dlp.v2.OtherCloudDiscoveryTarget other_cloud_target = 5;- Specified by:
hasOtherCloudTargetin interfaceDiscoveryTargetOrBuilder- Returns:
- Whether the otherCloudTarget field is set.
-
getOtherCloudTarget
Other clouds target for discovery. The first target to match a resource will be the one applied.
.google.privacy.dlp.v2.OtherCloudDiscoveryTarget other_cloud_target = 5;- Specified by:
getOtherCloudTargetin interfaceDiscoveryTargetOrBuilder- Returns:
- The otherCloudTarget.
-
getOtherCloudTargetOrBuilder
Other clouds target for discovery. The first target to match a resource will be the one applied.
.google.privacy.dlp.v2.OtherCloudDiscoveryTarget other_cloud_target = 5;- Specified by:
getOtherCloudTargetOrBuilderin interfaceDiscoveryTargetOrBuilder
-
hasVertexDatasetTarget
public boolean hasVertexDatasetTarget()Vertex AI dataset target for Discovery. The first target to match a dataset will be the one applied. Note that discovery for Vertex AI can incur Cloud Storage Class B operation charges for storage.objects.get operations and retrieval fees. For more information, see [Cloud Storage pricing](https://cloud.google.com/storage/pricing#price-tables). Note that discovery for Vertex AI dataset will not be able to scan images unless DiscoveryConfig.processing_location.image_fallback_location has multi_region_processing or global_processing configured.
.google.privacy.dlp.v2.VertexDatasetDiscoveryTarget vertex_dataset_target = 7;- Specified by:
hasVertexDatasetTargetin interfaceDiscoveryTargetOrBuilder- Returns:
- Whether the vertexDatasetTarget field is set.
-
getVertexDatasetTarget
Vertex AI dataset target for Discovery. The first target to match a dataset will be the one applied. Note that discovery for Vertex AI can incur Cloud Storage Class B operation charges for storage.objects.get operations and retrieval fees. For more information, see [Cloud Storage pricing](https://cloud.google.com/storage/pricing#price-tables). Note that discovery for Vertex AI dataset will not be able to scan images unless DiscoveryConfig.processing_location.image_fallback_location has multi_region_processing or global_processing configured.
.google.privacy.dlp.v2.VertexDatasetDiscoveryTarget vertex_dataset_target = 7;- Specified by:
getVertexDatasetTargetin interfaceDiscoveryTargetOrBuilder- Returns:
- The vertexDatasetTarget.
-
getVertexDatasetTargetOrBuilder
Vertex AI dataset target for Discovery. The first target to match a dataset will be the one applied. Note that discovery for Vertex AI can incur Cloud Storage Class B operation charges for storage.objects.get operations and retrieval fees. For more information, see [Cloud Storage pricing](https://cloud.google.com/storage/pricing#price-tables). Note that discovery for Vertex AI dataset will not be able to scan images unless DiscoveryConfig.processing_location.image_fallback_location has multi_region_processing or global_processing configured.
.google.privacy.dlp.v2.VertexDatasetDiscoveryTarget vertex_dataset_target = 7;- Specified by:
getVertexDatasetTargetOrBuilderin interfaceDiscoveryTargetOrBuilder
-
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 DiscoveryTarget parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryTarget parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryTarget parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryTarget parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryTarget parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DiscoveryTarget parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DiscoveryTarget parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DiscoveryTarget parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DiscoveryTarget 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 DiscoveryTarget.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
-