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 classOperationsSettings.BuilderBuilder for OperationsSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protectedOperationsSettings(OperationsSettings.Builder settingsBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UnaryCallSettings<CancelOperationRequest,com.google.protobuf.Empty>cancelOperationSettings()Returns the object with the settings used for calls to cancelOperation.static OperationsSettingscreate(OperationsStubSettings stub)static ApiClientHeaderProvider.BuilderdefaultApiClientHeaderProviderBuilder()static GoogleCredentialsProvider.BuilderdefaultCredentialsProviderBuilder()Returns a builder for the default credentials for this service.static InstantiatingExecutorProvider.BuilderdefaultExecutorProviderBuilder()Returns a builder for the default ExecutorProvider for this service.UnaryCallSettings<DeleteOperationRequest,com.google.protobuf.Empty>deleteOperationSettings()Returns the object with the settings used for calls to deleteOperation.UnaryCallSettings<GetOperationRequest,Operation>getOperationSettings()Returns the object with the settings used for calls to getOperation.PagedCallSettings<ListOperationsRequest,ListOperationsResponse,OperationsClient.ListOperationsPagedResponse>listOperationsSettings()Returns the object with the settings used for calls to listOperations.static OperationsSettings.BuildernewBuilder()Returns a new builder for this class.static OperationsSettings.BuildernewBuilder(ClientContext clientContext)Returns a new builder for this class.OperationsSettings.BuildertoBuilder()Returns a builder containing all the values of this settings class.UnaryCallSettings<WaitOperationRequest,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 IOException
- Throws:
IOException
-
-
Method Detail
-
getOperationSettings
public UnaryCallSettings<GetOperationRequest,Operation> getOperationSettings()
Returns the object with the settings used for calls to getOperation.
-
listOperationsSettings
public PagedCallSettings<ListOperationsRequest,ListOperationsResponse,OperationsClient.ListOperationsPagedResponse> listOperationsSettings()
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
public UnaryCallSettings<WaitOperationRequest,Operation> waitOperationSettings()
Returns the object with the settings used for calls to waitOperation.
-
create
public static final OperationsSettings create(OperationsStubSettings stub) throws IOException
- Throws:
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:
toBuilderin classClientSettings<OperationsSettings>
-
-