Class GSuiteAddOnsSettings.Builder (2.22.0)

public static class GSuiteAddOnsSettings.Builder extends ClientSettings.Builder<GSuiteAddOnsSettings,GSuiteAddOnsSettings.Builder>

Builder for GSuiteAddOnsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > GSuiteAddOnsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GSuiteAddOnsSettings settings)

protected Builder(GSuiteAddOnsSettings settings)
Parameter
NameDescription
settingsGSuiteAddOnsSettings

Builder(GSuiteAddOnsStubSettings.Builder stubSettings)

protected Builder(GSuiteAddOnsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsGSuiteAddOnsStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public GSuiteAddOnsSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
GSuiteAddOnsSettings.Builder

build()

public GSuiteAddOnsSettings build()
Returns
TypeDescription
GSuiteAddOnsSettings
Overrides
Exceptions
TypeDescription
IOException

createDeploymentSettings()

public UnaryCallSettings.Builder<CreateDeploymentRequest,Deployment> createDeploymentSettings()

Returns the builder for the settings used for calls to createDeployment.

Returns
TypeDescription
Builder<CreateDeploymentRequest,Deployment>

deleteDeploymentSettings()

public UnaryCallSettings.Builder<DeleteDeploymentRequest,Empty> deleteDeploymentSettings()

Returns the builder for the settings used for calls to deleteDeployment.

Returns
TypeDescription
Builder<DeleteDeploymentRequest,Empty>

getAuthorizationSettings()

public UnaryCallSettings.Builder<GetAuthorizationRequest,Authorization> getAuthorizationSettings()

Returns the builder for the settings used for calls to getAuthorization.

Returns
TypeDescription
Builder<GetAuthorizationRequest,Authorization>

getDeploymentSettings()

public UnaryCallSettings.Builder<GetDeploymentRequest,Deployment> getDeploymentSettings()

Returns the builder for the settings used for calls to getDeployment.

Returns
TypeDescription
Builder<GetDeploymentRequest,Deployment>

getInstallStatusSettings()

public UnaryCallSettings.Builder<GetInstallStatusRequest,InstallStatus> getInstallStatusSettings()

Returns the builder for the settings used for calls to getInstallStatus.

Returns
TypeDescription
Builder<GetInstallStatusRequest,InstallStatus>

getStubSettingsBuilder()

public GSuiteAddOnsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
GSuiteAddOnsStubSettings.Builder

installDeploymentSettings()

public UnaryCallSettings.Builder<InstallDeploymentRequest,Empty> installDeploymentSettings()

Returns the builder for the settings used for calls to installDeployment.

Returns
TypeDescription
Builder<InstallDeploymentRequest,Empty>

listDeploymentsSettings()

public PagedCallSettings.Builder<ListDeploymentsRequest,ListDeploymentsResponse,GSuiteAddOnsClient.ListDeploymentsPagedResponse> listDeploymentsSettings()

Returns the builder for the settings used for calls to listDeployments.

Returns
TypeDescription
Builder<ListDeploymentsRequest,ListDeploymentsResponse,ListDeploymentsPagedResponse>

replaceDeploymentSettings()

public UnaryCallSettings.Builder<ReplaceDeploymentRequest,Deployment> replaceDeploymentSettings()

Returns the builder for the settings used for calls to replaceDeployment.

Returns
TypeDescription
Builder<ReplaceDeploymentRequest,Deployment>

uninstallDeploymentSettings()

public UnaryCallSettings.Builder<UninstallDeploymentRequest,Empty> uninstallDeploymentSettings()

Returns the builder for the settings used for calls to uninstallDeployment.

Returns
TypeDescription
Builder<UninstallDeploymentRequest,Empty>