Class SessionServiceGrpc.SessionServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SessionServiceGrpc.SessionServiceBlockingStub>
com.google.cloud.discoveryengine.v1alpha.SessionServiceGrpc.SessionServiceBlockingStub
- Enclosing class:
- SessionServiceGrpc
public static final class SessionServiceGrpc.SessionServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<SessionServiceGrpc.SessionServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service SessionService.
Service for managing Sessions and Session-related resources.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createSession(CreateSessionRequest request) Creates a Session.com.google.protobuf.EmptydeleteSession(DeleteSessionRequest request) Deletes a Session.getSession(GetSessionRequest request) Gets a Session.listFiles(ListFilesRequest request) Lists metadata for all files in the current session.listSessions(ListSessionsRequest request) Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].updateSession(UpdateSessionRequest request) Updates a Session.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SessionServiceGrpc.SessionServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SessionServiceGrpc.SessionServiceBlockingStub>
-
createSession
Creates a Session. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to create already exists, an ALREADY_EXISTS error is returned.
-
deleteSession
Deletes a Session. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to delete does not exist, a NOT_FOUND error is returned.
-
updateSession
Updates a Session. [Session][google.cloud.discoveryengine.v1alpha.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to update does not exist, a NOT_FOUND error is returned.
-
getSession
Gets a Session.
-
listSessions
Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].
-
listFiles
Lists metadata for all files in the current session.
-