All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ray.serve.generated.AutoscalingConfigOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.39.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: src/ray/protobuf/serve.proto

package io.ray.serve.generated;

public interface AutoscalingConfigOrBuilder extends
    // @@protoc_insertion_point(interface_extends:ray.serve.AutoscalingConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   * uint32 min_replicas = 1 [json_name = "minReplicas"];
   * @return The minReplicas.
   */
  int getMinReplicas();

  /**
   * uint32 max_replicas = 2 [json_name = "maxReplicas"];
   * @return The maxReplicas.
   */
  int getMaxReplicas();

  /**
   * double target_num_ongoing_requests_per_replica = 3 [json_name = "targetNumOngoingRequestsPerReplica"];
   * @return The targetNumOngoingRequestsPerReplica.
   */
  double getTargetNumOngoingRequestsPerReplica();

  /**
   * double metrics_interval_s = 4 [json_name = "metricsIntervalS"];
   * @return The metricsIntervalS.
   */
  double getMetricsIntervalS();

  /**
   * double look_back_period_s = 5 [json_name = "lookBackPeriodS"];
   * @return The lookBackPeriodS.
   */
  double getLookBackPeriodS();

  /**
   * double smoothing_factor = 6 [json_name = "smoothingFactor"];
   * @return The smoothingFactor.
   */
  double getSmoothingFactor();

  /**
   * double downscale_delay_s = 7 [json_name = "downscaleDelayS"];
   * @return The downscaleDelayS.
   */
  double getDownscaleDelayS();

  /**
   * double upscale_delay_s = 8 [json_name = "upscaleDelayS"];
   * @return The upscaleDelayS.
   */
  double getUpscaleDelayS();

  /**
   * optional uint32 initial_replicas = 9 [json_name = "initialReplicas"];
   * @return Whether the initialReplicas field is set.
   */
  boolean hasInitialReplicas();
  /**
   * optional uint32 initial_replicas = 9 [json_name = "initialReplicas"];
   * @return The initialReplicas.
   */
  int getInitialReplicas();

  /**
   * optional double upscale_smoothing_factor = 10 [json_name = "upscaleSmoothingFactor"];
   * @return Whether the upscaleSmoothingFactor field is set.
   */
  boolean hasUpscaleSmoothingFactor();
  /**
   * optional double upscale_smoothing_factor = 10 [json_name = "upscaleSmoothingFactor"];
   * @return The upscaleSmoothingFactor.
   */
  double getUpscaleSmoothingFactor();

  /**
   * optional double downscale_smoothing_factor = 11 [json_name = "downscaleSmoothingFactor"];
   * @return Whether the downscaleSmoothingFactor field is set.
   */
  boolean hasDownscaleSmoothingFactor();
  /**
   * optional double downscale_smoothing_factor = 11 [json_name = "downscaleSmoothingFactor"];
   * @return The downscaleSmoothingFactor.
   */
  double getDownscaleSmoothingFactor();

  /**
   * bytes _serialized_policy_def = 12 [json_name = "SerializedPolicyDef"];
   * @return The serializedPolicyDef.
   */
  com.google.protobuf.ByteString getSerializedPolicyDef();

  /**
   * string _policy = 13 [json_name = "Policy"];
   * @return The policy.
   */
  java.lang.String getPolicy();
  /**
   * string _policy = 13 [json_name = "Policy"];
   * @return The bytes for policy.
   */
  com.google.protobuf.ByteString
      getPolicyBytes();

  /**
   * double target_ongoing_requests = 14 [json_name = "targetOngoingRequests"];
   * @return The targetOngoingRequests.
   */
  double getTargetOngoingRequests();

  /**
   * optional double upscaling_factor = 15 [json_name = "upscalingFactor"];
   * @return Whether the upscalingFactor field is set.
   */
  boolean hasUpscalingFactor();
  /**
   * optional double upscaling_factor = 15 [json_name = "upscalingFactor"];
   * @return The upscalingFactor.
   */
  double getUpscalingFactor();

  /**
   * optional double downscaling_factor = 16 [json_name = "downscalingFactor"];
   * @return Whether the downscalingFactor field is set.
   */
  boolean hasDownscalingFactor();
  /**
   * optional double downscaling_factor = 16 [json_name = "downscalingFactor"];
   * @return The downscalingFactor.
   */
  double getDownscalingFactor();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy