Class BQTableSchemaToProtoDescriptor
java.lang.Object
com.google.cloud.bigquery.storage.v1beta2.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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.protobuf.Descriptors.Descriptor
convertBQTableSchemaToProtoDescriptor
(TableSchema BQTableSchema) Converts TableFieldSchema to a Descriptors.Descriptor object.
-
Constructor Details
-
BQTableSchemaToProtoDescriptor
public BQTableSchemaToProtoDescriptor()
-
-
Method Details
-
convertBQTableSchemaToProtoDescriptor
public static com.google.protobuf.Descriptors.Descriptor convertBQTableSchemaToProtoDescriptor(TableSchema BQTableSchema) throws com.google.protobuf.Descriptors.DescriptorValidationException Converts TableFieldSchema to a Descriptors.Descriptor object.- Parameters:
BQTableSchema
-- Throws:
com.google.protobuf.Descriptors.DescriptorValidationException
-