Class AutoscalingPolicyServiceGrpc (4.17.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
TypeDescription
String

Static Methods

bindService(AutoscalingPolicyServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(AutoscalingPolicyServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceAutoscalingPolicyServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateAutoscalingPolicyMethod()

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

getDeleteAutoscalingPolicyMethod()

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

getGetAutoscalingPolicyMethod()

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

getListAutoscalingPoliciesMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateAutoscalingPolicyMethod()

public static MethodDescriptor<UpdateAutoscalingPolicyRequest,AutoscalingPolicy> getUpdateAutoscalingPolicyMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
AutoscalingPolicyServiceGrpc.AutoscalingPolicyServiceStub