Class Table.Builder (3.56.0)

public static final class Table.Builder extends GeneratedMessageV3.Builder<Table.Builder> implements TableOrBuilder

Structured content to inspect. Up to 50,000 Values per request allowed. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-structured-text#inspecting_a_table to learn more.

Protobuf type google.privacy.dlp.v2.Table

Implements

TableOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllHeaders(Iterable<? extends FieldId> values)

public Table.Builder addAllHeaders(Iterable<? extends FieldId> values)

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.FieldId>
Returns
Type Description
Table.Builder

addAllRows(Iterable<? extends Table.Row> values)

public Table.Builder addAllRows(Iterable<? extends Table.Row> values)

Rows of the table.

repeated .google.privacy.dlp.v2.Table.Row rows = 2;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.Table.Row>
Returns
Type Description
Table.Builder

addHeaders(FieldId value)

public Table.Builder addHeaders(FieldId value)

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Parameter
Name Description
value FieldId
Returns
Type Description
Table.Builder

addHeaders(FieldId.Builder builderForValue)

public Table.Builder addHeaders(FieldId.Builder builderForValue)

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Parameter
Name Description
builderForValue FieldId.Builder
Returns
Type Description
Table.Builder

addHeaders(int index, FieldId value)

public Table.Builder addHeaders(int index, FieldId value)

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Parameters
Name Description
index int
value FieldId
Returns
Type Description
Table.Builder

addHeaders(int index, FieldId.Builder builderForValue)

public Table.Builder addHeaders(int index, FieldId.Builder builderForValue)

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Parameters
Name Description
index int
builderForValue FieldId.Builder
Returns
Type Description
Table.Builder

addHeadersBuilder()

public FieldId.Builder addHeadersBuilder()

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Returns
Type Description
FieldId.Builder

addHeadersBuilder(int index)

public FieldId.Builder addHeadersBuilder(int index)

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Parameter
Name Description
index int
Returns
Type Description
FieldId.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Table.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Table.Builder
Overrides

addRows(Table.Row value)

public Table.Builder addRows(Table.Row value)

Rows of the table.

repeated .google.privacy.dlp.v2.Table.Row rows = 2;

Parameter
Name Description
value Table.Row
Returns
Type Description
Table.Builder

addRows(Table.Row.Builder builderForValue)

public Table.Builder addRows(Table.Row.Builder builderForValue)

Rows of the table.

repeated .google.privacy.dlp.v2.Table.Row rows = 2;

Parameter
Name Description
builderForValue Table.Row.Builder
Returns
Type Description
Table.Builder

addRows(int index, Table.Row value)

public Table.Builder addRows(int index, Table.Row value)

Rows of the table.

repeated .google.privacy.dlp.v2.Table.Row rows = 2;

Parameters
Name Description
index int
value Table.Row
Returns
Type Description
Table.Builder

addRows(int index, Table.Row.Builder builderForValue)

public Table.Builder addRows(int index, Table.Row.Builder builderForValue)

Rows of the table.

repeated .google.privacy.dlp.v2.Table.Row rows = 2;

Parameters
Name Description
index int
builderForValue Table.Row.Builder
Returns
Type Description
Table.Builder

addRowsBuilder()

public Table.Row.Builder addRowsBuilder()

Rows of the table.

repeated .google.privacy.dlp.v2.Table.Row rows = 2;

Returns
Type Description
Table.Row.Builder

addRowsBuilder(int index)

public Table.Row.Builder addRowsBuilder(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.Builder

build()

public Table build()
Returns
Type Description
Table

buildPartial()

public Table buildPartial()
Returns
Type Description
Table

clear()

public Table.Builder clear()
Returns
Type Description
Table.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Table.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Table.Builder
Overrides

clearHeaders()

public Table.Builder clearHeaders()

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Returns
Type Description
Table.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Table.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Table.Builder
Overrides

clearRows()

public Table.Builder clearRows()

Rows of the table.

repeated .google.privacy.dlp.v2.Table.Row rows = 2;

Returns
Type Description
Table.Builder

clone()

public Table.Builder clone()
Returns
Type Description
Table.Builder
Overrides

getDefaultInstanceForType()

public Table getDefaultInstanceForType()
Returns
Type Description
Table

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getHeadersBuilder(int index)

public FieldId.Builder getHeadersBuilder(int index)

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Parameter
Name Description
index int
Returns
Type Description
FieldId.Builder

getHeadersBuilderList()

public List<FieldId.Builder> getHeadersBuilderList()

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Returns
Type Description
List<Builder>

getHeadersCount()

public int getHeadersCount()

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Returns
Type Description
int

getHeadersList()

public List<FieldId> 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>

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

getRowsBuilder(int index)

public Table.Row.Builder getRowsBuilder(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.Builder

getRowsBuilderList()

public List<Table.Row.Builder> getRowsBuilderList()

Rows of the table.

repeated .google.privacy.dlp.v2.Table.Row rows = 2;

Returns
Type Description
List<Builder>

getRowsCount()

public int getRowsCount()

Rows of the table.

repeated .google.privacy.dlp.v2.Table.Row rows = 2;

Returns
Type Description
int

getRowsList()

public List<Table.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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Table other)

public Table.Builder mergeFrom(Table other)
Parameter
Name Description
other Table
Returns
Type Description
Table.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Table.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Table.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Table.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Table.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Table.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Table.Builder
Overrides

removeHeaders(int index)

public Table.Builder removeHeaders(int index)

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Parameter
Name Description
index int
Returns
Type Description
Table.Builder

removeRows(int index)

public Table.Builder removeRows(int index)

Rows of the table.

repeated .google.privacy.dlp.v2.Table.Row rows = 2;

Parameter
Name Description
index int
Returns
Type Description
Table.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Table.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Table.Builder
Overrides

setHeaders(int index, FieldId value)

public Table.Builder setHeaders(int index, FieldId value)

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Parameters
Name Description
index int
value FieldId
Returns
Type Description
Table.Builder

setHeaders(int index, FieldId.Builder builderForValue)

public Table.Builder setHeaders(int index, FieldId.Builder builderForValue)

Headers of the table.

repeated .google.privacy.dlp.v2.FieldId headers = 1;

Parameters
Name Description
index int
builderForValue FieldId.Builder
Returns
Type Description
Table.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Table.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Table.Builder
Overrides

setRows(int index, Table.Row value)

public Table.Builder setRows(int index, Table.Row value)

Rows of the table.

repeated .google.privacy.dlp.v2.Table.Row rows = 2;

Parameters
Name Description
index int
value Table.Row
Returns
Type Description
Table.Builder

setRows(int index, Table.Row.Builder builderForValue)

public Table.Builder setRows(int index, Table.Row.Builder builderForValue)

Rows of the table.

repeated .google.privacy.dlp.v2.Table.Row rows = 2;

Parameters
Name Description
index int
builderForValue Table.Row.Builder
Returns
Type Description
Table.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Table.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Table.Builder
Overrides