@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonSessionServiceStub extends SessionServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonSessionServiceStub(SessionServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonSessionServiceStub, using the given settings.
|
protected |
HttpJsonSessionServiceStub(SessionServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSessionServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonSessionServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonSessionServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonSessionServiceStub |
create(SessionServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateSessionRequest,Session> |
createSessionCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteSessionRequest,com.google.protobuf.Empty> |
deleteSessionCallable() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
com.google.api.gax.rpc.UnaryCallable<GetSessionRequest,Session> |
getSessionCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
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 HttpJsonSessionServiceStub(SessionServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonSessionServiceStub(SessionServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonSessionServiceStub create(SessionServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonSessionServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonSessionServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
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 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.