Class UserListServiceSettings.Builder (0.16.0)

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

Builder for UserListServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > UserListServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(UserListServiceSettings settings)

protected Builder(UserListServiceSettings settings)
Parameter
Name Description
settings UserListServiceSettings

Builder(UserListServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createUserListSettings()

public UnaryCallSettings.Builder<CreateUserListRequest,UserList> createUserListSettings()

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

Returns
Type Description
Builder<CreateUserListRequest,UserList>

deleteUserListSettings()

public UnaryCallSettings.Builder<DeleteUserListRequest,Empty> deleteUserListSettings()

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

Returns
Type Description
Builder<DeleteUserListRequest,Empty>

getStubSettingsBuilder()

public UserListServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
UserListServiceStubSettings.Builder

getUserListSettings()

public UnaryCallSettings.Builder<GetUserListRequest,UserList> getUserListSettings()

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

Returns
Type Description
Builder<GetUserListRequest,UserList>

listUserListsSettings()

public PagedCallSettings.Builder<ListUserListsRequest,ListUserListsResponse,UserListServiceClient.ListUserListsPagedResponse> listUserListsSettings()

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

Returns
Type Description
Builder<ListUserListsRequest,ListUserListsResponse,ListUserListsPagedResponse>

updateUserListSettings()

public UnaryCallSettings.Builder<UpdateUserListRequest,UserList> updateUserListSettings()

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

Returns
Type Description
Builder<UpdateUserListRequest,UserList>