Class Table.Builder (0.27.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.area120.tables.v1alpha1.ColumnDescription>
Returns
TypeDescription
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
NameDescription
valueColumnDescription
Returns
TypeDescription
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
NameDescription
builderForValueColumnDescription.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueColumnDescription
Returns
TypeDescription
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
NameDescription
indexint
builderForValueColumnDescription.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ColumnDescription.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

build()

public Table build()
Returns
TypeDescription
Table

buildPartial()

public Table buildPartial()
Returns
TypeDescription
Table

clear()

public Table.Builder clear()
Returns
TypeDescription
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
TypeDescription
Table.Builder

clearDisplayName()

public Table.Builder clearDisplayName()

The human readable title of the table.

string display_name = 2;

Returns
TypeDescription
Table.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Table.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Table.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Table.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.area120.tables.v1alpha1.ColumnDescriptionOrBuilder>

getDefaultInstanceForType()

public Table getDefaultInstanceForType()
Returns
TypeDescription
Table

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The human readable title of the table.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The human readable title of the table.

string display_name = 2;

Returns
TypeDescription
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
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

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

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

setDisplayName(String value)

public Table.Builder setDisplayName(String value)

The human readable title of the table.

string display_name = 2;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Table.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Table.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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