Class ListInfoTypesResponse (3.11.0)

public final class ListInfoTypesResponse extends GeneratedMessageV3 implements ListInfoTypesResponseOrBuilder

Response to the ListInfoTypes request.

Protobuf type google.privacy.dlp.v2.ListInfoTypesResponse

Static Fields

INFO_TYPES_FIELD_NUMBER

public static final int INFO_TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListInfoTypesResponse getDefaultInstance()
Returns
TypeDescription
ListInfoTypesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListInfoTypesResponse prototype)

public static ListInfoTypesResponse.Builder newBuilder(ListInfoTypesResponse prototype)
Parameter
NameDescription
prototypeListInfoTypesResponse
Returns
TypeDescription
ListInfoTypesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListInfoTypesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListInfoTypesResponse

getInfoTypes(int index)

public InfoTypeDescription getInfoTypes(int index)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InfoTypeDescription

getInfoTypesCount()

public int getInfoTypesCount()

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Returns
TypeDescription
int

getInfoTypesList()

public List<InfoTypeDescription> getInfoTypesList()

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Returns
TypeDescription
List<InfoTypeDescription>

getInfoTypesOrBuilder(int index)

public InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder(int index)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InfoTypeDescriptionOrBuilder

getInfoTypesOrBuilderList()

public List<? extends InfoTypeDescriptionOrBuilder> getInfoTypesOrBuilderList()

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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