Class BQTableSchemaToProtoDescriptor (3.5.1)

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

Static Methods

convertBQTableSchemaToProtoDescriptor(TableSchema BQTableSchema) (deprecated)

public static Descriptors.Descriptor convertBQTableSchemaToProtoDescriptor(TableSchema BQTableSchema)

Converts TableFieldSchema to a Descriptors.Descriptor object.

Parameter
Name Description
BQTableSchema TableSchema
Returns
Type Description
Descriptor
Exceptions
Type Description
DescriptorValidationException

Constructors

BQTableSchemaToProtoDescriptor() (deprecated)

public BQTableSchemaToProtoDescriptor()