public static final class SessionServiceGrpc.SessionServiceFutureStub extends AbstractFutureStub<SessionServiceGrpc.SessionServiceFutureStub>A stub to allow clients to do ListenableFuture-style rpc calls to service SessionService.
Service for managing Sessions and Session-related resources.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > SessionServiceGrpc.SessionServiceFutureStubMethods
build(Channel channel, CallOptions callOptions)
protected SessionServiceGrpc.SessionServiceFutureStub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
SessionServiceGrpc.SessionServiceFutureStub |
|
createSession(CreateSessionRequest request)
public ListenableFuture<Session> createSession(CreateSessionRequest request)Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned.
| Parameter | |
|---|---|
| Name | Description |
request |
CreateSessionRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Session> |
|
deleteSession(DeleteSessionRequest request)
public ListenableFuture<Empty> deleteSession(DeleteSessionRequest request)Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned.
| Parameter | |
|---|---|
| Name | Description |
request |
DeleteSessionRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
getSession(GetSessionRequest request)
public ListenableFuture<Session> getSession(GetSessionRequest request)Gets a Session.
| Parameter | |
|---|---|
| Name | Description |
request |
GetSessionRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Session> |
|
listFiles(ListFilesRequest request)
public ListenableFuture<ListFilesResponse> listFiles(ListFilesRequest request)Lists metadata for all files in the current session.
| Parameter | |
|---|---|
| Name | Description |
request |
ListFilesRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListFilesResponse> |
|
listSessions(ListSessionsRequest request)
public ListenableFuture<ListSessionsResponse> listSessions(ListSessionsRequest request)Lists all Sessions by their parent DataStore.
| Parameter | |
|---|---|
| Name | Description |
request |
ListSessionsRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListSessionsResponse> |
|
updateSession(UpdateSessionRequest request)
public ListenableFuture<Session> updateSession(UpdateSessionRequest request)Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned.
| Parameter | |
|---|---|
| Name | Description |
request |
UpdateSessionRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Session> |
|