Class JournalMessages.SourceNode

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

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

  • Method Details

    • getDefaultInstance

      public static JournalMessages.SourceNode getDefaultInstance()
    • getDefaultInstanceForType

      public JournalMessages.SourceNode 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.SourceNode> 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
    • hasId

      public boolean hasId()
      optional string id = 1;
      Specified by:
      hasId in interface JournalMessages.SourceNodeOrBuilder
    • getId

      public String getId()
      optional string id = 1;
      Specified by:
      getId in interface JournalMessages.SourceNodeOrBuilder
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      optional string id = 1;
      Specified by:
      getIdBytes in interface JournalMessages.SourceNodeOrBuilder
    • hasType

      public boolean hasType()
      optional .org.graylog2.plugin.journal.SourceNode.Type type = 2 [default = SERVER];
      Specified by:
      hasType in interface JournalMessages.SourceNodeOrBuilder
    • getType

      optional .org.graylog2.plugin.journal.SourceNode.Type type = 2 [default = SERVER];
      Specified by:
      getType in interface JournalMessages.SourceNodeOrBuilder
    • hasInputId

      public boolean hasInputId()
      optional string input_id = 3;
      Specified by:
      hasInputId in interface JournalMessages.SourceNodeOrBuilder
    • getInputId

      public String getInputId()
      optional string input_id = 3;
      Specified by:
      getInputId in interface JournalMessages.SourceNodeOrBuilder
    • getInputIdBytes

      public com.google.protobuf.ByteString getInputIdBytes()
      optional string input_id = 3;
      Specified by:
      getInputIdBytes in interface JournalMessages.SourceNodeOrBuilder
    • 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.SourceNode parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JournalMessages.SourceNode 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.SourceNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

      public static JournalMessages.SourceNode.Builder newBuilder(JournalMessages.SourceNode prototype)
    • toBuilder

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

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