Interface UpdateAutoscalingPolicyRequestOrBuilder (4.29.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
TypeDescription
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
TypeDescription
AutoscalingPolicyOrBuilder

hasPolicy()

public abstract boolean hasPolicy()

Required. The updated autoscaling policy.

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

Returns
TypeDescription
boolean

Whether the policy field is set.