Class Table.Builder (3.31.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/dlp/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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.FieldId>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.Table.Row>
Returns
TypeDescription
Table.Builder

addHeaders(FieldId value)

public Table.Builder addHeaders(FieldId value)

Headers of the table.

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

Parameter
NameDescription
valueFieldId
Returns
TypeDescription
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
NameDescription
builderForValueFieldId.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFieldId
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFieldId.Builder
Returns
TypeDescription
Table.Builder

addHeadersBuilder()

public FieldId.Builder addHeadersBuilder()

Headers of the table.

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

Returns
TypeDescription
FieldId.Builder

addHeadersBuilder(int index)

public FieldId.Builder addHeadersBuilder(int index)

Headers of the table.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldId.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Table.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTable.Row
Returns
TypeDescription
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
NameDescription
builderForValueTable.Row.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTable.Row
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTable.Row.Builder
Returns
TypeDescription
Table.Builder

addRowsBuilder()

public Table.Row.Builder addRowsBuilder()

Rows of the table.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Table.Row.Builder

build()

public Table build()
Returns
TypeDescription
Table

buildPartial()

public Table buildPartial()
Returns
TypeDescription
Table

clear()

public Table.Builder clear()
Returns
TypeDescription
Table.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Table.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Table.Builder
Overrides

clearHeaders()

public Table.Builder clearHeaders()

Headers of the table.

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

Returns
TypeDescription
Table.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Table.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Table.Builder
Overrides

clearRows()

public Table.Builder clearRows()

Rows of the table.

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

Returns
TypeDescription
Table.Builder

clone()

public Table.Builder clone()
Returns
TypeDescription
Table.Builder
Overrides

getDefaultInstanceForType()

public Table getDefaultInstanceForType()
Returns
TypeDescription
Table

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHeaders(int index)

public FieldId getHeaders(int index)

Headers of the table.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldId

getHeadersBuilder(int index)

public FieldId.Builder getHeadersBuilder(int index)

Headers of the table.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldId.Builder

getHeadersBuilderList()

public List<FieldId.Builder> getHeadersBuilderList()

Headers of the table.

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

Returns
TypeDescription
List<Builder>

getHeadersCount()

public int getHeadersCount()

Headers of the table.

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

Returns
TypeDescription
int

getHeadersList()

public List<FieldId> getHeadersList()

Headers of the table.

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

Returns
TypeDescription
List<FieldId>

getHeadersOrBuilder(int index)

public FieldIdOrBuilder getHeadersOrBuilder(int index)

Headers of the table.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldIdOrBuilder

getHeadersOrBuilderList()

public List<? extends FieldIdOrBuilder> getHeadersOrBuilderList()

Headers of the table.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Table.Row.Builder

getRowsBuilderList()

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

Rows of the table.

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

Returns
TypeDescription
List<Builder>

getRowsCount()

public int getRowsCount()

Rows of the table.

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

Returns
TypeDescription
int

getRowsList()

public List<Table.Row> getRowsList()

Rows of the table.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Table.RowOrBuilder

getRowsOrBuilderList()

public List<? extends Table.RowOrBuilder> getRowsOrBuilderList()

Rows of the table.

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

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.Table.RowOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Table other)

public Table.Builder mergeFrom(Table other)
Parameter
NameDescription
otherTable
Returns
TypeDescription
Table.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Table.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Table.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Table.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Table.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Table.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Table.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Table.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueFieldId
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFieldId.Builder
Returns
TypeDescription
Table.Builder

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

public Table.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTable.Row
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTable.Row.Builder
Returns
TypeDescription
Table.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Table.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Table.Builder
Overrides