BigQueryUtils { @Experimental(Kind.SCHEMAS) public static Schema fromTableSchema(TableSchema tableSchema) { return fromTableFieldSchema(tableSchema.getFields()); }  @Experimental(Kind.SCHEMAS) static TableSchema toTableSchema(Schema schema); @Experimental(Kind.SCHEMAS) static Schema fromTableSchema(TableSchema tableSchema); @Experimental(Kind.SCHEMAS) static org.apache.avro.Schema toGenericAvroSchema(
      String schemaName, List<TableFieldSchema> fieldSchemas); static final BigQueryIO.TypedRead.ToBeamRowFunction<TableRow> tableRowToBeamRow(); static final BigQueryIO.TypedRead.FromBeamRowFunction<TableRow> tableRowFromBeamRow(); static SerializableFunction<Row, TableRow> toTableRow(); static SerializableFunction<T, TableRow> toTableRow(
      SerializableFunction<T, Row> toRow); @Experimental(Kind.SCHEMAS) static Row toBeamRow(GenericRecord record, Schema schema, ConversionOptions options); static TableRow convertGenericRecordToTableRow(
      GenericRecord record, TableSchema tableSchema); static TableRow toTableRow(Row row); @Experimental(Kind.SCHEMAS) static Row toBeamRow(Schema rowSchema, TableRow jsonBqRow); @Experimental(Kind.SCHEMAS) static Row toBeamRow(Schema rowSchema, TableSchema bqSchema, TableRow jsonBqRow); static Object convertAvroFormat(
      FieldType beamFieldType, Object avroValue, BigQueryUtils.ConversionOptions options);  }
@Test public void testFromTableSchema_flat() { Schema beamSchema = BigQueryUtils.fromTableSchema(BQ_FLAT_TYPE); assertEquals(FLAT_TYPE, beamSchema); }
@Test public void testFromTableSchema_array() { Schema beamSchema = BigQueryUtils.fromTableSchema(BQ_ARRAY_TYPE); assertEquals(ARRAY_TYPE, beamSchema); }
@Test public void testFromTableSchema_row() { Schema beamSchema = BigQueryUtils.fromTableSchema(BQ_ROW_TYPE); assertEquals(ROW_TYPE, beamSchema); }
@Test public void testFromTableSchema_array_row() { Schema beamSchema = BigQueryUtils.fromTableSchema(BQ_ARRAY_ROW_TYPE); assertEquals(ARRAY_ROW_TYPE, beamSchema); }