Class Monitoring.MonitoringMessage
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.confluent.monitoring.record.Monitoring.MonitoringMessage
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Monitoring.MonitoringMessageOrBuilder,Serializable
- Enclosing class:
Monitoring
public static final class Monitoring.MonitoringMessage
extends com.google.protobuf.GeneratedMessage
implements Monitoring.MonitoringMessageOrBuilder
Protobuf type
monitoring.MonitoringMessage- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typemonitoring.MonitoringMessageNested 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> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongint64 aggregateBytes = 11;intint32 aggregateCrc = 12;longC3 time when the message arrived to C3string clientId = 2;com.google.protobuf.ByteStringstring clientId = 2;.monitoring.ClientType clientType = 1;int.monitoring.ClientType clientType = 1;Kafka cluster ID (required)com.google.protobuf.ByteStringKafka cluster ID (required)Kafka cluster name (optional, human-friendly)com.google.protobuf.ByteStringKafka cluster name (optional, human-friendly)longgetCount()int64 count = 10;static Monitoring.MonitoringMessagestatic final com.google.protobuf.Descriptors.DescriptorgetGroup()string group = 3;com.google.protobuf.ByteStringstring group = 3;longint64 maxLatency = 15;longint64 maxWindow = 20;longint64 minLatency = 14;longint64 minWindow = 19;intint32 monitoringTopicPartition = 21;com.google.protobuf.Parser<Monitoring.MonitoringMessage> intint32 partition = 9;longint64 samplePeriod = 16;longint64 sequence = 5;intstring session = 4;com.google.protobuf.ByteStringstring session = 4;booleanbool shutdown = 18;longint64 timestamp = 7;getTopic()string topic = 8;com.google.protobuf.ByteStringstring topic = 8;longint64 totalLatency = 13;getType().monitoring.MessageType type = 17;int.monitoring.MessageType type = 17;longint64 window = 6;inthashCode()final booleannewBuilder(Monitoring.MonitoringMessage prototype) static Monitoring.MonitoringMessageparseDelimitedFrom(InputStream input) static Monitoring.MonitoringMessageparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Monitoring.MonitoringMessageparseFrom(byte[] data) static Monitoring.MonitoringMessageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Monitoring.MonitoringMessageparseFrom(com.google.protobuf.ByteString data) static Monitoring.MonitoringMessageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Monitoring.MonitoringMessageparseFrom(com.google.protobuf.CodedInputStream input) static Monitoring.MonitoringMessageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Monitoring.MonitoringMessageparseFrom(InputStream input) static Monitoring.MonitoringMessageparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Monitoring.MonitoringMessageparseFrom(ByteBuffer data) static Monitoring.MonitoringMessageparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Monitoring.MonitoringMessage> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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
-
CLIENTTYPE_FIELD_NUMBER
public static final int CLIENTTYPE_FIELD_NUMBER- See Also:
-
CLIENTID_FIELD_NUMBER
public static final int CLIENTID_FIELD_NUMBER- See Also:
-
GROUP_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER- See Also:
-
SESSION_FIELD_NUMBER
public static final int SESSION_FIELD_NUMBER- See Also:
-
SEQUENCE_FIELD_NUMBER
public static final int SEQUENCE_FIELD_NUMBER- See Also:
-
WINDOW_FIELD_NUMBER
public static final int WINDOW_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
TOPIC_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER- See Also:
-
PARTITION_FIELD_NUMBER
public static final int PARTITION_FIELD_NUMBER- See Also:
-
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER- See Also:
-
AGGREGATEBYTES_FIELD_NUMBER
public static final int AGGREGATEBYTES_FIELD_NUMBER- See Also:
-
AGGREGATECRC_FIELD_NUMBER
public static final int AGGREGATECRC_FIELD_NUMBER- See Also:
-
TOTALLATENCY_FIELD_NUMBER
public static final int TOTALLATENCY_FIELD_NUMBER- See Also:
-
MINLATENCY_FIELD_NUMBER
public static final int MINLATENCY_FIELD_NUMBER- See Also:
-
MAXLATENCY_FIELD_NUMBER
public static final int MAXLATENCY_FIELD_NUMBER- See Also:
-
SAMPLEPERIOD_FIELD_NUMBER
public static final int SAMPLEPERIOD_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
SHUTDOWN_FIELD_NUMBER
public static final int SHUTDOWN_FIELD_NUMBER- See Also:
-
MINWINDOW_FIELD_NUMBER
public static final int MINWINDOW_FIELD_NUMBER- See Also:
-
MAXWINDOW_FIELD_NUMBER
public static final int MAXWINDOW_FIELD_NUMBER- See Also:
-
MONITORINGTOPICPARTITION_FIELD_NUMBER
public static final int MONITORINGTOPICPARTITION_FIELD_NUMBER- See Also:
-
CLUSTERID_FIELD_NUMBER
public static final int CLUSTERID_FIELD_NUMBER- See Also:
-
CLUSTERNAME_FIELD_NUMBER
public static final int CLUSTERNAME_FIELD_NUMBER- See Also:
-
ARRIVALTIME_FIELD_NUMBER
public static final int ARRIVALTIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getClientTypeValue
public int getClientTypeValue().monitoring.ClientType clientType = 1;- Specified by:
getClientTypeValuein interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The enum numeric value on the wire for clientType.
-
getClientType
.monitoring.ClientType clientType = 1;- Specified by:
getClientTypein interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The clientType.
-
getClientId
string clientId = 2;- Specified by:
getClientIdin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()string clientId = 2;- Specified by:
getClientIdBytesin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The bytes for clientId.
-
getGroup
string group = 3;- Specified by:
getGroupin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The group.
-
getGroupBytes
public com.google.protobuf.ByteString getGroupBytes()string group = 3;- Specified by:
getGroupBytesin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The bytes for group.
-
getSession
string session = 4;- Specified by:
getSessionin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The session.
-
getSessionBytes
public com.google.protobuf.ByteString getSessionBytes()string session = 4;- Specified by:
getSessionBytesin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The bytes for session.
-
getSequence
public long getSequence()int64 sequence = 5;- Specified by:
getSequencein interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The sequence.
-
getWindow
public long getWindow()int64 window = 6;- Specified by:
getWindowin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The window.
-
getTimestamp
public long getTimestamp()int64 timestamp = 7;- Specified by:
getTimestampin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The timestamp.
-
getTopic
string topic = 8;- Specified by:
getTopicin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The topic.
-
getTopicBytes
public com.google.protobuf.ByteString getTopicBytes()string topic = 8;- Specified by:
getTopicBytesin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The bytes for topic.
-
getPartition
public int getPartition()int32 partition = 9;- Specified by:
getPartitionin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The partition.
-
getCount
public long getCount()int64 count = 10;- Specified by:
getCountin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The count.
-
getAggregateBytes
public long getAggregateBytes()int64 aggregateBytes = 11;- Specified by:
getAggregateBytesin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The aggregateBytes.
-
getAggregateCrc
public int getAggregateCrc()int32 aggregateCrc = 12;- Specified by:
getAggregateCrcin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The aggregateCrc.
-
getTotalLatency
public long getTotalLatency()int64 totalLatency = 13;- Specified by:
getTotalLatencyin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The totalLatency.
-
getMinLatency
public long getMinLatency()int64 minLatency = 14;- Specified by:
getMinLatencyin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The minLatency.
-
getMaxLatency
public long getMaxLatency()int64 maxLatency = 15;- Specified by:
getMaxLatencyin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The maxLatency.
-
getSamplePeriod
public long getSamplePeriod()int64 samplePeriod = 16;- Specified by:
getSamplePeriodin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The samplePeriod.
-
getTypeValue
public int getTypeValue().monitoring.MessageType type = 17;- Specified by:
getTypeValuein interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
.monitoring.MessageType type = 17;- Specified by:
getTypein interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The type.
-
getShutdown
public boolean getShutdown()bool shutdown = 18;- Specified by:
getShutdownin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The shutdown.
-
getMinWindow
public long getMinWindow()int64 minWindow = 19;- Specified by:
getMinWindowin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The minWindow.
-
getMaxWindow
public long getMaxWindow()int64 maxWindow = 20;- Specified by:
getMaxWindowin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The maxWindow.
-
getMonitoringTopicPartition
public int getMonitoringTopicPartition()int32 monitoringTopicPartition = 21;- Specified by:
getMonitoringTopicPartitionin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The monitoringTopicPartition.
-
getClusterId
Kafka cluster ID (required)
string clusterId = 22;- Specified by:
getClusterIdin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The clusterId.
-
getClusterIdBytes
public com.google.protobuf.ByteString getClusterIdBytes()Kafka cluster ID (required)
string clusterId = 22;- Specified by:
getClusterIdBytesin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The bytes for clusterId.
-
getClusterName
Kafka cluster name (optional, human-friendly)
string clusterName = 23;- Specified by:
getClusterNamein interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The clusterName.
-
getClusterNameBytes
public com.google.protobuf.ByteString getClusterNameBytes()Kafka cluster name (optional, human-friendly)
string clusterName = 23;- Specified by:
getClusterNameBytesin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The bytes for clusterName.
-
getArrivalTime
public long getArrivalTime()C3 time when the message arrived to C3
int64 arrivalTime = 24;- Specified by:
getArrivalTimein interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The arrivalTime.
-
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 Monitoring.MonitoringMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Monitoring.MonitoringMessage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Monitoring.MonitoringMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Monitoring.MonitoringMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Monitoring.MonitoringMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Monitoring.MonitoringMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Monitoring.MonitoringMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Monitoring.MonitoringMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Monitoring.MonitoringMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Monitoring.MonitoringMessage 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
public static Monitoring.MonitoringMessage.Builder newBuilder(Monitoring.MonitoringMessage prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
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
-