Constructor and Description |
---|
Dataflow.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 |
---|---|
Dataflow |
build()
Builds a new instance of
Dataflow . |
Dataflow.Builder |
setApplicationName(java.lang.String applicationName) |
Dataflow.Builder |
setDataflowRequestInitializer(DataflowRequestInitializer dataflowRequestInitializer)
Set the
DataflowRequestInitializer . |
Dataflow.Builder |
setGoogleClientRequestInitializer(com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer) |
Dataflow.Builder |
setHttpRequestInitializer(com.google.api.client.http.HttpRequestInitializer httpRequestInitializer) |
Dataflow.Builder |
setRootUrl(java.lang.String rootUrl) |
Dataflow.Builder |
setServicePath(java.lang.String servicePath) |
Dataflow.Builder |
setSuppressAllChecks(boolean suppressAllChecks) |
Dataflow.Builder |
setSuppressPatternChecks(boolean suppressPatternChecks) |
Dataflow.Builder |
setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks) |
getJsonFactory, getObjectParser
public Dataflow.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 Dataflow build()
Dataflow
.build
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Dataflow.Builder setRootUrl(java.lang.String rootUrl)
setRootUrl
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Dataflow.Builder setServicePath(java.lang.String servicePath)
setServicePath
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Dataflow.Builder setHttpRequestInitializer(com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
setHttpRequestInitializer
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Dataflow.Builder setApplicationName(java.lang.String applicationName)
setApplicationName
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Dataflow.Builder setSuppressPatternChecks(boolean suppressPatternChecks)
setSuppressPatternChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Dataflow.Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks)
setSuppressRequiredParameterChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Dataflow.Builder setSuppressAllChecks(boolean suppressAllChecks)
setSuppressAllChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public Dataflow.Builder setDataflowRequestInitializer(DataflowRequestInitializer dataflowRequestInitializer)
DataflowRequestInitializer
.public Dataflow.Builder setGoogleClientRequestInitializer(com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer)
setGoogleClientRequestInitializer
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder