Package org.opennms.netmgt.flows.elastic
Class FlowDocument
- java.lang.Object
-
- org.opennms.netmgt.flows.elastic.FlowDocument
-
public class FlowDocument extends Object
Member variables are sorted by the value of the @SerializedName annotation.
-
-
Constructor Summary
Constructors Constructor Description FlowDocument()
FlowDocument(Flow flow)
-
Method Summary
-
-
-
Constructor Detail
-
FlowDocument
public FlowDocument(Flow flow)
-
FlowDocument
public FlowDocument()
-
-
Method Detail
-
addHost
public void addHost(String host)
-
getFlow
public Flow getFlow()
-
setFlow
public void setFlow(Flow flow)
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public void setTimestamp(long timestamp)
-
getClockCorrection
public long getClockCorrection()
-
setClockCorrection
public void setClockCorrection(long clockCorrection)
-
getVersion
public Integer getVersion()
-
setVersion
public void setVersion(Integer version)
-
getHost
public String getHost()
-
setHost
public void setHost(String host)
-
getLocation
public String getLocation()
-
setLocation
public void setLocation(String location)
-
getApplication
public String getApplication()
-
setApplication
public void setApplication(String application)
-
getBytes
public Long getBytes()
-
setBytes
public void setBytes(Long bytes)
-
getConvoKey
public String getConvoKey()
-
setConvoKey
public void setConvoKey(String convoKey)
-
getDirection
public Direction getDirection()
-
setDirection
public void setDirection(Direction direction)
-
getDstAddr
public String getDstAddr()
-
setDstAddr
public void setDstAddr(String dstAddr)
-
getDstAddrHostname
public String getDstAddrHostname()
-
setDstAddrHostname
public void setDstAddrHostname(String dstAddrHostname)
-
getDstAs
public Long getDstAs()
-
setDstAs
public void setDstAs(Long dstAs)
-
getDstLocality
public Locality getDstLocality()
-
setDstLocality
public void setDstLocality(Locality dstLocality)
-
getDstMaskLen
public Integer getDstMaskLen()
-
setDstMaskLen
public void setDstMaskLen(Integer dstMaskLen)
-
getDstPort
public Integer getDstPort()
-
setDstPort
public void setDstPort(Integer dstPort)
-
getEngineId
public Integer getEngineId()
-
setEngineId
public void setEngineId(Integer engineId)
-
getEngineType
public Integer getEngineType()
-
setEngineType
public void setEngineType(Integer engineType)
-
getFirstSwitched
public Long getFirstSwitched()
-
setFirstSwitched
public void setFirstSwitched(Long firstSwitched)
-
getFlowLocality
public Locality getFlowLocality()
-
setFlowLocality
public void setFlowLocality(Locality flowLocality)
-
getFlowRecords
public int getFlowRecords()
-
setFlowRecords
public void setFlowRecords(int flowRecords)
-
getFlowSeqNum
public long getFlowSeqNum()
-
setFlowSeqNum
public void setFlowSeqNum(long flowSeqNum)
-
getInputSnmp
public Integer getInputSnmp()
-
setInputSnmp
public void setInputSnmp(Integer inputSnmp)
-
getIpProtocolVersion
public Integer getIpProtocolVersion()
-
setIpProtocolVersion
public void setIpProtocolVersion(Integer ipProtocolVersion)
-
getLastSwitched
public Long getLastSwitched()
-
setLastSwitched
public void setLastSwitched(Long lastSwitched)
-
getNextHop
public String getNextHop()
-
setNextHop
public void setNextHop(String nextHop)
-
getNextHopHostname
public String getNextHopHostname()
-
setNextHopHostname
public void setNextHopHostname(String nextHopHostname)
-
getOutputSnmp
public Integer getOutputSnmp()
-
setOutputSnmp
public void setOutputSnmp(Integer outputSnmp)
-
getPackets
public Long getPackets()
-
setPackets
public void setPackets(Long packets)
-
getProtocol
public Integer getProtocol()
-
setProtocol
public void setProtocol(Integer protocol)
-
getSamplingAlgorithm
public SamplingAlgorithm getSamplingAlgorithm()
-
setSamplingAlgorithm
public void setSamplingAlgorithm(SamplingAlgorithm samplingAlgorithm)
-
getSamplingInterval
public Double getSamplingInterval()
-
setSamplingInterval
public void setSamplingInterval(Double samplingInterval)
-
getSrcAddr
public String getSrcAddr()
-
setSrcAddr
public void setSrcAddr(String srcAddr)
-
getSrcAddrHostname
public String getSrcAddrHostname()
-
setSrcAddrHostname
public void setSrcAddrHostname(String srcAddrHostname)
-
getSrcAs
public Long getSrcAs()
-
setSrcAs
public void setSrcAs(Long srcAs)
-
getSrcLocality
public Locality getSrcLocality()
-
setSrcLocality
public void setSrcLocality(Locality srcLocality)
-
getSrcMaskLen
public Integer getSrcMaskLen()
-
setSrcMaskLen
public void setSrcMaskLen(Integer srcMaskLen)
-
getSrcPort
public Integer getSrcPort()
-
setSrcPort
public void setSrcPort(Integer srcPort)
-
getTcpFlags
public Integer getTcpFlags()
-
setTcpFlags
public void setTcpFlags(Integer tcpFlags)
-
getDeltaSwitched
public Long getDeltaSwitched()
-
setDeltaSwitched
public void setDeltaSwitched(Long deltaSwitched)
-
getTos
public Integer getTos()
-
setTos
public void setTos(Integer tos)
-
getEcn
public Integer getEcn()
-
getDscp
public Integer getDscp()
-
getNetflowVersion
public NetflowVersion getNetflowVersion()
-
setNetflowVersion
public void setNetflowVersion(NetflowVersion netflowVersion)
-
getVlan
public String getVlan()
-
setVlan
public void setVlan(String vlan)
-
getNodeDst
public NodeDocument getNodeDst()
-
setNodeDst
public void setNodeDst(NodeDocument nodeDst)
-
getNodeExporter
public NodeDocument getNodeExporter()
-
setNodeExporter
public void setNodeExporter(NodeDocument nodeExporter)
-
getNodeSrc
public NodeDocument getNodeSrc()
-
setNodeSrc
public void setNodeSrc(NodeDocument nodeSrc)
-
from
public static FlowDocument from(Flow flow)
-
buildEnrichedFlow
public static EnrichedFlow buildEnrichedFlow(FlowDocument flowDocument)
-
-