Class GSuiteAddOnsStubSettings.Builder (2.31.0)

public static class GSuiteAddOnsStubSettings.Builder extends StubSettings.Builder<GSuiteAddOnsStubSettings,GSuiteAddOnsStubSettings.Builder>

Builder for GSuiteAddOnsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > GSuiteAddOnsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GSuiteAddOnsStubSettings settings)

protected Builder(GSuiteAddOnsStubSettings settings)
Parameter
NameDescription
settingsGSuiteAddOnsStubSettings

Methods

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

public GSuiteAddOnsStubSettings.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
GSuiteAddOnsStubSettings.Builder

build()

public GSuiteAddOnsStubSettings build()
Returns
TypeDescription
GSuiteAddOnsStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

uninstallDeploymentSettings()

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

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

Returns
TypeDescription
Builder<UninstallDeploymentRequest,Empty>