Package com.google.cloud.dataproc.v1
Class AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub>
-
- com.google.cloud.dataproc.v1.AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub
-
- Enclosing class:
- AutoscalingPolicyServiceGrpc
public static final class AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub>
A stub to allow clients to do synchronous 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.AutoscalingPolicyServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
AutoscalingPolicy
createAutoscalingPolicy(CreateAutoscalingPolicyRequest request)
Creates new autoscaling policy.com.google.protobuf.Empty
deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request)
Deletes an autoscaling policy.AutoscalingPolicy
getAutoscalingPolicy(GetAutoscalingPolicyRequest request)
Retrieves autoscaling policy.ListAutoscalingPoliciesResponse
listAutoscalingPolicies(ListAutoscalingPoliciesRequest request)
Lists autoscaling policies in the project.AutoscalingPolicy
updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request)
Updates (replaces) autoscaling policy.
-
-
-
Method Detail
-
build
protected AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub>
-
createAutoscalingPolicy
public AutoscalingPolicy createAutoscalingPolicy(CreateAutoscalingPolicyRequest request)
Creates new autoscaling policy.
-
updateAutoscalingPolicy
public AutoscalingPolicy updateAutoscalingPolicy(UpdateAutoscalingPolicyRequest request)
Updates (replaces) autoscaling policy. Disabled check for update_mask, because all updates will be full replacements.
-
getAutoscalingPolicy
public AutoscalingPolicy getAutoscalingPolicy(GetAutoscalingPolicyRequest request)
Retrieves autoscaling policy.
-
listAutoscalingPolicies
public ListAutoscalingPoliciesResponse listAutoscalingPolicies(ListAutoscalingPoliciesRequest request)
Lists autoscaling policies in the project.
-
deleteAutoscalingPolicy
public 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.
-
-