public static class OperationsSettings.Builder extends ClientSettings.Builder<OperationsSettings,OperationsSettings.Builder>
Builder for OperationsSettings.
Constructors
Builder()
protected Builder()
Builder(OperationsSettings settings)
protected Builder(OperationsSettings settings)
Name | Description |
settings | OperationsSettings |
Builder(OperationsStubSettings.Builder stubSettings)
protected Builder(OperationsStubSettings.Builder stubSettings)
Name | Description |
stubSettings | OperationsStubSettings.Builder |
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public OperationsSettings.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.
Name | Description |
settingsUpdater | com.google.api.core.ApiFunction<Builder<?,?>,Void> |
Type | Description |
OperationsSettings.Builder |
Type | Description |
Exception |
build()
public OperationsSettings build()
Type | Description |
OperationsSettings |
Type | Description |
IOException |
cancelOperationSettings()
public UnaryCallSettings.Builder<CancelOperationRequest,Empty> cancelOperationSettings()
Returns the builder for the settings used for calls to cancel.
Type | Description |
Builder<CancelOperationRequest,com.google.protobuf.Empty> |
deleteOperationSettings()
public UnaryCallSettings.Builder<DeleteOperationRequest,Empty> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
Type | Description |
Builder<DeleteOperationRequest,com.google.protobuf.Empty> |
getOperationSettings()
public UnaryCallSettings.Builder<GetOperationRequest,Operation> getOperationSettings()
Returns the builder for the settings used for calls to get.
Type | Description |
Builder<GetOperationRequest,Operation> |
getStubSettingsBuilder()
public OperationsStubSettings.Builder getStubSettingsBuilder()
Type | Description |
OperationsStubSettings.Builder |
listOperationsSettings()
public PagedCallSettings.Builder<ListOperationsRequest,ListOperationsResponse,OperationsClient.ListOperationsPagedResponse> listOperationsSettings()
Returns the builder for the settings used for calls to listOperations.
Type | Description |
Builder<ListOperationsRequest,ListOperationsResponse,ListOperationsPagedResponse> |