Package com.google.longrunning.stub
Class OperationsStubSettings
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings<OperationsStubSettings>
-
- com.google.longrunning.stub.OperationsStubSettings
-
public class OperationsStubSettings extends StubSettings<OperationsStubSettings>
Settings class to configure an instance ofOperationsStub
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OperationsStubSettings.Builder
Builder for OperationsStubSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
OperationsStubSettings(OperationsStubSettings.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.OperationsStub
createStub()
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 OperationsStubSettings.Builder
newBuilder()
Returns a new builder for this class.static OperationsStubSettings.Builder
newBuilder(ClientContext clientContext)
Returns a new builder for this class.OperationsStubSettings.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.StubSettings
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
OperationsStubSettings
protected OperationsStubSettings(OperationsStubSettings.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.
-
createStub
public OperationsStub createStub() 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 OperationsStubSettings.Builder newBuilder()
Returns a new builder for this class.
-
newBuilder
public static OperationsStubSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public OperationsStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classStubSettings<OperationsStubSettings>
-
-