Class LicenseManagementServiceSettings.Builder (0.53.0)

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

Builder for LicenseManagementServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > LicenseManagementServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(LicenseManagementServiceSettings settings)

protected Builder(LicenseManagementServiceSettings settings)
Parameter
Name Description
settings LicenseManagementServiceSettings

Builder(LicenseManagementServiceStubSettings.Builder stubSettings)

protected Builder(LicenseManagementServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings LicenseManagementServiceStubSettings.Builder

Methods

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

public LicenseManagementServiceSettings.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
LicenseManagementServiceSettings.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 LicenseManagementServiceSettings build()
Returns
Type Description
LicenseManagementServiceSettings
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>

getStubSettingsBuilder()

public LicenseManagementServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
LicenseManagementServiceStubSettings.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>