Class ListInspectTemplatesResponse (3.53.0)

public final class ListInspectTemplatesResponse extends GeneratedMessageV3 implements ListInspectTemplatesResponseOrBuilder

Response message for ListInspectTemplates.

Protobuf type google.privacy.dlp.v2.ListInspectTemplatesResponse

Static Fields

INSPECT_TEMPLATES_FIELD_NUMBER

public static final int INSPECT_TEMPLATES_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListInspectTemplatesResponse getDefaultInstance()
Returns
Type Description
ListInspectTemplatesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListInspectTemplatesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListInspectTemplatesResponse getDefaultInstanceForType()
Returns
Type Description
ListInspectTemplatesResponse

getInspectTemplates(int index)

public InspectTemplate getInspectTemplates(int index)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
InspectTemplate

getInspectTemplatesCount()

public int getInspectTemplatesCount()

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Returns
Type Description
int

getInspectTemplatesList()

public List<InspectTemplate> getInspectTemplatesList()

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Returns
Type Description
List<InspectTemplate>

getInspectTemplatesOrBuilder(int index)

public InspectTemplateOrBuilder getInspectTemplatesOrBuilder(int index)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
InspectTemplateOrBuilder

getInspectTemplatesOrBuilderList()

public List<? extends InspectTemplateOrBuilder> getInspectTemplatesOrBuilderList()

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

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

getNextPageToken()

public String getNextPageToken()

If the next page is available then the next page token to be used in the following ListInspectTemplates request.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If the next page is available then the next page token to be used in the following ListInspectTemplates request.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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 ListInspectTemplatesResponse.Builder newBuilderForType()
Returns
Type Description
ListInspectTemplatesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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