Class CloudDlpDataProfile.Builder (2.51.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudDlpDataProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudDlpDataProfile.Builder
Overrides

build()

public CloudDlpDataProfile build()
Returns
Type Description
CloudDlpDataProfile

buildPartial()

public CloudDlpDataProfile buildPartial()
Returns
Type Description
CloudDlpDataProfile

clear()

public CloudDlpDataProfile.Builder clear()
Returns
Type Description
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
Type Description
CloudDlpDataProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CloudDlpDataProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloudDlpDataProfile.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudDlpDataProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloudDlpDataProfile.Builder
Overrides

clearParentType()

public CloudDlpDataProfile.Builder clearParentType()

The resource hierarchy level at which the data profile was generated.

.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;

Returns
Type Description
CloudDlpDataProfile.Builder

This builder for chaining.

clone()

public CloudDlpDataProfile.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for dataProfile.

getDefaultInstanceForType()

public CloudDlpDataProfile getDefaultInstanceForType()
Returns
Type Description
CloudDlpDataProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParentType()

public CloudDlpDataProfile.ParentType getParentType()

The resource hierarchy level at which the data profile was generated.

.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;

Returns
Type Description
CloudDlpDataProfile.ParentType

The parentType.

getParentTypeValue()

public int getParentTypeValue()

The resource hierarchy level at which the data profile was generated.

.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for parentType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudDlpDataProfile other)

public CloudDlpDataProfile.Builder mergeFrom(CloudDlpDataProfile other)
Parameter
Name Description
other CloudDlpDataProfile
Returns
Type Description
CloudDlpDataProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudDlpDataProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudDlpDataProfile.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudDlpDataProfile.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudDlpDataProfile.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudDlpDataProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The dataProfile to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for dataProfile to set.

Returns
Type Description
CloudDlpDataProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CloudDlpDataProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudDlpDataProfile.Builder
Overrides

setParentType(CloudDlpDataProfile.ParentType value)

public CloudDlpDataProfile.Builder setParentType(CloudDlpDataProfile.ParentType value)

The resource hierarchy level at which the data profile was generated.

.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;

Parameter
Name Description
value CloudDlpDataProfile.ParentType

The parentType to set.

Returns
Type Description
CloudDlpDataProfile.Builder

This builder for chaining.

setParentTypeValue(int value)

public CloudDlpDataProfile.Builder setParentTypeValue(int value)

The resource hierarchy level at which the data profile was generated.

.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for parentType to set.

Returns
Type Description
CloudDlpDataProfile.Builder

This builder for chaining.

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

public CloudDlpDataProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloudDlpDataProfile.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudDlpDataProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudDlpDataProfile.Builder
Overrides