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 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];