public class HttpJsonSpacesServiceStub extends SpacesServiceStub
REST stub implementation for the SpacesService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonSpacesServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonSpacesServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(SpacesServiceStubSettings settings)
public static final HttpJsonSpacesServiceStub create(SpacesServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonSpacesServiceStub(SpacesServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonSpacesServiceStub(SpacesServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonSpacesServiceStub, 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.
HttpJsonSpacesServiceStub(SpacesServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonSpacesServiceStub(SpacesServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSpacesServiceStub, 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
createSpaceCallable()
public UnaryCallable<CreateSpaceRequest,Space> createSpaceCallable()
Overrides
endActiveConferenceCallable()
public UnaryCallable<EndActiveConferenceRequest,Empty> endActiveConferenceCallable()
Overrides
getSpaceCallable()
public UnaryCallable<GetSpaceRequest,Space> getSpaceCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
shutdown()
shutdownNow()
public void shutdownNow()
updateSpaceCallable()
public UnaryCallable<UpdateSpaceRequest,Space> updateSpaceCallable()
Overrides