Package org.graylog.plugins.netflow.v9
Class NetFlowV9Journal.RawNetflowV9
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.graylog.plugins.netflow.v9.NetFlowV9Journal.RawNetflowV9
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,NetFlowV9Journal.RawNetflowV9OrBuilder
- Enclosing class:
- NetFlowV9Journal
public static final class NetFlowV9Journal.RawNetflowV9
extends com.google.protobuf.GeneratedMessageV3
implements NetFlowV9Journal.RawNetflowV9OrBuilder
Protobuf type
org.graylog.plugins.netflow.v9.RawNetflowV9
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeorg.graylog.plugins.netflow.v9.RawNetflowV9
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final com.google.protobuf.Parser<NetFlowV9Journal.RawNetflowV9>
Deprecated.static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsOptionTemplate
(int key) there is only one option template, but we need to know its template id, so a map is the easiest way to find itboolean
containsTemplates
(int key) all applicable templates that are referenced by the packetsboolean
static final com.google.protobuf.Descriptors.Descriptor
Deprecated.int
there is only one option template, but we need to know its template id, so a map is the easiest way to find itthere is only one option template, but we need to know its template id, so a map is the easiest way to find itcom.google.protobuf.ByteString
getOptionTemplateOrDefault
(int key, com.google.protobuf.ByteString defaultValue) there is only one option template, but we need to know its template id, so a map is the easiest way to find itcom.google.protobuf.ByteString
getOptionTemplateOrThrow
(int key) there is only one option template, but we need to know its template id, so a map is the easiest way to find itcom.google.protobuf.ByteString
getPackets
(int index) the raw packets as received.int
the raw packets as received.List<com.google.protobuf.ByteString>
the raw packets as received.com.google.protobuf.Parser<NetFlowV9Journal.RawNetflowV9>
int
Deprecated.int
all applicable templates that are referenced by the packetsall applicable templates that are referenced by the packetscom.google.protobuf.ByteString
getTemplatesOrDefault
(int key, com.google.protobuf.ByteString defaultValue) all applicable templates that are referenced by the packetscom.google.protobuf.ByteString
getTemplatesOrThrow
(int key) all applicable templates that are referenced by the packetsfinal com.google.protobuf.UnknownFieldSet
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) final boolean
newBuilder
(NetFlowV9Journal.RawNetflowV9 prototype) protected NetFlowV9Journal.RawNetflowV9.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NetFlowV9Journal.RawNetflowV9>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, 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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
TEMPLATES_FIELD_NUMBER
public static final int TEMPLATES_FIELD_NUMBER- See Also:
-
OPTIONTEMPLATE_FIELD_NUMBER
public static final int OPTIONTEMPLATE_FIELD_NUMBER- See Also:
-
PACKETS_FIELD_NUMBER
public static final int PACKETS_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getTemplatesCount
public int getTemplatesCount()Description copied from interface:NetFlowV9Journal.RawNetflowV9OrBuilder
all applicable templates that are referenced by the packets
map<uint32, bytes> templates = 1;
- Specified by:
getTemplatesCount
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
containsTemplates
public boolean containsTemplates(int key) all applicable templates that are referenced by the packets
map<uint32, bytes> templates = 1;
- Specified by:
containsTemplates
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getTemplates
Deprecated.UsegetTemplatesMap()
instead.- Specified by:
getTemplates
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getTemplatesMap
all applicable templates that are referenced by the packets
map<uint32, bytes> templates = 1;
- Specified by:
getTemplatesMap
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getTemplatesOrDefault
public com.google.protobuf.ByteString getTemplatesOrDefault(int key, com.google.protobuf.ByteString defaultValue) all applicable templates that are referenced by the packets
map<uint32, bytes> templates = 1;
- Specified by:
getTemplatesOrDefault
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getTemplatesOrThrow
public com.google.protobuf.ByteString getTemplatesOrThrow(int key) all applicable templates that are referenced by the packets
map<uint32, bytes> templates = 1;
- Specified by:
getTemplatesOrThrow
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getOptionTemplateCount
public int getOptionTemplateCount()Description copied from interface:NetFlowV9Journal.RawNetflowV9OrBuilder
there is only one option template, but we need to know its template id, so a map is the easiest way to find it
map<uint32, bytes> optionTemplate = 2;
- Specified by:
getOptionTemplateCount
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
containsOptionTemplate
public boolean containsOptionTemplate(int key) there is only one option template, but we need to know its template id, so a map is the easiest way to find it
map<uint32, bytes> optionTemplate = 2;
- Specified by:
containsOptionTemplate
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getOptionTemplate
Deprecated.UsegetOptionTemplateMap()
instead.- Specified by:
getOptionTemplate
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getOptionTemplateMap
there is only one option template, but we need to know its template id, so a map is the easiest way to find it
map<uint32, bytes> optionTemplate = 2;
- Specified by:
getOptionTemplateMap
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getOptionTemplateOrDefault
public com.google.protobuf.ByteString getOptionTemplateOrDefault(int key, com.google.protobuf.ByteString defaultValue) there is only one option template, but we need to know its template id, so a map is the easiest way to find it
map<uint32, bytes> optionTemplate = 2;
- Specified by:
getOptionTemplateOrDefault
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getOptionTemplateOrThrow
public com.google.protobuf.ByteString getOptionTemplateOrThrow(int key) there is only one option template, but we need to know its template id, so a map is the easiest way to find it
map<uint32, bytes> optionTemplate = 2;
- Specified by:
getOptionTemplateOrThrow
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getPacketsList
the raw packets as received. it might contain templates as well, but even if it does the above fields will have that information, too in case we previously buffered flows, this may contain more than one flow. in situations when we have all templates already this will be a single packet sent by the exporter
repeated bytes packets = 3;
- Specified by:
getPacketsList
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getPacketsCount
public int getPacketsCount()the raw packets as received. it might contain templates as well, but even if it does the above fields will have that information, too in case we previously buffered flows, this may contain more than one flow. in situations when we have all templates already this will be a single packet sent by the exporter
repeated bytes packets = 3;
- Specified by:
getPacketsCount
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getPackets
public com.google.protobuf.ByteString getPackets(int index) the raw packets as received. it might contain templates as well, but even if it does the above fields will have that information, too in case we previously buffered flows, this may contain more than one flow. in situations when we have all templates already this will be a single packet sent by the exporter
repeated bytes packets = 3;
- Specified by:
getPackets
in interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- 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 NetFlowV9Journal.RawNetflowV9 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetFlowV9Journal.RawNetflowV9 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetFlowV9Journal.RawNetflowV9 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetFlowV9Journal.RawNetflowV9 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NetFlowV9Journal.RawNetflowV9 parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static NetFlowV9Journal.RawNetflowV9 parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static NetFlowV9Journal.RawNetflowV9 parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static NetFlowV9Journal.RawNetflowV9 parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static NetFlowV9Journal.RawNetflowV9 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static NetFlowV9Journal.RawNetflowV9.Builder newBuilder(NetFlowV9Journal.RawNetflowV9 prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NetFlowV9Journal.RawNetflowV9.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
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
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-