Class InfoTypeDescription (3.4.0)

public final class InfoTypeDescription extends GeneratedMessageV3 implements InfoTypeDescriptionOrBuilder

InfoType description.

Protobuf type google.privacy.dlp.v2.InfoTypeDescription

Static Fields

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

SUPPORTED_BY_FIELD_NUMBER

public static final int SUPPORTED_BY_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

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

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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