Class LogString

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.LogString
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, LogStringOrBuilder, Serializable

@Generated public final class LogString extends com.google.protobuf.GeneratedMessage implements LogStringOrBuilder
Represents a single log entry from the SoulFire logging system.
Log entries can be associated with specific instances, bots, or scripts,
or they can be personal messages directed to a specific user.
Protobuf type soulfire.v1.LogString
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Represents a single log entry from the SoulFire logging system.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The UUID of the bot account this log is associated with, if any.
    com.google.protobuf.ByteString
    The UUID of the bot account this log is associated with, if any.
    Human-readable name of the bot account, if available.
    com.google.protobuf.ByteString
    Human-readable name of the bot account, if available.
    static LogString
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Unique identifier for this log entry.
    com.google.protobuf.ByteString
    Unique identifier for this log entry.
    The UUID of the instance this log is associated with, if any.
    com.google.protobuf.ByteString
    The UUID of the instance this log is associated with, if any.
    Human-readable name of the instance, if available.
    com.google.protobuf.ByteString
    Human-readable name of the instance, if available.
    The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").
    com.google.protobuf.ByteString
    The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").
    The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").
    com.google.protobuf.ByteString
    The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").
    The formatted log message content.
    com.google.protobuf.ByteString
    The formatted log message content.
    com.google.protobuf.Parser<LogString>
     
    boolean
    Indicates whether this is a personal message directed to a specific user.
    The UUID of the script this log is associated with, if any.
    com.google.protobuf.ByteString
    The UUID of the script this log is associated with, if any.
    int
     
    com.google.protobuf.Timestamp
    The timestamp when this log entry was created.
    com.google.protobuf.TimestampOrBuilder
    The timestamp when this log entry was created.
    boolean
    The UUID of the bot account this log is associated with, if any.
    boolean
    Human-readable name of the bot account, if available.
    int
     
    boolean
    The UUID of the instance this log is associated with, if any.
    boolean
    Human-readable name of the instance, if available.
    boolean
    The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").
    boolean
    The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").
    boolean
    The UUID of the script this log is associated with, if any.
    boolean
    The timestamp when this log entry was created.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(LogString prototype)
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static LogString
     
    static LogString
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LogString
    parseFrom(byte[] data)
     
    static LogString
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LogString
    parseFrom(com.google.protobuf.ByteString data)
     
    static LogString
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LogString
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static LogString
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LogString
     
    static LogString
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static LogString
     
    static LogString
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<LogString>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • MESSAGE_FIELD_NUMBER

      public static final int MESSAGE_FIELD_NUMBER
      See Also:
    • INSTANCE_ID_FIELD_NUMBER

      public static final int INSTANCE_ID_FIELD_NUMBER
      See Also:
    • BOT_ACCOUNT_ID_FIELD_NUMBER

      public static final int BOT_ACCOUNT_ID_FIELD_NUMBER
      See Also:
    • SCRIPT_ID_FIELD_NUMBER

      public static final int SCRIPT_ID_FIELD_NUMBER
      See Also:
    • PERSONAL_FIELD_NUMBER

      public static final int PERSONAL_FIELD_NUMBER
      See Also:
    • INSTANCE_NAME_FIELD_NUMBER

      public static final int INSTANCE_NAME_FIELD_NUMBER
      See Also:
    • BOT_ACCOUNT_NAME_FIELD_NUMBER

      public static final int BOT_ACCOUNT_NAME_FIELD_NUMBER
      See Also:
    • TIMESTAMP_FIELD_NUMBER

      public static final int TIMESTAMP_FIELD_NUMBER
      See Also:
    • LOGGER_NAME_FIELD_NUMBER

      public static final int LOGGER_NAME_FIELD_NUMBER
      See Also:
    • LEVEL_FIELD_NUMBER

      public static final int LEVEL_FIELD_NUMBER
      See Also:
  • Method Details

    • 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
    • getId

      public String getId()
      Unique identifier for this log entry. Format is "{timestamp_millis}-{counter}"
      where counter is an incrementing integer to ensure uniqueness within the same millisecond.
      
      string id = 1;
      Specified by:
      getId in interface LogStringOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      Unique identifier for this log entry. Format is "{timestamp_millis}-{counter}"
      where counter is an incrementing integer to ensure uniqueness within the same millisecond.
      
      string id = 1;
      Specified by:
      getIdBytes in interface LogStringOrBuilder
      Returns:
      The bytes for id.
    • getMessage

      public String getMessage()
      The formatted log message content. This is the fully formatted output including
      any Minecraft formatting codes and exception stack traces if present.
      
      string message = 2;
      Specified by:
      getMessage in interface LogStringOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
      The formatted log message content. This is the fully formatted output including
      any Minecraft formatting codes and exception stack traces if present.
      
      string message = 2;
      Specified by:
      getMessageBytes in interface LogStringOrBuilder
      Returns:
      The bytes for message.
    • hasInstanceId

      public boolean hasInstanceId()
      The UUID of the instance this log is associated with, if any.
      Present when the log was generated in the context of a specific attack instance.
      
      optional string instance_id = 3;
      Specified by:
      hasInstanceId in interface LogStringOrBuilder
      Returns:
      Whether the instanceId field is set.
    • getInstanceId

      public String getInstanceId()
      The UUID of the instance this log is associated with, if any.
      Present when the log was generated in the context of a specific attack instance.
      
      optional string instance_id = 3;
      Specified by:
      getInstanceId in interface LogStringOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
      The UUID of the instance this log is associated with, if any.
      Present when the log was generated in the context of a specific attack instance.
      
      optional string instance_id = 3;
      Specified by:
      getInstanceIdBytes in interface LogStringOrBuilder
      Returns:
      The bytes for instanceId.
    • hasBotAccountId

      public boolean hasBotAccountId()
      The UUID of the bot account this log is associated with, if any.
      Present when the log was generated by or about a specific bot.
      
      optional string bot_account_id = 4;
      Specified by:
      hasBotAccountId in interface LogStringOrBuilder
      Returns:
      Whether the botAccountId field is set.
    • getBotAccountId

      public String getBotAccountId()
      The UUID of the bot account this log is associated with, if any.
      Present when the log was generated by or about a specific bot.
      
      optional string bot_account_id = 4;
      Specified by:
      getBotAccountId in interface LogStringOrBuilder
      Returns:
      The botAccountId.
    • getBotAccountIdBytes

      public com.google.protobuf.ByteString getBotAccountIdBytes()
      The UUID of the bot account this log is associated with, if any.
      Present when the log was generated by or about a specific bot.
      
      optional string bot_account_id = 4;
      Specified by:
      getBotAccountIdBytes in interface LogStringOrBuilder
      Returns:
      The bytes for botAccountId.
    • hasScriptId

      public boolean hasScriptId()
      The UUID of the script this log is associated with, if any.
      Present when the log was generated during script execution.
      
      optional string script_id = 5;
      Specified by:
      hasScriptId in interface LogStringOrBuilder
      Returns:
      Whether the scriptId field is set.
    • getScriptId

      public String getScriptId()
      The UUID of the script this log is associated with, if any.
      Present when the log was generated during script execution.
      
      optional string script_id = 5;
      Specified by:
      getScriptId in interface LogStringOrBuilder
      Returns:
      The scriptId.
    • getScriptIdBytes

      public com.google.protobuf.ByteString getScriptIdBytes()
      The UUID of the script this log is associated with, if any.
      Present when the log was generated during script execution.
      
      optional string script_id = 5;
      Specified by:
      getScriptIdBytes in interface LogStringOrBuilder
      Returns:
      The bytes for scriptId.
    • getPersonal

      public boolean getPersonal()
      Indicates whether this is a personal message directed to a specific user.
      Personal messages are only visible to the target user and are not stored in the log history.
      
      bool personal = 6;
      Specified by:
      getPersonal in interface LogStringOrBuilder
      Returns:
      The personal.
    • hasInstanceName

      public boolean hasInstanceName()
      Human-readable name of the instance, if available.
      Provided as a convenience to avoid requiring additional lookups.
      
      optional string instance_name = 7;
      Specified by:
      hasInstanceName in interface LogStringOrBuilder
      Returns:
      Whether the instanceName field is set.
    • getInstanceName

      public String getInstanceName()
      Human-readable name of the instance, if available.
      Provided as a convenience to avoid requiring additional lookups.
      
      optional string instance_name = 7;
      Specified by:
      getInstanceName in interface LogStringOrBuilder
      Returns:
      The instanceName.
    • getInstanceNameBytes

      public com.google.protobuf.ByteString getInstanceNameBytes()
      Human-readable name of the instance, if available.
      Provided as a convenience to avoid requiring additional lookups.
      
      optional string instance_name = 7;
      Specified by:
      getInstanceNameBytes in interface LogStringOrBuilder
      Returns:
      The bytes for instanceName.
    • hasBotAccountName

      public boolean hasBotAccountName()
      Human-readable name of the bot account, if available.
      Provided as a convenience to avoid requiring additional lookups.
      
      optional string bot_account_name = 8;
      Specified by:
      hasBotAccountName in interface LogStringOrBuilder
      Returns:
      Whether the botAccountName field is set.
    • getBotAccountName

      public String getBotAccountName()
      Human-readable name of the bot account, if available.
      Provided as a convenience to avoid requiring additional lookups.
      
      optional string bot_account_name = 8;
      Specified by:
      getBotAccountName in interface LogStringOrBuilder
      Returns:
      The botAccountName.
    • getBotAccountNameBytes

      public com.google.protobuf.ByteString getBotAccountNameBytes()
      Human-readable name of the bot account, if available.
      Provided as a convenience to avoid requiring additional lookups.
      
      optional string bot_account_name = 8;
      Specified by:
      getBotAccountNameBytes in interface LogStringOrBuilder
      Returns:
      The bytes for botAccountName.
    • hasTimestamp

      public boolean hasTimestamp()
      The timestamp when this log entry was created.
      
      .google.protobuf.Timestamp timestamp = 9;
      Specified by:
      hasTimestamp in interface LogStringOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public com.google.protobuf.Timestamp getTimestamp()
      The timestamp when this log entry was created.
      
      .google.protobuf.Timestamp timestamp = 9;
      Specified by:
      getTimestamp in interface LogStringOrBuilder
      Returns:
      The timestamp.
    • getTimestampOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
      The timestamp when this log entry was created.
      
      .google.protobuf.Timestamp timestamp = 9;
      Specified by:
      getTimestampOrBuilder in interface LogStringOrBuilder
    • hasLoggerName

      public boolean hasLoggerName()
      The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").
      Useful for filtering and debugging purposes.
      
      optional string logger_name = 10;
      Specified by:
      hasLoggerName in interface LogStringOrBuilder
      Returns:
      Whether the loggerName field is set.
    • getLoggerName

      public String getLoggerName()
      The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").
      Useful for filtering and debugging purposes.
      
      optional string logger_name = 10;
      Specified by:
      getLoggerName in interface LogStringOrBuilder
      Returns:
      The loggerName.
    • getLoggerNameBytes

      public com.google.protobuf.ByteString getLoggerNameBytes()
      The name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").
      Useful for filtering and debugging purposes.
      
      optional string logger_name = 10;
      Specified by:
      getLoggerNameBytes in interface LogStringOrBuilder
      Returns:
      The bytes for loggerName.
    • hasLevel

      public boolean hasLevel()
      The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").
      Corresponds to Log4j2 log levels.
      
      optional string level = 11;
      Specified by:
      hasLevel in interface LogStringOrBuilder
      Returns:
      Whether the level field is set.
    • getLevel

      public String getLevel()
      The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").
      Corresponds to Log4j2 log levels.
      
      optional string level = 11;
      Specified by:
      getLevel in interface LogStringOrBuilder
      Returns:
      The level.
    • getLevelBytes

      public com.google.protobuf.ByteString getLevelBytes()
      The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").
      Corresponds to Log4j2 log levels.
      
      optional string level = 11;
      Specified by:
      getLevelBytes in interface LogStringOrBuilder
      Returns:
      The bytes for level.
    • 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
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static LogString parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LogString parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

      public static LogString parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static LogString parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

      public static LogString parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static LogString.Builder newBuilder()
    • newBuilder

      public static LogString.Builder newBuilder(LogString prototype)
    • toBuilder

      public LogString.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected LogString.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static LogString getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<LogString> parser()
    • getParserForType

      public com.google.protobuf.Parser<LogString> 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
    • getDefaultInstanceForType

      public LogString getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder