Class InfoTypeSummary (3.11.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
TypeDescription
int

INFO_TYPE_FIELD_NUMBER

public static final int INFO_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InfoTypeSummary getDefaultInstance()
Returns
TypeDescription
InfoTypeSummary

getDescriptor()

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

newBuilder()

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

newBuilder(InfoTypeSummary prototype)

public static InfoTypeSummary.Builder newBuilder(InfoTypeSummary prototype)
Parameter
NameDescription
prototypeInfoTypeSummary
Returns
TypeDescription
InfoTypeSummary.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public InfoTypeSummary getDefaultInstanceForType()
Returns
TypeDescription
InfoTypeSummary

getEstimatedPrevalence() (deprecated)

public int getEstimatedPrevalence()

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

Not populated for predicted infotypes.

int32 estimated_prevalence = 2 [deprecated = true];

Returns
TypeDescription
int

The estimatedPrevalence.

getInfoType()

public InfoType getInfoType()

The infoType.

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

Returns
TypeDescription
InfoType

The infoType.

getInfoTypeOrBuilder()

public InfoTypeOrBuilder getInfoTypeOrBuilder()

The infoType.

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

Returns
TypeDescription
InfoTypeOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasInfoType()

public boolean hasInfoType()

The infoType.

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

Returns
TypeDescription
boolean

Whether the infoType field is set.

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 InfoTypeSummary.Builder newBuilderForType()
Returns
TypeDescription
InfoTypeSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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