public static final class LspStatsOuterClass.LspStatsRecord extends com.google.protobuf.GeneratedMessage implements LspStatsOuterClass.LspStatsRecordOrBuilder
LspStatsRecord
LSP statistics record
Modifier and Type | Class and Description |
---|---|
static class |
LspStatsOuterClass.LspStatsRecord.Builder
Protobuf type
LspStatsRecord |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
BYTE_RATE_FIELD_NUMBER |
static int |
BYTES_FIELD_NUMBER |
static int |
COUNTER_NAME_FIELD_NUMBER |
static int |
INSTANCE_IDENTIFIER_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PACKET_RATE_FIELD_NUMBER |
static int |
PACKETS_FIELD_NUMBER |
static com.google.protobuf.Parser<LspStatsOuterClass.LspStatsRecord> |
PARSER |
Modifier and Type | Method and Description |
---|---|
long |
getByteRate()
optional uint64 byte_rate = 7; |
long |
getBytes()
optional uint64 bytes = 5; |
String |
getCounterName()
required string counter_name = 3; |
com.google.protobuf.ByteString |
getCounterNameBytes()
required string counter_name = 3; |
static LspStatsOuterClass.LspStatsRecord |
getDefaultInstance() |
LspStatsOuterClass.LspStatsRecord |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getInstanceIdentifier()
required uint32 instance_identifier = 2; |
String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
long |
getPacketRate()
optional uint64 packet_rate = 6; |
long |
getPackets()
optional uint64 packets = 4; |
com.google.protobuf.Parser<LspStatsOuterClass.LspStatsRecord> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasByteRate()
optional uint64 byte_rate = 7; |
boolean |
hasBytes()
optional uint64 bytes = 5; |
boolean |
hasCounterName()
required string counter_name = 3; |
boolean |
hasInstanceIdentifier()
required uint32 instance_identifier = 2; |
boolean |
hasName()
required string name = 1; |
boolean |
hasPacketRate()
optional uint64 packet_rate = 6; |
boolean |
hasPackets()
optional uint64 packets = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LspStatsOuterClass.LspStatsRecord.Builder |
newBuilder() |
static LspStatsOuterClass.LspStatsRecord.Builder |
newBuilder(LspStatsOuterClass.LspStatsRecord prototype) |
LspStatsOuterClass.LspStatsRecord.Builder |
newBuilderForType() |
protected LspStatsOuterClass.LspStatsRecord.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static LspStatsOuterClass.LspStatsRecord |
parseDelimitedFrom(InputStream input) |
static LspStatsOuterClass.LspStatsRecord |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LspStatsOuterClass.LspStatsRecord |
parseFrom(byte[] data) |
static LspStatsOuterClass.LspStatsRecord |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LspStatsOuterClass.LspStatsRecord |
parseFrom(com.google.protobuf.ByteString data) |
static LspStatsOuterClass.LspStatsRecord |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LspStatsOuterClass.LspStatsRecord |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LspStatsOuterClass.LspStatsRecord |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LspStatsOuterClass.LspStatsRecord |
parseFrom(InputStream input) |
static LspStatsOuterClass.LspStatsRecord |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LspStatsOuterClass.LspStatsRecord.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeString, writeStringNoTag
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<LspStatsOuterClass.LspStatsRecord> PARSER
public static final int NAME_FIELD_NUMBER
public static final int INSTANCE_IDENTIFIER_FIELD_NUMBER
public static final int COUNTER_NAME_FIELD_NUMBER
public static final int PACKETS_FIELD_NUMBER
public static final int BYTES_FIELD_NUMBER
public static final int PACKET_RATE_FIELD_NUMBER
public static final int BYTE_RATE_FIELD_NUMBER
public static LspStatsOuterClass.LspStatsRecord getDefaultInstance()
public LspStatsOuterClass.LspStatsRecord getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<LspStatsOuterClass.LspStatsRecord> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasName()
required string name = 1;
Name of the LSP
hasName
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public String getName()
required string name = 1;
Name of the LSP
getName
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;
Name of the LSP
getNameBytes
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public boolean hasInstanceIdentifier()
required uint32 instance_identifier = 2;
Instance Identifier for cases when RPD creates multiple instances
hasInstanceIdentifier
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public int getInstanceIdentifier()
required uint32 instance_identifier = 2;
Instance Identifier for cases when RPD creates multiple instances
getInstanceIdentifier
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public boolean hasCounterName()
required string counter_name = 3;
Name of the counter. This is useful when an LSP has multiple counters. When an LSP is resignalled, it is possible that a new counter is created in the hardware.
hasCounterName
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public String getCounterName()
required string counter_name = 3;
Name of the counter. This is useful when an LSP has multiple counters. When an LSP is resignalled, it is possible that a new counter is created in the hardware.
getCounterName
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public com.google.protobuf.ByteString getCounterNameBytes()
required string counter_name = 3;
Name of the counter. This is useful when an LSP has multiple counters. When an LSP is resignalled, it is possible that a new counter is created in the hardware.
getCounterNameBytes
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public boolean hasPackets()
optional uint64 packets = 4;
The total number of packets
hasPackets
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public long getPackets()
optional uint64 packets = 4;
The total number of packets
getPackets
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public boolean hasBytes()
optional uint64 bytes = 5;
The total number of bytes
hasBytes
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public long getBytes()
optional uint64 bytes = 5;
The total number of bytes
getBytes
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public boolean hasPacketRate()
optional uint64 packet_rate = 6;
Packet rate computed over the most recent 3 second interval
hasPacketRate
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public long getPacketRate()
optional uint64 packet_rate = 6;
Packet rate computed over the most recent 3 second interval
getPacketRate
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public boolean hasByteRate()
optional uint64 byte_rate = 7;
Byte rate computed over the most recent 3 second interval
hasByteRate
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public long getByteRate()
optional uint64 byte_rate = 7;
Byte rate computed over the most recent 3 second interval
getByteRate
in interface LspStatsOuterClass.LspStatsRecordOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static LspStatsOuterClass.LspStatsRecord parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LspStatsOuterClass.LspStatsRecord parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LspStatsOuterClass.LspStatsRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LspStatsOuterClass.LspStatsRecord parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LspStatsOuterClass.LspStatsRecord parseFrom(InputStream input) throws IOException
IOException
public static LspStatsOuterClass.LspStatsRecord parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static LspStatsOuterClass.LspStatsRecord parseDelimitedFrom(InputStream input) throws IOException
IOException
public static LspStatsOuterClass.LspStatsRecord parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static LspStatsOuterClass.LspStatsRecord parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static LspStatsOuterClass.LspStatsRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static LspStatsOuterClass.LspStatsRecord.Builder newBuilder()
public LspStatsOuterClass.LspStatsRecord.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static LspStatsOuterClass.LspStatsRecord.Builder newBuilder(LspStatsOuterClass.LspStatsRecord prototype)
public LspStatsOuterClass.LspStatsRecord.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected LspStatsOuterClass.LspStatsRecord.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2020. All rights reserved.