Class Table.Builder (0.59.0)

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

A single table.

Protobuf type google.area120.tables.v1alpha1.Table

Implements

TableOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllColumns(Iterable<? extends ColumnDescription> values)

public Table.Builder addAllColumns(Iterable<? extends ColumnDescription> values)

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

Parameter
Name Description
values Iterable<? extends com.google.area120.tables.v1alpha1.ColumnDescription>
Returns
Type Description
Table.Builder

addColumns(ColumnDescription value)

public Table.Builder addColumns(ColumnDescription value)

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

Parameter
Name Description
value ColumnDescription
Returns
Type Description
Table.Builder

addColumns(ColumnDescription.Builder builderForValue)

public Table.Builder addColumns(ColumnDescription.Builder builderForValue)

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

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

addColumns(int index, ColumnDescription value)

public Table.Builder addColumns(int index, ColumnDescription value)

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

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

addColumns(int index, ColumnDescription.Builder builderForValue)

public Table.Builder addColumns(int index, ColumnDescription.Builder builderForValue)

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

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

addColumnsBuilder()

public ColumnDescription.Builder addColumnsBuilder()

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

Returns
Type Description
ColumnDescription.Builder

addColumnsBuilder(int index)

public ColumnDescription.Builder addColumnsBuilder(int index)

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

Parameter
Name Description
index int
Returns
Type Description
ColumnDescription.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

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

clearColumns()

public Table.Builder clearColumns()

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

Returns
Type Description
Table.Builder

clearDisplayName()

public Table.Builder clearDisplayName()

The human readable title of the table.

string display_name = 2;

Returns
Type Description
Table.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Table.Builder clearName()

The resource name of the table. Table names have the form tables/{table}.

string name = 1;

Returns
Type Description
Table.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getColumns(int index)

public ColumnDescription getColumns(int index)

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

Parameter
Name Description
index int
Returns
Type Description
ColumnDescription

getColumnsBuilder(int index)

public ColumnDescription.Builder getColumnsBuilder(int index)

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

Parameter
Name Description
index int
Returns
Type Description
ColumnDescription.Builder

getColumnsBuilderList()

public List<ColumnDescription.Builder> getColumnsBuilderList()

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

Returns
Type Description
List<Builder>

getColumnsCount()

public int getColumnsCount()

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

Returns
Type Description
int

getColumnsList()

public List<ColumnDescription> getColumnsList()

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

Returns
Type Description
List<ColumnDescription>

getColumnsOrBuilder(int index)

public ColumnDescriptionOrBuilder getColumnsOrBuilder(int index)

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

Parameter
Name Description
index int
Returns
Type Description
ColumnDescriptionOrBuilder

getColumnsOrBuilderList()

public List<? extends ColumnDescriptionOrBuilder> getColumnsOrBuilderList()

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

Returns
Type Description
List<? extends com.google.area120.tables.v1alpha1.ColumnDescriptionOrBuilder>

getDefaultInstanceForType()

public Table getDefaultInstanceForType()
Returns
Type Description
Table

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

The human readable title of the table.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The human readable title of the table.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

The resource name of the table. Table names have the form tables/{table}.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the table. Table names have the form tables/{table}.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

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

removeColumns(int index)

public Table.Builder removeColumns(int index)

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

Parameter
Name Description
index int
Returns
Type Description
Table.Builder

setColumns(int index, ColumnDescription value)

public Table.Builder setColumns(int index, ColumnDescription value)

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

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

setColumns(int index, ColumnDescription.Builder builderForValue)

public Table.Builder setColumns(int index, ColumnDescription.Builder builderForValue)

List of columns in this table. Order of columns matches the display order.

repeated .google.area120.tables.v1alpha1.ColumnDescription columns = 3;

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

setDisplayName(String value)

public Table.Builder setDisplayName(String value)

The human readable title of the table.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Table.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Table.Builder setDisplayNameBytes(ByteString value)

The human readable title of the table.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Table.Builder

This builder for chaining.

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

setName(String value)

public Table.Builder setName(String value)

The resource name of the table. Table names have the form tables/{table}.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Table.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Table.Builder setNameBytes(ByteString value)

The resource name of the table. Table names have the form tables/{table}.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Table.Builder

This builder for chaining.

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

setUnknownFields(UnknownFieldSet unknownFields)

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