类 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,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 type proto.MetricsData- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static final classmessage 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 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明booleanUser defined metricsbooleandoubleAverage process latency for functiondoubledouble avgProcessLatency_1min = 15;static final com.google.protobuf.Descriptors.DescriptorlongTimestamp of when the function was last invokedcom.google.protobuf.Parser<InstanceCommunication.MetricsData>longTotal number of records successfully processed by user functionlongint64 processedSuccessfullyTotal_1min = 12;longTotal number of records function received from sourcelongint64 receivedTotal_1min = 10;intlongTotal number of system exceptions thrownlongint64 systemExceptionsTotal_1min = 13;final com.google.protobuf.UnknownFieldSetlongTotal number of user exceptions thrownlongint64 userExceptionsTotal_1min = 14;已过时。intUser defined metricsUser defined metricsdoublegetUserMetricsOrDefault(String key, double defaultValue) User defined metricsdoubleUser defined metricsinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleannewBuilder(InstanceCommunication.MetricsData prototype) newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InstanceCommunication.MetricsData>parser()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从类继承的方法 com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
字段详细资料
-
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
- 覆盖:
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
User defined metrics
map<string, double> userMetrics = 9; -
getUserMetrics
已过时。UsegetUserMetricsMap()instead. -
getUserMetricsMap
User defined metrics
map<string, double> userMetrics = 9; -
getUserMetricsOrDefault
User defined metrics
map<string, double> userMetrics = 9; -
getUserMetricsOrThrow
User defined metrics
map<string, double> userMetrics = 9; -
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
- 指定者:
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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(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
- 抛出:
IOException
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static InstanceCommunication.MetricsData parseDelimitedFrom(InputStream input) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static InstanceCommunication.MetricsData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - 抛出:
IOException
-
parseFrom
public static InstanceCommunication.MetricsData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static InstanceCommunication.MetricsData.Builder newBuilder(InstanceCommunication.MetricsData prototype) -
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
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-