Package com.google.longrunning.stub
Class OperationsStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<OperationsStubSettings,OperationsStubSettings.Builder>
com.google.longrunning.stub.OperationsStubSettings.Builder
- Enclosing class:
- OperationsStubSettings
public static class OperationsStubSettings.Builder
extends StubSettings.Builder<OperationsStubSettings,OperationsStubSettings.Builder>
Builder for OperationsStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(OperationsStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()UnaryCallSettings.Builder<CancelOperationRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to cancelOperation.UnaryCallSettings.Builder<DeleteOperationRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteOperation.Returns the builder for the settings used for calls to getOperation.PagedCallSettings.Builder<ListOperationsRequest,ListOperationsResponse, OperationsClient.ListOperationsPagedResponse> Returns the builder for the settings used for calls to listOperations.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to waitOperation.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public OperationsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, throws ExceptionVoid> 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.
- Throws:
Exception
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
getOperationSettings
Returns the builder for the settings used for calls to getOperation. -
listOperationsSettings
public PagedCallSettings.Builder<ListOperationsRequest,ListOperationsResponse, listOperationsSettings()OperationsClient.ListOperationsPagedResponse> Returns the builder for the settings used for calls to listOperations. -
cancelOperationSettings
public UnaryCallSettings.Builder<CancelOperationRequest,com.google.protobuf.Empty> cancelOperationSettings()Returns the builder for the settings used for calls to cancelOperation. -
deleteOperationSettings
public UnaryCallSettings.Builder<DeleteOperationRequest,com.google.protobuf.Empty> deleteOperationSettings()Returns the builder for the settings used for calls to deleteOperation. -
waitOperationSettings
Returns the builder for the settings used for calls to waitOperation. -
build
- Specified by:
buildin classStubSettings.Builder<OperationsStubSettings,OperationsStubSettings.Builder> - Throws:
IOException
-