@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,
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcAutoscalingPolicyServiceStub |
create(AutoscalingPolicyServiceStubSettings settings) |
static GrpcAutoscalingPolicyServiceStub |
create(ClientContext clientContext) |
static GrpcAutoscalingPolicyServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
UnaryCallable<com.google.cloud.dataproc.v1beta2.CreateAutoscalingPolicyRequest,com.google.cloud.dataproc.v1beta2.AutoscalingPolicy> |
createAutoscalingPolicyCallable() |
UnaryCallable<com.google.cloud.dataproc.v1beta2.DeleteAutoscalingPolicyRequest,Empty> |
deleteAutoscalingPolicyCallable() |
UnaryCallable<com.google.cloud.dataproc.v1beta2.GetAutoscalingPolicyRequest,com.google.cloud.dataproc.v1beta2.AutoscalingPolicy> |
getAutoscalingPolicyCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesRequest,com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse> |
listAutoscalingPoliciesCallable() |
UnaryCallable<com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesRequest,AutoscalingPolicyServiceClient.ListAutoscalingPoliciesPagedResponse> |
listAutoscalingPoliciesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.dataproc.v1beta2.UpdateAutoscalingPolicyRequest,com.google.cloud.dataproc.v1beta2.AutoscalingPolicy> |
updateAutoscalingPolicyCallable() |
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 UnaryCallable<com.google.cloud.dataproc.v1beta2.CreateAutoscalingPolicyRequest,com.google.cloud.dataproc.v1beta2.AutoscalingPolicy> createAutoscalingPolicyCallable()
createAutoscalingPolicyCallable
in class AutoscalingPolicyServiceStub
public UnaryCallable<com.google.cloud.dataproc.v1beta2.UpdateAutoscalingPolicyRequest,com.google.cloud.dataproc.v1beta2.AutoscalingPolicy> updateAutoscalingPolicyCallable()
updateAutoscalingPolicyCallable
in class AutoscalingPolicyServiceStub
public UnaryCallable<com.google.cloud.dataproc.v1beta2.GetAutoscalingPolicyRequest,com.google.cloud.dataproc.v1beta2.AutoscalingPolicy> getAutoscalingPolicyCallable()
getAutoscalingPolicyCallable
in class AutoscalingPolicyServiceStub
public UnaryCallable<com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesRequest,AutoscalingPolicyServiceClient.ListAutoscalingPoliciesPagedResponse> listAutoscalingPoliciesPagedCallable()
listAutoscalingPoliciesPagedCallable
in class AutoscalingPolicyServiceStub
public UnaryCallable<com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesRequest,com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse> listAutoscalingPoliciesCallable()
listAutoscalingPoliciesCallable
in class AutoscalingPolicyServiceStub
public UnaryCallable<com.google.cloud.dataproc.v1beta2.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 © 2019 Google LLC. All rights reserved.