target.apidocs.com.google.api.services.mybusinessqanda.v1.MyBusinessQA.Builder.html Maven / Gradle / Ivy
MyBusinessQA.Builder (My Business Q&A API v1-rev20221124-2.0.0)
com.google.api.services.mybusinessqanda.v1
Class MyBusinessQA.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.mybusinessqanda.v1.MyBusinessQA.Builder
-
- Enclosing class:
- MyBusinessQA
public static final class MyBusinessQA.Builder
extends AbstractGoogleJsonClient.Builder
Builder for MyBusinessQA
.
Implementation is not thread-safe.
- Since:
- 1.3.0
-
-
Constructor Summary
Constructors
Constructor and Description
Builder(HttpTransport transport,
JsonFactory jsonFactory,
HttpRequestInitializer httpRequestInitializer)
Returns an instance of a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
MyBusinessQA
build()
Builds a new instance of MyBusinessQA
.
MyBusinessQA.Builder
setApplicationName(String applicationName)
MyBusinessQA.Builder
setBatchPath(String batchPath)
MyBusinessQA.Builder
setGoogleClientRequestInitializer(GoogleClientRequestInitializer googleClientRequestInitializer)
MyBusinessQA.Builder
setHttpRequestInitializer(HttpRequestInitializer httpRequestInitializer)
MyBusinessQA.Builder
setMyBusinessQARequestInitializer(MyBusinessQARequestInitializer mybusinessqaRequestInitializer)
Set the MyBusinessQARequestInitializer
.
MyBusinessQA.Builder
setRootUrl(String rootUrl)
MyBusinessQA.Builder
setServicePath(String servicePath)
MyBusinessQA.Builder
setSuppressAllChecks(boolean suppressAllChecks)
MyBusinessQA.Builder
setSuppressPatternChecks(boolean suppressPatternChecks)
MyBusinessQA.Builder
setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks)
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
getJsonFactory, getObjectParser
-
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
getApplicationName, getGoogleClientRequestInitializer, getHttpRequestInitializer, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterChecks, getTransport
-
-
Constructor Detail
-
Builder
public Builder(HttpTransport transport,
JsonFactory jsonFactory,
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:
GoogleNetHttpTransport
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 MyBusinessQA build()
Builds a new instance of MyBusinessQA
.
- Overrides:
build
in class AbstractGoogleJsonClient.Builder
-
setRootUrl
public MyBusinessQA.Builder setRootUrl(String rootUrl)
- Overrides:
setRootUrl
in class AbstractGoogleJsonClient.Builder
-
setServicePath
public MyBusinessQA.Builder setServicePath(String servicePath)
- Overrides:
setServicePath
in class AbstractGoogleJsonClient.Builder
-
setBatchPath
public MyBusinessQA.Builder setBatchPath(String batchPath)
- Overrides:
setBatchPath
in class AbstractGoogleClient.Builder
-
setHttpRequestInitializer
public MyBusinessQA.Builder setHttpRequestInitializer(HttpRequestInitializer httpRequestInitializer)
- Overrides:
setHttpRequestInitializer
in class AbstractGoogleJsonClient.Builder
-
setApplicationName
public MyBusinessQA.Builder setApplicationName(String applicationName)
- Overrides:
setApplicationName
in class AbstractGoogleJsonClient.Builder
-
setSuppressPatternChecks
public MyBusinessQA.Builder setSuppressPatternChecks(boolean suppressPatternChecks)
- Overrides:
setSuppressPatternChecks
in class AbstractGoogleJsonClient.Builder
-
setSuppressRequiredParameterChecks
public MyBusinessQA.Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks)
- Overrides:
setSuppressRequiredParameterChecks
in class AbstractGoogleJsonClient.Builder
-
setSuppressAllChecks
public MyBusinessQA.Builder setSuppressAllChecks(boolean suppressAllChecks)
- Overrides:
setSuppressAllChecks
in class AbstractGoogleJsonClient.Builder
-
setMyBusinessQARequestInitializer
public MyBusinessQA.Builder setMyBusinessQARequestInitializer(MyBusinessQARequestInitializer mybusinessqaRequestInitializer)
Set the MyBusinessQARequestInitializer
.
- Since:
- 1.12
-
setGoogleClientRequestInitializer
public MyBusinessQA.Builder setGoogleClientRequestInitializer(GoogleClientRequestInitializer googleClientRequestInitializer)
- Overrides:
setGoogleClientRequestInitializer
in class AbstractGoogleJsonClient.Builder
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy