类 InstanceCommunication.MetricsData
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.apache.pulsar.functions.proto.InstanceCommunication.MetricsData
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,InstanceCommunication.MetricsDataOrBuilder
public static final class InstanceCommunication.MetricsData extends com.google.protobuf.GeneratedMessageV3 implements InstanceCommunication.MetricsDataOrBuilder
message DataDigest { double count = 1; double sum = 2; double max = 3; double min = 4; } map<string, DataDigest> metrics = 1 [deprecated=true];Protobuf typeproto.MetricsData- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classInstanceCommunication.MetricsData.Buildermessage DataDigest { double count = 1; double sum = 2; double max = 3; double min = 4; } map<string, DataDigest> metrics = 1 [deprecated=true];-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
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
-
-
字段概要
字段 修饰符和类型 字段 说明 static intAVGPROCESSLATENCY_1MIN_FIELD_NUMBERstatic intAVGPROCESSLATENCY_FIELD_NUMBERstatic intLASTINVOCATION_FIELD_NUMBERstatic intPROCESSEDSUCCESSFULLYTOTAL_1MIN_FIELD_NUMBERstatic intPROCESSEDSUCCESSFULLYTOTAL_FIELD_NUMBERstatic intRECEIVEDTOTAL_1MIN_FIELD_NUMBERstatic intRECEIVEDTOTAL_FIELD_NUMBERstatic intSYSTEMEXCEPTIONSTOTAL_1MIN_FIELD_NUMBERstatic intSYSTEMEXCEPTIONSTOTAL_FIELD_NUMBERstatic intUSEREXCEPTIONSTOTAL_1MIN_FIELD_NUMBERstatic intUSEREXCEPTIONSTOTAL_FIELD_NUMBERstatic intUSERMETRICS_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsUserMetrics(java.lang.String key)User defined metricsbooleanequals(java.lang.Object obj)doublegetAvgProcessLatency()Average process latency for functiondoublegetAvgProcessLatency1Min()double avgProcessLatency_1min = 15;static InstanceCommunication.MetricsDatagetDefaultInstance()InstanceCommunication.MetricsDatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetLastInvocation()Timestamp of when the function was last invokedcom.google.protobuf.Parser<InstanceCommunication.MetricsData>getParserForType()longgetProcessedSuccessfullyTotal()Total number of records successfully processed by user functionlonggetProcessedSuccessfullyTotal1Min()int64 processedSuccessfullyTotal_1min = 12;longgetReceivedTotal()Total number of records function received from sourcelonggetReceivedTotal1Min()int64 receivedTotal_1min = 10;intgetSerializedSize()longgetSystemExceptionsTotal()Total number of system exceptions thrownlonggetSystemExceptionsTotal1Min()int64 systemExceptionsTotal_1min = 13;com.google.protobuf.UnknownFieldSetgetUnknownFields()longgetUserExceptionsTotal()Total number of user exceptions thrownlonggetUserExceptionsTotal1Min()int64 userExceptionsTotal_1min = 14;java.util.Map<java.lang.String,java.lang.Double>getUserMetrics()已过时。intgetUserMetricsCount()User defined metricsjava.util.Map<java.lang.String,java.lang.Double>getUserMetricsMap()User defined metricsdoublegetUserMetricsOrDefault(java.lang.String key, double defaultValue)User defined metricsdoublegetUserMetricsOrThrow(java.lang.String key)User defined metricsinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static InstanceCommunication.MetricsData.BuildernewBuilder()static InstanceCommunication.MetricsData.BuildernewBuilder(InstanceCommunication.MetricsData prototype)InstanceCommunication.MetricsData.BuildernewBuilderForType()protected InstanceCommunication.MetricsData.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static InstanceCommunication.MetricsDataparseDelimitedFrom(java.io.InputStream input)static InstanceCommunication.MetricsDataparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceCommunication.MetricsDataparseFrom(byte[] data)static InstanceCommunication.MetricsDataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceCommunication.MetricsDataparseFrom(com.google.protobuf.ByteString data)static InstanceCommunication.MetricsDataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceCommunication.MetricsDataparseFrom(com.google.protobuf.CodedInputStream input)static InstanceCommunication.MetricsDataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceCommunication.MetricsDataparseFrom(java.io.InputStream input)static InstanceCommunication.MetricsDataparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceCommunication.MetricsDataparseFrom(java.nio.ByteBuffer data)static InstanceCommunication.MetricsDataparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<InstanceCommunication.MetricsData>parser()InstanceCommunication.MetricsData.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, 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, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
RECEIVEDTOTAL_FIELD_NUMBER
public static final int RECEIVEDTOTAL_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
RECEIVEDTOTAL_1MIN_FIELD_NUMBER
public static final int RECEIVEDTOTAL_1MIN_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
PROCESSEDSUCCESSFULLYTOTAL_FIELD_NUMBER
public static final int PROCESSEDSUCCESSFULLYTOTAL_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
PROCESSEDSUCCESSFULLYTOTAL_1MIN_FIELD_NUMBER
public static final int PROCESSEDSUCCESSFULLYTOTAL_1MIN_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
SYSTEMEXCEPTIONSTOTAL_FIELD_NUMBER
public static final int SYSTEMEXCEPTIONSTOTAL_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
SYSTEMEXCEPTIONSTOTAL_1MIN_FIELD_NUMBER
public static final int SYSTEMEXCEPTIONSTOTAL_1MIN_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
USEREXCEPTIONSTOTAL_FIELD_NUMBER
public static final int USEREXCEPTIONSTOTAL_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
USEREXCEPTIONSTOTAL_1MIN_FIELD_NUMBER
public static final int USEREXCEPTIONSTOTAL_1MIN_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
AVGPROCESSLATENCY_FIELD_NUMBER
public static final int AVGPROCESSLATENCY_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
AVGPROCESSLATENCY_1MIN_FIELD_NUMBER
public static final int AVGPROCESSLATENCY_1MIN_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
LASTINVOCATION_FIELD_NUMBER
public static final int LASTINVOCATION_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
USERMETRICS_FIELD_NUMBER
public static final int USERMETRICS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- 覆盖:
internalGetMapField在类中com.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getReceivedTotal
public long getReceivedTotal()
Total number of records function received from source
int64 receivedTotal = 2;- 指定者:
getReceivedTotal在接口中InstanceCommunication.MetricsDataOrBuilder- 返回:
- The receivedTotal.
-
getReceivedTotal1Min
public long getReceivedTotal1Min()
int64 receivedTotal_1min = 10;- 指定者:
getReceivedTotal1Min在接口中InstanceCommunication.MetricsDataOrBuilder- 返回:
- The receivedTotal1min.
-
getProcessedSuccessfullyTotal
public long getProcessedSuccessfullyTotal()
Total number of records successfully processed by user function
int64 processedSuccessfullyTotal = 4;- 指定者:
getProcessedSuccessfullyTotal在接口中InstanceCommunication.MetricsDataOrBuilder- 返回:
- The processedSuccessfullyTotal.
-
getProcessedSuccessfullyTotal1Min
public long getProcessedSuccessfullyTotal1Min()
int64 processedSuccessfullyTotal_1min = 12;- 指定者:
getProcessedSuccessfullyTotal1Min在接口中InstanceCommunication.MetricsDataOrBuilder- 返回:
- The processedSuccessfullyTotal1min.
-
getSystemExceptionsTotal
public long getSystemExceptionsTotal()
Total number of system exceptions thrown
int64 systemExceptionsTotal = 5;- 指定者:
getSystemExceptionsTotal在接口中InstanceCommunication.MetricsDataOrBuilder- 返回:
- The systemExceptionsTotal.
-
getSystemExceptionsTotal1Min
public long getSystemExceptionsTotal1Min()
int64 systemExceptionsTotal_1min = 13;- 指定者:
getSystemExceptionsTotal1Min在接口中InstanceCommunication.MetricsDataOrBuilder- 返回:
- The systemExceptionsTotal1min.
-
getUserExceptionsTotal
public long getUserExceptionsTotal()
Total number of user exceptions thrown
int64 userExceptionsTotal = 6;- 指定者:
getUserExceptionsTotal在接口中InstanceCommunication.MetricsDataOrBuilder- 返回:
- The userExceptionsTotal.
-
getUserExceptionsTotal1Min
public long getUserExceptionsTotal1Min()
int64 userExceptionsTotal_1min = 14;- 指定者:
getUserExceptionsTotal1Min在接口中InstanceCommunication.MetricsDataOrBuilder- 返回:
- The userExceptionsTotal1min.
-
getAvgProcessLatency
public double getAvgProcessLatency()
Average process latency for function
double avgProcessLatency = 7;- 指定者:
getAvgProcessLatency在接口中InstanceCommunication.MetricsDataOrBuilder- 返回:
- The avgProcessLatency.
-
getAvgProcessLatency1Min
public double getAvgProcessLatency1Min()
double avgProcessLatency_1min = 15;- 指定者:
getAvgProcessLatency1Min在接口中InstanceCommunication.MetricsDataOrBuilder- 返回:
- The avgProcessLatency1min.
-
getLastInvocation
public long getLastInvocation()
Timestamp of when the function was last invoked
int64 lastInvocation = 8;- 指定者:
getLastInvocation在接口中InstanceCommunication.MetricsDataOrBuilder- 返回:
- The lastInvocation.
-
getUserMetricsCount
public int getUserMetricsCount()
User defined metrics
map<string, double> userMetrics = 9;
-
containsUserMetrics
public boolean containsUserMetrics(java.lang.String key)
User defined metrics
map<string, double> userMetrics = 9;
-
getUserMetrics
@Deprecated public java.util.Map<java.lang.String,java.lang.Double> getUserMetrics()
已过时。UsegetUserMetricsMap()instead.
-
getUserMetricsMap
public java.util.Map<java.lang.String,java.lang.Double> getUserMetricsMap()
User defined metrics
map<string, double> userMetrics = 9;
-
getUserMetricsOrDefault
public double getUserMetricsOrDefault(java.lang.String key, double defaultValue)User defined metrics
map<string, double> userMetrics = 9;
-
getUserMetricsOrThrow
public double getUserMetricsOrThrow(java.lang.String key)
User defined metrics
map<string, double> userMetrics = 9;
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static InstanceCommunication.MetricsData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static InstanceCommunication.MetricsData parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
newBuilderForType
public InstanceCommunication.MetricsData.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static InstanceCommunication.MetricsData.Builder newBuilder()
-
newBuilder
public static InstanceCommunication.MetricsData.Builder newBuilder(InstanceCommunication.MetricsData prototype)
-
toBuilder
public InstanceCommunication.MetricsData.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected InstanceCommunication.MetricsData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static InstanceCommunication.MetricsData getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<InstanceCommunication.MetricsData> parser()
-
getParserForType
public com.google.protobuf.Parser<InstanceCommunication.MetricsData> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public InstanceCommunication.MetricsData getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-