@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonPredictionApiKeyRegistryStub extends PredictionApiKeyRegistryStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonPredictionApiKeyRegistryStub(PredictionApiKeyRegistryStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonPredictionApiKeyRegistryStub, using the given settings.
|
protected |
HttpJsonPredictionApiKeyRegistryStub(PredictionApiKeyRegistryStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonPredictionApiKeyRegistryStub, using the given settings.
|
protected HttpJsonPredictionApiKeyRegistryStub(PredictionApiKeyRegistryStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonPredictionApiKeyRegistryStub(PredictionApiKeyRegistryStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonPredictionApiKeyRegistryStub create(PredictionApiKeyRegistryStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonPredictionApiKeyRegistryStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonPredictionApiKeyRegistryStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.rpc.UnaryCallable<CreatePredictionApiKeyRegistrationRequest,PredictionApiKeyRegistration> createPredictionApiKeyRegistrationCallable()
createPredictionApiKeyRegistrationCallable in class PredictionApiKeyRegistryStubpublic com.google.api.gax.rpc.UnaryCallable<ListPredictionApiKeyRegistrationsRequest,ListPredictionApiKeyRegistrationsResponse> listPredictionApiKeyRegistrationsCallable()
listPredictionApiKeyRegistrationsCallable in class PredictionApiKeyRegistryStubpublic com.google.api.gax.rpc.UnaryCallable<ListPredictionApiKeyRegistrationsRequest,PredictionApiKeyRegistryClient.ListPredictionApiKeyRegistrationsPagedResponse> listPredictionApiKeyRegistrationsPagedCallable()
listPredictionApiKeyRegistrationsPagedCallable in class PredictionApiKeyRegistryStubpublic com.google.api.gax.rpc.UnaryCallable<DeletePredictionApiKeyRegistrationRequest,com.google.protobuf.Empty> deletePredictionApiKeyRegistrationCallable()
deletePredictionApiKeyRegistrationCallable in class PredictionApiKeyRegistryStubpublic final void close()
close in interface AutoCloseableclose in class PredictionApiKeyRegistryStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.