public static final class DiscoveryTarget.Builder extends GeneratedMessageV3.Builder<DiscoveryTarget.Builder> implements DiscoveryTargetOrBuilder
Target used to match against for Discovery.
Protobuf type google.privacy.dlp.v2.DiscoveryTarget
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DiscoveryTarget build()
buildPartial()
public DiscoveryTarget buildPartial()
clear()
public DiscoveryTarget.Builder clear()
Overrides
clearBigQueryTarget()
public DiscoveryTarget.Builder clearBigQueryTarget()
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;
clearCloudSqlTarget()
public DiscoveryTarget.Builder clearCloudSqlTarget()
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;
clearField(Descriptors.FieldDescriptor field)
public DiscoveryTarget.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveryTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSecretsTarget()
public DiscoveryTarget.Builder clearSecretsTarget()
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;
clearTarget()
public DiscoveryTarget.Builder clearTarget()
clone()
public DiscoveryTarget.Builder clone()
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;
getBigQueryTargetBuilder()
public BigQueryDiscoveryTarget.Builder getBigQueryTargetBuilder()
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;
getCloudSqlTargetBuilder()
public CloudSqlDiscoveryTarget.Builder getCloudSqlTargetBuilder()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getSecretsTargetBuilder()
public SecretsDiscoveryTarget.Builder getSecretsTargetBuilder()
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBigQueryTarget(BigQueryDiscoveryTarget value)
public DiscoveryTarget.Builder mergeBigQueryTarget(BigQueryDiscoveryTarget value)
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;
mergeCloudSqlTarget(CloudSqlDiscoveryTarget value)
public DiscoveryTarget.Builder mergeCloudSqlTarget(CloudSqlDiscoveryTarget value)
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;
mergeFrom(DiscoveryTarget other)
public DiscoveryTarget.Builder mergeFrom(DiscoveryTarget other)
public DiscoveryTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DiscoveryTarget.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSecretsTarget(SecretsDiscoveryTarget value)
public DiscoveryTarget.Builder mergeSecretsTarget(SecretsDiscoveryTarget value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBigQueryTarget(BigQueryDiscoveryTarget value)
public DiscoveryTarget.Builder setBigQueryTarget(BigQueryDiscoveryTarget value)
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;
setBigQueryTarget(BigQueryDiscoveryTarget.Builder builderForValue)
public DiscoveryTarget.Builder setBigQueryTarget(BigQueryDiscoveryTarget.Builder builderForValue)
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;
setCloudSqlTarget(CloudSqlDiscoveryTarget value)
public DiscoveryTarget.Builder setCloudSqlTarget(CloudSqlDiscoveryTarget value)
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;
setCloudSqlTarget(CloudSqlDiscoveryTarget.Builder builderForValue)
public DiscoveryTarget.Builder setCloudSqlTarget(CloudSqlDiscoveryTarget.Builder builderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveryTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSecretsTarget(SecretsDiscoveryTarget value)
public DiscoveryTarget.Builder setSecretsTarget(SecretsDiscoveryTarget value)
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;
setSecretsTarget(SecretsDiscoveryTarget.Builder builderForValue)
public DiscoveryTarget.Builder setSecretsTarget(SecretsDiscoveryTarget.Builder builderForValue)
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides