Package io.confluent.monitoring.record
Class Monitoring.MonitoringMessage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Monitoring.MonitoringMessage.Builder>
com.google.protobuf.GeneratedMessage.Builder<Monitoring.MonitoringMessage.Builder>
io.confluent.monitoring.record.Monitoring.MonitoringMessage.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Monitoring.MonitoringMessageOrBuilder,Cloneable
- Enclosing class:
Monitoring.MonitoringMessage
public static final class Monitoring.MonitoringMessage.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Monitoring.MonitoringMessage.Builder>
implements Monitoring.MonitoringMessageOrBuilder
Protobuf type
monitoring.MonitoringMessage-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()int64 aggregateBytes = 11;int32 aggregateCrc = 12;C3 time when the message arrived to C3string clientId = 2;.monitoring.ClientType clientType = 1;Kafka cluster ID (required)Kafka cluster name (optional, human-friendly)int64 count = 10;string group = 3;int64 maxLatency = 15;int64 maxWindow = 20;int64 minLatency = 14;int64 minWindow = 19;int32 monitoringTopicPartition = 21;int32 partition = 9;int64 samplePeriod = 16;int64 sequence = 5;string session = 4;bool shutdown = 18;int64 timestamp = 7;string topic = 8;int64 totalLatency = 13;.monitoring.MessageType type = 17;int64 window = 6;longint64 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 final com.google.protobuf.Descriptors.Descriptorcom.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;intint32 partition = 9;longint64 samplePeriod = 16;longint64 sequence = 5;string 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;final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAggregateBytes(long value) int64 aggregateBytes = 11;setAggregateCrc(int value) int32 aggregateCrc = 12;setArrivalTime(long value) C3 time when the message arrived to C3setClientId(String value) string clientId = 2;setClientIdBytes(com.google.protobuf.ByteString value) string clientId = 2;.monitoring.ClientType clientType = 1;setClientTypeValue(int value) .monitoring.ClientType clientType = 1;setClusterId(String value) Kafka cluster ID (required)setClusterIdBytes(com.google.protobuf.ByteString value) Kafka cluster ID (required)setClusterName(String value) Kafka cluster name (optional, human-friendly)setClusterNameBytes(com.google.protobuf.ByteString value) Kafka cluster name (optional, human-friendly)setCount(long value) int64 count = 10;string group = 3;setGroupBytes(com.google.protobuf.ByteString value) string group = 3;setMaxLatency(long value) int64 maxLatency = 15;setMaxWindow(long value) int64 maxWindow = 20;setMinLatency(long value) int64 minLatency = 14;setMinWindow(long value) int64 minWindow = 19;setMonitoringTopicPartition(int value) int32 monitoringTopicPartition = 21;setPartition(int value) int32 partition = 9;setSamplePeriod(long value) int64 samplePeriod = 16;setSequence(long value) int64 sequence = 5;setSession(String value) string session = 4;setSessionBytes(com.google.protobuf.ByteString value) string session = 4;setShutdown(boolean value) bool shutdown = 18;setTimestamp(long value) int64 timestamp = 7;string topic = 8;setTopicBytes(com.google.protobuf.ByteString value) string topic = 8;setTotalLatency(long value) int64 totalLatency = 13;setType(Monitoring.MessageType value) .monitoring.MessageType type = 17;setTypeValue(int value) .monitoring.MessageType type = 17;setWindow(long value) int64 window = 6;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, mergeUnknownFields, newBuilderForField, setField, setRepeatedField, setUnknownFieldsMethods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom, mergeDelimitedFrom, mergeFromMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Monitoring.MonitoringMessage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Monitoring.MonitoringMessage.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Monitoring.MonitoringMessage.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Monitoring.MonitoringMessage.Builder>
-
mergeFrom
public Monitoring.MonitoringMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Monitoring.MonitoringMessage.Builder>- Throws:
IOException
-
getClientTypeValue
public int getClientTypeValue().monitoring.ClientType clientType = 1;- Specified by:
getClientTypeValuein interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The enum numeric value on the wire for clientType.
-
setClientTypeValue
.monitoring.ClientType clientType = 1;- Parameters:
value- The enum numeric value on the wire for clientType to set.- Returns:
- This builder for chaining.
-
getClientType
.monitoring.ClientType clientType = 1;- Specified by:
getClientTypein interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The clientType.
-
setClientType
.monitoring.ClientType clientType = 1;- Parameters:
value- The clientType to set.- Returns:
- This builder for chaining.
-
clearClientType
.monitoring.ClientType clientType = 1;- Returns:
- This builder for chaining.
-
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.
-
setClientId
string clientId = 2;- Parameters:
value- The clientId to set.- Returns:
- This builder for chaining.
-
clearClientId
string clientId = 2;- Returns:
- This builder for chaining.
-
setClientIdBytes
string clientId = 2;- Parameters:
value- The bytes for clientId to set.- Returns:
- This builder for chaining.
-
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.
-
setGroup
string group = 3;- Parameters:
value- The group to set.- Returns:
- This builder for chaining.
-
clearGroup
string group = 3;- Returns:
- This builder for chaining.
-
setGroupBytes
string group = 3;- Parameters:
value- The bytes for group to set.- Returns:
- This builder for chaining.
-
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.
-
setSession
string session = 4;- Parameters:
value- The session to set.- Returns:
- This builder for chaining.
-
clearSession
string session = 4;- Returns:
- This builder for chaining.
-
setSessionBytes
string session = 4;- Parameters:
value- The bytes for session to set.- Returns:
- This builder for chaining.
-
getSequence
public long getSequence()int64 sequence = 5;- Specified by:
getSequencein interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The sequence.
-
setSequence
int64 sequence = 5;- Parameters:
value- The sequence to set.- Returns:
- This builder for chaining.
-
clearSequence
int64 sequence = 5;- Returns:
- This builder for chaining.
-
getWindow
public long getWindow()int64 window = 6;- Specified by:
getWindowin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The window.
-
setWindow
int64 window = 6;- Parameters:
value- The window to set.- Returns:
- This builder for chaining.
-
clearWindow
int64 window = 6;- Returns:
- This builder for chaining.
-
getTimestamp
public long getTimestamp()int64 timestamp = 7;- Specified by:
getTimestampin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The timestamp.
-
setTimestamp
int64 timestamp = 7;- Parameters:
value- The timestamp to set.- Returns:
- This builder for chaining.
-
clearTimestamp
int64 timestamp = 7;- Returns:
- This builder for chaining.
-
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.
-
setTopic
string topic = 8;- Parameters:
value- The topic to set.- Returns:
- This builder for chaining.
-
clearTopic
string topic = 8;- Returns:
- This builder for chaining.
-
setTopicBytes
string topic = 8;- Parameters:
value- The bytes for topic to set.- Returns:
- This builder for chaining.
-
getPartition
public int getPartition()int32 partition = 9;- Specified by:
getPartitionin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The partition.
-
setPartition
int32 partition = 9;- Parameters:
value- The partition to set.- Returns:
- This builder for chaining.
-
clearPartition
int32 partition = 9;- Returns:
- This builder for chaining.
-
getCount
public long getCount()int64 count = 10;- Specified by:
getCountin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The count.
-
setCount
int64 count = 10;- Parameters:
value- The count to set.- Returns:
- This builder for chaining.
-
clearCount
int64 count = 10;- Returns:
- This builder for chaining.
-
getAggregateBytes
public long getAggregateBytes()int64 aggregateBytes = 11;- Specified by:
getAggregateBytesin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The aggregateBytes.
-
setAggregateBytes
int64 aggregateBytes = 11;- Parameters:
value- The aggregateBytes to set.- Returns:
- This builder for chaining.
-
clearAggregateBytes
int64 aggregateBytes = 11;- Returns:
- This builder for chaining.
-
getAggregateCrc
public int getAggregateCrc()int32 aggregateCrc = 12;- Specified by:
getAggregateCrcin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The aggregateCrc.
-
setAggregateCrc
int32 aggregateCrc = 12;- Parameters:
value- The aggregateCrc to set.- Returns:
- This builder for chaining.
-
clearAggregateCrc
int32 aggregateCrc = 12;- Returns:
- This builder for chaining.
-
getTotalLatency
public long getTotalLatency()int64 totalLatency = 13;- Specified by:
getTotalLatencyin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The totalLatency.
-
setTotalLatency
int64 totalLatency = 13;- Parameters:
value- The totalLatency to set.- Returns:
- This builder for chaining.
-
clearTotalLatency
int64 totalLatency = 13;- Returns:
- This builder for chaining.
-
getMinLatency
public long getMinLatency()int64 minLatency = 14;- Specified by:
getMinLatencyin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The minLatency.
-
setMinLatency
int64 minLatency = 14;- Parameters:
value- The minLatency to set.- Returns:
- This builder for chaining.
-
clearMinLatency
int64 minLatency = 14;- Returns:
- This builder for chaining.
-
getMaxLatency
public long getMaxLatency()int64 maxLatency = 15;- Specified by:
getMaxLatencyin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The maxLatency.
-
setMaxLatency
int64 maxLatency = 15;- Parameters:
value- The maxLatency to set.- Returns:
- This builder for chaining.
-
clearMaxLatency
int64 maxLatency = 15;- Returns:
- This builder for chaining.
-
getSamplePeriod
public long getSamplePeriod()int64 samplePeriod = 16;- Specified by:
getSamplePeriodin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The samplePeriod.
-
setSamplePeriod
int64 samplePeriod = 16;- Parameters:
value- The samplePeriod to set.- Returns:
- This builder for chaining.
-
clearSamplePeriod
int64 samplePeriod = 16;- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue().monitoring.MessageType type = 17;- Specified by:
getTypeValuein interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
.monitoring.MessageType type = 17;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
.monitoring.MessageType type = 17;- Specified by:
getTypein interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The type.
-
setType
.monitoring.MessageType type = 17;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
.monitoring.MessageType type = 17;- Returns:
- This builder for chaining.
-
getShutdown
public boolean getShutdown()bool shutdown = 18;- Specified by:
getShutdownin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The shutdown.
-
setShutdown
bool shutdown = 18;- Parameters:
value- The shutdown to set.- Returns:
- This builder for chaining.
-
clearShutdown
bool shutdown = 18;- Returns:
- This builder for chaining.
-
getMinWindow
public long getMinWindow()int64 minWindow = 19;- Specified by:
getMinWindowin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The minWindow.
-
setMinWindow
int64 minWindow = 19;- Parameters:
value- The minWindow to set.- Returns:
- This builder for chaining.
-
clearMinWindow
int64 minWindow = 19;- Returns:
- This builder for chaining.
-
getMaxWindow
public long getMaxWindow()int64 maxWindow = 20;- Specified by:
getMaxWindowin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The maxWindow.
-
setMaxWindow
int64 maxWindow = 20;- Parameters:
value- The maxWindow to set.- Returns:
- This builder for chaining.
-
clearMaxWindow
int64 maxWindow = 20;- Returns:
- This builder for chaining.
-
getMonitoringTopicPartition
public int getMonitoringTopicPartition()int32 monitoringTopicPartition = 21;- Specified by:
getMonitoringTopicPartitionin interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The monitoringTopicPartition.
-
setMonitoringTopicPartition
int32 monitoringTopicPartition = 21;- Parameters:
value- The monitoringTopicPartition to set.- Returns:
- This builder for chaining.
-
clearMonitoringTopicPartition
int32 monitoringTopicPartition = 21;- Returns:
- This builder for chaining.
-
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.
-
setClusterId
Kafka cluster ID (required)
string clusterId = 22;- Parameters:
value- The clusterId to set.- Returns:
- This builder for chaining.
-
clearClusterId
Kafka cluster ID (required)
string clusterId = 22;- Returns:
- This builder for chaining.
-
setClusterIdBytes
Kafka cluster ID (required)
string clusterId = 22;- Parameters:
value- The bytes for clusterId to set.- Returns:
- This builder for chaining.
-
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.
-
setClusterName
Kafka cluster name (optional, human-friendly)
string clusterName = 23;- Parameters:
value- The clusterName to set.- Returns:
- This builder for chaining.
-
clearClusterName
Kafka cluster name (optional, human-friendly)
string clusterName = 23;- Returns:
- This builder for chaining.
-
setClusterNameBytes
public Monitoring.MonitoringMessage.Builder setClusterNameBytes(com.google.protobuf.ByteString value) Kafka cluster name (optional, human-friendly)
string clusterName = 23;- Parameters:
value- The bytes for clusterName to set.- Returns:
- This builder for chaining.
-
getArrivalTime
public long getArrivalTime()C3 time when the message arrived to C3
int64 arrivalTime = 24;- Specified by:
getArrivalTimein interfaceMonitoring.MonitoringMessageOrBuilder- Returns:
- The arrivalTime.
-
setArrivalTime
C3 time when the message arrived to C3
int64 arrivalTime = 24;- Parameters:
value- The arrivalTime to set.- Returns:
- This builder for chaining.
-
clearArrivalTime
C3 time when the message arrived to C3
int64 arrivalTime = 24;- Returns:
- This builder for chaining.
-