Class LicenseManagementServiceStubSettings.Builder (0.52.0)

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

Builder for LicenseManagementServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > LicenseManagementServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(LicenseManagementServiceStubSettings settings)

protected Builder(LicenseManagementServiceStubSettings settings)
Parameter
Name Description
settings LicenseManagementServiceStubSettings

Methods

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

public LicenseManagementServiceStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
LicenseManagementServiceStubSettings.Builder

assignSettings()

public UnaryCallSettings.Builder<AssignRequest,AssignResponse> assignSettings()

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

Returns
Type Description
Builder<AssignRequest,AssignResponse>

build()

public LicenseManagementServiceStubSettings build()
Returns
Type Description
LicenseManagementServiceStubSettings
Overrides
Exceptions
Type Description
IOException

enumerateLicensedUsersSettings()

public PagedCallSettings.Builder<EnumerateLicensedUsersRequest,EnumerateLicensedUsersResponse,LicenseManagementServiceClient.EnumerateLicensedUsersPagedResponse> enumerateLicensedUsersSettings()

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

Returns
Type Description
Builder<EnumerateLicensedUsersRequest,EnumerateLicensedUsersResponse,EnumerateLicensedUsersPagedResponse>

getLicensePoolSettings()

public UnaryCallSettings.Builder<GetLicensePoolRequest,LicensePool> getLicensePoolSettings()

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

Returns
Type Description
Builder<GetLicensePoolRequest,LicensePool>

unaryMethodSettingsBuilders()

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

unassignSettings()

public UnaryCallSettings.Builder<UnassignRequest,UnassignResponse> unassignSettings()

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

Returns
Type Description
Builder<UnassignRequest,UnassignResponse>

updateLicensePoolSettings()

public UnaryCallSettings.Builder<UpdateLicensePoolRequest,LicensePool> updateLicensePoolSettings()

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

Returns
Type Description
Builder<UpdateLicensePoolRequest,LicensePool>