public final class Table extends GeneratedMessage implements TableOrBuilder Structured content to inspect. Up to 50,000 Values per request allowed. See
https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-structured-text#inspecting_a_table
to learn more.
Protobuf type google.privacy.dlp.v2.Table
Implements
TableOrBuilderStatic Fields
HEADERS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ROWS_FIELD_NUMBER
public static final int ROWS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Table getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Table |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Table.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Table.Builder |
|
newBuilder(Table prototype)
public static Table.Builder newBuilder(Table prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Table |
| Returns | |
|---|---|
| Type | Description |
Table.Builder |
|
parseDelimitedFrom(InputStream input)
public static Table parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Table |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Table parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Table |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Table parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Table |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Table parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Table |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Table parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Table |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Table parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Table |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Table parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Table |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Table parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Table |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Table parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Table |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Table parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Table |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Table parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Table |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Table parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Table |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser parser()
Returns
Type
Description
Parser<Table>
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Name
Description
obj
Object
Returns
Type
Description
boolean
Overrides
getDefaultInstanceForType()
public Table getDefaultInstanceForType()
Returns
Type
Description
Table
getHeaders(int index)
public FieldId getHeaders(int index)
Headers of the table.
repeated .google.privacy.dlp.v2.FieldId headers = 1;
Parameter
Name
Description
index
int
Returns
Type
Description
FieldId
getHeadersCount()
public int getHeadersCount()
Headers of the table.
repeated .google.privacy.dlp.v2.FieldId headers = 1;
Returns
Type
Description
int
getHeadersList()
public List getHeadersList()
Headers of the table.
repeated .google.privacy.dlp.v2.FieldId headers = 1;
Returns
Type
Description
List<FieldId>
getHeadersOrBuilder(int index)
public FieldIdOrBuilder getHeadersOrBuilder(int index)
Headers of the table.
repeated .google.privacy.dlp.v2.FieldId headers = 1;
Parameter
Name
Description
index
int
Returns
Type
Description
FieldIdOrBuilder
getHeadersOrBuilderList()
public List<? extends FieldIdOrBuilder> getHeadersOrBuilderList()
Headers of the table.
repeated .google.privacy.dlp.v2.FieldId headers = 1;
Returns
Type
Description
List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder>
getParserForType()
public Parser getParserForType()
Returns
Type
Description
Parser<Table>
Overrides
getRows(int index)
public Table.Row getRows(int index)
Rows of the table.
repeated .google.privacy.dlp.v2.Table.Row rows = 2;
Parameter
Name
Description
index
int
Returns
Type
Description
Table.Row
getRowsCount()
public int getRowsCount()
Rows of the table.
repeated .google.privacy.dlp.v2.Table.Row rows = 2;
Returns
Type
Description
int
getRowsList()
public List.Row> getRowsList()
Rows of the table.
repeated .google.privacy.dlp.v2.Table.Row rows = 2;
Returns
Type
Description
List<Row>
getRowsOrBuilder(int index)
public Table.RowOrBuilder getRowsOrBuilder(int index)
Rows of the table.
repeated .google.privacy.dlp.v2.Table.Row rows = 2;
Parameter
Name
Description
index
int
Returns
Type
Description
Table.RowOrBuilder
getRowsOrBuilderList()
public List<? extends Table.RowOrBuilder> getRowsOrBuilderList()
Rows of the table.
repeated .google.privacy.dlp.v2.Table.Row rows = 2;
Returns
Type
Description
List<? extends com.google.privacy.dlp.v2.Table.RowOrBuilder>
getSerializedSize()
public int getSerializedSize()
Returns
Type
Description
int
Overrides
hashCode()
public int hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type
Description
FieldAccessorTable
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Type
Description
boolean
Overrides
newBuilderForType()
public Table.Builder newBuilderForType()
Returns
Type
Description
Table.Builder
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Table.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name
Description
parent
BuilderParent
Returns
Type
Description
Table.Builder
Overrides
toBuilder()
public Table.Builder toBuilder()
Returns
Type
Description
Table.Builder
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Name
Description
output
CodedOutputStream
Overrides
Exceptions
Type
Description
IOException
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-06 UTC."],[],[]]