| Package | Description |
|---|---|
| com.google.cloud.bigquery.storage.v1beta2 |
The interfaces provided are listed below, along with usage samples.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamWriterV2.Builder |
StreamWriterV2.newBuilder(String streamName)
Constructs a new
StreamWriterV2.Builder using the given stream. |
static StreamWriterV2.Builder |
StreamWriterV2.newBuilder(String streamName,
BigQueryWriteClient client)
Constructs a new
StreamWriterV2.Builder using the given stream and client. |
StreamWriterV2.Builder |
StreamWriterV2.Builder.setChannelProvider(com.google.api.gax.rpc.TransportChannelProvider channelProvider)
ChannelProvider to use to create Channels, which must point at Cloud BigQuery Storage
API endpoint. |
StreamWriterV2.Builder |
StreamWriterV2.Builder.setCredentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider)
CredentialsProvider to use to create Credentials to authenticate calls. |
StreamWriterV2.Builder |
StreamWriterV2.Builder.setEndpoint(String endpoint)
Gives the ability to override the gRPC endpoint.
|
StreamWriterV2.Builder |
StreamWriterV2.Builder.setMaxInflightBytes(long value) |
StreamWriterV2.Builder |
StreamWriterV2.Builder.setMaxInflightRequests(long value) |
StreamWriterV2.Builder |
StreamWriterV2.Builder.setTraceId(String traceId)
Sets traceId for debuging purpose.
|
StreamWriterV2.Builder |
StreamWriterV2.Builder.setWriterSchema(ProtoSchema writerSchema)
Sets the proto schema of the rows.
|
Copyright © 2021 Google LLC. All rights reserved.