Class TableSchema (2.20.0)

public final class TableSchema extends GeneratedMessageV3 implements TableSchemaOrBuilder

Schema of a table

Protobuf type google.cloud.bigquery.storage.v1beta2.TableSchema

Static Fields

FIELDS_FIELD_NUMBER

public static final int FIELDS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TableSchema getDefaultInstance()
Returns
TypeDescription
TableSchema

getDescriptor()

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

newBuilder()

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

newBuilder(TableSchema prototype)

public static TableSchema.Builder newBuilder(TableSchema prototype)
Parameter
NameDescription
prototypeTableSchema
Returns
TypeDescription
TableSchema.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TableSchema getDefaultInstanceForType()
Returns
TypeDescription
TableSchema

getFields(int index)

public TableFieldSchema getFields(int index)

Describes the fields in a table.

repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TableFieldSchema

getFieldsCount()

public int getFieldsCount()

Describes the fields in a table.

repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;

Returns
TypeDescription
int

getFieldsList()

public List<TableFieldSchema> getFieldsList()

Describes the fields in a table.

repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;

Returns
TypeDescription
List<TableFieldSchema>

getFieldsOrBuilder(int index)

public TableFieldSchemaOrBuilder getFieldsOrBuilder(int index)

Describes the fields in a table.

repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TableFieldSchemaOrBuilder

getFieldsOrBuilderList()

public List<? extends TableFieldSchemaOrBuilder> getFieldsOrBuilderList()

Describes the fields in a table.

repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 TableSchema.Builder newBuilderForType()
Returns
TypeDescription
TableSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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