public final class DiscoveryTarget extends GeneratedMessageV3 implements DiscoveryTargetOrBuilder
Target used to match against for Discovery.
Protobuf type google.privacy.dlp.v2.DiscoveryTarget
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BIG_QUERY_TARGET_FIELD_NUMBER
public static final int BIG_QUERY_TARGET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CLOUD_SQL_TARGET_FIELD_NUMBER
public static final int CLOUD_SQL_TARGET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SECRETS_TARGET_FIELD_NUMBER
public static final int SECRETS_TARGET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DiscoveryTarget getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DiscoveryTarget.Builder newBuilder()
newBuilder(DiscoveryTarget prototype)
public static DiscoveryTarget.Builder newBuilder(DiscoveryTarget prototype)
public static DiscoveryTarget parseDelimitedFrom(InputStream input)
public static DiscoveryTarget parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DiscoveryTarget parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryTarget parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DiscoveryTarget parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryTarget parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryTarget parseFrom(CodedInputStream input)
public static DiscoveryTarget parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiscoveryTarget parseFrom(InputStream input)
public static DiscoveryTarget parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DiscoveryTarget parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryTarget parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DiscoveryTarget> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBigQueryTarget()
public BigQueryDiscoveryTarget 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;
getBigQueryTargetOrBuilder()
public BigQueryDiscoveryTargetOrBuilder 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;
getCloudSqlTarget()
public CloudSqlDiscoveryTarget 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;
getCloudSqlTargetOrBuilder()
public CloudSqlDiscoveryTargetOrBuilder 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;
getDefaultInstanceForType()
public DiscoveryTarget getDefaultInstanceForType()
getParserForType()
public Parser<DiscoveryTarget> getParserForType()
Overrides
getSecretsTarget()
public SecretsDiscoveryTarget 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;
getSecretsTargetOrBuilder()
public SecretsDiscoveryTargetOrBuilder 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;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTargetCase()
public DiscoveryTarget.TargetCase getTargetCase()
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;
Returns |
Type |
Description |
boolean |
Whether the bigQueryTarget field is set.
|
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;
Returns |
Type |
Description |
boolean |
Whether the cloudSqlTarget field is set.
|
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;
Returns |
Type |
Description |
boolean |
Whether the secretsTarget field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DiscoveryTarget.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiscoveryTarget.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DiscoveryTarget.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides