Class InfoTypeDescription (3.46.0)

public final class InfoTypeDescription extends GeneratedMessageV3 implements InfoTypeDescriptionOrBuilder

InfoType description.

Protobuf type google.privacy.dlp.v2.InfoTypeDescription

Static Fields

CATEGORIES_FIELD_NUMBER

public static final int CATEGORIES_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SENSITIVITY_SCORE_FIELD_NUMBER

public static final int SENSITIVITY_SCORE_FIELD_NUMBER
Field Value
Type Description
int

SUPPORTED_BY_FIELD_NUMBER

public static final int SUPPORTED_BY_FIELD_NUMBER
Field Value
Type Description
int

VERSIONS_FIELD_NUMBER

public static final int VERSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InfoTypeDescription getDefaultInstance()
Returns
Type Description
InfoTypeDescription

getDescriptor()

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

newBuilder()

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

newBuilder(InfoTypeDescription prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCategories(int index)

public InfoTypeCategory getCategories(int index)

The category of the infoType.

repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeCategory

getCategoriesCount()

public int getCategoriesCount()

The category of the infoType.

repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;

Returns
Type Description
int

getCategoriesList()

public List<InfoTypeCategory> getCategoriesList()

The category of the infoType.

repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;

Returns
Type Description
List<InfoTypeCategory>

getCategoriesOrBuilder(int index)

public InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index)

The category of the infoType.

repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeCategoryOrBuilder

getCategoriesOrBuilderList()

public List<? extends InfoTypeCategoryOrBuilder> getCategoriesOrBuilderList()

The category of the infoType.

repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder>

getDefaultInstanceForType()

public InfoTypeDescription getDefaultInstanceForType()
Returns
Type Description
InfoTypeDescription

getDescription()

public String getDescription()

Description of the infotype. Translated when language is provided in the request.

string description = 4;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the infotype. Translated when language is provided in the request.

string description = 4;

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

Human readable form of the infoType name.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Human readable form of the infoType name.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Internal name of the infoType.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Internal name of the infoType.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSensitivityScore()

public SensitivityScore getSensitivityScore()

The default sensitivity of the infoType.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;

Returns
Type Description
SensitivityScore

The sensitivityScore.

getSensitivityScoreOrBuilder()

public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()

The default sensitivity of the infoType.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;

Returns
Type Description
SensitivityScoreOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSupportedBy(int index)

public InfoTypeSupportedBy getSupportedBy(int index)

Which parts of the API supports this InfoType.

repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
InfoTypeSupportedBy

The supportedBy at the given index.

getSupportedByCount()

public int getSupportedByCount()

Which parts of the API supports this InfoType.

repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;

Returns
Type Description
int

The count of supportedBy.

getSupportedByList()

public List<InfoTypeSupportedBy> getSupportedByList()

Which parts of the API supports this InfoType.

repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;

Returns
Type Description
List<InfoTypeSupportedBy>

A list containing the supportedBy.

getSupportedByValue(int index)

public int getSupportedByValue(int index)

Which parts of the API supports this InfoType.

repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of supportedBy at the given index.

getSupportedByValueList()

public List<Integer> getSupportedByValueList()

Which parts of the API supports this InfoType.

repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for supportedBy.

getVersions(int index)

public VersionDescription getVersions(int index)

A list of available versions for the infotype.

repeated .google.privacy.dlp.v2.VersionDescription versions = 9;

Parameter
Name Description
index int
Returns
Type Description
VersionDescription

getVersionsCount()

public int getVersionsCount()

A list of available versions for the infotype.

repeated .google.privacy.dlp.v2.VersionDescription versions = 9;

Returns
Type Description
int

getVersionsList()

public List<VersionDescription> getVersionsList()

A list of available versions for the infotype.

repeated .google.privacy.dlp.v2.VersionDescription versions = 9;

Returns
Type Description
List<VersionDescription>

getVersionsOrBuilder(int index)

public VersionDescriptionOrBuilder getVersionsOrBuilder(int index)

A list of available versions for the infotype.

repeated .google.privacy.dlp.v2.VersionDescription versions = 9;

Parameter
Name Description
index int
Returns
Type Description
VersionDescriptionOrBuilder

getVersionsOrBuilderList()

public List<? extends VersionDescriptionOrBuilder> getVersionsOrBuilderList()

A list of available versions for the infotype.

repeated .google.privacy.dlp.v2.VersionDescription versions = 9;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.VersionDescriptionOrBuilder>

hasSensitivityScore()

public boolean hasSensitivityScore()

The default sensitivity of the infoType.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;

Returns
Type Description
boolean

Whether the sensitivityScore 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 InfoTypeDescription.Builder newBuilderForType()
Returns
Type Description
InfoTypeDescription.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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