public static class OperationsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<OperationsSettings,OperationsSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(OperationsSettings settings) |
protected |
Builder(OperationsStubSettings.Builder stubSettings) |
| Modifier and Type | Method and Description |
|---|---|
OperationsSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
OperationsSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.longrunning.CancelOperationRequest,com.google.protobuf.Empty> |
cancelOperationSettings()
Returns the builder for the settings used for calls to cancelOperation.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.longrunning.DeleteOperationRequest,com.google.protobuf.Empty> |
deleteOperationSettings()
Returns the builder for the settings used for calls to deleteOperation.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.longrunning.GetOperationRequest,com.google.longrunning.Operation> |
getOperationSettings()
Returns the builder for the settings used for calls to getOperation.
|
OperationsStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.longrunning.ListOperationsRequest,com.google.longrunning.ListOperationsResponse,OperationsClient.ListOperationsPagedResponse> |
listOperationsSettings()
Returns the builder for the settings used for calls to listOperations.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toStringprotected Builder()
throws IOException
IOExceptionprotected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(OperationsSettings settings)
protected Builder(OperationsStubSettings.Builder stubSettings)
public OperationsStubSettings.Builder getStubSettingsBuilder()
public OperationsSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exceptionpublic com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.longrunning.GetOperationRequest,com.google.longrunning.Operation> getOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.longrunning.ListOperationsRequest,com.google.longrunning.ListOperationsResponse,OperationsClient.ListOperationsPagedResponse> listOperationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.longrunning.CancelOperationRequest,com.google.protobuf.Empty> cancelOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.longrunning.DeleteOperationRequest,com.google.protobuf.Empty> deleteOperationSettings()
public OperationsSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<OperationsSettings,OperationsSettings.Builder>IOException