public static class OperationsStubSettings.Builder extends StubSettings.Builder<OperationsStubSettings,OperationsStubSettings.Builder>
Builder for OperationsStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(OperationsStubSettings settings)
protected Builder(OperationsStubSettings settings)
Name | Description |
settings | OperationsStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public OperationsStubSettings.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 | ApiFunction<Builder<?,?>,Void> |
Type | Description |
OperationsStubSettings.Builder |
Type | Description |
Exception |
build()
public OperationsStubSettings build()
Type | Description |
OperationsStubSettings |
Type | Description |
IOException |
cancelOperationSettings()
public UnaryCallSettings.Builder<CancelOperationRequest,Empty> cancelOperationSettings()
Returns the builder for the settings used for calls to cancelOperation.
Type | Description |
Builder<CancelOperationRequest,Empty> |
deleteOperationSettings()
public UnaryCallSettings.Builder<DeleteOperationRequest,Empty> deleteOperationSettings()
Returns the builder for the settings used for calls to deleteOperation.
Type | Description |
Builder<DeleteOperationRequest,Empty> |
getOperationSettings()
public UnaryCallSettings.Builder<GetOperationRequest,Operation> getOperationSettings()
Returns the builder for the settings used for calls to getOperation.
Type | Description |
Builder<GetOperationRequest,Operation> |
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> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
waitOperationSettings()
public UnaryCallSettings.Builder<WaitOperationRequest,Operation> waitOperationSettings()
Returns the builder for the settings used for calls to waitOperation.
Type | Description |
Builder<WaitOperationRequest,Operation> |