Interface UpdateAutoscalingPolicyRequestOrBuilder (4.43.0)

public interface UpdateAutoscalingPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPolicy()

public abstract AutoscalingPolicy getPolicy()

Required. The updated autoscaling policy.

.google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AutoscalingPolicy

The policy.

getPolicyOrBuilder()

public abstract AutoscalingPolicyOrBuilder getPolicyOrBuilder()

Required. The updated autoscaling policy.

.google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AutoscalingPolicyOrBuilder

hasPolicy()

public abstract boolean hasPolicy()

Required. The updated autoscaling policy.

.google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the policy field is set.