Package com.google.cloud.dataproc.v1
Class AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub>
-
- com.google.cloud.dataproc.v1.AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub
-
- Enclosing class:
- AutoscalingPolicyServiceGrpc
public static final class AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub extends io.grpc.stub.AbstractFutureStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service AutoscalingPolicyService.The API interface for managing autoscaling policies in the Dataproc API.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<AutoscalingPolicy>
createAutoscalingPolicy(CreateAutoscalingPolicyRequest request)
Creates new autoscaling policy.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request)
Deletes an autoscaling policy.com.google.common.util.concurrent.ListenableFuture<AutoscalingPolicy>
getAutoscalingPolicy(GetAutoscalingPolicyRequest request)
Retrieves autoscaling policy.com.google.common.util.concurrent.ListenableFuture<ListAutoscalingPoliciesResponse>
listAutoscalingPolicies(ListAutoscalingPoliciesRequest request)
Lists autoscaling policies in the project.com.google.common.util.concurrent.ListenableFuture<AutoscalingPolicy>
updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request)
Updates (replaces) autoscaling policy.
-
-
-
Method Detail
-
build
protected AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub>
-
createAutoscalingPolicy
public com.google.common.util.concurrent.ListenableFuture<AutoscalingPolicy> createAutoscalingPolicy(CreateAutoscalingPolicyRequest request)
Creates new autoscaling policy.
-
updateAutoscalingPolicy
public com.google.common.util.concurrent.ListenableFuture<AutoscalingPolicy> updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request)
Updates (replaces) autoscaling policy. Disabled check for update_mask, because all updates will be full replacements.
-
getAutoscalingPolicy
public com.google.common.util.concurrent.ListenableFuture<AutoscalingPolicy> getAutoscalingPolicy(GetAutoscalingPolicyRequest request)
Retrieves autoscaling policy.
-
listAutoscalingPolicies
public com.google.common.util.concurrent.ListenableFuture<ListAutoscalingPoliciesResponse> listAutoscalingPolicies(ListAutoscalingPoliciesRequest request)
Lists autoscaling policies in the project.
-
deleteAutoscalingPolicy
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request)
Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.
-
-