public static class OperationsStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<OperationsStubSettings,OperationsStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(OperationsStubSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
OperationsStubSettings.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.
|
OperationsStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.longrunning.WaitOperationRequest,com.google.longrunning.Operation> |
waitOperationSettings()
Returns the builder for the settings used for calls to waitOperation.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(OperationsStubSettings settings)
public OperationsStubSettings.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public 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 com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.longrunning.WaitOperationRequest,com.google.longrunning.Operation> waitOperationSettings()
public OperationsStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<OperationsStubSettings,OperationsStubSettings.Builder>IOException