Class EnhancedBigQueryStorageStubSettings
java.lang.Object
com.google.api.gax.rpc.StubSettings<EnhancedBigQueryStorageStubSettings>
com.google.cloud.bigquery.storage.v1beta1.stub.EnhancedBigQueryStorageStubSettings
public class EnhancedBigQueryStorageStubSettings
extends StubSettings<EnhancedBigQueryStorageStubSettings>
Settings class to configure an instance of
EnhancedBigQueryStorageStub.
The default instance dynamically reads and applies the default values used by BigQueryStorageStub.
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object. For example, to set the total timeout of createReadSession to 30 seconds:
EnhancedBigQueryStorageStubSettings.Builder builder =
EnhancedBigQueryStorageStubSettings.newBuilder();
builder.createReadSessionSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
EnhancedBigQueryStorageStubSettings settings = builder.build();
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionUnaryCallSettings<Storage.BatchCreateReadSessionStreamsRequest,Storage.BatchCreateReadSessionStreamsResponse> Returns the object with the settings used for calls to batchCreateReadSessionStreams.Returns the object with the settings used for calls to createReadSession.Returns a builder for the default credentials for this service.Returns a builder for the default ExecutorProvider for this service.Returns a builder for the default ChannelProvider for this service.static TransportChannelProviderUnaryCallSettings<Storage.FinalizeStreamRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to finalizeStream.static StringReturns the default service endpoint.Returns the default service scopes.Returns the default service name.Returns a new builder for this class.newBuilder(ClientContext clientContext) Returns a new builder for this class.Returns the object with the settings used for calls to readRows.Returns the object with the settings used for calls to splitReadStream.Returns a builder containing all the values of this settings class.Methods inherited from class com.google.api.gax.rpc.StubSettings
getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getLibraryMetadata, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, getUniverseDomain, toString
-
Constructor Details
-
EnhancedBigQueryStorageStubSettings
protected EnhancedBigQueryStorageStubSettings(EnhancedBigQueryStorageStubSettings.Builder settingsBuilder)
-
-
Method Details
-
createReadSessionSettings
public UnaryCallSettings<Storage.CreateReadSessionRequest,Storage.ReadSession> createReadSessionSettings()Returns the object with the settings used for calls to createReadSession. -
readRowsSettings
public ServerStreamingCallSettings<Storage.ReadRowsRequest,Storage.ReadRowsResponse> readRowsSettings()Returns the object with the settings used for calls to readRows. -
batchCreateReadSessionStreamsSettings
public UnaryCallSettings<Storage.BatchCreateReadSessionStreamsRequest,Storage.BatchCreateReadSessionStreamsResponse> batchCreateReadSessionStreamsSettings()Returns the object with the settings used for calls to batchCreateReadSessionStreams. -
finalizeStreamSettings
public UnaryCallSettings<Storage.FinalizeStreamRequest,com.google.protobuf.Empty> finalizeStreamSettings()Returns the object with the settings used for calls to finalizeStream. -
splitReadStreamSettings
public UnaryCallSettings<Storage.SplitReadStreamRequest,Storage.SplitReadStreamResponse> splitReadStreamSettings()Returns the object with the settings used for calls to splitReadStream. -
defaultExecutorProviderBuilder
Returns a builder for the default ExecutorProvider for this service. -
getServiceName
Returns the default service name.- Overrides:
getServiceNamein classStubSettings<EnhancedBigQueryStorageStubSettings>
-
getDefaultEndpoint
Returns the default service endpoint. -
getDefaultServiceScopes
Returns the default service scopes. -
defaultCredentialsProviderBuilder
Returns a builder for the default credentials for this service. -
defaultGrpcTransportProviderBuilder
Returns a builder for the default ChannelProvider for this service. -
defaultTransportChannelProvider
-
defaultApiClientHeaderProviderBuilder
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() -
newBuilder
Returns a new builder for this class. -
newBuilder
Returns a new builder for this class. -
toBuilder
Returns a builder containing all the values of this settings class.- Specified by:
toBuilderin classStubSettings<EnhancedBigQueryStorageStubSettings>
-