@BetaApi @Generated(value="by gapic-generator-java") public class GrpcSessionServiceStub extends SessionServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcSessionServiceStub(SessionServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcSessionServiceStub, using the given settings.
|
protected |
GrpcSessionServiceStub(SessionServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSessionServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcSessionServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcSessionServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcSessionServiceStub |
create(SessionServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateSessionRequest,Session> |
createSessionCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteSessionRequest,com.google.protobuf.Empty> |
deleteSessionCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetSessionRequest,Session> |
getSessionCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListFilesRequest,ListFilesResponse> |
listFilesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListFilesRequest,SessionServiceClient.ListFilesPagedResponse> |
listFilesPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListSessionsRequest,ListSessionsResponse> |
listSessionsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListSessionsRequest,SessionServiceClient.ListSessionsPagedResponse> |
listSessionsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateSessionRequest,Session> |
updateSessionCallable() |
protected GrpcSessionServiceStub(SessionServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcSessionServiceStub(SessionServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcSessionServiceStub create(SessionServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcSessionServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcSessionServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<CreateSessionRequest,Session> createSessionCallable()
createSessionCallable in class SessionServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteSessionRequest,com.google.protobuf.Empty> deleteSessionCallable()
deleteSessionCallable in class SessionServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateSessionRequest,Session> updateSessionCallable()
updateSessionCallable in class SessionServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetSessionRequest,Session> getSessionCallable()
getSessionCallable in class SessionServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListSessionsRequest,ListSessionsResponse> listSessionsCallable()
listSessionsCallable in class SessionServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListSessionsRequest,SessionServiceClient.ListSessionsPagedResponse> listSessionsPagedCallable()
listSessionsPagedCallable in class SessionServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListFilesRequest,ListFilesResponse> listFilesCallable()
listFilesCallable in class SessionServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListFilesRequest,SessionServiceClient.ListFilesPagedResponse> listFilesPagedCallable()
listFilesPagedCallable in class SessionServiceStubpublic final void close()
close in interface AutoCloseableclose in class SessionServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2026 Google LLC. All rights reserved.