Class OrcaLoadReport
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.github.udpa.udpa.data.orca.v1.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.GeneratedMessageV3
implements OrcaLoadReportOrBuilder
Protobuf type
udpa.data.orca.v1.OrcaLoadReport- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeudpa.data.orca.v1.OrcaLoadReportNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanApplication specific requests costs.booleanResource utilization values.booleandoubleCPU utilization expressed as a fraction of available CPU resources.static OrcaLoadReportstatic final com.google.protobuf.Descriptors.DescriptordoubleMemory utilization expressed as a fraction of available memory resources.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()Total 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.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic OrcaLoadReport.Builderstatic OrcaLoadReport.BuildernewBuilder(OrcaLoadReport prototype) protected OrcaLoadReport.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) 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.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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
-
CPU_UTILIZATION_FIELD_NUMBER
public static final int CPU_UTILIZATION_FIELD_NUMBER- See Also:
-
MEM_UTILIZATION_FIELD_NUMBER
public static final int MEM_UTILIZATION_FIELD_NUMBER- See Also:
-
RPS_FIELD_NUMBER
public static final int RPS_FIELD_NUMBER- See Also:
-
REQUEST_COST_FIELD_NUMBER
public static final int REQUEST_COST_FIELD_NUMBER- See Also:
-
UTILIZATION_FIELD_NUMBER
public static final int UTILIZATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCpuUtilization
public double getCpuUtilization()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) = { ... }- 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
public long getRps()Total RPS being served by an endpoint. This should cover all services that an endpoint is responsible for.
uint64 rps = 3;- Specified by:
getRpsin interfaceOrcaLoadReportOrBuilder- Returns:
- The rps.
-
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
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
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.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-