Class InfoTypeDescription (3.3.2)

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
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORTED_BY_FIELD_NUMBER

public static final int SUPPORTED_BY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InfoTypeDescription getDefaultInstance()
Returns
TypeDescription
InfoTypeDescription

getDescriptor()

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

newBuilder()

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

newBuilder(InfoTypeDescription prototype)

public static InfoTypeDescription.Builder newBuilder(InfoTypeDescription prototype)
Parameter
NameDescription
prototypeInfoTypeDescription
Returns
TypeDescription
InfoTypeDescription.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public InfoTypeDescription getDefaultInstanceForType()
Returns
TypeDescription
InfoTypeDescription

getDescription()

public String getDescription()

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

string description = 4;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

string description = 4;

Returns
TypeDescription
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

Human readable form of the infoType name.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Human readable form of the infoType name.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getName()

public String getName()

Internal name of the infoType.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Internal name of the infoType.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
List<Integer>

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 InfoTypeDescription.Builder newBuilderForType()
Returns
TypeDescription
InfoTypeDescription.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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