public static final class SessionServiceGrpc.SessionServiceBlockingV2Stub extends AbstractBlockingStub<SessionServiceGrpc.SessionServiceBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service SessionService.
Service for managing Sessions and Session-related resources.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SessionServiceGrpc.SessionServiceBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected SessionServiceGrpc.SessionServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
SessionServiceGrpc.SessionServiceBlockingV2Stub |
|
createSession(CreateSessionRequest request)
public 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 |
Session |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
deleteSession(DeleteSessionRequest request)
public 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 |
Empty |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getSession(GetSessionRequest request)
public Session getSession(GetSessionRequest request)Gets a Session.
| Parameter | |
|---|---|
| Name | Description |
request |
GetSessionRequest |
| Returns | |
|---|---|
| Type | Description |
Session |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listFiles(ListFilesRequest request)
public ListFilesResponse listFiles(ListFilesRequest request)Lists metadata for all files in the current session.
| Parameter | |
|---|---|
| Name | Description |
request |
ListFilesRequest |
| Returns | |
|---|---|
| Type | Description |
ListFilesResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listSessions(ListSessionsRequest request)
public ListSessionsResponse listSessions(ListSessionsRequest request)Lists all Sessions by their parent DataStore.
| Parameter | |
|---|---|
| Name | Description |
request |
ListSessionsRequest |
| Returns | |
|---|---|
| Type | Description |
ListSessionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
updateSession(UpdateSessionRequest request)
public 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 |
Session |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|