public class HttpJsonServingConfigServiceStub extends ServingConfigServiceStub
REST stub implementation for the ServingConfigService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonServingConfigServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonServingConfigServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(ServingConfigServiceStubSettings settings)
public static final HttpJsonServingConfigServiceStub create(ServingConfigServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonServingConfigServiceStub(ServingConfigServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonServingConfigServiceStub(ServingConfigServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonServingConfigServiceStub, 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.
HttpJsonServingConfigServiceStub(ServingConfigServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonServingConfigServiceStub(ServingConfigServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonServingConfigServiceStub, 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.
Methods
addControlCallable()
public UnaryCallable<AddControlRequest,ServingConfig> addControlCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createServingConfigCallable()
public UnaryCallable<CreateServingConfigRequest,ServingConfig> createServingConfigCallable()
Overrides
deleteServingConfigCallable()
public UnaryCallable<DeleteServingConfigRequest,Empty> deleteServingConfigCallable()
Overrides
getServingConfigCallable()
public UnaryCallable<GetServingConfigRequest,ServingConfig> getServingConfigCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listServingConfigsCallable()
public UnaryCallable<ListServingConfigsRequest,ListServingConfigsResponse> listServingConfigsCallable()
Overrides
listServingConfigsPagedCallable()
public UnaryCallable<ListServingConfigsRequest,ServingConfigServiceClient.ListServingConfigsPagedResponse> listServingConfigsPagedCallable()
Overrides
removeControlCallable()
public UnaryCallable<RemoveControlRequest,ServingConfig> removeControlCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateServingConfigCallable()
public UnaryCallable<UpdateServingConfigRequest,ServingConfig> updateServingConfigCallable()
Overrides