Package com.google.cloud.bigquery
Class BigQueryOptions
java.lang.Object
com.google.cloud.ServiceOptions<BigQuery,BigQueryOptions>
com.google.cloud.bigquery.BigQueryOptions
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
Fields inherited from class com.google.cloud.ServiceOptions
clientLibToken, CREDENTIAL_ENV_NAME, credentials -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected HttpBigQueryRpcstatic com.google.cloud.http.HttpTransportOptionsstatic BigQueryOptionsio.opentelemetry.api.trace.TracerReturns the OpenTelemetry tracer used by this BigQuery instancebooleanbooleaninthashCode()booleanReturns whether this BigQuery instance has OpenTelemetry tracing enabledbooleanDeprecated.static BigQueryOptions.BuildervoidsetDefaultJobCreationMode(QueryJobConfiguration.JobCreationMode jobCreationMode) voidsetQueryPreviewEnabled(String queryPreviewEnabled) Deprecated.voidsetThrowNotFound(boolean setThrowNotFound) voidsetUseInt64Timestamps(boolean useInt64Timestamps) Methods inherited from class com.google.cloud.ServiceOptions
baseEquals, baseHashCode, defaultRetrySettings, getApiTracerFactory, getAppEngineAppId, getAppEngineProjectId, getAppEngineProjectIdFromAppId, getApplicationName, getClientLibToken, getClock, getCredentials, getDefaultHost, getDefaultProject, getDefaultProjectId, getDefaultRetrySettings, getFromServiceLoader, getGoogApiClientLibName, getGoogleCloudProjectId, getHost, getLibraryName, getLibraryVersion, getMergedHeaderProvider, getNoRetrySettings, getProjectId, getQuotaProjectId, getResolvedApiaryHost, getResolvedHost, getRetrySettings, getRpc, getScopedCredentials, getService, getServiceAccountProjectId, getTransportOptions, getUniverseDomain, getUserAgent, hasValidUniverseDomain, newInstance, projectIdRequired, shouldRefreshRpc, shouldRefreshService
-
Method Details
-
getDefaultHttpTransportOptions
public static com.google.cloud.http.HttpTransportOptions getDefaultHttpTransportOptions() -
getScopes
- Specified by:
getScopesin classcom.google.cloud.ServiceOptions<BigQuery,BigQueryOptions>
-
getBigQueryRpcV2
-
getLocation
-
isQueryPreviewEnabled
Deprecated. -
setThrowNotFound
public void setThrowNotFound(boolean setThrowNotFound) -
setUseInt64Timestamps
public void setUseInt64Timestamps(boolean useInt64Timestamps) -
setQueryPreviewEnabled
Deprecated. -
setDefaultJobCreationMode
-
getThrowNotFound
public boolean getThrowNotFound() -
getUseInt64Timestamps
public boolean getUseInt64Timestamps() -
getDefaultJobCreationMode
-
isOpenTelemetryTracingEnabled
@BetaApi("Span names and attributes are subject to change without notice") public boolean isOpenTelemetryTracingEnabled()Returns whether this BigQuery instance has OpenTelemetry tracing enabled- Returns:
- true if tracing is enabled, false if not
-
getOpenTelemetryTracer
@BetaApi("Span names and attributes are subject to change without notice") public io.opentelemetry.api.trace.Tracer getOpenTelemetryTracer()Returns the OpenTelemetry tracer used by this BigQuery instance- Returns:
- OpenTelemetry tracer object or
nullif not set
-
toBuilder
- Specified by:
toBuilderin classcom.google.cloud.ServiceOptions<BigQuery,BigQueryOptions>
-
hashCode
public int hashCode() -
equals
-
getDefaultInstance
-
newBuilder
-