Class FlowMessage
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.opennms.netmgt.telemetry.protocols.netflow.transport.FlowMessage
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,FlowMessageOrBuilder
public final class FlowMessage extends com.google.protobuf.GeneratedMessageV3 implements FlowMessageOrBuilder
Protobuf typeFlowMessage
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlowMessage.Builder
Protobuf typeFlowMessage
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static FlowMessage
getDefaultInstance()
FlowMessage
getDefaultInstanceForType()
com.google.protobuf.UInt64Value
getDeltaSwitched()
Unix timestamp in ms at which the previous exported packet-com.google.protobuf.UInt64ValueOrBuilder
getDeltaSwitchedOrBuilder()
Unix timestamp in ms at which the previous exported packet-static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Direction
getDirection()
Direction of the flow (egress vs ingress)int
getDirectionValue()
Direction of the flow (egress vs ingress)java.lang.String
getDstAddress()
Destination address.com.google.protobuf.ByteString
getDstAddressBytes()
Destination address.com.google.protobuf.UInt64Value
getDstAs()
Destination autonomous system (AS).com.google.protobuf.UInt64ValueOrBuilder
getDstAsOrBuilder()
Destination autonomous system (AS).java.lang.String
getDstHostname()
Destination address hostname.com.google.protobuf.ByteString
getDstHostnameBytes()
Destination address hostname.com.google.protobuf.UInt32Value
getDstMaskLen()
The number of contiguous bits in the source address subnet mask.com.google.protobuf.UInt32ValueOrBuilder
getDstMaskLenOrBuilder()
The number of contiguous bits in the source address subnet mask.com.google.protobuf.UInt32Value
getDstPort()
Destination port.com.google.protobuf.UInt32ValueOrBuilder
getDstPortOrBuilder()
Destination port.com.google.protobuf.UInt32Value
getEngineId()
Slot number of the flow-switching engine.com.google.protobuf.UInt32ValueOrBuilder
getEngineIdOrBuilder()
Slot number of the flow-switching engine.com.google.protobuf.UInt32Value
getEngineType()
Type of flow-switching engine.com.google.protobuf.UInt32ValueOrBuilder
getEngineTypeOrBuilder()
Type of flow-switching engine.com.google.protobuf.UInt64Value
getFirstSwitched()
-associated with this flow was switched.com.google.protobuf.UInt64ValueOrBuilder
getFirstSwitchedOrBuilder()
-associated with this flow was switched.com.google.protobuf.UInt64Value
getFlowSeqNum()
Flow packet sequence number.com.google.protobuf.UInt64ValueOrBuilder
getFlowSeqNumOrBuilder()
Flow packet sequence number.com.google.protobuf.UInt32Value
getInputSnmpIfindex()
Input SNMP ifIndex.com.google.protobuf.UInt32ValueOrBuilder
getInputSnmpIfindexOrBuilder()
Input SNMP ifIndex.com.google.protobuf.UInt32Value
getIpProtocolVersion()
IPv4 vs IPv6.com.google.protobuf.UInt32ValueOrBuilder
getIpProtocolVersionOrBuilder()
IPv4 vs IPv6.com.google.protobuf.UInt64Value
getLastSwitched()
-associated with this flow was switched.com.google.protobuf.UInt64ValueOrBuilder
getLastSwitchedOrBuilder()
-associated with this flow was switched.NetflowVersion
getNetflowVersion()
Netflow versionint
getNetflowVersionValue()
Netflow versionjava.lang.String
getNextHopAddress()
Next hop IpAddress.com.google.protobuf.ByteString
getNextHopAddressBytes()
Next hop IpAddress.java.lang.String
getNextHopHostname()
Next hop hostname.com.google.protobuf.ByteString
getNextHopHostnameBytes()
Next hop hostname.java.lang.String
getNodeIdentifier()
node lookup identifier.com.google.protobuf.ByteString
getNodeIdentifierBytes()
node lookup identifier.com.google.protobuf.UInt64Value
getNumBytes()
Number of bytes transferred in the flowcom.google.protobuf.UInt64ValueOrBuilder
getNumBytesOrBuilder()
Number of bytes transferred in the flowcom.google.protobuf.UInt32Value
getNumFlowRecords()
Number of flow records in the associated packet.com.google.protobuf.UInt32ValueOrBuilder
getNumFlowRecordsOrBuilder()
Number of flow records in the associated packet.com.google.protobuf.UInt64Value
getNumPackets()
Number of packets in the flow.com.google.protobuf.UInt64ValueOrBuilder
getNumPacketsOrBuilder()
Number of packets in the flow.com.google.protobuf.UInt32Value
getOutputSnmpIfindex()
Output SNMP ifIndex.com.google.protobuf.UInt32ValueOrBuilder
getOutputSnmpIfindexOrBuilder()
Output SNMP ifIndex.com.google.protobuf.Parser<FlowMessage>
getParserForType()
com.google.protobuf.UInt32Value
getProtocol()
IP protocol number i.e 6 for TCP, 17 for UDPcom.google.protobuf.UInt32ValueOrBuilder
getProtocolOrBuilder()
IP protocol number i.e 6 for TCP, 17 for UDPSamplingAlgorithm
getSamplingAlgorithm()
Sampling algorithm ID.int
getSamplingAlgorithmValue()
Sampling algorithm ID.com.google.protobuf.DoubleValue
getSamplingInterval()
Sampling interval.com.google.protobuf.DoubleValueOrBuilder
getSamplingIntervalOrBuilder()
Sampling interval.int
getSerializedSize()
java.lang.String
getSrcAddress()
Source address.com.google.protobuf.ByteString
getSrcAddressBytes()
Source address.com.google.protobuf.UInt64Value
getSrcAs()
Source AS number.com.google.protobuf.UInt64ValueOrBuilder
getSrcAsOrBuilder()
Source AS number.java.lang.String
getSrcHostname()
Source hostname.com.google.protobuf.ByteString
getSrcHostnameBytes()
Source hostname.com.google.protobuf.UInt32Value
getSrcMaskLen()
The number of contiguous bits in the destination address subnet mask.com.google.protobuf.UInt32ValueOrBuilder
getSrcMaskLenOrBuilder()
The number of contiguous bits in the destination address subnet mask.com.google.protobuf.UInt32Value
getSrcPort()
Source port.com.google.protobuf.UInt32ValueOrBuilder
getSrcPortOrBuilder()
Source port.com.google.protobuf.UInt32Value
getTcpFlags()
TCP Flags.com.google.protobuf.UInt32ValueOrBuilder
getTcpFlagsOrBuilder()
TCP Flags.long
getTimestamp()
Flow timestamp in milliseconds.com.google.protobuf.UInt32Value
getTos()
TOScom.google.protobuf.UInt32ValueOrBuilder
getTosOrBuilder()
TOScom.google.protobuf.UnknownFieldSet
getUnknownFields()
com.google.protobuf.UInt32Value
getVlan()
VLAN ID.com.google.protobuf.UInt32ValueOrBuilder
getVlanOrBuilder()
VLAN ID.boolean
hasDeltaSwitched()
Unix timestamp in ms at which the previous exported packet-boolean
hasDstAs()
Destination autonomous system (AS).boolean
hasDstMaskLen()
The number of contiguous bits in the source address subnet mask.boolean
hasDstPort()
Destination port.boolean
hasEngineId()
Slot number of the flow-switching engine.boolean
hasEngineType()
Type of flow-switching engine.boolean
hasFirstSwitched()
-associated with this flow was switched.boolean
hasFlowSeqNum()
Flow packet sequence number.int
hashCode()
boolean
hasInputSnmpIfindex()
Input SNMP ifIndex.boolean
hasIpProtocolVersion()
IPv4 vs IPv6.boolean
hasLastSwitched()
-associated with this flow was switched.boolean
hasNumBytes()
Number of bytes transferred in the flowboolean
hasNumFlowRecords()
Number of flow records in the associated packet.boolean
hasNumPackets()
Number of packets in the flow.boolean
hasOutputSnmpIfindex()
Output SNMP ifIndex.boolean
hasProtocol()
IP protocol number i.e 6 for TCP, 17 for UDPboolean
hasSamplingInterval()
Sampling interval.boolean
hasSrcAs()
Source AS number.boolean
hasSrcMaskLen()
The number of contiguous bits in the destination address subnet mask.boolean
hasSrcPort()
Source port.boolean
hasTcpFlags()
TCP Flags.boolean
hasTos()
TOSboolean
hasVlan()
VLAN ID.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static FlowMessage.Builder
newBuilder()
static FlowMessage.Builder
newBuilder(FlowMessage prototype)
FlowMessage.Builder
newBuilderForType()
protected FlowMessage.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static FlowMessage
parseDelimitedFrom(java.io.InputStream input)
static FlowMessage
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FlowMessage
parseFrom(byte[] data)
static FlowMessage
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FlowMessage
parseFrom(com.google.protobuf.ByteString data)
static FlowMessage
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FlowMessage
parseFrom(com.google.protobuf.CodedInputStream input)
static FlowMessage
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FlowMessage
parseFrom(java.io.InputStream input)
static FlowMessage
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FlowMessage
parseFrom(java.nio.ByteBuffer data)
static FlowMessage
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<FlowMessage>
parser()
FlowMessage.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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
-
-
-
-
Field Detail
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUM_BYTES_FIELD_NUMBER
public static final int NUM_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIRECTION_FIELD_NUMBER
public static final int DIRECTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DST_ADDRESS_FIELD_NUMBER
public static final int DST_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DST_HOSTNAME_FIELD_NUMBER
public static final int DST_HOSTNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DST_AS_FIELD_NUMBER
public static final int DST_AS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DST_MASK_LEN_FIELD_NUMBER
public static final int DST_MASK_LEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DST_PORT_FIELD_NUMBER
public static final int DST_PORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENGINE_ID_FIELD_NUMBER
public static final int ENGINE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENGINE_TYPE_FIELD_NUMBER
public static final int ENGINE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELTA_SWITCHED_FIELD_NUMBER
public static final int DELTA_SWITCHED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIRST_SWITCHED_FIELD_NUMBER
public static final int FIRST_SWITCHED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_SWITCHED_FIELD_NUMBER
public static final int LAST_SWITCHED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUM_FLOW_RECORDS_FIELD_NUMBER
public static final int NUM_FLOW_RECORDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUM_PACKETS_FIELD_NUMBER
public static final int NUM_PACKETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLOW_SEQ_NUM_FIELD_NUMBER
public static final int FLOW_SEQ_NUM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_SNMP_IFINDEX_FIELD_NUMBER
public static final int INPUT_SNMP_IFINDEX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTPUT_SNMP_IFINDEX_FIELD_NUMBER
public static final int OUTPUT_SNMP_IFINDEX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IP_PROTOCOL_VERSION_FIELD_NUMBER
public static final int IP_PROTOCOL_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEXT_HOP_ADDRESS_FIELD_NUMBER
public static final int NEXT_HOP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEXT_HOP_HOSTNAME_FIELD_NUMBER
public static final int NEXT_HOP_HOSTNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SAMPLING_ALGORITHM_FIELD_NUMBER
public static final int SAMPLING_ALGORITHM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SAMPLING_INTERVAL_FIELD_NUMBER
public static final int SAMPLING_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SRC_ADDRESS_FIELD_NUMBER
public static final int SRC_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SRC_HOSTNAME_FIELD_NUMBER
public static final int SRC_HOSTNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SRC_AS_FIELD_NUMBER
public static final int SRC_AS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SRC_MASK_LEN_FIELD_NUMBER
public static final int SRC_MASK_LEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SRC_PORT_FIELD_NUMBER
public static final int SRC_PORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TCP_FLAGS_FIELD_NUMBER
public static final int TCP_FLAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOS_FIELD_NUMBER
public static final int TOS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETFLOW_VERSION_FIELD_NUMBER
public static final int NETFLOW_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VLAN_FIELD_NUMBER
public static final int VLAN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_IDENTIFIER_FIELD_NUMBER
public static final int NODE_IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getTimestamp
public long getTimestamp()
Flow timestamp in milliseconds.
uint64 timestamp = 1;
- Specified by:
getTimestamp
in interfaceFlowMessageOrBuilder
-
hasNumBytes
public boolean hasNumBytes()
Number of bytes transferred in the flow
.google.protobuf.UInt64Value num_bytes = 2;
- Specified by:
hasNumBytes
in interfaceFlowMessageOrBuilder
-
getNumBytes
public com.google.protobuf.UInt64Value getNumBytes()
Number of bytes transferred in the flow
.google.protobuf.UInt64Value num_bytes = 2;
- Specified by:
getNumBytes
in interfaceFlowMessageOrBuilder
-
getNumBytesOrBuilder
public com.google.protobuf.UInt64ValueOrBuilder getNumBytesOrBuilder()
Number of bytes transferred in the flow
.google.protobuf.UInt64Value num_bytes = 2;
- Specified by:
getNumBytesOrBuilder
in interfaceFlowMessageOrBuilder
-
getDirectionValue
public int getDirectionValue()
Direction of the flow (egress vs ingress)
.Direction direction = 3;
- Specified by:
getDirectionValue
in interfaceFlowMessageOrBuilder
-
getDirection
public Direction getDirection()
Direction of the flow (egress vs ingress)
.Direction direction = 3;
- Specified by:
getDirection
in interfaceFlowMessageOrBuilder
-
getDstAddress
public java.lang.String getDstAddress()
Destination address.
string dst_address = 4;
- Specified by:
getDstAddress
in interfaceFlowMessageOrBuilder
-
getDstAddressBytes
public com.google.protobuf.ByteString getDstAddressBytes()
Destination address.
string dst_address = 4;
- Specified by:
getDstAddressBytes
in interfaceFlowMessageOrBuilder
-
getDstHostname
public java.lang.String getDstHostname()
Destination address hostname.
string dst_hostname = 5;
- Specified by:
getDstHostname
in interfaceFlowMessageOrBuilder
-
getDstHostnameBytes
public com.google.protobuf.ByteString getDstHostnameBytes()
Destination address hostname.
string dst_hostname = 5;
- Specified by:
getDstHostnameBytes
in interfaceFlowMessageOrBuilder
-
hasDstAs
public boolean hasDstAs()
Destination autonomous system (AS).
.google.protobuf.UInt64Value dst_as = 6;
- Specified by:
hasDstAs
in interfaceFlowMessageOrBuilder
-
getDstAs
public com.google.protobuf.UInt64Value getDstAs()
Destination autonomous system (AS).
.google.protobuf.UInt64Value dst_as = 6;
- Specified by:
getDstAs
in interfaceFlowMessageOrBuilder
-
getDstAsOrBuilder
public com.google.protobuf.UInt64ValueOrBuilder getDstAsOrBuilder()
Destination autonomous system (AS).
.google.protobuf.UInt64Value dst_as = 6;
- Specified by:
getDstAsOrBuilder
in interfaceFlowMessageOrBuilder
-
hasDstMaskLen
public boolean hasDstMaskLen()
The number of contiguous bits in the source address subnet mask.
.google.protobuf.UInt32Value dst_mask_len = 7;
- Specified by:
hasDstMaskLen
in interfaceFlowMessageOrBuilder
-
getDstMaskLen
public com.google.protobuf.UInt32Value getDstMaskLen()
The number of contiguous bits in the source address subnet mask.
.google.protobuf.UInt32Value dst_mask_len = 7;
- Specified by:
getDstMaskLen
in interfaceFlowMessageOrBuilder
-
getDstMaskLenOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getDstMaskLenOrBuilder()
The number of contiguous bits in the source address subnet mask.
.google.protobuf.UInt32Value dst_mask_len = 7;
- Specified by:
getDstMaskLenOrBuilder
in interfaceFlowMessageOrBuilder
-
hasDstPort
public boolean hasDstPort()
Destination port.
.google.protobuf.UInt32Value dst_port = 8;
- Specified by:
hasDstPort
in interfaceFlowMessageOrBuilder
-
getDstPort
public com.google.protobuf.UInt32Value getDstPort()
Destination port.
.google.protobuf.UInt32Value dst_port = 8;
- Specified by:
getDstPort
in interfaceFlowMessageOrBuilder
-
getDstPortOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getDstPortOrBuilder()
Destination port.
.google.protobuf.UInt32Value dst_port = 8;
- Specified by:
getDstPortOrBuilder
in interfaceFlowMessageOrBuilder
-
hasEngineId
public boolean hasEngineId()
Slot number of the flow-switching engine.
.google.protobuf.UInt32Value engine_id = 9;
- Specified by:
hasEngineId
in interfaceFlowMessageOrBuilder
-
getEngineId
public com.google.protobuf.UInt32Value getEngineId()
Slot number of the flow-switching engine.
.google.protobuf.UInt32Value engine_id = 9;
- Specified by:
getEngineId
in interfaceFlowMessageOrBuilder
-
getEngineIdOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getEngineIdOrBuilder()
Slot number of the flow-switching engine.
.google.protobuf.UInt32Value engine_id = 9;
- Specified by:
getEngineIdOrBuilder
in interfaceFlowMessageOrBuilder
-
hasEngineType
public boolean hasEngineType()
Type of flow-switching engine.
.google.protobuf.UInt32Value engine_type = 10;
- Specified by:
hasEngineType
in interfaceFlowMessageOrBuilder
-
getEngineType
public com.google.protobuf.UInt32Value getEngineType()
Type of flow-switching engine.
.google.protobuf.UInt32Value engine_type = 10;
- Specified by:
getEngineType
in interfaceFlowMessageOrBuilder
-
getEngineTypeOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getEngineTypeOrBuilder()
Type of flow-switching engine.
.google.protobuf.UInt32Value engine_type = 10;
- Specified by:
getEngineTypeOrBuilder
in interfaceFlowMessageOrBuilder
-
hasDeltaSwitched
public boolean hasDeltaSwitched()
Unix timestamp in ms at which the previous exported packet-
.google.protobuf.UInt64Value delta_switched = 11;
- Specified by:
hasDeltaSwitched
in interfaceFlowMessageOrBuilder
-
getDeltaSwitched
public com.google.protobuf.UInt64Value getDeltaSwitched()
Unix timestamp in ms at which the previous exported packet-
.google.protobuf.UInt64Value delta_switched = 11;
- Specified by:
getDeltaSwitched
in interfaceFlowMessageOrBuilder
-
getDeltaSwitchedOrBuilder
public com.google.protobuf.UInt64ValueOrBuilder getDeltaSwitchedOrBuilder()
Unix timestamp in ms at which the previous exported packet-
.google.protobuf.UInt64Value delta_switched = 11;
- Specified by:
getDeltaSwitchedOrBuilder
in interfaceFlowMessageOrBuilder
-
hasFirstSwitched
public boolean hasFirstSwitched()
-associated with this flow was switched.
.google.protobuf.UInt64Value first_switched = 12;
- Specified by:
hasFirstSwitched
in interfaceFlowMessageOrBuilder
-
getFirstSwitched
public com.google.protobuf.UInt64Value getFirstSwitched()
-associated with this flow was switched.
.google.protobuf.UInt64Value first_switched = 12;
- Specified by:
getFirstSwitched
in interfaceFlowMessageOrBuilder
-
getFirstSwitchedOrBuilder
public com.google.protobuf.UInt64ValueOrBuilder getFirstSwitchedOrBuilder()
-associated with this flow was switched.
.google.protobuf.UInt64Value first_switched = 12;
- Specified by:
getFirstSwitchedOrBuilder
in interfaceFlowMessageOrBuilder
-
hasLastSwitched
public boolean hasLastSwitched()
-associated with this flow was switched.
.google.protobuf.UInt64Value last_switched = 13;
- Specified by:
hasLastSwitched
in interfaceFlowMessageOrBuilder
-
getLastSwitched
public com.google.protobuf.UInt64Value getLastSwitched()
-associated with this flow was switched.
.google.protobuf.UInt64Value last_switched = 13;
- Specified by:
getLastSwitched
in interfaceFlowMessageOrBuilder
-
getLastSwitchedOrBuilder
public com.google.protobuf.UInt64ValueOrBuilder getLastSwitchedOrBuilder()
-associated with this flow was switched.
.google.protobuf.UInt64Value last_switched = 13;
- Specified by:
getLastSwitchedOrBuilder
in interfaceFlowMessageOrBuilder
-
hasNumFlowRecords
public boolean hasNumFlowRecords()
Number of flow records in the associated packet.
.google.protobuf.UInt32Value num_flow_records = 14;
- Specified by:
hasNumFlowRecords
in interfaceFlowMessageOrBuilder
-
getNumFlowRecords
public com.google.protobuf.UInt32Value getNumFlowRecords()
Number of flow records in the associated packet.
.google.protobuf.UInt32Value num_flow_records = 14;
- Specified by:
getNumFlowRecords
in interfaceFlowMessageOrBuilder
-
getNumFlowRecordsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getNumFlowRecordsOrBuilder()
Number of flow records in the associated packet.
.google.protobuf.UInt32Value num_flow_records = 14;
- Specified by:
getNumFlowRecordsOrBuilder
in interfaceFlowMessageOrBuilder
-
hasNumPackets
public boolean hasNumPackets()
Number of packets in the flow.
.google.protobuf.UInt64Value num_packets = 15;
- Specified by:
hasNumPackets
in interfaceFlowMessageOrBuilder
-
getNumPackets
public com.google.protobuf.UInt64Value getNumPackets()
Number of packets in the flow.
.google.protobuf.UInt64Value num_packets = 15;
- Specified by:
getNumPackets
in interfaceFlowMessageOrBuilder
-
getNumPacketsOrBuilder
public com.google.protobuf.UInt64ValueOrBuilder getNumPacketsOrBuilder()
Number of packets in the flow.
.google.protobuf.UInt64Value num_packets = 15;
- Specified by:
getNumPacketsOrBuilder
in interfaceFlowMessageOrBuilder
-
hasFlowSeqNum
public boolean hasFlowSeqNum()
Flow packet sequence number.
.google.protobuf.UInt64Value flow_seq_num = 16;
- Specified by:
hasFlowSeqNum
in interfaceFlowMessageOrBuilder
-
getFlowSeqNum
public com.google.protobuf.UInt64Value getFlowSeqNum()
Flow packet sequence number.
.google.protobuf.UInt64Value flow_seq_num = 16;
- Specified by:
getFlowSeqNum
in interfaceFlowMessageOrBuilder
-
getFlowSeqNumOrBuilder
public com.google.protobuf.UInt64ValueOrBuilder getFlowSeqNumOrBuilder()
Flow packet sequence number.
.google.protobuf.UInt64Value flow_seq_num = 16;
- Specified by:
getFlowSeqNumOrBuilder
in interfaceFlowMessageOrBuilder
-
hasInputSnmpIfindex
public boolean hasInputSnmpIfindex()
Input SNMP ifIndex.
.google.protobuf.UInt32Value input_snmp_ifindex = 17;
- Specified by:
hasInputSnmpIfindex
in interfaceFlowMessageOrBuilder
-
getInputSnmpIfindex
public com.google.protobuf.UInt32Value getInputSnmpIfindex()
Input SNMP ifIndex.
.google.protobuf.UInt32Value input_snmp_ifindex = 17;
- Specified by:
getInputSnmpIfindex
in interfaceFlowMessageOrBuilder
-
getInputSnmpIfindexOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getInputSnmpIfindexOrBuilder()
Input SNMP ifIndex.
.google.protobuf.UInt32Value input_snmp_ifindex = 17;
- Specified by:
getInputSnmpIfindexOrBuilder
in interfaceFlowMessageOrBuilder
-
hasOutputSnmpIfindex
public boolean hasOutputSnmpIfindex()
Output SNMP ifIndex.
.google.protobuf.UInt32Value output_snmp_ifindex = 18;
- Specified by:
hasOutputSnmpIfindex
in interfaceFlowMessageOrBuilder
-
getOutputSnmpIfindex
public com.google.protobuf.UInt32Value getOutputSnmpIfindex()
Output SNMP ifIndex.
.google.protobuf.UInt32Value output_snmp_ifindex = 18;
- Specified by:
getOutputSnmpIfindex
in interfaceFlowMessageOrBuilder
-
getOutputSnmpIfindexOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getOutputSnmpIfindexOrBuilder()
Output SNMP ifIndex.
.google.protobuf.UInt32Value output_snmp_ifindex = 18;
- Specified by:
getOutputSnmpIfindexOrBuilder
in interfaceFlowMessageOrBuilder
-
hasIpProtocolVersion
public boolean hasIpProtocolVersion()
IPv4 vs IPv6.
.google.protobuf.UInt32Value ip_protocol_version = 19;
- Specified by:
hasIpProtocolVersion
in interfaceFlowMessageOrBuilder
-
getIpProtocolVersion
public com.google.protobuf.UInt32Value getIpProtocolVersion()
IPv4 vs IPv6.
.google.protobuf.UInt32Value ip_protocol_version = 19;
- Specified by:
getIpProtocolVersion
in interfaceFlowMessageOrBuilder
-
getIpProtocolVersionOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getIpProtocolVersionOrBuilder()
IPv4 vs IPv6.
.google.protobuf.UInt32Value ip_protocol_version = 19;
- Specified by:
getIpProtocolVersionOrBuilder
in interfaceFlowMessageOrBuilder
-
getNextHopAddress
public java.lang.String getNextHopAddress()
Next hop IpAddress.
string next_hop_address = 20;
- Specified by:
getNextHopAddress
in interfaceFlowMessageOrBuilder
-
getNextHopAddressBytes
public com.google.protobuf.ByteString getNextHopAddressBytes()
Next hop IpAddress.
string next_hop_address = 20;
- Specified by:
getNextHopAddressBytes
in interfaceFlowMessageOrBuilder
-
getNextHopHostname
public java.lang.String getNextHopHostname()
Next hop hostname.
string next_hop_hostname = 21;
- Specified by:
getNextHopHostname
in interfaceFlowMessageOrBuilder
-
getNextHopHostnameBytes
public com.google.protobuf.ByteString getNextHopHostnameBytes()
Next hop hostname.
string next_hop_hostname = 21;
- Specified by:
getNextHopHostnameBytes
in interfaceFlowMessageOrBuilder
-
hasProtocol
public boolean hasProtocol()
IP protocol number i.e 6 for TCP, 17 for UDP
.google.protobuf.UInt32Value protocol = 22;
- Specified by:
hasProtocol
in interfaceFlowMessageOrBuilder
-
getProtocol
public com.google.protobuf.UInt32Value getProtocol()
IP protocol number i.e 6 for TCP, 17 for UDP
.google.protobuf.UInt32Value protocol = 22;
- Specified by:
getProtocol
in interfaceFlowMessageOrBuilder
-
getProtocolOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getProtocolOrBuilder()
IP protocol number i.e 6 for TCP, 17 for UDP
.google.protobuf.UInt32Value protocol = 22;
- Specified by:
getProtocolOrBuilder
in interfaceFlowMessageOrBuilder
-
getSamplingAlgorithmValue
public int getSamplingAlgorithmValue()
Sampling algorithm ID.
.SamplingAlgorithm sampling_algorithm = 23;
- Specified by:
getSamplingAlgorithmValue
in interfaceFlowMessageOrBuilder
-
getSamplingAlgorithm
public SamplingAlgorithm getSamplingAlgorithm()
Sampling algorithm ID.
.SamplingAlgorithm sampling_algorithm = 23;
- Specified by:
getSamplingAlgorithm
in interfaceFlowMessageOrBuilder
-
hasSamplingInterval
public boolean hasSamplingInterval()
Sampling interval.
.google.protobuf.DoubleValue sampling_interval = 24;
- Specified by:
hasSamplingInterval
in interfaceFlowMessageOrBuilder
-
getSamplingInterval
public com.google.protobuf.DoubleValue getSamplingInterval()
Sampling interval.
.google.protobuf.DoubleValue sampling_interval = 24;
- Specified by:
getSamplingInterval
in interfaceFlowMessageOrBuilder
-
getSamplingIntervalOrBuilder
public com.google.protobuf.DoubleValueOrBuilder getSamplingIntervalOrBuilder()
Sampling interval.
.google.protobuf.DoubleValue sampling_interval = 24;
- Specified by:
getSamplingIntervalOrBuilder
in interfaceFlowMessageOrBuilder
-
getSrcAddress
public java.lang.String getSrcAddress()
Source address.
string src_address = 26;
- Specified by:
getSrcAddress
in interfaceFlowMessageOrBuilder
-
getSrcAddressBytes
public com.google.protobuf.ByteString getSrcAddressBytes()
Source address.
string src_address = 26;
- Specified by:
getSrcAddressBytes
in interfaceFlowMessageOrBuilder
-
getSrcHostname
public java.lang.String getSrcHostname()
Source hostname.
string src_hostname = 27;
- Specified by:
getSrcHostname
in interfaceFlowMessageOrBuilder
-
getSrcHostnameBytes
public com.google.protobuf.ByteString getSrcHostnameBytes()
Source hostname.
string src_hostname = 27;
- Specified by:
getSrcHostnameBytes
in interfaceFlowMessageOrBuilder
-
hasSrcAs
public boolean hasSrcAs()
Source AS number.
.google.protobuf.UInt64Value src_as = 28;
- Specified by:
hasSrcAs
in interfaceFlowMessageOrBuilder
-
getSrcAs
public com.google.protobuf.UInt64Value getSrcAs()
Source AS number.
.google.protobuf.UInt64Value src_as = 28;
- Specified by:
getSrcAs
in interfaceFlowMessageOrBuilder
-
getSrcAsOrBuilder
public com.google.protobuf.UInt64ValueOrBuilder getSrcAsOrBuilder()
Source AS number.
.google.protobuf.UInt64Value src_as = 28;
- Specified by:
getSrcAsOrBuilder
in interfaceFlowMessageOrBuilder
-
hasSrcMaskLen
public boolean hasSrcMaskLen()
The number of contiguous bits in the destination address subnet mask.
.google.protobuf.UInt32Value src_mask_len = 29;
- Specified by:
hasSrcMaskLen
in interfaceFlowMessageOrBuilder
-
getSrcMaskLen
public com.google.protobuf.UInt32Value getSrcMaskLen()
The number of contiguous bits in the destination address subnet mask.
.google.protobuf.UInt32Value src_mask_len = 29;
- Specified by:
getSrcMaskLen
in interfaceFlowMessageOrBuilder
-
getSrcMaskLenOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getSrcMaskLenOrBuilder()
The number of contiguous bits in the destination address subnet mask.
.google.protobuf.UInt32Value src_mask_len = 29;
- Specified by:
getSrcMaskLenOrBuilder
in interfaceFlowMessageOrBuilder
-
hasSrcPort
public boolean hasSrcPort()
Source port.
.google.protobuf.UInt32Value src_port = 30;
- Specified by:
hasSrcPort
in interfaceFlowMessageOrBuilder
-
getSrcPort
public com.google.protobuf.UInt32Value getSrcPort()
Source port.
.google.protobuf.UInt32Value src_port = 30;
- Specified by:
getSrcPort
in interfaceFlowMessageOrBuilder
-
getSrcPortOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getSrcPortOrBuilder()
Source port.
.google.protobuf.UInt32Value src_port = 30;
- Specified by:
getSrcPortOrBuilder
in interfaceFlowMessageOrBuilder
-
hasTcpFlags
public boolean hasTcpFlags()
TCP Flags.
.google.protobuf.UInt32Value tcp_flags = 31;
- Specified by:
hasTcpFlags
in interfaceFlowMessageOrBuilder
-
getTcpFlags
public com.google.protobuf.UInt32Value getTcpFlags()
TCP Flags.
.google.protobuf.UInt32Value tcp_flags = 31;
- Specified by:
getTcpFlags
in interfaceFlowMessageOrBuilder
-
getTcpFlagsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getTcpFlagsOrBuilder()
TCP Flags.
.google.protobuf.UInt32Value tcp_flags = 31;
- Specified by:
getTcpFlagsOrBuilder
in interfaceFlowMessageOrBuilder
-
hasTos
public boolean hasTos()
TOS
.google.protobuf.UInt32Value tos = 32;
- Specified by:
hasTos
in interfaceFlowMessageOrBuilder
-
getTos
public com.google.protobuf.UInt32Value getTos()
TOS
.google.protobuf.UInt32Value tos = 32;
- Specified by:
getTos
in interfaceFlowMessageOrBuilder
-
getTosOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getTosOrBuilder()
TOS
.google.protobuf.UInt32Value tos = 32;
- Specified by:
getTosOrBuilder
in interfaceFlowMessageOrBuilder
-
getNetflowVersionValue
public int getNetflowVersionValue()
Netflow version
.NetflowVersion netflow_version = 33;
- Specified by:
getNetflowVersionValue
in interfaceFlowMessageOrBuilder
-
getNetflowVersion
public NetflowVersion getNetflowVersion()
Netflow version
.NetflowVersion netflow_version = 33;
- Specified by:
getNetflowVersion
in interfaceFlowMessageOrBuilder
-
hasVlan
public boolean hasVlan()
VLAN ID.
.google.protobuf.UInt32Value vlan = 34;
- Specified by:
hasVlan
in interfaceFlowMessageOrBuilder
-
getVlan
public com.google.protobuf.UInt32Value getVlan()
VLAN ID.
.google.protobuf.UInt32Value vlan = 34;
- Specified by:
getVlan
in interfaceFlowMessageOrBuilder
-
getVlanOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getVlanOrBuilder()
VLAN ID.
.google.protobuf.UInt32Value vlan = 34;
- Specified by:
getVlanOrBuilder
in interfaceFlowMessageOrBuilder
-
getNodeIdentifier
public java.lang.String getNodeIdentifier()
node lookup identifier.
string node_identifier = 35;
- Specified by:
getNodeIdentifier
in interfaceFlowMessageOrBuilder
-
getNodeIdentifierBytes
public com.google.protobuf.ByteString getNodeIdentifierBytes()
node lookup identifier.
string node_identifier = 35;
- Specified by:
getNodeIdentifierBytes
in interfaceFlowMessageOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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 FlowMessage parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlowMessage parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlowMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlowMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlowMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlowMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlowMessage parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FlowMessage parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static FlowMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static FlowMessage parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FlowMessage parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FlowMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public FlowMessage.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static FlowMessage.Builder newBuilder()
-
newBuilder
public static FlowMessage.Builder newBuilder(FlowMessage prototype)
-
toBuilder
public FlowMessage.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FlowMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static FlowMessage getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<FlowMessage> parser()
-
getParserForType
public com.google.protobuf.Parser<FlowMessage> 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
public FlowMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-