- 3.58.0 (latest)
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiscoveryTarget.BuilderImplements
DiscoveryTargetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryTarget.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
build()
public DiscoveryTarget build()
Returns | |
---|---|
Type | Description |
DiscoveryTarget |
buildPartial()
public DiscoveryTarget buildPartial()
Returns | |
---|---|
Type | Description |
DiscoveryTarget |
clear()
public DiscoveryTarget.Builder clear()
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
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;
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
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;
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
clearCloudStorageTarget()
public DiscoveryTarget.Builder clearCloudStorageTarget()
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;
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
clearField(Descriptors.FieldDescriptor field)
public DiscoveryTarget.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveryTarget.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
clearOtherCloudTarget()
public DiscoveryTarget.Builder clearOtherCloudTarget()
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;
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
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;
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
clearTarget()
public DiscoveryTarget.Builder clearTarget()
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
clone()
public DiscoveryTarget.Builder clone()
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
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;
Returns | |
---|---|
Type | Description |
BigQueryDiscoveryTarget |
The bigQueryTarget. |
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;
Returns | |
---|---|
Type | Description |
BigQueryDiscoveryTarget.Builder |
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;
Returns | |
---|---|
Type | Description |
BigQueryDiscoveryTargetOrBuilder |
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;
Returns | |
---|---|
Type | Description |
CloudSqlDiscoveryTarget |
The cloudSqlTarget. |
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;
Returns | |
---|---|
Type | Description |
CloudSqlDiscoveryTarget.Builder |
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;
Returns | |
---|---|
Type | Description |
CloudSqlDiscoveryTargetOrBuilder |
getCloudStorageTarget()
public CloudStorageDiscoveryTarget 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;
Returns | |
---|---|
Type | Description |
CloudStorageDiscoveryTarget |
The cloudStorageTarget. |
getCloudStorageTargetBuilder()
public CloudStorageDiscoveryTarget.Builder getCloudStorageTargetBuilder()
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;
Returns | |
---|---|
Type | Description |
CloudStorageDiscoveryTarget.Builder |
getCloudStorageTargetOrBuilder()
public CloudStorageDiscoveryTargetOrBuilder 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;
Returns | |
---|---|
Type | Description |
CloudStorageDiscoveryTargetOrBuilder |
getDefaultInstanceForType()
public DiscoveryTarget getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DiscoveryTarget |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getOtherCloudTarget()
public OtherCloudDiscoveryTarget 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;
Returns | |
---|---|
Type | Description |
OtherCloudDiscoveryTarget |
The otherCloudTarget. |
getOtherCloudTargetBuilder()
public OtherCloudDiscoveryTarget.Builder getOtherCloudTargetBuilder()
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;
Returns | |
---|---|
Type | Description |
OtherCloudDiscoveryTarget.Builder |
getOtherCloudTargetOrBuilder()
public OtherCloudDiscoveryTargetOrBuilder 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;
Returns | |
---|---|
Type | Description |
OtherCloudDiscoveryTargetOrBuilder |
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;
Returns | |
---|---|
Type | Description |
SecretsDiscoveryTarget |
The secretsTarget. |
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;
Returns | |
---|---|
Type | Description |
SecretsDiscoveryTarget.Builder |
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;
Returns | |
---|---|
Type | Description |
SecretsDiscoveryTargetOrBuilder |
getTargetCase()
public DiscoveryTarget.TargetCase getTargetCase()
Returns | |
---|---|
Type | Description |
DiscoveryTarget.TargetCase |
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. |
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the cloudStorageTarget field is set. |
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the otherCloudTarget 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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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;
Parameter | |
---|---|
Name | Description |
value |
BigQueryDiscoveryTarget |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
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;
Parameter | |
---|---|
Name | Description |
value |
CloudSqlDiscoveryTarget |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
mergeCloudStorageTarget(CloudStorageDiscoveryTarget value)
public DiscoveryTarget.Builder mergeCloudStorageTarget(CloudStorageDiscoveryTarget value)
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;
Parameter | |
---|---|
Name | Description |
value |
CloudStorageDiscoveryTarget |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
mergeFrom(DiscoveryTarget other)
public DiscoveryTarget.Builder mergeFrom(DiscoveryTarget other)
Parameter | |
---|---|
Name | Description |
other |
DiscoveryTarget |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiscoveryTarget.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DiscoveryTarget.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
mergeOtherCloudTarget(OtherCloudDiscoveryTarget value)
public DiscoveryTarget.Builder mergeOtherCloudTarget(OtherCloudDiscoveryTarget value)
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;
Parameter | |
---|---|
Name | Description |
value |
OtherCloudDiscoveryTarget |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
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;
Parameter | |
---|---|
Name | Description |
value |
SecretsDiscoveryTarget |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryTarget.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
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;
Parameter | |
---|---|
Name | Description |
value |
BigQueryDiscoveryTarget |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
BigQueryDiscoveryTarget.Builder |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
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;
Parameter | |
---|---|
Name | Description |
value |
CloudSqlDiscoveryTarget |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
CloudSqlDiscoveryTarget.Builder |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
setCloudStorageTarget(CloudStorageDiscoveryTarget value)
public DiscoveryTarget.Builder setCloudStorageTarget(CloudStorageDiscoveryTarget value)
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;
Parameter | |
---|---|
Name | Description |
value |
CloudStorageDiscoveryTarget |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
setCloudStorageTarget(CloudStorageDiscoveryTarget.Builder builderForValue)
public DiscoveryTarget.Builder setCloudStorageTarget(CloudStorageDiscoveryTarget.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
CloudStorageDiscoveryTarget.Builder |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryTarget.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
setOtherCloudTarget(OtherCloudDiscoveryTarget value)
public DiscoveryTarget.Builder setOtherCloudTarget(OtherCloudDiscoveryTarget value)
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;
Parameter | |
---|---|
Name | Description |
value |
OtherCloudDiscoveryTarget |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
setOtherCloudTarget(OtherCloudDiscoveryTarget.Builder builderForValue)
public DiscoveryTarget.Builder setOtherCloudTarget(OtherCloudDiscoveryTarget.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
OtherCloudDiscoveryTarget.Builder |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveryTarget.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
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;
Parameter | |
---|---|
Name | Description |
value |
SecretsDiscoveryTarget |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
SecretsDiscoveryTarget.Builder |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryTarget.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiscoveryTarget.Builder |