Class Port.InterfaceStats.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessage.Builder<Port.InterfaceStats.Builder>
-
- org.opennms.netmgt.telemetry.protocols.jti.adapter.proto.Port.InterfaceStats.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,Port.InterfaceStatsOrBuilder
- Enclosing class:
- Port.InterfaceStats
public static final class Port.InterfaceStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<Port.InterfaceStats.Builder> implements Port.InterfaceStatsOrBuilder
Protobuf typeInterfaceStats
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Port.InterfaceStats
build()
Port.InterfaceStats
buildPartial()
Port.InterfaceStats.Builder
clear()
Port.InterfaceStats.Builder
clearIf1SecOctets()
required uint64 if_1sec_octets = 4;
Port.InterfaceStats.Builder
clearIf1SecPkts()
required uint64 if_1sec_pkts = 3;
Port.InterfaceStats.Builder
clearIfBcPkts()
required uint64 if_bc_pkts = 7;
Port.InterfaceStats.Builder
clearIfMcPkts()
required uint64 if_mc_pkts = 6;
Port.InterfaceStats.Builder
clearIfOctets()
required uint64 if_octets = 2;
Port.InterfaceStats.Builder
clearIfPkts()
required uint64 if_pkts = 1;
Port.InterfaceStats.Builder
clearIfUcPkts()
required uint64 if_uc_pkts = 5;
Port.InterfaceStats.Builder
clone()
Port.InterfaceStats
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getIf1SecOctets()
required uint64 if_1sec_octets = 4;
long
getIf1SecPkts()
required uint64 if_1sec_pkts = 3;
long
getIfBcPkts()
required uint64 if_bc_pkts = 7;
long
getIfMcPkts()
required uint64 if_mc_pkts = 6;
long
getIfOctets()
required uint64 if_octets = 2;
long
getIfPkts()
required uint64 if_pkts = 1;
long
getIfUcPkts()
required uint64 if_uc_pkts = 5;
boolean
hasIf1SecOctets()
required uint64 if_1sec_octets = 4;
boolean
hasIf1SecPkts()
required uint64 if_1sec_pkts = 3;
boolean
hasIfBcPkts()
required uint64 if_bc_pkts = 7;
boolean
hasIfMcPkts()
required uint64 if_mc_pkts = 6;
boolean
hasIfOctets()
required uint64 if_octets = 2;
boolean
hasIfPkts()
required uint64 if_pkts = 1;
boolean
hasIfUcPkts()
required uint64 if_uc_pkts = 5;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Port.InterfaceStats.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Port.InterfaceStats.Builder
mergeFrom(com.google.protobuf.Message other)
Port.InterfaceStats.Builder
mergeFrom(Port.InterfaceStats other)
Port.InterfaceStats.Builder
setIf1SecOctets(long value)
required uint64 if_1sec_octets = 4;
Port.InterfaceStats.Builder
setIf1SecPkts(long value)
required uint64 if_1sec_pkts = 3;
Port.InterfaceStats.Builder
setIfBcPkts(long value)
required uint64 if_bc_pkts = 7;
Port.InterfaceStats.Builder
setIfMcPkts(long value)
required uint64 if_mc_pkts = 6;
Port.InterfaceStats.Builder
setIfOctets(long value)
required uint64 if_octets = 2;
Port.InterfaceStats.Builder
setIfPkts(long value)
required uint64 if_pkts = 1;
Port.InterfaceStats.Builder
setIfUcPkts(long value)
required uint64 if_uc_pkts = 5;
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Port.InterfaceStats.Builder>
-
clear
public Port.InterfaceStats.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Port.InterfaceStats.Builder>
-
clone
public Port.InterfaceStats.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessage.Builder<Port.InterfaceStats.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Port.InterfaceStats.Builder>
-
getDefaultInstanceForType
public Port.InterfaceStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Port.InterfaceStats build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Port.InterfaceStats buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Port.InterfaceStats.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Port.InterfaceStats.Builder>
-
mergeFrom
public Port.InterfaceStats.Builder mergeFrom(Port.InterfaceStats other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Port.InterfaceStats.Builder>
-
mergeFrom
public Port.InterfaceStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Port.InterfaceStats.Builder>
- Throws:
java.io.IOException
-
hasIfPkts
public boolean hasIfPkts()
required uint64 if_pkts = 1;
Counter: the total number of packets sent/rcvd by this interface
- Specified by:
hasIfPkts
in interfacePort.InterfaceStatsOrBuilder
-
getIfPkts
public long getIfPkts()
required uint64 if_pkts = 1;
Counter: the total number of packets sent/rcvd by this interface
- Specified by:
getIfPkts
in interfacePort.InterfaceStatsOrBuilder
-
setIfPkts
public Port.InterfaceStats.Builder setIfPkts(long value)
required uint64 if_pkts = 1;
Counter: the total number of packets sent/rcvd by this interface
-
clearIfPkts
public Port.InterfaceStats.Builder clearIfPkts()
required uint64 if_pkts = 1;
Counter: the total number of packets sent/rcvd by this interface
-
hasIfOctets
public boolean hasIfOctets()
required uint64 if_octets = 2;
Counter: the total number of bytes sent/rcvd by this interface
- Specified by:
hasIfOctets
in interfacePort.InterfaceStatsOrBuilder
-
getIfOctets
public long getIfOctets()
required uint64 if_octets = 2;
Counter: the total number of bytes sent/rcvd by this interface
- Specified by:
getIfOctets
in interfacePort.InterfaceStatsOrBuilder
-
setIfOctets
public Port.InterfaceStats.Builder setIfOctets(long value)
required uint64 if_octets = 2;
Counter: the total number of bytes sent/rcvd by this interface
-
clearIfOctets
public Port.InterfaceStats.Builder clearIfOctets()
required uint64 if_octets = 2;
Counter: the total number of bytes sent/rcvd by this interface
-
hasIf1SecPkts
public boolean hasIf1SecPkts()
required uint64 if_1sec_pkts = 3;
Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)
- Specified by:
hasIf1SecPkts
in interfacePort.InterfaceStatsOrBuilder
-
getIf1SecPkts
public long getIf1SecPkts()
required uint64 if_1sec_pkts = 3;
Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)
- Specified by:
getIf1SecPkts
in interfacePort.InterfaceStatsOrBuilder
-
setIf1SecPkts
public Port.InterfaceStats.Builder setIf1SecPkts(long value)
required uint64 if_1sec_pkts = 3;
Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)
-
clearIf1SecPkts
public Port.InterfaceStats.Builder clearIf1SecPkts()
required uint64 if_1sec_pkts = 3;
Rate: the rate at which packets are sent/rcvd by this interface (in packets/sec)
-
hasIf1SecOctets
public boolean hasIf1SecOctets()
required uint64 if_1sec_octets = 4;
Rate: the rate at which bytes are sent/rcvd by this interface
- Specified by:
hasIf1SecOctets
in interfacePort.InterfaceStatsOrBuilder
-
getIf1SecOctets
public long getIf1SecOctets()
required uint64 if_1sec_octets = 4;
Rate: the rate at which bytes are sent/rcvd by this interface
- Specified by:
getIf1SecOctets
in interfacePort.InterfaceStatsOrBuilder
-
setIf1SecOctets
public Port.InterfaceStats.Builder setIf1SecOctets(long value)
required uint64 if_1sec_octets = 4;
Rate: the rate at which bytes are sent/rcvd by this interface
-
clearIf1SecOctets
public Port.InterfaceStats.Builder clearIf1SecOctets()
required uint64 if_1sec_octets = 4;
Rate: the rate at which bytes are sent/rcvd by this interface
-
hasIfUcPkts
public boolean hasIfUcPkts()
required uint64 if_uc_pkts = 5;
Counter: total no of unicast packets sent/rcvd by this interface
- Specified by:
hasIfUcPkts
in interfacePort.InterfaceStatsOrBuilder
-
getIfUcPkts
public long getIfUcPkts()
required uint64 if_uc_pkts = 5;
Counter: total no of unicast packets sent/rcvd by this interface
- Specified by:
getIfUcPkts
in interfacePort.InterfaceStatsOrBuilder
-
setIfUcPkts
public Port.InterfaceStats.Builder setIfUcPkts(long value)
required uint64 if_uc_pkts = 5;
Counter: total no of unicast packets sent/rcvd by this interface
-
clearIfUcPkts
public Port.InterfaceStats.Builder clearIfUcPkts()
required uint64 if_uc_pkts = 5;
Counter: total no of unicast packets sent/rcvd by this interface
-
hasIfMcPkts
public boolean hasIfMcPkts()
required uint64 if_mc_pkts = 6;
Counter: total no of multicast packets sent/rcvd by this interface
- Specified by:
hasIfMcPkts
in interfacePort.InterfaceStatsOrBuilder
-
getIfMcPkts
public long getIfMcPkts()
required uint64 if_mc_pkts = 6;
Counter: total no of multicast packets sent/rcvd by this interface
- Specified by:
getIfMcPkts
in interfacePort.InterfaceStatsOrBuilder
-
setIfMcPkts
public Port.InterfaceStats.Builder setIfMcPkts(long value)
required uint64 if_mc_pkts = 6;
Counter: total no of multicast packets sent/rcvd by this interface
-
clearIfMcPkts
public Port.InterfaceStats.Builder clearIfMcPkts()
required uint64 if_mc_pkts = 6;
Counter: total no of multicast packets sent/rcvd by this interface
-
hasIfBcPkts
public boolean hasIfBcPkts()
required uint64 if_bc_pkts = 7;
Counter: total no of broadcast packets sent/rcvd by this interface
- Specified by:
hasIfBcPkts
in interfacePort.InterfaceStatsOrBuilder
-
getIfBcPkts
public long getIfBcPkts()
required uint64 if_bc_pkts = 7;
Counter: total no of broadcast packets sent/rcvd by this interface
- Specified by:
getIfBcPkts
in interfacePort.InterfaceStatsOrBuilder
-
setIfBcPkts
public Port.InterfaceStats.Builder setIfBcPkts(long value)
required uint64 if_bc_pkts = 7;
Counter: total no of broadcast packets sent/rcvd by this interface
-
clearIfBcPkts
public Port.InterfaceStats.Builder clearIfBcPkts()
required uint64 if_bc_pkts = 7;
Counter: total no of broadcast packets sent/rcvd by this interface
-
-