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 classProtobuf typexds.data.orca.v3.OrcaLoadReportprivate static final classprivate static final classprivate static final classNested 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.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate doublestatic final intprivate doubleprivate static final OrcaLoadReportprivate doublestatic final intstatic final intprivate byteprivate doublestatic final intprivate static final com.google.protobuf.Parser<OrcaLoadReport> static final intprivate longstatic final intstatic final intprivate doubleprivate static final longstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateprivateOrcaLoadReport(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionbooleanApplication specific opaque metrics.booleanApplication specific requests costs.booleanResource utilization values.booleandoubleApplication specific utilization expressed as a fraction of available resources.doubleCPU utilization expressed as a fraction of available CPU resources.static OrcaLoadReportstatic final com.google.protobuf.Descriptors.DescriptordoublegetEps()Total EPS (errors/second) being served by an endpoint.doubleMemory utilization expressed as a fraction of available memory resources.Deprecated.intApplication specific opaque metrics.Application specific opaque metrics.doublegetNamedMetricsOrDefault(String key, double defaultValue) Application specific opaque metrics.doubleApplication specific opaque metrics.com.google.protobuf.Parser<OrcaLoadReport> Deprecated.intApplication specific requests costs.Application specific requests costs.doublegetRequestCostOrDefault(String key, double defaultValue) Application specific requests costs.doubleApplication specific requests costs.longgetRps()Deprecated.xds.data.orca.v3.OrcaLoadReport.rps is deprecated.doubleTotal RPS being served by an endpoint.intDeprecated.intResource utilization values.Resource utilization values.doublegetUtilizationOrDefault(String key, double defaultValue) Resource utilization values.doubleResource utilization values.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic OrcaLoadReport.Builderstatic OrcaLoadReport.BuildernewBuilder(OrcaLoadReport prototype) protected OrcaLoadReport.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static OrcaLoadReportparseDelimitedFrom(InputStream input) static OrcaLoadReportparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OrcaLoadReportparseFrom(byte[] data) static OrcaLoadReportparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OrcaLoadReportparseFrom(com.google.protobuf.ByteString data) static OrcaLoadReportparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OrcaLoadReportparseFrom(com.google.protobuf.CodedInputStream input) static OrcaLoadReportparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OrcaLoadReportparseFrom(InputStream input) static OrcaLoadReportparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OrcaLoadReportparseFrom(ByteBuffer data) static OrcaLoadReportparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<OrcaLoadReport> parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein 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:
getCpuUtilizationin 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:
getMemUtilizationin 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:
getRpsin interfaceOrcaLoadReportOrBuilder- Returns:
- The rps.
-
internalGetRequestCost
-
getRequestCostCount
public int getRequestCostCount()Description copied from interface:OrcaLoadReportOrBuilderApplication 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:
getRequestCostCountin 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:
containsRequestCostin interfaceOrcaLoadReportOrBuilder
-
getRequestCost
Deprecated.UsegetRequestCostMap()instead.- Specified by:
getRequestCostin 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:
getRequestCostMapin 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:
getRequestCostOrDefaultin 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:
getRequestCostOrThrowin interfaceOrcaLoadReportOrBuilder
-
internalGetUtilization
-
getUtilizationCount
public int getUtilizationCount()Description copied from interface:OrcaLoadReportOrBuilderResource 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:
getUtilizationCountin 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:
containsUtilizationin interfaceOrcaLoadReportOrBuilder
-
getUtilization
Deprecated.UsegetUtilizationMap()instead.- Specified by:
getUtilizationin 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:
getUtilizationMapin 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:
getUtilizationOrDefaultin 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:
getUtilizationOrThrowin 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:
getRpsFractionalin 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:
getEpsin interfaceOrcaLoadReportOrBuilder- Returns:
- The eps.
-
internalGetNamedMetrics
-
getNamedMetricsCount
public int getNamedMetricsCount()Description copied from interface:OrcaLoadReportOrBuilderApplication specific opaque metrics.
map<string, double> named_metrics = 8;- Specified by:
getNamedMetricsCountin interfaceOrcaLoadReportOrBuilder
-
containsNamedMetrics
Application specific opaque metrics.
map<string, double> named_metrics = 8;- Specified by:
containsNamedMetricsin interfaceOrcaLoadReportOrBuilder
-
getNamedMetrics
Deprecated.UsegetNamedMetricsMap()instead.- Specified by:
getNamedMetricsin interfaceOrcaLoadReportOrBuilder
-
getNamedMetricsMap
Application specific opaque metrics.
map<string, double> named_metrics = 8;- Specified by:
getNamedMetricsMapin interfaceOrcaLoadReportOrBuilder
-
getNamedMetricsOrDefault
Application specific opaque metrics.
map<string, double> named_metrics = 8;- Specified by:
getNamedMetricsOrDefaultin interfaceOrcaLoadReportOrBuilder
-
getNamedMetricsOrThrow
Application specific opaque metrics.
map<string, double> named_metrics = 8;- Specified by:
getNamedMetricsOrThrowin 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:
getApplicationUtilizationin interfaceOrcaLoadReportOrBuilder- Returns:
- The applicationUtilization.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OrcaLoadReport.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-