public static final class SchemaAwareStreamWriter.Builder<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
SchemaAwareStreamWriter<T> |
build()
Builds SchemaAwareStreamWriter
|
String |
getStreamName()
Stream name on the builder.
|
SchemaAwareStreamWriter.Builder<T> |
setChannelProvider(com.google.api.gax.rpc.TransportChannelProvider channelProvider)
Setter for the underlying StreamWriter's TransportChannelProvider.
|
SchemaAwareStreamWriter.Builder<T> |
setCredentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider)
Setter for the underlying StreamWriter's CredentialsProvider.
|
SchemaAwareStreamWriter.Builder<T> |
setEnableConnectionPool(boolean enableConnectionPool)
Enable multiplexing for this writer.
|
SchemaAwareStreamWriter.Builder<T> |
setEndpoint(String endpoint)
Setter for the underlying StreamWriter's Endpoint.
|
SchemaAwareStreamWriter.Builder<T> |
setExecutorProvider(com.google.api.gax.core.ExecutorProvider executorProvider)
Setter for the underlying StreamWriter's ExecutorProvider.
|
SchemaAwareStreamWriter.Builder<T> |
setFlowControlSettings(com.google.api.gax.batching.FlowControlSettings flowControlSettings)
Setter for the underlying StreamWriter's FlowControlSettings.
|
SchemaAwareStreamWriter.Builder<T> |
setIgnoreUnknownFields(boolean ignoreUnknownFields)
Setter for a ignoreUnknownFields, if true, unknown fields to BigQuery will be ignored instead
of error out.
|
SchemaAwareStreamWriter.Builder<T> |
setLocation(String location)
Location of the table this stream writer is targeting.
|
SchemaAwareStreamWriter.Builder<T> |
setTraceId(String traceId)
Setter for a traceId to help identify traffic origin.
|
SchemaAwareStreamWriter.Builder<T> |
setTraceIdBase(String traceIdBase)
Setter for a traceIdBase to help identify traffic origin.
|
public SchemaAwareStreamWriter.Builder<T> setChannelProvider(com.google.api.gax.rpc.TransportChannelProvider channelProvider)
channelProvider - public SchemaAwareStreamWriter.Builder<T> setCredentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider)
credentialsProvider - public SchemaAwareStreamWriter.Builder<T> setExecutorProvider(com.google.api.gax.core.ExecutorProvider executorProvider)
executorProvider - public SchemaAwareStreamWriter.Builder<T> setFlowControlSettings(com.google.api.gax.batching.FlowControlSettings flowControlSettings)
flowControlSettings - public String getStreamName()
public SchemaAwareStreamWriter.Builder<T> setEndpoint(String endpoint)
endpoint - public SchemaAwareStreamWriter.Builder<T> setTraceId(String traceId)
traceId - public SchemaAwareStreamWriter.Builder<T> setTraceIdBase(String traceIdBase)
traceIdBase - public SchemaAwareStreamWriter.Builder<T> setIgnoreUnknownFields(boolean ignoreUnknownFields)
ignoreUnknownFields - public SchemaAwareStreamWriter.Builder<T> setEnableConnectionPool(boolean enableConnectionPool)
enableConnectionPool - public SchemaAwareStreamWriter.Builder<T> setLocation(String location)
location - public SchemaAwareStreamWriter<T> build() throws com.google.protobuf.Descriptors.DescriptorValidationException, IllegalArgumentException, IOException, InterruptedException
com.google.protobuf.Descriptors.DescriptorValidationExceptionIllegalArgumentExceptionIOExceptionInterruptedExceptionCopyright © 2023 Google LLC. All rights reserved.