Package com.google.cloud.dataproc.v1
Interface UpdateAutoscalingPolicyRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateAutoscalingPolicyRequest
,UpdateAutoscalingPolicyRequest.Builder
public interface UpdateAutoscalingPolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoscalingPolicy
getPolicy()
Required.AutoscalingPolicyOrBuilder
getPolicyOrBuilder()
Required.boolean
hasPolicy()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPolicy
boolean hasPolicy()
Required. The updated autoscaling policy.
.google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the policy field is set.
-
getPolicy
AutoscalingPolicy getPolicy()
Required. The updated autoscaling policy.
.google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The policy.
-
getPolicyOrBuilder
AutoscalingPolicyOrBuilder getPolicyOrBuilder()
Required. The updated autoscaling policy.
.google.cloud.dataproc.v1.AutoscalingPolicy policy = 1 [(.google.api.field_behavior) = REQUIRED];
-
-