public abstract static class AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceImplBase extends Object implements io.grpc.BindableService
The API interface for managing autoscaling policies in the Google Cloud Dataproc API.
| Constructor and Description |
|---|
AutoscalingPolicyServiceImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
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.
|
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.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2019 Google LLC. All rights reserved.