public class HttpJsonInstanceSettingsServiceStub extends InstanceSettingsServiceStub
REST stub implementation for the InstanceSettingsService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonInstanceSettingsServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonInstanceSettingsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(InstanceSettingsServiceStubSettings settings)
public static final HttpJsonInstanceSettingsServiceStub create(InstanceSettingsServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonInstanceSettingsServiceStub(InstanceSettingsServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonInstanceSettingsServiceStub(InstanceSettingsServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonInstanceSettingsServiceStub, 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.
HttpJsonInstanceSettingsServiceStub(InstanceSettingsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonInstanceSettingsServiceStub(InstanceSettingsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonInstanceSettingsServiceStub, 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
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
getCallable()
public UnaryCallable<GetInstanceSettingRequest,InstanceSettings> getCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
patchCallable()
public UnaryCallable<PatchInstanceSettingRequest,Operation> patchCallable()
Overrides
patchOperationCallable()
public OperationCallable<PatchInstanceSettingRequest,Operation,Operation> patchOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()