target.apidocs.com.google.api.services.dataflow.Dataflow.Builder.html Maven / Gradle / Ivy
Dataflow.Builder (Dataflow API v1b3-rev20231112-2.0.0)
com.google.api.services.dataflow
Class Dataflow.Builder
- java.lang.Object
-
- com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
-
- com.google.api.services.dataflow.Dataflow.Builder
-
-
Constructor Summary
Constructors
Constructor and Description
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.
-
Method Summary
All Methods Instance Methods Concrete Methods
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(com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer)
Dataflow.Builder
setHttpRequestInitializer(com.google.api.client.http.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)
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
getJsonFactory, getObjectParser
-
-
Constructor Detail
-
Builder
public 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.
- Parameters:
transport
- HTTP transport, which should normally be:
- Google App Engine:
com.google.api.client.extensions.appengine.http.UrlFetchTransport
- Android:
newCompatibleTransport
from
com.google.api.client.extensions.android.http.AndroidHttp
- Java:
com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()
jsonFactory
- JSON factory, which may be:
- Jackson:
com.google.api.client.json.jackson2.JacksonFactory
- Google GSON:
com.google.api.client.json.gson.GsonFactory
- Android Honeycomb or higher:
com.google.api.client.extensions.android.json.AndroidJsonFactory
httpRequestInitializer
- HTTP request initializer or null
for none
- Since:
- 1.7
-
Method Detail
-
build
public Dataflow build()
Builds a new instance of Dataflow
.
- Overrides:
build
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
-
setRootUrl
public Dataflow.Builder setRootUrl(String rootUrl)
- Overrides:
setRootUrl
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
-
setServicePath
public Dataflow.Builder setServicePath(String servicePath)
- Overrides:
setServicePath
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
-
setBatchPath
public Dataflow.Builder setBatchPath(String batchPath)
- Overrides:
setBatchPath
in class com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
-
setHttpRequestInitializer
public Dataflow.Builder setHttpRequestInitializer(com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
- Overrides:
setHttpRequestInitializer
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
-
setApplicationName
public Dataflow.Builder setApplicationName(String applicationName)
- Overrides:
setApplicationName
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
-
setSuppressPatternChecks
public Dataflow.Builder setSuppressPatternChecks(boolean suppressPatternChecks)
- Overrides:
setSuppressPatternChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
-
setSuppressRequiredParameterChecks
public Dataflow.Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks)
- Overrides:
setSuppressRequiredParameterChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
-
setSuppressAllChecks
public Dataflow.Builder setSuppressAllChecks(boolean suppressAllChecks)
- Overrides:
setSuppressAllChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
-
setDataflowRequestInitializer
public Dataflow.Builder setDataflowRequestInitializer(DataflowRequestInitializer dataflowRequestInitializer)
Set the DataflowRequestInitializer
.
- Since:
- 1.12
-
setGoogleClientRequestInitializer
public Dataflow.Builder setGoogleClientRequestInitializer(com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer)
- Overrides:
setGoogleClientRequestInitializer
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy