@Generated(value="by gapic-generator-java") public class GrpcSessionControllerStub extends SessionControllerStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcSessionControllerStub(SessionControllerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcSessionControllerStub, using the given settings.
|
protected |
GrpcSessionControllerStub(SessionControllerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSessionControllerStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcSessionControllerStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcSessionControllerStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcSessionControllerStub |
create(SessionControllerStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateSessionRequest,com.google.longrunning.Operation> |
createSessionCallable() |
com.google.api.gax.rpc.OperationCallable<CreateSessionRequest,Session,SessionOperationMetadata> |
createSessionOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteSessionRequest,com.google.longrunning.Operation> |
deleteSessionCallable() |
com.google.api.gax.rpc.OperationCallable<DeleteSessionRequest,Session,SessionOperationMetadata> |
deleteSessionOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
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<ListSessionsRequest,ListSessionsResponse> |
listSessionsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListSessionsRequest,SessionControllerClient.ListSessionsPagedResponse> |
listSessionsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<TerminateSessionRequest,com.google.longrunning.Operation> |
terminateSessionCallable() |
com.google.api.gax.rpc.OperationCallable<TerminateSessionRequest,Session,SessionOperationMetadata> |
terminateSessionOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
getHttpJsonOperationsStubprotected GrpcSessionControllerStub(SessionControllerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcSessionControllerStub(SessionControllerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcSessionControllerStub create(SessionControllerStubSettings settings) throws IOException
IOExceptionpublic static final GrpcSessionControllerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcSessionControllerStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class SessionControllerStubpublic com.google.api.gax.rpc.UnaryCallable<CreateSessionRequest,com.google.longrunning.Operation> createSessionCallable()
createSessionCallable in class SessionControllerStubpublic com.google.api.gax.rpc.OperationCallable<CreateSessionRequest,Session,SessionOperationMetadata> createSessionOperationCallable()
createSessionOperationCallable in class SessionControllerStubpublic com.google.api.gax.rpc.UnaryCallable<GetSessionRequest,Session> getSessionCallable()
getSessionCallable in class SessionControllerStubpublic com.google.api.gax.rpc.UnaryCallable<ListSessionsRequest,ListSessionsResponse> listSessionsCallable()
listSessionsCallable in class SessionControllerStubpublic com.google.api.gax.rpc.UnaryCallable<ListSessionsRequest,SessionControllerClient.ListSessionsPagedResponse> listSessionsPagedCallable()
listSessionsPagedCallable in class SessionControllerStubpublic com.google.api.gax.rpc.UnaryCallable<TerminateSessionRequest,com.google.longrunning.Operation> terminateSessionCallable()
terminateSessionCallable in class SessionControllerStubpublic com.google.api.gax.rpc.OperationCallable<TerminateSessionRequest,Session,SessionOperationMetadata> terminateSessionOperationCallable()
terminateSessionOperationCallable in class SessionControllerStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteSessionRequest,com.google.longrunning.Operation> deleteSessionCallable()
deleteSessionCallable in class SessionControllerStubpublic com.google.api.gax.rpc.OperationCallable<DeleteSessionRequest,Session,SessionOperationMetadata> deleteSessionOperationCallable()
deleteSessionOperationCallable in class SessionControllerStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable in class SessionControllerStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable in class SessionControllerStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class SessionControllerStubpublic final void close()
close in interface AutoCloseableclose in class SessionControllerStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.