Class BigQueryWriteSettings.Builder

java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<BigQueryWriteSettings,BigQueryWriteSettings.Builder>
com.google.cloud.bigquery.storage.v1beta2.BigQueryWriteSettings.Builder
Enclosing class:
BigQueryWriteSettings

public static class BigQueryWriteSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<BigQueryWriteSettings,BigQueryWriteSettings.Builder>
Builder for BigQueryWriteSettings.
  • Constructor Details

  • Method Details

    • getStubSettingsBuilder

      public BigQueryWriteStubSettings.Builder getStubSettingsBuilder()
    • applyToAllUnaryMethods

      public BigQueryWriteSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
      Applies the given settings updater function to all of the unary API methods in this service.

      Note: This method does not support applying settings to streaming methods.

    • createWriteStreamSettings

      @Deprecated public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateWriteStreamRequest,WriteStream> createWriteStreamSettings()
      Deprecated.
      This method is deprecated and will be removed in the next major version update.
      Returns the builder for the settings used for calls to createWriteStream.
    • appendRowsSettings

      @Deprecated public com.google.api.gax.rpc.StreamingCallSettings.Builder<AppendRowsRequest,AppendRowsResponse> appendRowsSettings()
      Deprecated.
      This method is deprecated and will be removed in the next major version update.
      Returns the builder for the settings used for calls to appendRows.
    • getWriteStreamSettings

      @Deprecated public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetWriteStreamRequest,WriteStream> getWriteStreamSettings()
      Deprecated.
      This method is deprecated and will be removed in the next major version update.
      Returns the builder for the settings used for calls to getWriteStream.
    • finalizeWriteStreamSettings

      @Deprecated public com.google.api.gax.rpc.UnaryCallSettings.Builder<FinalizeWriteStreamRequest,FinalizeWriteStreamResponse> finalizeWriteStreamSettings()
      Deprecated.
      This method is deprecated and will be removed in the next major version update.
      Returns the builder for the settings used for calls to finalizeWriteStream.
    • batchCommitWriteStreamsSettings

      @Deprecated public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchCommitWriteStreamsRequest,BatchCommitWriteStreamsResponse> batchCommitWriteStreamsSettings()
      Deprecated.
      This method is deprecated and will be removed in the next major version update.
      Returns the builder for the settings used for calls to batchCommitWriteStreams.
    • flushRowsSettings

      @Deprecated public com.google.api.gax.rpc.UnaryCallSettings.Builder<FlushRowsRequest,FlushRowsResponse> flushRowsSettings()
      Deprecated.
      This method is deprecated and will be removed in the next major version update.
      Returns the builder for the settings used for calls to flushRows.
    • build

      public BigQueryWriteSettings build() throws IOException
      Specified by:
      build in class com.google.api.gax.rpc.ClientSettings.Builder<BigQueryWriteSettings,BigQueryWriteSettings.Builder>
      Throws:
      IOException