Class CloudDlpDataProfile.Builder (2.44.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

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
TypeDescription
CloudDlpDataProfile.Builder

This builder for chaining.

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

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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for parentType.

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

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
NameDescription
valueCloudDlpDataProfile.ParentType

The parentType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
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