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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeMessageLatenciesRecord
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsLatency
(long key) map<int64, int64> latency = 22;
boolean
long
int64 clientID = 1;
static MessageLatenciesRecord
static final com.google.protobuf.Descriptors.Descriptor
long
int64 higherLatencyDiscardRecords = 16;
long
int64 invalidLatencyRecords = 17;
Deprecated.int
map<int64, int64> latency = 22;
map<int64, int64> latency = 22;
long
getLatencyOrDefault
(long key, long defaultValue) map<int64, int64> latency = 22;
long
getLatencyOrThrow
(long key) map<int64, int64> latency = 22;
long
int64 lowerLatencyDiscardRecords = 15;
long
int64 maxLatency = 21;
int
int32 maxReaders = 6;
int
int32 maxWriters = 5;
long
int64 minLatency = 20;
com.google.protobuf.Parser<MessageLatenciesRecord>
int
int32 readers = 4;
long
int64 readRequestBytes = 9;
long
int64 readRequestRecords = 10;
long
int64 readTimeoutEvents = 12;
long
int64 sequenceNumber = 2;
int
long
int64 totalBytes = 18;
long
int64 totalLatency = 19;
long
int64 totalRecords = 13;
long
int64 validLatencyRecords = 14;
long
int64 writeRequestBytes = 7;
long
int64 writeRequestRecords = 8;
int
int32 writers = 3;
long
int64 writeTimeoutEvents = 11;
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) final boolean
newBuilder
(MessageLatenciesRecord prototype) protected MessageLatenciesRecord.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static MessageLatenciesRecord
parseDelimitedFrom
(InputStream input) static MessageLatenciesRecord
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MessageLatenciesRecord
parseFrom
(byte[] data) static MessageLatenciesRecord
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MessageLatenciesRecord
parseFrom
(com.google.protobuf.ByteString data) static MessageLatenciesRecord
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MessageLatenciesRecord
parseFrom
(com.google.protobuf.CodedInputStream input) static MessageLatenciesRecord
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MessageLatenciesRecord
parseFrom
(InputStream input) static MessageLatenciesRecord
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MessageLatenciesRecord
parseFrom
(ByteBuffer data) static MessageLatenciesRecord
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MessageLatenciesRecord>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
- Overrides:
newInstance
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getClientID
public long getClientID()int64 clientID = 1;
- Specified by:
getClientID
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The clientID.
-
getSequenceNumber
public long getSequenceNumber()int64 sequenceNumber = 2;
- Specified by:
getSequenceNumber
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The sequenceNumber.
-
getWriters
public int getWriters()int32 writers = 3;
- Specified by:
getWriters
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The writers.
-
getReaders
public int getReaders()int32 readers = 4;
- Specified by:
getReaders
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The readers.
-
getMaxWriters
public int getMaxWriters()int32 maxWriters = 5;
- Specified by:
getMaxWriters
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The maxWriters.
-
getMaxReaders
public int getMaxReaders()int32 maxReaders = 6;
- Specified by:
getMaxReaders
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The maxReaders.
-
getWriteRequestBytes
public long getWriteRequestBytes()int64 writeRequestBytes = 7;
- Specified by:
getWriteRequestBytes
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The writeRequestBytes.
-
getWriteRequestRecords
public long getWriteRequestRecords()int64 writeRequestRecords = 8;
- Specified by:
getWriteRequestRecords
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The writeRequestRecords.
-
getReadRequestBytes
public long getReadRequestBytes()int64 readRequestBytes = 9;
- Specified by:
getReadRequestBytes
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The readRequestBytes.
-
getReadRequestRecords
public long getReadRequestRecords()int64 readRequestRecords = 10;
- Specified by:
getReadRequestRecords
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The readRequestRecords.
-
getWriteTimeoutEvents
public long getWriteTimeoutEvents()int64 writeTimeoutEvents = 11;
- Specified by:
getWriteTimeoutEvents
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The writeTimeoutEvents.
-
getReadTimeoutEvents
public long getReadTimeoutEvents()int64 readTimeoutEvents = 12;
- Specified by:
getReadTimeoutEvents
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The readTimeoutEvents.
-
getTotalRecords
public long getTotalRecords()int64 totalRecords = 13;
- Specified by:
getTotalRecords
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The totalRecords.
-
getValidLatencyRecords
public long getValidLatencyRecords()int64 validLatencyRecords = 14;
- Specified by:
getValidLatencyRecords
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The validLatencyRecords.
-
getLowerLatencyDiscardRecords
public long getLowerLatencyDiscardRecords()int64 lowerLatencyDiscardRecords = 15;
- Specified by:
getLowerLatencyDiscardRecords
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The lowerLatencyDiscardRecords.
-
getHigherLatencyDiscardRecords
public long getHigherLatencyDiscardRecords()int64 higherLatencyDiscardRecords = 16;
- Specified by:
getHigherLatencyDiscardRecords
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The higherLatencyDiscardRecords.
-
getInvalidLatencyRecords
public long getInvalidLatencyRecords()int64 invalidLatencyRecords = 17;
- Specified by:
getInvalidLatencyRecords
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The invalidLatencyRecords.
-
getTotalBytes
public long getTotalBytes()int64 totalBytes = 18;
- Specified by:
getTotalBytes
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The totalBytes.
-
getTotalLatency
public long getTotalLatency()int64 totalLatency = 19;
- Specified by:
getTotalLatency
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The totalLatency.
-
getMinLatency
public long getMinLatency()int64 minLatency = 20;
- Specified by:
getMinLatency
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The minLatency.
-
getMaxLatency
public long getMaxLatency()int64 maxLatency = 21;
- Specified by:
getMaxLatency
in interfaceMessageLatenciesRecordOrBuilder
- Returns:
- The maxLatency.
-
getLatencyCount
public int getLatencyCount()Description copied from interface:MessageLatenciesRecordOrBuilder
map<int64, int64> latency = 22;
- Specified by:
getLatencyCount
in interfaceMessageLatenciesRecordOrBuilder
-
containsLatency
public boolean containsLatency(long key) map<int64, int64> latency = 22;
- Specified by:
containsLatency
in interfaceMessageLatenciesRecordOrBuilder
-
getLatency
Deprecated.UsegetLatencyMap()
instead.- Specified by:
getLatency
in interfaceMessageLatenciesRecordOrBuilder
-
getLatencyMap
map<int64, int64> latency = 22;
- Specified by:
getLatencyMap
in interfaceMessageLatenciesRecordOrBuilder
-
getLatencyOrDefault
public long getLatencyOrDefault(long key, long defaultValue) map<int64, int64> latency = 22;
- Specified by:
getLatencyOrDefault
in interfaceMessageLatenciesRecordOrBuilder
-
getLatencyOrThrow
public long getLatencyOrThrow(long key) map<int64, int64> latency = 22;
- Specified by:
getLatencyOrThrow
in interfaceMessageLatenciesRecordOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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
- Throws:
IOException
-
parseFrom
public static MessageLatenciesRecord parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MessageLatenciesRecord.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-