Constructor and Description |
---|
Bigquery.Builder(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Returns an instance of a new builder.
|
Modifier and Type | Method and Description |
---|---|
Bigquery |
build()
Builds a new instance of
Bigquery . |
Bigquery.Builder |
setApplicationName(java.lang.String applicationName) |
Bigquery.Builder |
setBigqueryRequestInitializer(BigqueryRequestInitializer bigqueryRequestInitializer)
Set the
BigqueryRequestInitializer . |
Bigquery.Builder |
setGoogleClientRequestInitializer(com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer) |
Bigquery.Builder |
setHttpRequestInitializer(com.google.api.client.http.HttpRequestInitializer httpRequestInitializer) |
Bigquery.Builder |
setRootUrl(java.lang.String rootUrl) |
Bigquery.Builder |
setServicePath(java.lang.String servicePath) |
Bigquery.Builder |
setSuppressAllChecks(boolean suppressAllChecks) |
Bigquery.Builder |
setSuppressPatternChecks(boolean suppressPatternChecks) |
Bigquery.Builder |
setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks) |
getJsonFactory, getObjectParser
public Bigquery.Builder(com.google.api.client.http.HttpTransport transport, com.google.api.client.json.JsonFactory jsonFactory, com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
transport
- HTTP transport, which should normally be:
com.google.api.client.extensions.appengine.http.UrlFetchTransport
newCompatibleTransport
from
com.google.api.client.extensions.android.http.AndroidHttp
com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()
jsonFactory
- JSON factory, which may be:
com.google.api.client.json.jackson2.JacksonFactory
com.google.api.client.json.gson.GsonFactory
com.google.api.client.extensions.android.json.AndroidJsonFactory
httpRequestInitializer
- HTTP request initializer or null
for nonepublic Bigquery build()
Bigquery
.build
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Bigquery.Builder setRootUrl(java.lang.String rootUrl)
setRootUrl
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Bigquery.Builder setServicePath(java.lang.String servicePath)
setServicePath
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Bigquery.Builder setHttpRequestInitializer(com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
setHttpRequestInitializer
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Bigquery.Builder setApplicationName(java.lang.String applicationName)
setApplicationName
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Bigquery.Builder setSuppressPatternChecks(boolean suppressPatternChecks)
setSuppressPatternChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Bigquery.Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks)
setSuppressRequiredParameterChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Bigquery.Builder setSuppressAllChecks(boolean suppressAllChecks)
setSuppressAllChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Bigquery.Builder setBigqueryRequestInitializer(BigqueryRequestInitializer bigqueryRequestInitializer)
BigqueryRequestInitializer
.public Bigquery.Builder setGoogleClientRequestInitializer(com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer)
setGoogleClientRequestInitializer
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder