Class HttpJsonGkeInferenceQuickstartStub (0.1.0)

public class HttpJsonGkeInferenceQuickstartStub extends GkeInferenceQuickstartStub

REST stub implementation for the GkeInferenceQuickstart service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > GkeInferenceQuickstartStub > HttpJsonGkeInferenceQuickstartStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonGkeInferenceQuickstartStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonGkeInferenceQuickstartStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonGkeInferenceQuickstartStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonGkeInferenceQuickstartStub
Exceptions
Type Description
IOException

create(GkeInferenceQuickstartStubSettings settings)

public static final HttpJsonGkeInferenceQuickstartStub create(GkeInferenceQuickstartStubSettings settings)
Parameter
Name Description
settings GkeInferenceQuickstartStubSettings
Returns
Type Description
HttpJsonGkeInferenceQuickstartStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonGkeInferenceQuickstartStub(GkeInferenceQuickstartStubSettings settings, ClientContext clientContext)

protected HttpJsonGkeInferenceQuickstartStub(GkeInferenceQuickstartStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonGkeInferenceQuickstartStub, 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.

Parameters
Name Description
settings GkeInferenceQuickstartStubSettings
clientContext ClientContext

HttpJsonGkeInferenceQuickstartStub(GkeInferenceQuickstartStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonGkeInferenceQuickstartStub(GkeInferenceQuickstartStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonGkeInferenceQuickstartStub, 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.

Parameters
Name Description
settings GkeInferenceQuickstartStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

fetchBenchmarkingDataCallable()

public UnaryCallable<FetchBenchmarkingDataRequest,FetchBenchmarkingDataResponse> fetchBenchmarkingDataCallable()
Returns
Type Description
UnaryCallable<FetchBenchmarkingDataRequest,FetchBenchmarkingDataResponse>
Overrides

fetchModelServerVersionsCallable()

public UnaryCallable<FetchModelServerVersionsRequest,FetchModelServerVersionsResponse> fetchModelServerVersionsCallable()
Returns
Type Description
UnaryCallable<FetchModelServerVersionsRequest,FetchModelServerVersionsResponse>
Overrides

fetchModelServerVersionsPagedCallable()

public UnaryCallable<FetchModelServerVersionsRequest,GkeInferenceQuickstartClient.FetchModelServerVersionsPagedResponse> fetchModelServerVersionsPagedCallable()
Returns
Type Description
UnaryCallable<FetchModelServerVersionsRequest,FetchModelServerVersionsPagedResponse>
Overrides

fetchModelServersCallable()

public UnaryCallable<FetchModelServersRequest,FetchModelServersResponse> fetchModelServersCallable()
Returns
Type Description
UnaryCallable<FetchModelServersRequest,FetchModelServersResponse>
Overrides

fetchModelServersPagedCallable()

public UnaryCallable<FetchModelServersRequest,GkeInferenceQuickstartClient.FetchModelServersPagedResponse> fetchModelServersPagedCallable()
Returns
Type Description
UnaryCallable<FetchModelServersRequest,FetchModelServersPagedResponse>
Overrides

fetchModelsCallable()

public UnaryCallable<FetchModelsRequest,FetchModelsResponse> fetchModelsCallable()
Returns
Type Description
UnaryCallable<FetchModelsRequest,FetchModelsResponse>
Overrides

fetchModelsPagedCallable()

public UnaryCallable<FetchModelsRequest,GkeInferenceQuickstartClient.FetchModelsPagedResponse> fetchModelsPagedCallable()
Returns
Type Description
UnaryCallable<FetchModelsRequest,FetchModelsPagedResponse>
Overrides

fetchProfilesCallable()

public UnaryCallable<FetchProfilesRequest,FetchProfilesResponse> fetchProfilesCallable()
Returns
Type Description
UnaryCallable<FetchProfilesRequest,FetchProfilesResponse>
Overrides

fetchProfilesPagedCallable()

public UnaryCallable<FetchProfilesRequest,GkeInferenceQuickstartClient.FetchProfilesPagedResponse> fetchProfilesPagedCallable()
Returns
Type Description
UnaryCallable<FetchProfilesRequest,FetchProfilesPagedResponse>
Overrides

generateOptimizedManifestCallable()

public UnaryCallable<GenerateOptimizedManifestRequest,GenerateOptimizedManifestResponse> generateOptimizedManifestCallable()
Returns
Type Description
UnaryCallable<GenerateOptimizedManifestRequest,GenerateOptimizedManifestResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()