Class JournalMessages.RemoteAddress

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.graylog2.plugin.journal.JournalMessages.RemoteAddress
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, JournalMessages.RemoteAddressOrBuilder
Enclosing class:
JournalMessages

public static final class JournalMessages.RemoteAddress extends com.google.protobuf.GeneratedMessage implements JournalMessages.RemoteAddressOrBuilder
Protobuf type org.graylog2.plugin.journal.RemoteAddress
See Also:
  • Field Details

  • Method Details

    • getDefaultInstance

      public static JournalMessages.RemoteAddress getDefaultInstance()
    • getDefaultInstanceForType

      public JournalMessages.RemoteAddress getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessage
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getParserForType

      public com.google.protobuf.Parser<JournalMessages.RemoteAddress> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • hasAddress

      public boolean hasAddress()
      optional bytes address = 1;
       the original remote (IP) address of the message sender, unresolved
       
      Specified by:
      hasAddress in interface JournalMessages.RemoteAddressOrBuilder
    • getAddress

      public com.google.protobuf.ByteString getAddress()
      optional bytes address = 1;
       the original remote (IP) address of the message sender, unresolved
       
      Specified by:
      getAddress in interface JournalMessages.RemoteAddressOrBuilder
    • hasPort

      public boolean hasPort()
      optional uint32 port = 2;
       the port of the sender, if available/applicable
       
      Specified by:
      hasPort in interface JournalMessages.RemoteAddressOrBuilder
    • getPort

      public int getPort()
      optional uint32 port = 2;
       the port of the sender, if available/applicable
       
      Specified by:
      getPort in interface JournalMessages.RemoteAddressOrBuilder
    • hasResolved

      public boolean hasResolved()
      optional string resolved = 3;
       a processing node can optionally resolve the address early
       
      Specified by:
      hasResolved in interface JournalMessages.RemoteAddressOrBuilder
    • getResolved

      public String getResolved()
      optional string resolved = 3;
       a processing node can optionally resolve the address early
       
      Specified by:
      getResolved in interface JournalMessages.RemoteAddressOrBuilder
    • getResolvedBytes

      public com.google.protobuf.ByteString getResolvedBytes()
      optional string resolved = 3;
       a processing node can optionally resolve the address early
       
      Specified by:
      getResolvedBytes in interface JournalMessages.RemoteAddressOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • writeReplace

      protected Object writeReplace() throws ObjectStreamException
      Overrides:
      writeReplace in class com.google.protobuf.GeneratedMessage
      Throws:
      ObjectStreamException
    • parseFrom

      public static JournalMessages.RemoteAddress parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JournalMessages.RemoteAddress parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JournalMessages.RemoteAddress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JournalMessages.RemoteAddress parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JournalMessages.RemoteAddress parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static JournalMessages.RemoteAddress parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static JournalMessages.RemoteAddress parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static JournalMessages.RemoteAddress parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static JournalMessages.RemoteAddress parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static JournalMessages.RemoteAddress parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static JournalMessages.RemoteAddress.Builder newBuilder()
    • newBuilderForType

      public JournalMessages.RemoteAddress.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected JournalMessages.RemoteAddress.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessage