@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonAutoscalingPolicyServiceStub extends AutoscalingPolicyServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonAutoscalingPolicyServiceStub(AutoscalingPolicyServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonAutoscalingPolicyServiceStub, using the given settings.
|
protected |
HttpJsonAutoscalingPolicyServiceStub(AutoscalingPolicyServiceStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAutoscalingPolicyServiceStub, using the given settings.
|
protected HttpJsonAutoscalingPolicyServiceStub(AutoscalingPolicyServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonAutoscalingPolicyServiceStub(AutoscalingPolicyServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonAutoscalingPolicyServiceStub create(AutoscalingPolicyServiceStubSettings settings) throws IOException
IOException
public static final HttpJsonAutoscalingPolicyServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonAutoscalingPolicyServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
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.