Class GrpcGkeInferenceQuickstartStub
java.lang.Object
com.google.cloud.gkerecommender.v1.stub.GkeInferenceQuickstartStub
com.google.cloud.gkerecommender.v1.stub.GrpcGkeInferenceQuickstartStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcGkeInferenceQuickstartStub
extends GkeInferenceQuickstartStub
gRPC stub implementation for the GkeInferenceQuickstart service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcGkeInferenceQuickstartStub(GkeInferenceQuickstartStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcGkeInferenceQuickstartStub, using the given settings.protectedGrpcGkeInferenceQuickstartStub(GkeInferenceQuickstartStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcGkeInferenceQuickstartStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcGkeInferenceQuickstartStubcreate(ClientContext clientContext) static final GrpcGkeInferenceQuickstartStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcGkeInferenceQuickstartStubcreate(GkeInferenceQuickstartStubSettings settings) UnaryCallable<FetchModelServerVersionsRequest,GkeInferenceQuickstartClient.FetchModelServerVersionsPagedResponse> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcGkeInferenceQuickstartStub
protected GrpcGkeInferenceQuickstartStub(GkeInferenceQuickstartStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcGkeInferenceQuickstartStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcGkeInferenceQuickstartStub
protected GrpcGkeInferenceQuickstartStub(GkeInferenceQuickstartStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcGkeInferenceQuickstartStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcGkeInferenceQuickstartStub create(GkeInferenceQuickstartStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcGkeInferenceQuickstartStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcGkeInferenceQuickstartStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
fetchModelsCallable
- Overrides:
fetchModelsCallablein classGkeInferenceQuickstartStub
-
fetchModelsPagedCallable
public UnaryCallable<FetchModelsRequest,GkeInferenceQuickstartClient.FetchModelsPagedResponse> fetchModelsPagedCallable()- Overrides:
fetchModelsPagedCallablein classGkeInferenceQuickstartStub
-
fetchModelServersCallable
public UnaryCallable<FetchModelServersRequest,FetchModelServersResponse> fetchModelServersCallable()- Overrides:
fetchModelServersCallablein classGkeInferenceQuickstartStub
-
fetchModelServersPagedCallable
public UnaryCallable<FetchModelServersRequest,GkeInferenceQuickstartClient.FetchModelServersPagedResponse> fetchModelServersPagedCallable()- Overrides:
fetchModelServersPagedCallablein classGkeInferenceQuickstartStub
-
fetchModelServerVersionsCallable
public UnaryCallable<FetchModelServerVersionsRequest,FetchModelServerVersionsResponse> fetchModelServerVersionsCallable()- Overrides:
fetchModelServerVersionsCallablein classGkeInferenceQuickstartStub
-
fetchModelServerVersionsPagedCallable
public UnaryCallable<FetchModelServerVersionsRequest,GkeInferenceQuickstartClient.FetchModelServerVersionsPagedResponse> fetchModelServerVersionsPagedCallable()- Overrides:
fetchModelServerVersionsPagedCallablein classGkeInferenceQuickstartStub
-
fetchProfilesCallable
- Overrides:
fetchProfilesCallablein classGkeInferenceQuickstartStub
-
fetchProfilesPagedCallable
public UnaryCallable<FetchProfilesRequest,GkeInferenceQuickstartClient.FetchProfilesPagedResponse> fetchProfilesPagedCallable()- Overrides:
fetchProfilesPagedCallablein classGkeInferenceQuickstartStub
-
generateOptimizedManifestCallable
public UnaryCallable<GenerateOptimizedManifestRequest,GenerateOptimizedManifestResponse> generateOptimizedManifestCallable()- Overrides:
generateOptimizedManifestCallablein classGkeInferenceQuickstartStub
-
fetchBenchmarkingDataCallable
public UnaryCallable<FetchBenchmarkingDataRequest,FetchBenchmarkingDataResponse> fetchBenchmarkingDataCallable()- Overrides:
fetchBenchmarkingDataCallablein classGkeInferenceQuickstartStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGkeInferenceQuickstartStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-