Class AutoscalingPolicyServiceGrpc (4.48.0)

public final class AutoscalingPolicyServiceGrpc

The API interface for managing autoscaling policies in the Dataproc API.

Inheritance

java.lang.Object > AutoscalingPolicyServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(AutoscalingPolicyServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(AutoscalingPolicyServiceGrpc.AsyncService service)
Parameter
Name Description
service AutoscalingPolicyServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateAutoscalingPolicyMethod()

public static MethodDescriptor<CreateAutoscalingPolicyRequest,AutoscalingPolicy> getCreateAutoscalingPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateAutoscalingPolicyRequest,AutoscalingPolicy>

getDeleteAutoscalingPolicyMethod()

public static MethodDescriptor<DeleteAutoscalingPolicyRequest,Empty> getDeleteAutoscalingPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteAutoscalingPolicyRequest,Empty>

getGetAutoscalingPolicyMethod()

public static MethodDescriptor<GetAutoscalingPolicyRequest,AutoscalingPolicy> getGetAutoscalingPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetAutoscalingPolicyRequest,AutoscalingPolicy>

getListAutoscalingPoliciesMethod()

public static MethodDescriptor<ListAutoscalingPoliciesRequest,ListAutoscalingPoliciesResponse> getListAutoscalingPoliciesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListAutoscalingPoliciesRequest,ListAutoscalingPoliciesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateAutoscalingPolicyMethod()

public static MethodDescriptor<UpdateAutoscalingPolicyRequest,AutoscalingPolicy> getUpdateAutoscalingPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateAutoscalingPolicyRequest,AutoscalingPolicy>

newBlockingStub(Channel channel)

public static AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceBlockingStub

newFutureStub(Channel channel)

public static AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceFutureStub

newStub(Channel channel)

public static AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceStub