public static final class LspStatsOuterClass.LspStatsRecord.Builder extends com.google.protobuf.GeneratedMessage.Builder<LspStatsOuterClass.LspStatsRecord.Builder> implements LspStatsOuterClass.LspStatsRecordOrBuilder
LspStatsRecord
LSP statistics record
Modifier and Type | Method and Description |
---|---|
LspStatsOuterClass.LspStatsRecord |
build() |
LspStatsOuterClass.LspStatsRecord |
buildPartial() |
LspStatsOuterClass.LspStatsRecord.Builder |
clear() |
LspStatsOuterClass.LspStatsRecord.Builder |
clearByteRate()
optional uint64 byte_rate = 7; |
LspStatsOuterClass.LspStatsRecord.Builder |
clearBytes()
optional uint64 bytes = 5; |
LspStatsOuterClass.LspStatsRecord.Builder |
clearCounterName()
required string counter_name = 3; |
LspStatsOuterClass.LspStatsRecord.Builder |
clearInstanceIdentifier()
required uint32 instance_identifier = 2; |
LspStatsOuterClass.LspStatsRecord.Builder |
clearName()
required string name = 1; |
LspStatsOuterClass.LspStatsRecord.Builder |
clearPacketRate()
optional uint64 packet_rate = 6; |
LspStatsOuterClass.LspStatsRecord.Builder |
clearPackets()
optional uint64 packets = 4; |
LspStatsOuterClass.LspStatsRecord.Builder |
clone() |
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; |
LspStatsOuterClass.LspStatsRecord |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
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() |
LspStatsOuterClass.LspStatsRecord.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LspStatsOuterClass.LspStatsRecord.Builder |
mergeFrom(LspStatsOuterClass.LspStatsRecord other) |
LspStatsOuterClass.LspStatsRecord.Builder |
mergeFrom(com.google.protobuf.Message other) |
LspStatsOuterClass.LspStatsRecord.Builder |
setByteRate(long value)
optional uint64 byte_rate = 7; |
LspStatsOuterClass.LspStatsRecord.Builder |
setBytes(long value)
optional uint64 bytes = 5; |
LspStatsOuterClass.LspStatsRecord.Builder |
setCounterName(String value)
required string counter_name = 3; |
LspStatsOuterClass.LspStatsRecord.Builder |
setCounterNameBytes(com.google.protobuf.ByteString value)
required string counter_name = 3; |
LspStatsOuterClass.LspStatsRecord.Builder |
setInstanceIdentifier(int value)
required uint32 instance_identifier = 2; |
LspStatsOuterClass.LspStatsRecord.Builder |
setName(String value)
required string name = 1; |
LspStatsOuterClass.LspStatsRecord.Builder |
setNameBytes(com.google.protobuf.ByteString value)
required string name = 1; |
LspStatsOuterClass.LspStatsRecord.Builder |
setPacketRate(long value)
optional uint64 packet_rate = 6; |
LspStatsOuterClass.LspStatsRecord.Builder |
setPackets(long value)
optional uint64 packets = 4; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<LspStatsOuterClass.LspStatsRecord.Builder>
public LspStatsOuterClass.LspStatsRecord.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<LspStatsOuterClass.LspStatsRecord.Builder>
public LspStatsOuterClass.LspStatsRecord.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<LspStatsOuterClass.LspStatsRecord.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<LspStatsOuterClass.LspStatsRecord.Builder>
public LspStatsOuterClass.LspStatsRecord getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LspStatsOuterClass.LspStatsRecord build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LspStatsOuterClass.LspStatsRecord buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LspStatsOuterClass.LspStatsRecord.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LspStatsOuterClass.LspStatsRecord.Builder>
public LspStatsOuterClass.LspStatsRecord.Builder mergeFrom(LspStatsOuterClass.LspStatsRecord other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<LspStatsOuterClass.LspStatsRecord.Builder>
public LspStatsOuterClass.LspStatsRecord.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LspStatsOuterClass.LspStatsRecord.Builder>
IOException
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 LspStatsOuterClass.LspStatsRecord.Builder setName(String value)
required string name = 1;
Name of the LSP
public LspStatsOuterClass.LspStatsRecord.Builder clearName()
required string name = 1;
Name of the LSP
public LspStatsOuterClass.LspStatsRecord.Builder setNameBytes(com.google.protobuf.ByteString value)
required string name = 1;
Name of the LSP
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 LspStatsOuterClass.LspStatsRecord.Builder setInstanceIdentifier(int value)
required uint32 instance_identifier = 2;
Instance Identifier for cases when RPD creates multiple instances
public LspStatsOuterClass.LspStatsRecord.Builder clearInstanceIdentifier()
required uint32 instance_identifier = 2;
Instance Identifier for cases when RPD creates multiple instances
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 LspStatsOuterClass.LspStatsRecord.Builder setCounterName(String value)
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.
public LspStatsOuterClass.LspStatsRecord.Builder clearCounterName()
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.
public LspStatsOuterClass.LspStatsRecord.Builder setCounterNameBytes(com.google.protobuf.ByteString value)
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.
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 LspStatsOuterClass.LspStatsRecord.Builder setPackets(long value)
optional uint64 packets = 4;
The total number of packets
public LspStatsOuterClass.LspStatsRecord.Builder clearPackets()
optional uint64 packets = 4;
The total number of packets
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 LspStatsOuterClass.LspStatsRecord.Builder setBytes(long value)
optional uint64 bytes = 5;
The total number of bytes
public LspStatsOuterClass.LspStatsRecord.Builder clearBytes()
optional uint64 bytes = 5;
The total number of bytes
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 LspStatsOuterClass.LspStatsRecord.Builder setPacketRate(long value)
optional uint64 packet_rate = 6;
Packet rate computed over the most recent 3 second interval
public LspStatsOuterClass.LspStatsRecord.Builder clearPacketRate()
optional uint64 packet_rate = 6;
Packet rate computed over the most recent 3 second interval
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 LspStatsOuterClass.LspStatsRecord.Builder setByteRate(long value)
optional uint64 byte_rate = 7;
Byte rate computed over the most recent 3 second interval
public LspStatsOuterClass.LspStatsRecord.Builder clearByteRate()
optional uint64 byte_rate = 7;
Byte rate computed over the most recent 3 second interval
Copyright © 2017. All rights reserved.