public final class OrcaLoadReport extends com.google.protobuf.GeneratedMessageV3 implements OrcaLoadReportOrBuilder
udpa.data.orca.v1.OrcaLoadReport| Modifier and Type | Class and Description |
|---|---|
static class |
OrcaLoadReport.Builder
Protobuf type
udpa.data.orca.v1.OrcaLoadReport |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CPU_UTILIZATION_FIELD_NUMBER |
static int |
MEM_UTILIZATION_FIELD_NUMBER |
static int |
REQUEST_COST_FIELD_NUMBER |
static int |
RPS_FIELD_NUMBER |
static int |
UTILIZATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsRequestCost(String key)
Application specific requests costs.
|
boolean |
containsUtilization(String key)
Resource utilization values.
|
boolean |
equals(Object obj) |
double |
getCpuUtilization()
CPU utilization expressed as a fraction of available CPU resources.
|
static OrcaLoadReport |
getDefaultInstance() |
OrcaLoadReport |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getMemUtilization()
Memory utilization expressed as a fraction of available memory
resources.
|
com.google.protobuf.Parser<OrcaLoadReport> |
getParserForType() |
Map<String,Double> |
getRequestCost()
Deprecated.
|
int |
getRequestCostCount()
Application specific requests costs.
|
Map<String,Double> |
getRequestCostMap()
Application specific requests costs.
|
double |
getRequestCostOrDefault(String key,
double defaultValue)
Application specific requests costs.
|
double |
getRequestCostOrThrow(String key)
Application specific requests costs.
|
long |
getRps()
Total RPS being served by an endpoint.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Map<String,Double> |
getUtilization()
Deprecated.
|
int |
getUtilizationCount()
Resource utilization values.
|
Map<String,Double> |
getUtilizationMap()
Resource utilization values.
|
double |
getUtilizationOrDefault(String key,
double defaultValue)
Resource utilization values.
|
double |
getUtilizationOrThrow(String key)
Resource utilization values.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static OrcaLoadReport.Builder |
newBuilder() |
static OrcaLoadReport.Builder |
newBuilder(OrcaLoadReport prototype) |
OrcaLoadReport.Builder |
newBuilderForType() |
protected OrcaLoadReport.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
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(ByteBuffer data) |
static OrcaLoadReport |
parseFrom(ByteBuffer 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 com.google.protobuf.Parser<OrcaLoadReport> |
parser() |
OrcaLoadReport.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CPU_UTILIZATION_FIELD_NUMBER
public static final int MEM_UTILIZATION_FIELD_NUMBER
public static final int RPS_FIELD_NUMBER
public static final int REQUEST_COST_FIELD_NUMBER
public static final int UTILIZATION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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) = { ... }getCpuUtilization in interface OrcaLoadReportOrBuilderpublic 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) = { ... }getMemUtilization in interface OrcaLoadReportOrBuilderpublic long getRps()
Total RPS being served by an endpoint. This should cover all services that an endpoint is responsible for.
uint64 rps = 3;getRps in interface OrcaLoadReportOrBuilderpublic int getRequestCostCount()
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;getRequestCostCount in interface OrcaLoadReportOrBuilderpublic boolean containsRequestCost(String key)
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;containsRequestCost in interface OrcaLoadReportOrBuilder@Deprecated public Map<String,Double> getRequestCost()
getRequestCostMap() instead.getRequestCost in interface OrcaLoadReportOrBuilderpublic Map<String,Double> 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;getRequestCostMap in interface OrcaLoadReportOrBuilderpublic double getRequestCostOrDefault(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;getRequestCostOrDefault in interface OrcaLoadReportOrBuilderpublic double getRequestCostOrThrow(String key)
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;getRequestCostOrThrow in interface OrcaLoadReportOrBuilderpublic int getUtilizationCount()
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) = { ... }getUtilizationCount in interface OrcaLoadReportOrBuilderpublic boolean containsUtilization(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) = { ... }containsUtilization in interface OrcaLoadReportOrBuilder@Deprecated public Map<String,Double> getUtilization()
getUtilizationMap() instead.getUtilization in interface OrcaLoadReportOrBuilderpublic Map<String,Double> 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) = { ... }getUtilizationMap in interface OrcaLoadReportOrBuilderpublic double getUtilizationOrDefault(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) = { ... }getUtilizationOrDefault in interface OrcaLoadReportOrBuilderpublic double getUtilizationOrThrow(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) = { ... }getUtilizationOrThrow in interface OrcaLoadReportOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static OrcaLoadReport parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OrcaLoadReport parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OrcaLoadReport parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OrcaLoadReport parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OrcaLoadReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OrcaLoadReport parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OrcaLoadReport parseFrom(InputStream input) throws IOException
IOExceptionpublic static OrcaLoadReport parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OrcaLoadReport parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OrcaLoadReport parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OrcaLoadReport parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OrcaLoadReport parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OrcaLoadReport.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OrcaLoadReport.Builder newBuilder()
public static OrcaLoadReport.Builder newBuilder(OrcaLoadReport prototype)
public OrcaLoadReport.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected OrcaLoadReport.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static OrcaLoadReport getDefaultInstance()
public static com.google.protobuf.Parser<OrcaLoadReport> parser()
public com.google.protobuf.Parser<OrcaLoadReport> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OrcaLoadReport getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.