public static final class NetFlowV9Journal.RawNetflowV9 extends com.google.protobuf.GeneratedMessageV3 implements NetFlowV9Journal.RawNetflowV9OrBuilder
org.graylog.plugins.netflow.v9.RawNetflowV9
Modifier and Type | Class and Description |
---|---|
static class |
NetFlowV9Journal.RawNetflowV9.Builder
Protobuf type
org.graylog.plugins.netflow.v9.RawNetflowV9 |
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
Modifier and Type | Field and Description |
---|---|
static int |
OPTIONTEMPLATE_FIELD_NUMBER |
static int |
PACKETS_FIELD_NUMBER |
static com.google.protobuf.Parser<NetFlowV9Journal.RawNetflowV9> |
PARSER
Deprecated.
|
static int |
TEMPLATES_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
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
|
boolean |
containsTemplates(int key)
all applicable templates that are referenced by the packets
|
boolean |
equals(Object obj) |
static NetFlowV9Journal.RawNetflowV9 |
getDefaultInstance() |
NetFlowV9Journal.RawNetflowV9 |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<Integer,com.google.protobuf.ByteString> |
getOptionTemplate()
Deprecated.
|
int |
getOptionTemplateCount()
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<Integer,com.google.protobuf.ByteString> |
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
|
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
|
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
|
com.google.protobuf.ByteString |
getPackets(int index)
the raw packets as received.
|
int |
getPacketsCount()
the raw packets as received.
|
List<com.google.protobuf.ByteString> |
getPacketsList()
the raw packets as received.
|
com.google.protobuf.Parser<NetFlowV9Journal.RawNetflowV9> |
getParserForType() |
int |
getSerializedSize() |
Map<Integer,com.google.protobuf.ByteString> |
getTemplates()
Deprecated.
|
int |
getTemplatesCount()
all applicable templates that are referenced by the packets
|
Map<Integer,com.google.protobuf.ByteString> |
getTemplatesMap()
all applicable templates that are referenced by the packets
|
com.google.protobuf.ByteString |
getTemplatesOrDefault(int key,
com.google.protobuf.ByteString defaultValue)
all applicable templates that are referenced by the packets
|
com.google.protobuf.ByteString |
getTemplatesOrThrow(int key)
all applicable templates that are referenced by the packets
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static NetFlowV9Journal.RawNetflowV9.Builder |
newBuilder() |
static NetFlowV9Journal.RawNetflowV9.Builder |
newBuilder(NetFlowV9Journal.RawNetflowV9 prototype) |
NetFlowV9Journal.RawNetflowV9.Builder |
newBuilderForType() |
protected NetFlowV9Journal.RawNetflowV9.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static NetFlowV9Journal.RawNetflowV9 |
parseDelimitedFrom(InputStream input) |
static NetFlowV9Journal.RawNetflowV9 |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetFlowV9Journal.RawNetflowV9 |
parseFrom(byte[] data) |
static NetFlowV9Journal.RawNetflowV9 |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetFlowV9Journal.RawNetflowV9 |
parseFrom(com.google.protobuf.ByteString data) |
static NetFlowV9Journal.RawNetflowV9 |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetFlowV9Journal.RawNetflowV9 |
parseFrom(com.google.protobuf.CodedInputStream input) |
static NetFlowV9Journal.RawNetflowV9 |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NetFlowV9Journal.RawNetflowV9 |
parseFrom(InputStream input) |
static NetFlowV9Journal.RawNetflowV9 |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<NetFlowV9Journal.RawNetflowV9> |
parser() |
NetFlowV9Journal.RawNetflowV9.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int TEMPLATES_FIELD_NUMBER
public static final int OPTIONTEMPLATE_FIELD_NUMBER
public static final int PACKETS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<NetFlowV9Journal.RawNetflowV9> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public int getTemplatesCount()
NetFlowV9Journal.RawNetflowV9OrBuilder
all applicable templates that are referenced by the packets
map<uint32, bytes> templates = 1;
getTemplatesCount
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
public boolean containsTemplates(int key)
all applicable templates that are referenced by the packets
map<uint32, bytes> templates = 1;
containsTemplates
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
@Deprecated public Map<Integer,com.google.protobuf.ByteString> getTemplates()
getTemplatesMap()
instead.getTemplates
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
public Map<Integer,com.google.protobuf.ByteString> getTemplatesMap()
all applicable templates that are referenced by the packets
map<uint32, bytes> templates = 1;
getTemplatesMap
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
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;
getTemplatesOrDefault
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
public com.google.protobuf.ByteString getTemplatesOrThrow(int key)
all applicable templates that are referenced by the packets
map<uint32, bytes> templates = 1;
getTemplatesOrThrow
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
public int getOptionTemplateCount()
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;
getOptionTemplateCount
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
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;
containsOptionTemplate
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
@Deprecated public Map<Integer,com.google.protobuf.ByteString> getOptionTemplate()
getOptionTemplateMap()
instead.getOptionTemplate
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
public Map<Integer,com.google.protobuf.ByteString> 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;
getOptionTemplateMap
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
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;
getOptionTemplateOrDefault
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
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;
getOptionTemplateOrThrow
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
public List<com.google.protobuf.ByteString> 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;
getPacketsList
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
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;
getPacketsCount
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
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;
getPackets
in interface NetFlowV9Journal.RawNetflowV9OrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static NetFlowV9Journal.RawNetflowV9 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static NetFlowV9Journal.RawNetflowV9 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static NetFlowV9Journal.RawNetflowV9 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static NetFlowV9Journal.RawNetflowV9 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static NetFlowV9Journal.RawNetflowV9 parseFrom(InputStream input) throws IOException
IOException
public static NetFlowV9Journal.RawNetflowV9 parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static NetFlowV9Journal.RawNetflowV9 parseDelimitedFrom(InputStream input) throws IOException
IOException
public static NetFlowV9Journal.RawNetflowV9 parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static NetFlowV9Journal.RawNetflowV9 parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static NetFlowV9Journal.RawNetflowV9 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public NetFlowV9Journal.RawNetflowV9.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static NetFlowV9Journal.RawNetflowV9.Builder newBuilder()
public static NetFlowV9Journal.RawNetflowV9.Builder newBuilder(NetFlowV9Journal.RawNetflowV9 prototype)
public NetFlowV9Journal.RawNetflowV9.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected NetFlowV9Journal.RawNetflowV9.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static NetFlowV9Journal.RawNetflowV9 getDefaultInstance()
public static com.google.protobuf.Parser<NetFlowV9Journal.RawNetflowV9> parser()
public com.google.protobuf.Parser<NetFlowV9Journal.RawNetflowV9> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public NetFlowV9Journal.RawNetflowV9 getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.