Class BQTableSchemaToProtoDescriptor

java.lang.Object
com.google.cloud.bigquery.storage.v1.BQTableSchemaToProtoDescriptor

public class BQTableSchemaToProtoDescriptor extends Object
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 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