@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcAutoscalingPolicyServiceStub extends AutoscalingPolicyServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcAutoscalingPolicyServiceStub(AutoscalingPolicyServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcAutoscalingPolicyServiceStub, using the given settings.
|
protected |
GrpcAutoscalingPolicyServiceStub(AutoscalingPolicyServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAutoscalingPolicyServiceStub, using the given settings.
|
protected GrpcAutoscalingPolicyServiceStub(AutoscalingPolicyServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcAutoscalingPolicyServiceStub(AutoscalingPolicyServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcAutoscalingPolicyServiceStub create(AutoscalingPolicyServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcAutoscalingPolicyServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcAutoscalingPolicyServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<CreateAutoscalingPolicyRequest,AutoscalingPolicy> createAutoscalingPolicyCallable()
createAutoscalingPolicyCallable in class AutoscalingPolicyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateAutoscalingPolicyRequest,AutoscalingPolicy> updateAutoscalingPolicyCallable()
updateAutoscalingPolicyCallable in class AutoscalingPolicyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetAutoscalingPolicyRequest,AutoscalingPolicy> getAutoscalingPolicyCallable()
getAutoscalingPolicyCallable in class AutoscalingPolicyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListAutoscalingPoliciesRequest,AutoscalingPolicyServiceClient.ListAutoscalingPoliciesPagedResponse> listAutoscalingPoliciesPagedCallable()
listAutoscalingPoliciesPagedCallable in class AutoscalingPolicyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListAutoscalingPoliciesRequest,ListAutoscalingPoliciesResponse> listAutoscalingPoliciesCallable()
listAutoscalingPoliciesCallable in class AutoscalingPolicyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteAutoscalingPolicyRequest,Empty> deleteAutoscalingPolicyCallable()
deleteAutoscalingPolicyCallable in class AutoscalingPolicyServiceStubpublic final void close()
close in interface AutoCloseableclose in class AutoscalingPolicyServiceStubpublic 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.