Class HttpJsonSessionControllerStub
java.lang.Object
com.google.cloud.dataproc.v1.stub.SessionControllerStub
com.google.cloud.dataproc.v1.stub.HttpJsonSessionControllerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonSessionControllerStub(SessionControllerStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonSessionControllerStub, using the given settings.protectedHttpJsonSessionControllerStub(SessionControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonSessionControllerStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonSessionControllerStubcreate(ClientContext clientContext) static final HttpJsonSessionControllerStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonSessionControllerStubcreate(SessionControllerStubSettings settings) static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.dataproc.v1.stub.SessionControllerStub
getOperationsStub
-
Constructor Details
-
HttpJsonSessionControllerStub
protected HttpJsonSessionControllerStub(SessionControllerStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
HttpJsonSessionControllerStub
protected HttpJsonSessionControllerStub(SessionControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonSessionControllerStub create(SessionControllerStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonSessionControllerStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonSessionControllerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classSessionControllerStub
-
createSessionCallable
- Overrides:
createSessionCallablein classSessionControllerStub
-
createSessionOperationCallable
public OperationCallable<CreateSessionRequest,Session, createSessionOperationCallable()SessionOperationMetadata> - Overrides:
createSessionOperationCallablein classSessionControllerStub
-
getSessionCallable
- Overrides:
getSessionCallablein classSessionControllerStub
-
listSessionsCallable
- Overrides:
listSessionsCallablein classSessionControllerStub
-
listSessionsPagedCallable
public UnaryCallable<ListSessionsRequest,SessionControllerClient.ListSessionsPagedResponse> listSessionsPagedCallable()- Overrides:
listSessionsPagedCallablein classSessionControllerStub
-
terminateSessionCallable
- Overrides:
terminateSessionCallablein classSessionControllerStub
-
terminateSessionOperationCallable
public OperationCallable<TerminateSessionRequest,Session, terminateSessionOperationCallable()SessionOperationMetadata> - Overrides:
terminateSessionOperationCallablein classSessionControllerStub
-
deleteSessionCallable
- Overrides:
deleteSessionCallablein classSessionControllerStub
-
deleteSessionOperationCallable
public OperationCallable<DeleteSessionRequest,Session, deleteSessionOperationCallable()SessionOperationMetadata> - Overrides:
deleteSessionOperationCallablein classSessionControllerStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classSessionControllerStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classSessionControllerStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classSessionControllerStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classSessionControllerStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-