public class HttpJsonSnapshotSettingsServiceStub extends SnapshotSettingsServiceStub
REST stub implementation for the SnapshotSettingsService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonSnapshotSettingsServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonSnapshotSettingsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(SnapshotSettingsServiceStubSettings settings)
public static final HttpJsonSnapshotSettingsServiceStub create(SnapshotSettingsServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonSnapshotSettingsServiceStub(SnapshotSettingsServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonSnapshotSettingsServiceStub(SnapshotSettingsServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonSnapshotSettingsServiceStub, 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.
HttpJsonSnapshotSettingsServiceStub(SnapshotSettingsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonSnapshotSettingsServiceStub(SnapshotSettingsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSnapshotSettingsServiceStub, 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<GetSnapshotSettingRequest,SnapshotSettings> getCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
patchCallable()
public UnaryCallable<PatchSnapshotSettingRequest,Operation> patchCallable()
Overrides
patchOperationCallable()
public OperationCallable<PatchSnapshotSettingRequest,Operation,Operation> patchOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()