Class 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 Detail

      • BQTableSchemaToProtoDescriptor

        public BQTableSchemaToProtoDescriptor()
    • Method Detail

      • 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