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 com.google.api.gax.rpc.StubSettings<OperationsStubSettings>
Settings class to configure an instance ofOperationsStub.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationsStubSettings.BuilderBuilder for OperationsStubSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protectedOperationsStubSettings(OperationsStubSettings.Builder settingsBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallSettings<com.google.longrunning.CancelOperationRequest,com.google.protobuf.Empty>cancelOperationSettings()Returns the object with the settings used for calls to cancelOperation.OperationsStubcreateStub()static com.google.api.gax.rpc.ApiClientHeaderProvider.BuilderdefaultApiClientHeaderProviderBuilder()static com.google.api.gax.core.GoogleCredentialsProvider.BuilderdefaultCredentialsProviderBuilder()Returns a builder for the default credentials for this service.static com.google.api.gax.core.InstantiatingExecutorProvider.BuilderdefaultExecutorProviderBuilder()Returns a builder for the default ExecutorProvider for this service.com.google.api.gax.rpc.UnaryCallSettings<com.google.longrunning.DeleteOperationRequest,com.google.protobuf.Empty>deleteOperationSettings()Returns the object with the settings used for calls to deleteOperation.com.google.api.gax.rpc.UnaryCallSettings<com.google.longrunning.GetOperationRequest,com.google.longrunning.Operation>getOperationSettings()Returns the object with the settings used for calls to getOperation.com.google.api.gax.rpc.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.BuildernewBuilder()Returns a new builder for this class.static OperationsStubSettings.BuildernewBuilder(com.google.api.gax.rpc.ClientContext clientContext)Returns a new builder for this class.OperationsStubSettings.BuildertoBuilder()Returns a builder containing all the values of this settings class.com.google.api.gax.rpc.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 IOException
- Throws:
IOException
-
-
Method Detail
-
getOperationSettings
public com.google.api.gax.rpc.UnaryCallSettings<com.google.longrunning.GetOperationRequest,com.google.longrunning.Operation> getOperationSettings()
Returns the object with the settings used for calls to getOperation.
-
listOperationsSettings
public com.google.api.gax.rpc.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 com.google.api.gax.rpc.UnaryCallSettings<com.google.longrunning.CancelOperationRequest,com.google.protobuf.Empty> cancelOperationSettings()
Returns the object with the settings used for calls to cancelOperation.
-
deleteOperationSettings
public com.google.api.gax.rpc.UnaryCallSettings<com.google.longrunning.DeleteOperationRequest,com.google.protobuf.Empty> deleteOperationSettings()
Returns the object with the settings used for calls to deleteOperation.
-
waitOperationSettings
public com.google.api.gax.rpc.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 IOException
- Throws:
IOException
-
defaultExecutorProviderBuilder
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
-
defaultCredentialsProviderBuilder
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
-
defaultApiClientHeaderProviderBuilder
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
-
newBuilder
public static OperationsStubSettings.Builder newBuilder()
Returns a new builder for this class.
-
newBuilder
public static OperationsStubSettings.Builder newBuilder(com.google.api.gax.rpc.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:
toBuilderin classcom.google.api.gax.rpc.StubSettings<OperationsStubSettings>
-
-