com.github.xds.data.orca.v3.OrcaLoadReportOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: xds/data/orca/v3/orca_load_report.proto
package com.github.xds.data.orca.v3;
public interface OrcaLoadReportOrBuilder extends
// @@protoc_insertion_point(interface_extends:xds.data.orca.v3.OrcaLoadReport)
com.google.protobuf.MessageOrBuilder {
/**
*
* CPU utilization expressed as a fraction of available CPU resources. This
* should be derived from the latest sample or measurement.
*
*
* double cpu_utilization = 1 [(.validate.rules) = { ... }
* @return The cpuUtilization.
*/
double getCpuUtilization();
/**
*
* Memory utilization expressed as a fraction of available memory
* resources. This should be derived from the latest sample or measurement.
*
*
* double mem_utilization = 2 [(.validate.rules) = { ... }
* @return The memUtilization.
*/
double getMemUtilization();
/**
*
* Total RPS being served by an endpoint. This should cover all services that an endpoint is
* responsible for.
*
*
* uint64 rps = 3;
* @return The rps.
*/
long getRps();
/**
*
* Application specific requests costs. Each value is an absolute cost (e.g. 3487 bytes of
* storage) associated with the request.
*
*
* map<string, double> request_cost = 4;
*/
int getRequestCostCount();
/**
*
* Application specific requests costs. Each value is an absolute cost (e.g. 3487 bytes of
* storage) associated with the request.
*
*
* map<string, double> request_cost = 4;
*/
boolean containsRequestCost(
java.lang.String key);
/**
* Use {@link #getRequestCostMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getRequestCost();
/**
*
* Application specific requests costs. Each value is an absolute cost (e.g. 3487 bytes of
* storage) associated with the request.
*
*
* map<string, double> request_cost = 4;
*/
java.util.Map
getRequestCostMap();
/**
*
* Application specific requests costs. Each value is an absolute cost (e.g. 3487 bytes of
* storage) associated with the request.
*
*
* map<string, double> request_cost = 4;
*/
double getRequestCostOrDefault(
java.lang.String key,
double defaultValue);
/**
*
* Application specific requests costs. Each value is an absolute cost (e.g. 3487 bytes of
* storage) associated with the request.
*
*
* map<string, double> request_cost = 4;
*/
double getRequestCostOrThrow(
java.lang.String key);
/**
*
* Resource utilization values. Each value is expressed as a fraction of total resources
* available, derived from the latest sample or measurement.
*
*
* map<string, double> utilization = 5 [(.validate.rules) = { ... }
*/
int getUtilizationCount();
/**
*
* Resource utilization values. Each value is expressed as a fraction of total resources
* available, derived from the latest sample or measurement.
*
*
* map<string, double> utilization = 5 [(.validate.rules) = { ... }
*/
boolean containsUtilization(
java.lang.String key);
/**
* Use {@link #getUtilizationMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getUtilization();
/**
*
* Resource utilization values. Each value is expressed as a fraction of total resources
* available, derived from the latest sample or measurement.
*
*
* map<string, double> utilization = 5 [(.validate.rules) = { ... }
*/
java.util.Map
getUtilizationMap();
/**
*
* Resource utilization values. Each value is expressed as a fraction of total resources
* available, derived from the latest sample or measurement.
*
*
* map<string, double> utilization = 5 [(.validate.rules) = { ... }
*/
double getUtilizationOrDefault(
java.lang.String key,
double defaultValue);
/**
*
* Resource utilization values. Each value is expressed as a fraction of total resources
* available, derived from the latest sample or measurement.
*
*
* map<string, double> utilization = 5 [(.validate.rules) = { ... }
*/
double getUtilizationOrThrow(
java.lang.String key);
}