Package com.github.xds.data.orca.v3
Class OrcaLoadReport
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.github.xds.data.orca.v3.OrcaLoadReport
- All Implemented Interfaces:
OrcaLoadReportOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class OrcaLoadReport
extends com.google.protobuf.GeneratedMessage
implements OrcaLoadReportOrBuilder
Protobuf type
xds.data.orca.v3.OrcaLoadReport
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Protobuf typexds.data.orca.v3.OrcaLoadReport
private static final class
private static final class
private static final class
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
private double
static final int
private double
private static final OrcaLoadReport
private double
static final int
static final int
private byte
private double
static final int
private static final com.google.protobuf.Parser
<OrcaLoadReport> static final int
private long
static final int
static final int
private double
private static final long
static final int
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
OrcaLoadReport
(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Application specific opaque metrics.boolean
Application specific requests costs.boolean
Resource utilization values.boolean
double
Application specific utilization expressed as a fraction of available resources.double
CPU utilization expressed as a fraction of available CPU resources.static OrcaLoadReport
static final com.google.protobuf.Descriptors.Descriptor
double
getEps()
Total EPS (errors/second) being served by an endpoint.double
Memory utilization expressed as a fraction of available memory resources.Deprecated.int
Application specific opaque metrics.Application specific opaque metrics.double
getNamedMetricsOrDefault
(String key, double defaultValue) Application specific opaque metrics.double
Application specific opaque metrics.com.google.protobuf.Parser
<OrcaLoadReport> Deprecated.int
Application specific requests costs.Application specific requests costs.double
getRequestCostOrDefault
(String key, double defaultValue) Application specific requests costs.double
Application specific requests costs.long
getRps()
Deprecated.xds.data.orca.v3.OrcaLoadReport.rps is deprecated.double
Total RPS being served by an endpoint.int
Deprecated.int
Resource utilization values.Resource utilization values.double
getUtilizationOrDefault
(String key, double defaultValue) Resource utilization values.double
Resource utilization values.int
hashCode()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) final boolean
static OrcaLoadReport.Builder
static OrcaLoadReport.Builder
newBuilder
(OrcaLoadReport prototype) protected OrcaLoadReport.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static OrcaLoadReport
parseDelimitedFrom
(InputStream input) static OrcaLoadReport
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OrcaLoadReport
parseFrom
(byte[] data) static OrcaLoadReport
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OrcaLoadReport
parseFrom
(com.google.protobuf.ByteString data) static OrcaLoadReport
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OrcaLoadReport
parseFrom
(com.google.protobuf.CodedInputStream input) static OrcaLoadReport
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OrcaLoadReport
parseFrom
(InputStream input) static OrcaLoadReport
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OrcaLoadReport
parseFrom
(ByteBuffer data) static OrcaLoadReport
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<OrcaLoadReport> parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
CPU_UTILIZATION_FIELD_NUMBER
public static final int CPU_UTILIZATION_FIELD_NUMBER- See Also:
-
cpuUtilization_
private double cpuUtilization_ -
MEM_UTILIZATION_FIELD_NUMBER
public static final int MEM_UTILIZATION_FIELD_NUMBER- See Also:
-
memUtilization_
private double memUtilization_ -
RPS_FIELD_NUMBER
public static final int RPS_FIELD_NUMBER- See Also:
-
rps_
private long rps_ -
REQUEST_COST_FIELD_NUMBER
public static final int REQUEST_COST_FIELD_NUMBER- See Also:
-
requestCost_
-
UTILIZATION_FIELD_NUMBER
public static final int UTILIZATION_FIELD_NUMBER- See Also:
-
utilization_
-
RPS_FRACTIONAL_FIELD_NUMBER
public static final int RPS_FRACTIONAL_FIELD_NUMBER- See Also:
-
rpsFractional_
private double rpsFractional_ -
EPS_FIELD_NUMBER
public static final int EPS_FIELD_NUMBER- See Also:
-
eps_
private double eps_ -
NAMED_METRICS_FIELD_NUMBER
public static final int NAMED_METRICS_FIELD_NUMBER- See Also:
-
namedMetrics_
-
APPLICATION_UTILIZATION_FIELD_NUMBER
public static final int APPLICATION_UTILIZATION_FIELD_NUMBER- See Also:
-
applicationUtilization_
private double applicationUtilization_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
OrcaLoadReport
private OrcaLoadReport(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
OrcaLoadReport
private OrcaLoadReport()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getCpuUtilization
public double getCpuUtilization()CPU utilization expressed as a fraction of available CPU resources. This should be derived from the latest sample or measurement. The value may be larger than 1.0 when the usage exceeds the reporter dependent notion of soft limits.
double cpu_utilization = 1 [(.validate.rules) = { ... }
- Specified by:
getCpuUtilization
in interfaceOrcaLoadReportOrBuilder
- Returns:
- The cpuUtilization.
-
getMemUtilization
public double getMemUtilization()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) = { ... }
- Specified by:
getMemUtilization
in interfaceOrcaLoadReportOrBuilder
- Returns:
- The memUtilization.
-
getRps
Deprecated.xds.data.orca.v3.OrcaLoadReport.rps is deprecated. See xds/data/orca/v3/orca_load_report.proto;l=28Total RPS being served by an endpoint. This should cover all services that an endpoint is responsible for. Deprecated -- use ``rps_fractional`` field instead.
uint64 rps = 3 [deprecated = true];
- Specified by:
getRps
in interfaceOrcaLoadReportOrBuilder
- Returns:
- The rps.
-
internalGetRequestCost
-
getRequestCostCount
public int getRequestCostCount()Description copied from interface:OrcaLoadReportOrBuilder
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;
- Specified by:
getRequestCostCount
in interfaceOrcaLoadReportOrBuilder
-
containsRequestCost
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;
- Specified by:
containsRequestCost
in interfaceOrcaLoadReportOrBuilder
-
getRequestCost
Deprecated.UsegetRequestCostMap()
instead.- Specified by:
getRequestCost
in interfaceOrcaLoadReportOrBuilder
-
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;
- Specified by:
getRequestCostMap
in interfaceOrcaLoadReportOrBuilder
-
getRequestCostOrDefault
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;
- Specified by:
getRequestCostOrDefault
in interfaceOrcaLoadReportOrBuilder
-
getRequestCostOrThrow
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;
- Specified by:
getRequestCostOrThrow
in interfaceOrcaLoadReportOrBuilder
-
internalGetUtilization
-
getUtilizationCount
public int getUtilizationCount()Description copied from interface:OrcaLoadReportOrBuilder
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) = { ... }
- Specified by:
getUtilizationCount
in interfaceOrcaLoadReportOrBuilder
-
containsUtilization
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) = { ... }
- Specified by:
containsUtilization
in interfaceOrcaLoadReportOrBuilder
-
getUtilization
Deprecated.UsegetUtilizationMap()
instead.- Specified by:
getUtilization
in interfaceOrcaLoadReportOrBuilder
-
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) = { ... }
- Specified by:
getUtilizationMap
in interfaceOrcaLoadReportOrBuilder
-
getUtilizationOrDefault
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) = { ... }
- Specified by:
getUtilizationOrDefault
in interfaceOrcaLoadReportOrBuilder
-
getUtilizationOrThrow
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) = { ... }
- Specified by:
getUtilizationOrThrow
in interfaceOrcaLoadReportOrBuilder
-
getRpsFractional
public double getRpsFractional()Total RPS being served by an endpoint. This should cover all services that an endpoint is responsible for.
double rps_fractional = 6 [(.validate.rules) = { ... }
- Specified by:
getRpsFractional
in interfaceOrcaLoadReportOrBuilder
- Returns:
- The rpsFractional.
-
getEps
public double getEps()Total EPS (errors/second) being served by an endpoint. This should cover all services that an endpoint is responsible for.
double eps = 7 [(.validate.rules) = { ... }
- Specified by:
getEps
in interfaceOrcaLoadReportOrBuilder
- Returns:
- The eps.
-
internalGetNamedMetrics
-
getNamedMetricsCount
public int getNamedMetricsCount()Description copied from interface:OrcaLoadReportOrBuilder
Application specific opaque metrics.
map<string, double> named_metrics = 8;
- Specified by:
getNamedMetricsCount
in interfaceOrcaLoadReportOrBuilder
-
containsNamedMetrics
Application specific opaque metrics.
map<string, double> named_metrics = 8;
- Specified by:
containsNamedMetrics
in interfaceOrcaLoadReportOrBuilder
-
getNamedMetrics
Deprecated.UsegetNamedMetricsMap()
instead.- Specified by:
getNamedMetrics
in interfaceOrcaLoadReportOrBuilder
-
getNamedMetricsMap
Application specific opaque metrics.
map<string, double> named_metrics = 8;
- Specified by:
getNamedMetricsMap
in interfaceOrcaLoadReportOrBuilder
-
getNamedMetricsOrDefault
Application specific opaque metrics.
map<string, double> named_metrics = 8;
- Specified by:
getNamedMetricsOrDefault
in interfaceOrcaLoadReportOrBuilder
-
getNamedMetricsOrThrow
Application specific opaque metrics.
map<string, double> named_metrics = 8;
- Specified by:
getNamedMetricsOrThrow
in interfaceOrcaLoadReportOrBuilder
-
getApplicationUtilization
public double getApplicationUtilization()Application specific utilization expressed as a fraction of available resources. For example, an application may report the max of CPU and memory utilization for better load balancing if it is both CPU and memory bound. This should be derived from the latest sample or measurement. The value may be larger than 1.0 when the usage exceeds the reporter dependent notion of soft limits.
double application_utilization = 9 [(.validate.rules) = { ... }
- Specified by:
getApplicationUtilization
in interfaceOrcaLoadReportOrBuilder
- Returns:
- The applicationUtilization.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OrcaLoadReport parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcaLoadReport parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcaLoadReport parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcaLoadReport parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcaLoadReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OrcaLoadReport parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OrcaLoadReport parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static OrcaLoadReport parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static OrcaLoadReport parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static OrcaLoadReport parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OrcaLoadReport.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-