Package com.google.longrunning
Class OperationsSettings
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings<OperationsSettings>
-
- com.google.longrunning.OperationsSettings
-
public class OperationsSettings extends ClientSettings<OperationsSettings>
Settings class to configure an instance ofOperationsClient
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OperationsSettings.Builder
Builder for OperationsSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
OperationsSettings(OperationsSettings.Builder settingsBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UnaryCallSettings<com.google.longrunning.CancelOperationRequest,com.google.protobuf.Empty>
cancelOperationSettings()
Returns the object with the settings used for calls to cancelOperation.static OperationsSettings
create(OperationsStubSettings stub)
static ApiClientHeaderProvider.Builder
defaultApiClientHeaderProviderBuilder()
static GoogleCredentialsProvider.Builder
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.static InstantiatingExecutorProvider.Builder
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.UnaryCallSettings<com.google.longrunning.DeleteOperationRequest,com.google.protobuf.Empty>
deleteOperationSettings()
Returns the object with the settings used for calls to deleteOperation.UnaryCallSettings<com.google.longrunning.GetOperationRequest,com.google.longrunning.Operation>
getOperationSettings()
Returns the object with the settings used for calls to getOperation.PagedCallSettings<com.google.longrunning.ListOperationsRequest,com.google.longrunning.ListOperationsResponse,OperationsClient.ListOperationsPagedResponse>
listOperationsSettings()
Returns the object with the settings used for calls to listOperations.static OperationsSettings.Builder
newBuilder()
Returns a new builder for this class.static OperationsSettings.Builder
newBuilder(ClientContext clientContext)
Returns a new builder for this class.OperationsSettings.Builder
toBuilder()
Returns a builder containing all the values of this settings class.UnaryCallSettings<com.google.longrunning.WaitOperationRequest,com.google.longrunning.Operation>
waitOperationSettings()
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, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
OperationsSettings
protected OperationsSettings(OperationsSettings.Builder settingsBuilder) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getOperationSettings
public UnaryCallSettings<com.google.longrunning.GetOperationRequest,com.google.longrunning.Operation> getOperationSettings()
Returns the object with the settings used for calls to getOperation.
-
listOperationsSettings
public PagedCallSettings<com.google.longrunning.ListOperationsRequest,com.google.longrunning.ListOperationsResponse,OperationsClient.ListOperationsPagedResponse> listOperationsSettings()
Returns the object with the settings used for calls to listOperations.
-
cancelOperationSettings
public UnaryCallSettings<com.google.longrunning.CancelOperationRequest,com.google.protobuf.Empty> cancelOperationSettings()
Returns the object with the settings used for calls to cancelOperation.
-
deleteOperationSettings
public UnaryCallSettings<com.google.longrunning.DeleteOperationRequest,com.google.protobuf.Empty> deleteOperationSettings()
Returns the object with the settings used for calls to deleteOperation.
-
waitOperationSettings
public UnaryCallSettings<com.google.longrunning.WaitOperationRequest,com.google.longrunning.Operation> waitOperationSettings()
Returns the object with the settings used for calls to waitOperation.
-
create
public static final OperationsSettings create(OperationsStubSettings stub) throws java.io.IOException
- Throws:
java.io.IOException
-
defaultExecutorProviderBuilder
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
-
defaultCredentialsProviderBuilder
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
-
defaultApiClientHeaderProviderBuilder
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
-
newBuilder
public static OperationsSettings.Builder newBuilder()
Returns a new builder for this class.
-
newBuilder
public static OperationsSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public OperationsSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classClientSettings<OperationsSettings>
-
-