Class InfoTypeSummary (3.49.0)

public final class InfoTypeSummary extends GeneratedMessageV3 implements InfoTypeSummaryOrBuilder

The infoType details for this column.

Protobuf type google.privacy.dlp.v2.InfoTypeSummary

Static Fields

ESTIMATED_PREVALENCE_FIELD_NUMBER

public static final int ESTIMATED_PREVALENCE_FIELD_NUMBER
Field Value
Type Description
int

INFO_TYPE_FIELD_NUMBER

public static final int INFO_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InfoTypeSummary getDefaultInstance()
Returns
Type Description
InfoTypeSummary

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static InfoTypeSummary.Builder newBuilder()
Returns
Type Description
InfoTypeSummary.Builder

newBuilder(InfoTypeSummary prototype)

public static InfoTypeSummary.Builder newBuilder(InfoTypeSummary prototype)
Parameter
Name Description
prototype InfoTypeSummary
Returns
Type Description
InfoTypeSummary.Builder

parseDelimitedFrom(InputStream input)

public static InfoTypeSummary parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InfoTypeSummary
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InfoTypeSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InfoTypeSummary
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InfoTypeSummary parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InfoTypeSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InfoTypeSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InfoTypeSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InfoTypeSummary parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InfoTypeSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InfoTypeSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InfoTypeSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InfoTypeSummary parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InfoTypeSummary
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InfoTypeSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InfoTypeSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InfoTypeSummary parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InfoTypeSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InfoTypeSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InfoTypeSummary
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InfoTypeSummary parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InfoTypeSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InfoTypeSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InfoTypeSummary
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InfoTypeSummary> parser()
Returns
Type Description
Parser<InfoTypeSummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public InfoTypeSummary getDefaultInstanceForType()
Returns
Type Description
InfoTypeSummary

getEstimatedPrevalence() (deprecated)

public int getEstimatedPrevalence()

Deprecated. google.privacy.dlp.v2.InfoTypeSummary.estimated_prevalence is deprecated. See google/privacy/dlp/v2/dlp.proto;l=6721

Not populated for predicted infotypes.

int32 estimated_prevalence = 2 [deprecated = true];

Returns
Type Description
int

The estimatedPrevalence.

getInfoType()

public InfoType getInfoType()

The infoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
InfoType

The infoType.

getInfoTypeOrBuilder()

public InfoTypeOrBuilder getInfoTypeOrBuilder()

The infoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
InfoTypeOrBuilder

getParserForType()

public Parser<InfoTypeSummary> getParserForType()
Returns
Type Description
Parser<InfoTypeSummary>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasInfoType()

public boolean hasInfoType()

The infoType.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
Type Description
boolean

Whether the infoType field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InfoTypeSummary.Builder newBuilderForType()
Returns
Type Description
InfoTypeSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InfoTypeSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InfoTypeSummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InfoTypeSummary.Builder toBuilder()
Returns
Type Description
InfoTypeSummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException