Class Table (0.45.0)

public final class Table extends GeneratedMessageV3 implements TableOrBuilder

A single table.

Protobuf type google.area120.tables.v1alpha1.Table

Implements

TableOrBuilder

Static Fields

COLUMNS_FIELD_NUMBER

public static final int COLUMNS_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Table getDefaultInstance()
Returns
TypeDescription
Table

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Table.Builder newBuilder()
Returns
TypeDescription
Table.Builder

newBuilder(Table prototype)

public static Table.Builder newBuilder(Table prototype)
Parameter
NameDescription
prototypeTable
Returns
TypeDescription
Table.Builder

parseDelimitedFrom(InputStream input)

public static Table parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Table
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Table parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Table
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Table parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Table
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Table parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Table
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Table parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Table
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Table parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Table
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Table parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Table
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Table parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Table
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Table parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Table
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Table parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Table
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Table parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Table
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Table parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Table
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Table> parser()
Returns
TypeDescription
Parser<Table>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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

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.

getParserForType()

public Parser<Table> getParserForType()
Returns
TypeDescription
Parser<Table>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Table.Builder newBuilderForType()
Returns
TypeDescription
Table.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Table.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Table.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Table.Builder toBuilder()
Returns
TypeDescription
Table.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException