@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcAllocationPoliciesServiceStub extends AllocationPoliciesServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcAllocationPoliciesServiceStub(AllocationPoliciesServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcAllocationPoliciesServiceStub, using the given settings.
|
protected |
GrpcAllocationPoliciesServiceStub(AllocationPoliciesServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAllocationPoliciesServiceStub, using the given settings.
|
protected GrpcAllocationPoliciesServiceStub(AllocationPoliciesServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcAllocationPoliciesServiceStub(AllocationPoliciesServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcAllocationPoliciesServiceStub create(AllocationPoliciesServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcAllocationPoliciesServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcAllocationPoliciesServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class AllocationPoliciesServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListAllocationPoliciesRequest,AllocationPoliciesServiceClient.ListAllocationPoliciesPagedResponse> listAllocationPoliciesPagedCallable()
listAllocationPoliciesPagedCallable in class AllocationPoliciesServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListAllocationPoliciesRequest,ListAllocationPoliciesResponse> listAllocationPoliciesCallable()
listAllocationPoliciesCallable in class AllocationPoliciesServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetAllocationPolicyRequest,AllocationPolicy> getAllocationPolicyCallable()
getAllocationPolicyCallable in class AllocationPoliciesServiceStub@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<CreateAllocationPolicyRequest,AllocationPolicy,Empty> createAllocationPolicyOperationCallable()
createAllocationPolicyOperationCallable in class AllocationPoliciesServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateAllocationPolicyRequest,com.google.longrunning.Operation> createAllocationPolicyCallable()
createAllocationPolicyCallable in class AllocationPoliciesServiceStub@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<DeleteAllocationPolicyRequest,Empty,Empty> deleteAllocationPolicyOperationCallable()
deleteAllocationPolicyOperationCallable in class AllocationPoliciesServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteAllocationPolicyRequest,com.google.longrunning.Operation> deleteAllocationPolicyCallable()
deleteAllocationPolicyCallable in class AllocationPoliciesServiceStub@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<UpdateAllocationPolicyRequest,AllocationPolicy,Empty> updateAllocationPolicyOperationCallable()
updateAllocationPolicyOperationCallable in class AllocationPoliciesServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateAllocationPolicyRequest,com.google.longrunning.Operation> updateAllocationPolicyCallable()
updateAllocationPolicyCallable in class AllocationPoliciesServiceStubpublic final void close()
close in interface AutoCloseableclose in class AllocationPoliciesServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.