public static final class Dataflow.Builder extends AbstractGoogleJsonClient.Builder
Dataflow
.
Implementation is not thread-safe.
Constructor and Description |
---|
Builder(HttpTransport transport,
JsonFactory jsonFactory,
HttpRequestInitializer httpRequestInitializer)
Returns an instance of a new builder.
|
Modifier and Type | Method and Description |
---|---|
Dataflow |
build()
Builds a new instance of
Dataflow . |
Dataflow.Builder |
setApplicationName(String applicationName) |
Dataflow.Builder |
setBatchPath(String batchPath) |
Dataflow.Builder |
setDataflowRequestInitializer(DataflowRequestInitializer dataflowRequestInitializer)
Set the
DataflowRequestInitializer . |
Dataflow.Builder |
setGoogleClientRequestInitializer(GoogleClientRequestInitializer googleClientRequestInitializer) |
Dataflow.Builder |
setHttpRequestInitializer(HttpRequestInitializer httpRequestInitializer) |
Dataflow.Builder |
setRootUrl(String rootUrl) |
Dataflow.Builder |
setServicePath(String servicePath) |
Dataflow.Builder |
setSuppressAllChecks(boolean suppressAllChecks) |
Dataflow.Builder |
setSuppressPatternChecks(boolean suppressPatternChecks) |
Dataflow.Builder |
setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks) |
getJsonFactory, getObjectParser
getApplicationName, getGoogleClientRequestInitializer, getHttpRequestInitializer, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterChecks, getTransport
public Builder(HttpTransport transport, JsonFactory jsonFactory, 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
GoogleNetHttpTransport
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 Dataflow build()
Dataflow
.build
in class AbstractGoogleJsonClient.Builder
public Dataflow.Builder setRootUrl(String rootUrl)
setRootUrl
in class AbstractGoogleJsonClient.Builder
public Dataflow.Builder setServicePath(String servicePath)
setServicePath
in class AbstractGoogleJsonClient.Builder
public Dataflow.Builder setBatchPath(String batchPath)
setBatchPath
in class AbstractGoogleClient.Builder
public Dataflow.Builder setHttpRequestInitializer(HttpRequestInitializer httpRequestInitializer)
setHttpRequestInitializer
in class AbstractGoogleJsonClient.Builder
public Dataflow.Builder setApplicationName(String applicationName)
setApplicationName
in class AbstractGoogleJsonClient.Builder
public Dataflow.Builder setSuppressPatternChecks(boolean suppressPatternChecks)
setSuppressPatternChecks
in class AbstractGoogleJsonClient.Builder
public Dataflow.Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks)
setSuppressRequiredParameterChecks
in class AbstractGoogleJsonClient.Builder
public Dataflow.Builder setSuppressAllChecks(boolean suppressAllChecks)
setSuppressAllChecks
in class AbstractGoogleJsonClient.Builder
public Dataflow.Builder setDataflowRequestInitializer(DataflowRequestInitializer dataflowRequestInitializer)
DataflowRequestInitializer
.public Dataflow.Builder setGoogleClientRequestInitializer(GoogleClientRequestInitializer googleClientRequestInitializer)
setGoogleClientRequestInitializer
in class AbstractGoogleJsonClient.Builder
Copyright © 2011–2022 Google. All rights reserved.