Class BQTableSchemaToProtoDescriptor

public class BQTableSchemaToProtoDescriptor

Converts a BQ table schema to protobuf descriptor. All field names will be converted to lowercase when constructing the protobuf descriptor. The mapping between field types and field modes are shown in the ImmutableMaps below.

Inheritance

java.lang.Object > BQTableSchemaToProtoDescriptor

Constructors

BQTableSchemaToProtoDescriptor()

public BQTableSchemaToProtoDescriptor()

Methods

convertBQTableSchemaToProtoDescriptor(TableSchema BQTableSchema)

public static Descriptors.Descriptor convertBQTableSchemaToProtoDescriptor(TableSchema BQTableSchema)

Converts TableFieldSchema to a Descriptors.Descriptor object.

Parameter
NameDescription
BQTableSchemaTableSchema
Returns
TypeDescription
Descriptor
Exceptions
TypeDescription
DescriptorValidationException