- 4.46.0 (latest)
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public class HttpJsonSessionControllerStub extends SessionControllerStub
REST stub implementation for the SessionController service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonSessionControllerStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonSessionControllerStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonSessionControllerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonSessionControllerStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(SessionControllerStubSettings settings)
public static final HttpJsonSessionControllerStub create(SessionControllerStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
SessionControllerStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonSessionControllerStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonSessionControllerStub(SessionControllerStubSettings settings, ClientContext clientContext)
protected HttpJsonSessionControllerStub(SessionControllerStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonSessionControllerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Parameters | |
---|---|
Name | Description |
settings |
SessionControllerStubSettings |
clientContext |
ClientContext |
HttpJsonSessionControllerStub(SessionControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonSessionControllerStub(SessionControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSessionControllerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Parameters | |
---|---|
Name | Description |
settings |
SessionControllerStubSettings |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createSessionCallable()
public UnaryCallable<CreateSessionRequest,Operation> createSessionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateSessionRequest,Operation> |
createSessionOperationCallable()
public OperationCallable<CreateSessionRequest,Session,SessionOperationMetadata> createSessionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateSessionRequest,Session,SessionOperationMetadata> |
deleteSessionCallable()
public UnaryCallable<DeleteSessionRequest,Operation> deleteSessionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteSessionRequest,Operation> |
deleteSessionOperationCallable()
public OperationCallable<DeleteSessionRequest,Session,SessionOperationMetadata> deleteSessionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteSessionRequest,Session,SessionOperationMetadata> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getSessionCallable()
public UnaryCallable<GetSessionRequest,Session> getSessionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetSessionRequest,Session> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listSessionsCallable()
public UnaryCallable<ListSessionsRequest,ListSessionsResponse> listSessionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSessionsRequest,ListSessionsResponse> |
listSessionsPagedCallable()
public UnaryCallable<ListSessionsRequest,SessionControllerClient.ListSessionsPagedResponse> listSessionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSessionsRequest,ListSessionsPagedResponse> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
terminateSessionCallable()
public UnaryCallable<TerminateSessionRequest,Operation> terminateSessionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<TerminateSessionRequest,Operation> |
terminateSessionOperationCallable()
public OperationCallable<TerminateSessionRequest,Session,SessionOperationMetadata> terminateSessionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<TerminateSessionRequest,Session,SessionOperationMetadata> |
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |