public static final class MyBusinessNotificationSettings.Builder
extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
MyBusinessNotificationSettings
.
Implementation is not thread-safe.
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.
|
getJsonFactory, getObjectParser
public 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 MyBusinessNotificationSettings build()
MyBusinessNotificationSettings
.build
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public MyBusinessNotificationSettings.Builder setRootUrl(String rootUrl)
setRootUrl
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public MyBusinessNotificationSettings.Builder setServicePath(String servicePath)
setServicePath
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public MyBusinessNotificationSettings.Builder setBatchPath(String batchPath)
setBatchPath
in class com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
public MyBusinessNotificationSettings.Builder setHttpRequestInitializer(com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
setHttpRequestInitializer
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public MyBusinessNotificationSettings.Builder setApplicationName(String applicationName)
setApplicationName
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public MyBusinessNotificationSettings.Builder setSuppressPatternChecks(boolean suppressPatternChecks)
setSuppressPatternChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public MyBusinessNotificationSettings.Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks)
setSuppressRequiredParameterChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public MyBusinessNotificationSettings.Builder setSuppressAllChecks(boolean suppressAllChecks)
setSuppressAllChecks
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
public MyBusinessNotificationSettings.Builder setMyBusinessNotificationSettingsRequestInitializer(MyBusinessNotificationSettingsRequestInitializer mybusinessnotificationsettingsRequestInitializer)
public MyBusinessNotificationSettings.Builder setGoogleClientRequestInitializer(com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer)
setGoogleClientRequestInitializer
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
Copyright © 2011–2023 Google. All rights reserved.