Interface AutomaticScalingOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    AutomaticScaling, AutomaticScaling.Builder

    public interface AutomaticScalingOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasCoolDownPeriod

        boolean hasCoolDownPeriod()
         The time period that the
         [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/)
         should wait before it starts collecting information from a new instance.
         This prevents the autoscaler from collecting information when the instance
         is initializing, during which the collected usage would not be reliable.
         Only applicable in the App Engine flexible environment.
         
        .google.protobuf.Duration cool_down_period = 1;
        Returns:
        Whether the coolDownPeriod field is set.
      • getCoolDownPeriod

        com.google.protobuf.Duration getCoolDownPeriod()
         The time period that the
         [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/)
         should wait before it starts collecting information from a new instance.
         This prevents the autoscaler from collecting information when the instance
         is initializing, during which the collected usage would not be reliable.
         Only applicable in the App Engine flexible environment.
         
        .google.protobuf.Duration cool_down_period = 1;
        Returns:
        The coolDownPeriod.
      • getCoolDownPeriodOrBuilder

        com.google.protobuf.DurationOrBuilder getCoolDownPeriodOrBuilder()
         The time period that the
         [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/)
         should wait before it starts collecting information from a new instance.
         This prevents the autoscaler from collecting information when the instance
         is initializing, during which the collected usage would not be reliable.
         Only applicable in the App Engine flexible environment.
         
        .google.protobuf.Duration cool_down_period = 1;
      • hasCpuUtilization

        boolean hasCpuUtilization()
         Target scaling by CPU usage.
         
        .google.appengine.v1.CpuUtilization cpu_utilization = 2;
        Returns:
        Whether the cpuUtilization field is set.
      • getCpuUtilization

        CpuUtilization getCpuUtilization()
         Target scaling by CPU usage.
         
        .google.appengine.v1.CpuUtilization cpu_utilization = 2;
        Returns:
        The cpuUtilization.
      • getCpuUtilizationOrBuilder

        CpuUtilizationOrBuilder getCpuUtilizationOrBuilder()
         Target scaling by CPU usage.
         
        .google.appengine.v1.CpuUtilization cpu_utilization = 2;
      • getMaxConcurrentRequests

        int getMaxConcurrentRequests()
         Number of concurrent requests an automatic scaling instance can accept
         before the scheduler spawns a new instance.
        
         Defaults to a runtime-specific value.
         
        int32 max_concurrent_requests = 3;
        Returns:
        The maxConcurrentRequests.
      • getMaxIdleInstances

        int getMaxIdleInstances()
         Maximum number of idle instances that should be maintained for this
         version.
         
        int32 max_idle_instances = 4;
        Returns:
        The maxIdleInstances.
      • getMaxTotalInstances

        int getMaxTotalInstances()
         Maximum number of instances that should be started to handle requests for
         this version.
         
        int32 max_total_instances = 5;
        Returns:
        The maxTotalInstances.
      • hasMaxPendingLatency

        boolean hasMaxPendingLatency()
         Maximum amount of time that a request should wait in the pending queue
         before starting a new instance to handle it.
         
        .google.protobuf.Duration max_pending_latency = 6;
        Returns:
        Whether the maxPendingLatency field is set.
      • getMaxPendingLatency

        com.google.protobuf.Duration getMaxPendingLatency()
         Maximum amount of time that a request should wait in the pending queue
         before starting a new instance to handle it.
         
        .google.protobuf.Duration max_pending_latency = 6;
        Returns:
        The maxPendingLatency.
      • getMaxPendingLatencyOrBuilder

        com.google.protobuf.DurationOrBuilder getMaxPendingLatencyOrBuilder()
         Maximum amount of time that a request should wait in the pending queue
         before starting a new instance to handle it.
         
        .google.protobuf.Duration max_pending_latency = 6;
      • getMinIdleInstances

        int getMinIdleInstances()
         Minimum number of idle instances that should be maintained for
         this version. Only applicable for the default version of a service.
         
        int32 min_idle_instances = 7;
        Returns:
        The minIdleInstances.
      • getMinTotalInstances

        int getMinTotalInstances()
         Minimum number of running instances that should be maintained for this
         version.
         
        int32 min_total_instances = 8;
        Returns:
        The minTotalInstances.
      • hasMinPendingLatency

        boolean hasMinPendingLatency()
         Minimum amount of time a request should wait in the pending queue before
         starting a new instance to handle it.
         
        .google.protobuf.Duration min_pending_latency = 9;
        Returns:
        Whether the minPendingLatency field is set.
      • getMinPendingLatency

        com.google.protobuf.Duration getMinPendingLatency()
         Minimum amount of time a request should wait in the pending queue before
         starting a new instance to handle it.
         
        .google.protobuf.Duration min_pending_latency = 9;
        Returns:
        The minPendingLatency.
      • getMinPendingLatencyOrBuilder

        com.google.protobuf.DurationOrBuilder getMinPendingLatencyOrBuilder()
         Minimum amount of time a request should wait in the pending queue before
         starting a new instance to handle it.
         
        .google.protobuf.Duration min_pending_latency = 9;
      • hasRequestUtilization

        boolean hasRequestUtilization()
         Target scaling by request utilization.
         
        .google.appengine.v1.RequestUtilization request_utilization = 10;
        Returns:
        Whether the requestUtilization field is set.
      • getRequestUtilization

        RequestUtilization getRequestUtilization()
         Target scaling by request utilization.
         
        .google.appengine.v1.RequestUtilization request_utilization = 10;
        Returns:
        The requestUtilization.
      • getRequestUtilizationOrBuilder

        RequestUtilizationOrBuilder getRequestUtilizationOrBuilder()
         Target scaling by request utilization.
         
        .google.appengine.v1.RequestUtilization request_utilization = 10;
      • hasDiskUtilization

        boolean hasDiskUtilization()
         Target scaling by disk usage.
         
        .google.appengine.v1.DiskUtilization disk_utilization = 11;
        Returns:
        Whether the diskUtilization field is set.
      • getDiskUtilization

        DiskUtilization getDiskUtilization()
         Target scaling by disk usage.
         
        .google.appengine.v1.DiskUtilization disk_utilization = 11;
        Returns:
        The diskUtilization.
      • getDiskUtilizationOrBuilder

        DiskUtilizationOrBuilder getDiskUtilizationOrBuilder()
         Target scaling by disk usage.
         
        .google.appengine.v1.DiskUtilization disk_utilization = 11;
      • hasNetworkUtilization

        boolean hasNetworkUtilization()
         Target scaling by network usage.
         
        .google.appengine.v1.NetworkUtilization network_utilization = 12;
        Returns:
        Whether the networkUtilization field is set.
      • getNetworkUtilization

        NetworkUtilization getNetworkUtilization()
         Target scaling by network usage.
         
        .google.appengine.v1.NetworkUtilization network_utilization = 12;
        Returns:
        The networkUtilization.
      • getNetworkUtilizationOrBuilder

        NetworkUtilizationOrBuilder getNetworkUtilizationOrBuilder()
         Target scaling by network usage.
         
        .google.appengine.v1.NetworkUtilization network_utilization = 12;
      • hasStandardSchedulerSettings

        boolean hasStandardSchedulerSettings()
         Scheduler settings for standard environment.
         
        .google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;
        Returns:
        Whether the standardSchedulerSettings field is set.
      • getStandardSchedulerSettings

        StandardSchedulerSettings getStandardSchedulerSettings()
         Scheduler settings for standard environment.
         
        .google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;
        Returns:
        The standardSchedulerSettings.
      • getStandardSchedulerSettingsOrBuilder

        StandardSchedulerSettingsOrBuilder getStandardSchedulerSettingsOrBuilder()
         Scheduler settings for standard environment.
         
        .google.appengine.v1.StandardSchedulerSettings standard_scheduler_settings = 20;