Class ListInfoTypesRequest (3.3.2)

public final class ListInfoTypesRequest extends GeneratedMessageV3 implements ListInfoTypesRequestOrBuilder

Request for the list of infoTypes.

Protobuf type google.privacy.dlp.v2.ListInfoTypesRequest

Static Fields

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

LANGUAGE_CODE_FIELD_NUMBER

public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_ID_FIELD_NUMBER

public static final int LOCATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListInfoTypesRequest getDefaultInstance()
Returns
TypeDescription
ListInfoTypesRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ListInfoTypesRequest prototype)

public static ListInfoTypesRequest.Builder newBuilder(ListInfoTypesRequest prototype)
Parameter
NameDescription
prototypeListInfoTypesRequest
Returns
TypeDescription
ListInfoTypesRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListInfoTypesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListInfoTypesRequest

getFilter()

public String getFilter()

filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.

string filter = 2;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.

string filter = 2;

Returns
TypeDescription
ByteString

The bytes for filter.

getLanguageCode()

public String getLanguageCode()

BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned.

string language_code = 1;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned.

string language_code = 1;

Returns
TypeDescription
ByteString

The bytes for languageCode.

getLocationId()

public String getLocationId()

Deprecated. This field has no effect.

string location_id = 3;

Returns
TypeDescription
String

The locationId.

getLocationIdBytes()

public ByteString getLocationIdBytes()

Deprecated. This field has no effect.

string location_id = 3;

Returns
TypeDescription
ByteString

The bytes for locationId.

getParent()

public String getParent()

The parent resource name. The format of this value is as follows: locations/<var>LOCATION_ID</var>

string parent = 4;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The parent resource name. The format of this value is as follows: locations/<var>LOCATION_ID</var>

string parent = 4;

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<ListInfoTypesRequest> getParserForType()
Returns
TypeDescription
Parser<ListInfoTypesRequest>
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 ListInfoTypesRequest.Builder newBuilderForType()
Returns
TypeDescription
ListInfoTypesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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