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
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.graylog.plugins.netflow.v9.RawNetflowV9Nested 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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final com.google.protobuf.Parser<NetFlowV9Journal.RawNetflowV9>Deprecated.static final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsOptionTemplate(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 itbooleancontainsTemplates(int key) all applicable templates that are referenced by the packetsbooleanstatic final com.google.protobuf.Descriptors.DescriptorDeprecated.intthere 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.ByteStringgetOptionTemplateOrDefault(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.ByteStringgetOptionTemplateOrThrow(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.ByteStringgetPackets(int index) the raw packets as received.intthe raw packets as received.List<com.google.protobuf.ByteString>the raw packets as received.com.google.protobuf.Parser<NetFlowV9Journal.RawNetflowV9>intDeprecated.intall applicable templates that are referenced by the packetsall applicable templates that are referenced by the packetscom.google.protobuf.ByteStringgetTemplatesOrDefault(int key, com.google.protobuf.ByteString defaultValue) all applicable templates that are referenced by the packetscom.google.protobuf.ByteStringgetTemplatesOrThrow(int key) all applicable templates that are referenced by the packetsfinal com.google.protobuf.UnknownFieldSetinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleannewBuilder(NetFlowV9Journal.RawNetflowV9 prototype) protected NetFlowV9Journal.RawNetflowV9.BuildernewBuilderForType(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()voidwriteTo(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, makeExtensionsImmutable, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTemplatesCount
public int getTemplatesCount()Description copied from interface:NetFlowV9Journal.RawNetflowV9OrBuilderall applicable templates that are referenced by the packets
map<uint32, bytes> templates = 1;- Specified by:
getTemplatesCountin interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
containsTemplates
public boolean containsTemplates(int key) all applicable templates that are referenced by the packets
map<uint32, bytes> templates = 1;- Specified by:
containsTemplatesin interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getTemplates
Deprecated.UsegetTemplatesMap()instead.- Specified by:
getTemplatesin interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getTemplatesMap
all applicable templates that are referenced by the packets
map<uint32, bytes> templates = 1;- Specified by:
getTemplatesMapin 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:
getTemplatesOrDefaultin 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:
getTemplatesOrThrowin interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getOptionTemplateCount
public int getOptionTemplateCount()Description copied from interface:NetFlowV9Journal.RawNetflowV9OrBuilderthere 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:
getOptionTemplateCountin 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:
containsOptionTemplatein interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
getOptionTemplate
Deprecated.UsegetOptionTemplateMap()instead.- Specified by:
getOptionTemplatein 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:
getOptionTemplateMapin 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:
getOptionTemplateOrDefaultin 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:
getOptionTemplateOrThrowin 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:
getPacketsListin 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:
getPacketsCountin 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:
getPacketsin interfaceNetFlowV9Journal.RawNetflowV9OrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static NetFlowV9Journal.RawNetflowV9.Builder newBuilder(NetFlowV9Journal.RawNetflowV9 prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NetFlowV9Journal.RawNetflowV9.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-