Package com.google.cloud.dataproc.v1
Interface BasicAutoscalingAlgorithmOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BasicAutoscalingAlgorithm
,BasicAutoscalingAlgorithm.Builder
public interface BasicAutoscalingAlgorithmOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BasicAutoscalingAlgorithm.ConfigCase
getConfigCase()
com.google.protobuf.Duration
getCooldownPeriod()
Optional.com.google.protobuf.DurationOrBuilder
getCooldownPeriodOrBuilder()
Optional.BasicYarnAutoscalingConfig
getYarnConfig()
Required.BasicYarnAutoscalingConfigOrBuilder
getYarnConfigOrBuilder()
Required.boolean
hasCooldownPeriod()
Optional.boolean
hasYarnConfig()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasYarnConfig
boolean hasYarnConfig()
Required. YARN autoscaling configuration.
.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the yarnConfig field is set.
-
getYarnConfig
BasicYarnAutoscalingConfig getYarnConfig()
Required. YARN autoscaling configuration.
.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The yarnConfig.
-
getYarnConfigOrBuilder
BasicYarnAutoscalingConfigOrBuilder getYarnConfigOrBuilder()
Required. YARN autoscaling configuration.
.google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasCooldownPeriod
boolean hasCooldownPeriod()
Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed. Bounds: [2m, 1d]. Default: 2m.
.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the cooldownPeriod field is set.
-
getCooldownPeriod
com.google.protobuf.Duration getCooldownPeriod()
Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed. Bounds: [2m, 1d]. Default: 2m.
.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The cooldownPeriod.
-
getCooldownPeriodOrBuilder
com.google.protobuf.DurationOrBuilder getCooldownPeriodOrBuilder()
Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed. Bounds: [2m, 1d]. Default: 2m.
.google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getConfigCase
BasicAutoscalingAlgorithm.ConfigCase getConfigCase()
-
-