@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonAssuredWorkloadsServiceStub extends AssuredWorkloadsServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonAssuredWorkloadsServiceStub(AssuredWorkloadsServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonAssuredWorkloadsServiceStub, using the given settings.
|
protected |
HttpJsonAssuredWorkloadsServiceStub(AssuredWorkloadsServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAssuredWorkloadsServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonAssuredWorkloadsServiceStub |
create(AssuredWorkloadsServiceStubSettings settings) |
static HttpJsonAssuredWorkloadsServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonAssuredWorkloadsServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
com.google.api.gax.rpc.UnaryCallable<CreateWorkloadRequest,com.google.longrunning.Operation> |
createWorkloadCallable() |
com.google.api.gax.rpc.OperationCallable<CreateWorkloadRequest,Workload,CreateWorkloadOperationMetadata> |
createWorkloadOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteWorkloadRequest,com.google.protobuf.Empty> |
deleteWorkloadCallable() |
com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub |
getHttpJsonOperationsStub() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
com.google.api.gax.rpc.UnaryCallable<GetWorkloadRequest,Workload> |
getWorkloadCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListWorkloadsRequest,ListWorkloadsResponse> |
listWorkloadsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListWorkloadsRequest,AssuredWorkloadsServiceClient.ListWorkloadsPagedResponse> |
listWorkloadsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<RestrictAllowedResourcesRequest,RestrictAllowedResourcesResponse> |
restrictAllowedResourcesCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateWorkloadRequest,Workload> |
updateWorkloadCallable() |
acknowledgeViolationCallable, getOperationsStub, getViolationCallable, listViolationsCallable, listViolationsPagedCallableprotected HttpJsonAssuredWorkloadsServiceStub(AssuredWorkloadsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonAssuredWorkloadsServiceStub(AssuredWorkloadsServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonAssuredWorkloadsServiceStub create(AssuredWorkloadsServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonAssuredWorkloadsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonAssuredWorkloadsServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub in class AssuredWorkloadsServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateWorkloadRequest,com.google.longrunning.Operation> createWorkloadCallable()
createWorkloadCallable in class AssuredWorkloadsServiceStubpublic com.google.api.gax.rpc.OperationCallable<CreateWorkloadRequest,Workload,CreateWorkloadOperationMetadata> createWorkloadOperationCallable()
createWorkloadOperationCallable in class AssuredWorkloadsServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateWorkloadRequest,Workload> updateWorkloadCallable()
updateWorkloadCallable in class AssuredWorkloadsServiceStubpublic com.google.api.gax.rpc.UnaryCallable<RestrictAllowedResourcesRequest,RestrictAllowedResourcesResponse> restrictAllowedResourcesCallable()
restrictAllowedResourcesCallable in class AssuredWorkloadsServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteWorkloadRequest,com.google.protobuf.Empty> deleteWorkloadCallable()
deleteWorkloadCallable in class AssuredWorkloadsServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetWorkloadRequest,Workload> getWorkloadCallable()
getWorkloadCallable in class AssuredWorkloadsServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListWorkloadsRequest,ListWorkloadsResponse> listWorkloadsCallable()
listWorkloadsCallable in class AssuredWorkloadsServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListWorkloadsRequest,AssuredWorkloadsServiceClient.ListWorkloadsPagedResponse> listWorkloadsPagedCallable()
listWorkloadsPagedCallable in class AssuredWorkloadsServiceStubpublic final void close()
close in interface AutoCloseableclose in class AssuredWorkloadsServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2022 Google LLC. All rights reserved.