Class HttpJsonBatchControllerStub
java.lang.Object
com.google.cloud.dataproc.v1.stub.BatchControllerStub
com.google.cloud.dataproc.v1.stub.HttpJsonBatchControllerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonBatchControllerStub
extends BatchControllerStub
REST stub implementation for the BatchController service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonBatchControllerStub, using the given settings.protectedHttpJsonBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonBatchControllerStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonBatchControllerStubcreate(ClientContext clientContext) static final HttpJsonBatchControllerStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonBatchControllerStubcreate(BatchControllerStubSettings settings) UnaryCallable<DeleteBatchRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.dataproc.v1.stub.BatchControllerStub
getOperationsStub
-
Constructor Details
-
HttpJsonBatchControllerStub
protected HttpJsonBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonBatchControllerStub, 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
-
HttpJsonBatchControllerStub
protected HttpJsonBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonBatchControllerStub, 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 HttpJsonBatchControllerStub create(BatchControllerStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonBatchControllerStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonBatchControllerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classBatchControllerStub
-
createBatchCallable
- Overrides:
createBatchCallablein classBatchControllerStub
-
createBatchOperationCallable
public OperationCallable<CreateBatchRequest,Batch, createBatchOperationCallable()BatchOperationMetadata> - Overrides:
createBatchOperationCallablein classBatchControllerStub
-
getBatchCallable
- Overrides:
getBatchCallablein classBatchControllerStub
-
listBatchesCallable
- Overrides:
listBatchesCallablein classBatchControllerStub
-
listBatchesPagedCallable
public UnaryCallable<ListBatchesRequest,BatchControllerClient.ListBatchesPagedResponse> listBatchesPagedCallable()- Overrides:
listBatchesPagedCallablein classBatchControllerStub
-
deleteBatchCallable
- Overrides:
deleteBatchCallablein classBatchControllerStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classBatchControllerStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classBatchControllerStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classBatchControllerStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classBatchControllerStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-