Class StreamWriterV2.Builder

    • Method Detail

      • setChannelProvider

        public 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.

        For performance, this client benefits from having multiple underlying connections. See InstantiatingGrpcChannelProvider.Builder.setPoolSize(int).

      • setCredentialsProvider

        public StreamWriterV2.Builder setCredentialsProvider​(com.google.api.gax.core.CredentialsProvider credentialsProvider)
        CredentialsProvider to use to create Credentials to authenticate calls.
      • setTraceId

        public StreamWriterV2.Builder setTraceId​(String traceId)
        Sets traceId for debuging purpose. TraceId must follow the format of CustomerDomain:DebugString, e.g. DATAFLOW:job_id_x.