Package io.sbp.grpc

Class MessageLatenciesRecord

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.sbp.grpc.MessageLatenciesRecord
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MessageLatenciesRecordOrBuilder, Serializable

public final class MessageLatenciesRecord extends com.google.protobuf.GeneratedMessageV3 implements MessageLatenciesRecordOrBuilder
Protobuf type MessageLatenciesRecord
See Also:
  • Field Details

    • CLIENTID_FIELD_NUMBER

      public static final int CLIENTID_FIELD_NUMBER
      See Also:
    • SEQUENCENUMBER_FIELD_NUMBER

      public static final int SEQUENCENUMBER_FIELD_NUMBER
      See Also:
    • WRITERS_FIELD_NUMBER

      public static final int WRITERS_FIELD_NUMBER
      See Also:
    • READERS_FIELD_NUMBER

      public static final int READERS_FIELD_NUMBER
      See Also:
    • MAXWRITERS_FIELD_NUMBER

      public static final int MAXWRITERS_FIELD_NUMBER
      See Also:
    • MAXREADERS_FIELD_NUMBER

      public static final int MAXREADERS_FIELD_NUMBER
      See Also:
    • WRITEREQUESTBYTES_FIELD_NUMBER

      public static final int WRITEREQUESTBYTES_FIELD_NUMBER
      See Also:
    • WRITEREQUESTRECORDS_FIELD_NUMBER

      public static final int WRITEREQUESTRECORDS_FIELD_NUMBER
      See Also:
    • READREQUESTBYTES_FIELD_NUMBER

      public static final int READREQUESTBYTES_FIELD_NUMBER
      See Also:
    • READREQUESTRECORDS_FIELD_NUMBER

      public static final int READREQUESTRECORDS_FIELD_NUMBER
      See Also:
    • WRITETIMEOUTEVENTS_FIELD_NUMBER

      public static final int WRITETIMEOUTEVENTS_FIELD_NUMBER
      See Also:
    • READTIMEOUTEVENTS_FIELD_NUMBER

      public static final int READTIMEOUTEVENTS_FIELD_NUMBER
      See Also:
    • TOTALRECORDS_FIELD_NUMBER

      public static final int TOTALRECORDS_FIELD_NUMBER
      See Also:
    • VALIDLATENCYRECORDS_FIELD_NUMBER

      public static final int VALIDLATENCYRECORDS_FIELD_NUMBER
      See Also:
    • LOWERLATENCYDISCARDRECORDS_FIELD_NUMBER

      public static final int LOWERLATENCYDISCARDRECORDS_FIELD_NUMBER
      See Also:
    • HIGHERLATENCYDISCARDRECORDS_FIELD_NUMBER

      public static final int HIGHERLATENCYDISCARDRECORDS_FIELD_NUMBER
      See Also:
    • INVALIDLATENCYRECORDS_FIELD_NUMBER

      public static final int INVALIDLATENCYRECORDS_FIELD_NUMBER
      See Also:
    • TOTALBYTES_FIELD_NUMBER

      public static final int TOTALBYTES_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:
    • LATENCY_FIELD_NUMBER

      public static final int LATENCY_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getClientID

      public long getClientID()
      int64 clientID = 1;
      Specified by:
      getClientID in interface MessageLatenciesRecordOrBuilder
      Returns:
      The clientID.
    • getSequenceNumber

      public long getSequenceNumber()
      int64 sequenceNumber = 2;
      Specified by:
      getSequenceNumber in interface MessageLatenciesRecordOrBuilder
      Returns:
      The sequenceNumber.
    • getWriters

      public int getWriters()
      int32 writers = 3;
      Specified by:
      getWriters in interface MessageLatenciesRecordOrBuilder
      Returns:
      The writers.
    • getReaders

      public int getReaders()
      int32 readers = 4;
      Specified by:
      getReaders in interface MessageLatenciesRecordOrBuilder
      Returns:
      The readers.
    • getMaxWriters

      public int getMaxWriters()
      int32 maxWriters = 5;
      Specified by:
      getMaxWriters in interface MessageLatenciesRecordOrBuilder
      Returns:
      The maxWriters.
    • getMaxReaders

      public int getMaxReaders()
      int32 maxReaders = 6;
      Specified by:
      getMaxReaders in interface MessageLatenciesRecordOrBuilder
      Returns:
      The maxReaders.
    • getWriteRequestBytes

      public long getWriteRequestBytes()
      int64 writeRequestBytes = 7;
      Specified by:
      getWriteRequestBytes in interface MessageLatenciesRecordOrBuilder
      Returns:
      The writeRequestBytes.
    • getWriteRequestRecords

      public long getWriteRequestRecords()
      int64 writeRequestRecords = 8;
      Specified by:
      getWriteRequestRecords in interface MessageLatenciesRecordOrBuilder
      Returns:
      The writeRequestRecords.
    • getReadRequestBytes

      public long getReadRequestBytes()
      int64 readRequestBytes = 9;
      Specified by:
      getReadRequestBytes in interface MessageLatenciesRecordOrBuilder
      Returns:
      The readRequestBytes.
    • getReadRequestRecords

      public long getReadRequestRecords()
      int64 readRequestRecords = 10;
      Specified by:
      getReadRequestRecords in interface MessageLatenciesRecordOrBuilder
      Returns:
      The readRequestRecords.
    • getWriteTimeoutEvents

      public long getWriteTimeoutEvents()
      int64 writeTimeoutEvents = 11;
      Specified by:
      getWriteTimeoutEvents in interface MessageLatenciesRecordOrBuilder
      Returns:
      The writeTimeoutEvents.
    • getReadTimeoutEvents

      public long getReadTimeoutEvents()
      int64 readTimeoutEvents = 12;
      Specified by:
      getReadTimeoutEvents in interface MessageLatenciesRecordOrBuilder
      Returns:
      The readTimeoutEvents.
    • getTotalRecords

      public long getTotalRecords()
      int64 totalRecords = 13;
      Specified by:
      getTotalRecords in interface MessageLatenciesRecordOrBuilder
      Returns:
      The totalRecords.
    • getValidLatencyRecords

      public long getValidLatencyRecords()
      int64 validLatencyRecords = 14;
      Specified by:
      getValidLatencyRecords in interface MessageLatenciesRecordOrBuilder
      Returns:
      The validLatencyRecords.
    • getLowerLatencyDiscardRecords

      public long getLowerLatencyDiscardRecords()
      int64 lowerLatencyDiscardRecords = 15;
      Specified by:
      getLowerLatencyDiscardRecords in interface MessageLatenciesRecordOrBuilder
      Returns:
      The lowerLatencyDiscardRecords.
    • getHigherLatencyDiscardRecords

      public long getHigherLatencyDiscardRecords()
      int64 higherLatencyDiscardRecords = 16;
      Specified by:
      getHigherLatencyDiscardRecords in interface MessageLatenciesRecordOrBuilder
      Returns:
      The higherLatencyDiscardRecords.
    • getInvalidLatencyRecords

      public long getInvalidLatencyRecords()
      int64 invalidLatencyRecords = 17;
      Specified by:
      getInvalidLatencyRecords in interface MessageLatenciesRecordOrBuilder
      Returns:
      The invalidLatencyRecords.
    • getTotalBytes

      public long getTotalBytes()
      int64 totalBytes = 18;
      Specified by:
      getTotalBytes in interface MessageLatenciesRecordOrBuilder
      Returns:
      The totalBytes.
    • getTotalLatency

      public long getTotalLatency()
      int64 totalLatency = 19;
      Specified by:
      getTotalLatency in interface MessageLatenciesRecordOrBuilder
      Returns:
      The totalLatency.
    • getMinLatency

      public long getMinLatency()
      int64 minLatency = 20;
      Specified by:
      getMinLatency in interface MessageLatenciesRecordOrBuilder
      Returns:
      The minLatency.
    • getMaxLatency

      public long getMaxLatency()
      int64 maxLatency = 21;
      Specified by:
      getMaxLatency in interface MessageLatenciesRecordOrBuilder
      Returns:
      The maxLatency.
    • getLatencyCount

      public int getLatencyCount()
      Description copied from interface: MessageLatenciesRecordOrBuilder
      map<int64, int64> latency = 22;
      Specified by:
      getLatencyCount in interface MessageLatenciesRecordOrBuilder
    • containsLatency

      public boolean containsLatency(long key)
      map<int64, int64> latency = 22;
      Specified by:
      containsLatency in interface MessageLatenciesRecordOrBuilder
    • getLatency

      @Deprecated public Map<Long,Long> getLatency()
      Deprecated.
      Use getLatencyMap() instead.
      Specified by:
      getLatency in interface MessageLatenciesRecordOrBuilder
    • getLatencyMap

      public Map<Long,Long> getLatencyMap()
      map<int64, int64> latency = 22;
      Specified by:
      getLatencyMap in interface MessageLatenciesRecordOrBuilder
    • getLatencyOrDefault

      public long getLatencyOrDefault(long key, long defaultValue)
      map<int64, int64> latency = 22;
      Specified by:
      getLatencyOrDefault in interface MessageLatenciesRecordOrBuilder
    • getLatencyOrThrow

      public long getLatencyOrThrow(long key)
      map<int64, int64> latency = 22;
      Specified by:
      getLatencyOrThrow in interface MessageLatenciesRecordOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static MessageLatenciesRecord parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MessageLatenciesRecord parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MessageLatenciesRecord parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MessageLatenciesRecord parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MessageLatenciesRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MessageLatenciesRecord parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MessageLatenciesRecord parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MessageLatenciesRecord parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MessageLatenciesRecord parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MessageLatenciesRecord parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MessageLatenciesRecord parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MessageLatenciesRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public MessageLatenciesRecord.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static MessageLatenciesRecord.Builder newBuilder()
    • newBuilder

      public static MessageLatenciesRecord.Builder newBuilder(MessageLatenciesRecord prototype)
    • toBuilder

      public MessageLatenciesRecord.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected MessageLatenciesRecord.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static MessageLatenciesRecord getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MessageLatenciesRecord> parser()
    • getParserForType

      public com.google.protobuf.Parser<MessageLatenciesRecord> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public MessageLatenciesRecord getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder