public static class UserListServiceSettings.Builder extends ClientSettings.Builder<UserListServiceSettings,UserListServiceSettings.Builder>Builder for UserListServiceSettings.
Constructors
Builder()
protected Builder()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 |
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)| Parameter | |
|---|---|
| Name | Description |
clientContext |
ClientContext |
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 |
|
| 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> |
|