Class ListInspectTemplatesResponse (3.21.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
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListInspectTemplatesResponse getDefaultInstance()
Returns
TypeDescription
ListInspectTemplatesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListInspectTemplatesResponse prototype)

public static ListInspectTemplatesResponse.Builder newBuilder(ListInspectTemplatesResponse prototype)
Parameter
NameDescription
prototypeListInspectTemplatesResponse
Returns
TypeDescription
ListInspectTemplatesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListInspectTemplatesResponse getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InspectTemplate

getInspectTemplatesCount()

public int getInspectTemplatesCount()

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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 following ListInspectTemplates request.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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