Class CloudDlpDataProfile (2.45.0)

public final class CloudDlpDataProfile extends GeneratedMessageV3 implements CloudDlpDataProfileOrBuilder

The data profile associated with the finding.

Protobuf type google.cloud.securitycenter.v2.CloudDlpDataProfile

Static Fields

DATA_PROFILE_FIELD_NUMBER

public static final int DATA_PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_TYPE_FIELD_NUMBER

public static final int PARENT_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CloudDlpDataProfile getDefaultInstance()
Returns
TypeDescription
CloudDlpDataProfile

getDescriptor()

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

newBuilder()

public static CloudDlpDataProfile.Builder newBuilder()
Returns
TypeDescription
CloudDlpDataProfile.Builder

newBuilder(CloudDlpDataProfile prototype)

public static CloudDlpDataProfile.Builder newBuilder(CloudDlpDataProfile prototype)
Parameter
NameDescription
prototypeCloudDlpDataProfile
Returns
TypeDescription
CloudDlpDataProfile.Builder

parseDelimitedFrom(InputStream input)

public static CloudDlpDataProfile parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudDlpDataProfile
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudDlpDataProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudDlpDataProfile
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CloudDlpDataProfile parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CloudDlpDataProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudDlpDataProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudDlpDataProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudDlpDataProfile parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CloudDlpDataProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudDlpDataProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudDlpDataProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudDlpDataProfile parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CloudDlpDataProfile
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudDlpDataProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudDlpDataProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CloudDlpDataProfile parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudDlpDataProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudDlpDataProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudDlpDataProfile
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CloudDlpDataProfile parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CloudDlpDataProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudDlpDataProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudDlpDataProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CloudDlpDataProfile> parser()
Returns
TypeDescription
Parser<CloudDlpDataProfile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParentType()

public CloudDlpDataProfile.ParentType getParentType()

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

.google.cloud.securitycenter.v2.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.v2.CloudDlpDataProfile.ParentType parent_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for parentType.

getParserForType()

public Parser<CloudDlpDataProfile> getParserForType()
Returns
TypeDescription
Parser<CloudDlpDataProfile>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CloudDlpDataProfile.Builder newBuilderForType()
Returns
TypeDescription
CloudDlpDataProfile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudDlpDataProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CloudDlpDataProfile.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CloudDlpDataProfile.Builder toBuilder()
Returns
TypeDescription
CloudDlpDataProfile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException