Package com.google.longrunning
Class OperationsSettings
Settings class to configure an instance of
OperationsClient.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for OperationsSettings. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOperationsSettings(OperationsSettings.Builder settingsBuilder) -
Method Summary
Modifier and TypeMethodDescriptionUnaryCallSettings<CancelOperationRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to cancelOperation.static final OperationsSettingscreate(OperationsStubSettings stub) Returns a builder for the default credentials for this service.Returns a builder for the default ExecutorProvider for this service.UnaryCallSettings<DeleteOperationRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to deleteOperation.Returns the object with the settings used for calls to getOperation.PagedCallSettings<ListOperationsRequest,ListOperationsResponse, OperationsClient.ListOperationsPagedResponse> Returns the object with the settings used for calls to listOperations.static OperationsSettings.BuilderReturns a new builder for this class.static OperationsSettings.BuildernewBuilder(ClientContext clientContext) Returns a new builder for this class.Returns a builder containing all the values of this settings class.Returns the object with the settings used for calls to waitOperation.Methods inherited from class com.google.api.gax.rpc.ClientSettings
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, toString
-
Constructor Details
-
OperationsSettings
- Throws:
IOException
-
-
Method Details
-
getOperationSettings
Returns the object with the settings used for calls to getOperation. -
listOperationsSettings
public PagedCallSettings<ListOperationsRequest,ListOperationsResponse, listOperationsSettings()OperationsClient.ListOperationsPagedResponse> Returns the object with the settings used for calls to listOperations. -
cancelOperationSettings
public UnaryCallSettings<CancelOperationRequest,com.google.protobuf.Empty> cancelOperationSettings()Returns the object with the settings used for calls to cancelOperation. -
deleteOperationSettings
public UnaryCallSettings<DeleteOperationRequest,com.google.protobuf.Empty> deleteOperationSettings()Returns the object with the settings used for calls to deleteOperation. -
waitOperationSettings
Returns the object with the settings used for calls to waitOperation. -
create
- Throws:
IOException
-
defaultExecutorProviderBuilder
Returns a builder for the default ExecutorProvider for this service. -
defaultCredentialsProviderBuilder
Returns a builder for the default credentials for this service. -
defaultApiClientHeaderProviderBuilder
-
newBuilder
Returns a new builder for this class. -
newBuilder
Returns a new builder for this class. -
toBuilder
Returns a builder containing all the values of this settings class.- Specified by:
toBuilderin classClientSettings<OperationsSettings>
-