use of com.google.cloud.bigquery.storage.v1.BigQueryReadSettings in project java-bigquerystorage by googleapis.
the class ReadRowsRetryTest method setUp.
@Before
public void setUp() throws IOException {
service = new TestBigQueryStorageService();
serverRule.getServiceRegistry().addService(service);
BigQueryReadSettings settings = BigQueryReadSettings.newBuilder().setCredentialsProvider(NoCredentialsProvider.create()).setTransportChannelProvider(FixedTransportChannelProvider.create(GrpcTransportChannel.create(serverRule.getChannel()))).build();
client = BigQueryReadClient.create(settings);
}
use of com.google.cloud.bigquery.storage.v1.BigQueryReadSettings in project java-bigquerystorage by googleapis.
the class ReadRowsRetryTest method setUp.
@Before
public void setUp() throws IOException {
service = new TestBigQueryStorageService();
serverRule.getServiceRegistry().addService(service);
BigQueryReadSettings settings = BigQueryReadSettings.newBuilder().setCredentialsProvider(NoCredentialsProvider.create()).setTransportChannelProvider(FixedTransportChannelProvider.create(GrpcTransportChannel.create(serverRule.getChannel()))).build();
client = BigQueryReadClient.create(settings);
}
Aggregations