public static final class AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceStub extends io.grpc.stub.AbstractStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceStub>
The API interface for managing autoscaling policies in the Google Cloud Dataproc API.
| Modifier and Type | Method and Description |
|---|---|
protected AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createAutoscalingPolicy(CreateAutoscalingPolicyRequest request,
io.grpc.stub.StreamObserver<AutoscalingPolicy> responseObserver)
Creates new autoscaling policy.
|
void |
deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes an autoscaling policy.
|
void |
getAutoscalingPolicy(GetAutoscalingPolicyRequest request,
io.grpc.stub.StreamObserver<AutoscalingPolicy> responseObserver)
Retrieves autoscaling policy.
|
void |
listAutoscalingPolicies(ListAutoscalingPoliciesRequest request,
io.grpc.stub.StreamObserver<ListAutoscalingPoliciesResponse> responseObserver)
Lists autoscaling policies in the project.
|
void |
updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request,
io.grpc.stub.StreamObserver<AutoscalingPolicy> responseObserver)
Updates (replaces) autoscaling policy.
|
protected AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceStub>public void createAutoscalingPolicy(CreateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver<AutoscalingPolicy> responseObserver)
Creates new autoscaling policy.
public void updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver<AutoscalingPolicy> responseObserver)
Updates (replaces) autoscaling policy. Disabled check for update_mask, because all updates will be full replacements.
public void getAutoscalingPolicy(GetAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver<AutoscalingPolicy> responseObserver)
Retrieves autoscaling policy.
public void listAutoscalingPolicies(ListAutoscalingPoliciesRequest request, io.grpc.stub.StreamObserver<ListAutoscalingPoliciesResponse> responseObserver)
Lists autoscaling policies in the project.
public void deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.
Copyright © 2019 Google LLC. All rights reserved.