Class CloudDlpDataProfile.Builder (2.25.0)

public static final class CloudDlpDataProfile.Builder extends GeneratedMessageV3.Builder<CloudDlpDataProfile.Builder> implements CloudDlpDataProfileOrBuilder

The data profile associated with the finding.

Protobuf type google.cloud.securitycenter.v1.CloudDlpDataProfile

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudDlpDataProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CloudDlpDataProfile.Builder
Overrides

build()

public CloudDlpDataProfile build()
Returns
TypeDescription
CloudDlpDataProfile

buildPartial()

public CloudDlpDataProfile buildPartial()
Returns
TypeDescription
CloudDlpDataProfile

clear()

public CloudDlpDataProfile.Builder clear()
Returns
TypeDescription
CloudDlpDataProfile.Builder
Overrides

clearDataProfile()

public CloudDlpDataProfile.Builder clearDataProfile()

Name of the data profile, for example, projects/123/locations/europe/tableProfiles/8383929.

string data_profile = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
CloudDlpDataProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CloudDlpDataProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CloudDlpDataProfile.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudDlpDataProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CloudDlpDataProfile.Builder
Overrides

clone()

public CloudDlpDataProfile.Builder clone()
Returns
TypeDescription
CloudDlpDataProfile.Builder
Overrides

getDataProfile()

public String getDataProfile()

Name of the data profile, for example, projects/123/locations/europe/tableProfiles/8383929.

string data_profile = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The dataProfile.

getDataProfileBytes()

public ByteString getDataProfileBytes()

Name of the data profile, for example, projects/123/locations/europe/tableProfiles/8383929.

string data_profile = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for dataProfile.

getDefaultInstanceForType()

public CloudDlpDataProfile getDefaultInstanceForType()
Returns
TypeDescription
CloudDlpDataProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CloudDlpDataProfile other)

public CloudDlpDataProfile.Builder mergeFrom(CloudDlpDataProfile other)
Parameter
NameDescription
otherCloudDlpDataProfile
Returns
TypeDescription
CloudDlpDataProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudDlpDataProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudDlpDataProfile.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CloudDlpDataProfile.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CloudDlpDataProfile.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudDlpDataProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CloudDlpDataProfile.Builder
Overrides

setDataProfile(String value)

public CloudDlpDataProfile.Builder setDataProfile(String value)

Name of the data profile, for example, projects/123/locations/europe/tableProfiles/8383929.

string data_profile = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The dataProfile to set.

Returns
TypeDescription
CloudDlpDataProfile.Builder

This builder for chaining.

setDataProfileBytes(ByteString value)

public CloudDlpDataProfile.Builder setDataProfileBytes(ByteString value)

Name of the data profile, for example, projects/123/locations/europe/tableProfiles/8383929.

string data_profile = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for dataProfile to set.

Returns
TypeDescription
CloudDlpDataProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CloudDlpDataProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CloudDlpDataProfile.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CloudDlpDataProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CloudDlpDataProfile.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudDlpDataProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CloudDlpDataProfile.Builder
Overrides