@Generated(value="by gapic-generator-java") 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,
ClientContext clientContext)
Constructs an instance of GrpcAutoscalingPolicyServiceStub, using the given settings.
|
protected |
GrpcAutoscalingPolicyServiceStub(AutoscalingPolicyServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAutoscalingPolicyServiceStub, using the given settings.
|
protected GrpcAutoscalingPolicyServiceStub(AutoscalingPolicyServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcAutoscalingPolicyServiceStub(AutoscalingPolicyServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcAutoscalingPolicyServiceStub create(AutoscalingPolicyServiceStubSettings settings) throws IOException
IOException
public static final GrpcAutoscalingPolicyServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcAutoscalingPolicyServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
public UnaryCallable<CreateAutoscalingPolicyRequest,AutoscalingPolicy> createAutoscalingPolicyCallable()
createAutoscalingPolicyCallable
in class AutoscalingPolicyServiceStub
public UnaryCallable<UpdateAutoscalingPolicyRequest,AutoscalingPolicy> updateAutoscalingPolicyCallable()
updateAutoscalingPolicyCallable
in class AutoscalingPolicyServiceStub
public UnaryCallable<GetAutoscalingPolicyRequest,AutoscalingPolicy> getAutoscalingPolicyCallable()
getAutoscalingPolicyCallable
in class AutoscalingPolicyServiceStub
public UnaryCallable<ListAutoscalingPoliciesRequest,ListAutoscalingPoliciesResponse> listAutoscalingPoliciesCallable()
listAutoscalingPoliciesCallable
in class AutoscalingPolicyServiceStub
public UnaryCallable<ListAutoscalingPoliciesRequest,AutoscalingPolicyServiceClient.ListAutoscalingPoliciesPagedResponse> listAutoscalingPoliciesPagedCallable()
listAutoscalingPoliciesPagedCallable
in class AutoscalingPolicyServiceStub
public UnaryCallable<DeleteAutoscalingPolicyRequest,Empty> deleteAutoscalingPolicyCallable()
deleteAutoscalingPolicyCallable
in class AutoscalingPolicyServiceStub
public final void close()
close
in interface AutoCloseable
close
in class AutoscalingPolicyServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.