Class JournalMessages.CodecInfo

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

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

  • Method Details

    • getDefaultInstance

      public static JournalMessages.CodecInfo getDefaultInstance()
    • getDefaultInstanceForType

      public JournalMessages.CodecInfo 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.CodecInfo> 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
    • hasName

      public boolean hasName()
      optional string name = 1;
      Specified by:
      hasName in interface JournalMessages.CodecInfoOrBuilder
    • getName

      public String getName()
      optional string name = 1;
      Specified by:
      getName in interface JournalMessages.CodecInfoOrBuilder
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      optional string name = 1;
      Specified by:
      getNameBytes in interface JournalMessages.CodecInfoOrBuilder
    • hasConfig

      public boolean hasConfig()
      optional string config = 2;
       JSON description of configuration settings necessary to create the codec with
       for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
       
      Specified by:
      hasConfig in interface JournalMessages.CodecInfoOrBuilder
    • getConfig

      public String getConfig()
      optional string config = 2;
       JSON description of configuration settings necessary to create the codec with
       for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
       
      Specified by:
      getConfig in interface JournalMessages.CodecInfoOrBuilder
    • getConfigBytes

      public com.google.protobuf.ByteString getConfigBytes()
      optional string config = 2;
       JSON description of configuration settings necessary to create the codec with
       for optimal performance make sure the serialization is stable, i.e. same config == same serialization bytes
       
      Specified by:
      getConfigBytes in interface JournalMessages.CodecInfoOrBuilder
    • 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.CodecInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

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