Interface UpdateAutoscalingPolicyRequestOrBuilder (4.3.0)

See more code actions.
public interface UpdateAutoscalingPolicyRequestOrBuilder extends MessageOrBuilder
MessageOrBuilder
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

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.