Class HttpJsonWorkloadManagerStub
java.lang.Object
com.google.cloud.workloadmanager.v1.stub.WorkloadManagerStub
com.google.cloud.workloadmanager.v1.stub.HttpJsonWorkloadManagerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonWorkloadManagerStub
extends WorkloadManagerStub
REST stub implementation for the WorkloadManager service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonWorkloadManagerStub(WorkloadManagerStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonWorkloadManagerStub, using the given settings.protectedHttpJsonWorkloadManagerStub(WorkloadManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonWorkloadManagerStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonWorkloadManagerStubcreate(ClientContext clientContext) static final HttpJsonWorkloadManagerStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonWorkloadManagerStubcreate(WorkloadManagerStubSettings settings) OperationCallable<DeleteEvaluationRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteExecutionRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.workloadmanager.v1.stub.WorkloadManagerStub
getOperationsStub
-
Constructor Details
-
HttpJsonWorkloadManagerStub
protected HttpJsonWorkloadManagerStub(WorkloadManagerStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonWorkloadManagerStub, 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
-
HttpJsonWorkloadManagerStub
protected HttpJsonWorkloadManagerStub(WorkloadManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonWorkloadManagerStub, 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 HttpJsonWorkloadManagerStub create(WorkloadManagerStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonWorkloadManagerStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonWorkloadManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classWorkloadManagerStub
-
listEvaluationsCallable
- Overrides:
listEvaluationsCallablein classWorkloadManagerStub
-
listEvaluationsPagedCallable
public UnaryCallable<ListEvaluationsRequest,WorkloadManagerClient.ListEvaluationsPagedResponse> listEvaluationsPagedCallable()- Overrides:
listEvaluationsPagedCallablein classWorkloadManagerStub
-
getEvaluationCallable
- Overrides:
getEvaluationCallablein classWorkloadManagerStub
-
createEvaluationCallable
- Overrides:
createEvaluationCallablein classWorkloadManagerStub
-
createEvaluationOperationCallable
public OperationCallable<CreateEvaluationRequest,Evaluation, createEvaluationOperationCallable()OperationMetadata> - Overrides:
createEvaluationOperationCallablein classWorkloadManagerStub
-
updateEvaluationCallable
- Overrides:
updateEvaluationCallablein classWorkloadManagerStub
-
updateEvaluationOperationCallable
public OperationCallable<UpdateEvaluationRequest,Evaluation, updateEvaluationOperationCallable()OperationMetadata> - Overrides:
updateEvaluationOperationCallablein classWorkloadManagerStub
-
deleteEvaluationCallable
- Overrides:
deleteEvaluationCallablein classWorkloadManagerStub
-
deleteEvaluationOperationCallable
public OperationCallable<DeleteEvaluationRequest,com.google.protobuf.Empty, deleteEvaluationOperationCallable()OperationMetadata> - Overrides:
deleteEvaluationOperationCallablein classWorkloadManagerStub
-
listExecutionsCallable
- Overrides:
listExecutionsCallablein classWorkloadManagerStub
-
listExecutionsPagedCallable
public UnaryCallable<ListExecutionsRequest,WorkloadManagerClient.ListExecutionsPagedResponse> listExecutionsPagedCallable()- Overrides:
listExecutionsPagedCallablein classWorkloadManagerStub
-
getExecutionCallable
- Overrides:
getExecutionCallablein classWorkloadManagerStub
-
runEvaluationCallable
- Overrides:
runEvaluationCallablein classWorkloadManagerStub
-
runEvaluationOperationCallable
public OperationCallable<RunEvaluationRequest,Execution, runEvaluationOperationCallable()OperationMetadata> - Overrides:
runEvaluationOperationCallablein classWorkloadManagerStub
-
deleteExecutionCallable
- Overrides:
deleteExecutionCallablein classWorkloadManagerStub
-
deleteExecutionOperationCallable
public OperationCallable<DeleteExecutionRequest,com.google.protobuf.Empty, deleteExecutionOperationCallable()OperationMetadata> - Overrides:
deleteExecutionOperationCallablein classWorkloadManagerStub
-
listExecutionResultsCallable
public UnaryCallable<ListExecutionResultsRequest,ListExecutionResultsResponse> listExecutionResultsCallable()- Overrides:
listExecutionResultsCallablein classWorkloadManagerStub
-
listExecutionResultsPagedCallable
public UnaryCallable<ListExecutionResultsRequest,WorkloadManagerClient.ListExecutionResultsPagedResponse> listExecutionResultsPagedCallable()- Overrides:
listExecutionResultsPagedCallablein classWorkloadManagerStub
-
listRulesCallable
- Overrides:
listRulesCallablein classWorkloadManagerStub
-
listScannedResourcesCallable
public UnaryCallable<ListScannedResourcesRequest,ListScannedResourcesResponse> listScannedResourcesCallable()- Overrides:
listScannedResourcesCallablein classWorkloadManagerStub
-
listScannedResourcesPagedCallable
public UnaryCallable<ListScannedResourcesRequest,WorkloadManagerClient.ListScannedResourcesPagedResponse> listScannedResourcesPagedCallable()- Overrides:
listScannedResourcesPagedCallablein classWorkloadManagerStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classWorkloadManagerStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,WorkloadManagerClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classWorkloadManagerStub
-
getLocationCallable
- Overrides:
getLocationCallablein classWorkloadManagerStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classWorkloadManagerStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-