Interface LogStringOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LogString, LogString.Builder
@Generated
public interface LogStringOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe UUID of the bot account this log is associated with, if any.com.google.protobuf.ByteStringThe UUID of the bot account this log is associated with, if any.Human-readable name of the bot account, if available.com.google.protobuf.ByteStringHuman-readable name of the bot account, if available.getId()Unique identifier for this log entry.com.google.protobuf.ByteStringUnique identifier for this log entry.The UUID of the instance this log is associated with, if any.com.google.protobuf.ByteStringThe UUID of the instance this log is associated with, if any.Human-readable name of the instance, if available.com.google.protobuf.ByteStringHuman-readable name of the instance, if available.getLevel()The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").com.google.protobuf.ByteStringThe 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.ByteStringThe name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").The formatted log message content.com.google.protobuf.ByteStringThe formatted log message content.booleanIndicates 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.ByteStringThe UUID of the script this log is associated with, if any.com.google.protobuf.TimestampThe timestamp when this log entry was created.com.google.protobuf.TimestampOrBuilderThe timestamp when this log entry was created.booleanThe UUID of the bot account this log is associated with, if any.booleanHuman-readable name of the bot account, if available.booleanThe UUID of the instance this log is associated with, if any.booleanHuman-readable name of the instance, if available.booleanhasLevel()The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL").booleanThe name of the logger that produced this log entry (e.g., "com.soulfiremc.server.SomeClass").booleanThe UUID of the script this log is associated with, if any.booleanThe timestamp when this log entry was created.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
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;- Returns:
- The id.
-
getIdBytes
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;- Returns:
- The bytes for id.
-
getMessage
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;- Returns:
- The message.
-
getMessageBytes
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;- Returns:
- The bytes for message.
-
hasInstanceId
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;- Returns:
- Whether the instanceId field is set.
-
getInstanceId
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;- Returns:
- The instanceId.
-
getInstanceIdBytes
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;- Returns:
- The bytes for instanceId.
-
hasBotAccountId
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;- Returns:
- Whether the botAccountId field is set.
-
getBotAccountId
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;- Returns:
- The botAccountId.
-
getBotAccountIdBytes
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;- Returns:
- The bytes for botAccountId.
-
hasScriptId
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;- Returns:
- Whether the scriptId field is set.
-
getScriptId
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;- Returns:
- The scriptId.
-
getScriptIdBytes
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;- Returns:
- The bytes for scriptId.
-
getPersonal
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;- Returns:
- The personal.
-
hasInstanceName
boolean hasInstanceName()Human-readable name of the instance, if available. Provided as a convenience to avoid requiring additional lookups.
optional string instance_name = 7;- Returns:
- Whether the instanceName field is set.
-
getInstanceName
String getInstanceName()Human-readable name of the instance, if available. Provided as a convenience to avoid requiring additional lookups.
optional string instance_name = 7;- Returns:
- The instanceName.
-
getInstanceNameBytes
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;- Returns:
- The bytes for instanceName.
-
hasBotAccountName
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;- Returns:
- Whether the botAccountName field is set.
-
getBotAccountName
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;- Returns:
- The botAccountName.
-
getBotAccountNameBytes
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;- Returns:
- The bytes for botAccountName.
-
hasTimestamp
boolean hasTimestamp()The timestamp when this log entry was created.
.google.protobuf.Timestamp timestamp = 9;- Returns:
- Whether the timestamp field is set.
-
getTimestamp
com.google.protobuf.Timestamp getTimestamp()The timestamp when this log entry was created.
.google.protobuf.Timestamp timestamp = 9;- Returns:
- The timestamp.
-
getTimestampOrBuilder
com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()The timestamp when this log entry was created.
.google.protobuf.Timestamp timestamp = 9; -
hasLoggerName
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;- Returns:
- Whether the loggerName field is set.
-
getLoggerName
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;- Returns:
- The loggerName.
-
getLoggerNameBytes
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;- Returns:
- The bytes for loggerName.
-
hasLevel
boolean hasLevel()The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL"). Corresponds to Log4j2 log levels.
optional string level = 11;- Returns:
- Whether the level field is set.
-
getLevel
String getLevel()The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL"). Corresponds to Log4j2 log levels.
optional string level = 11;- Returns:
- The level.
-
getLevelBytes
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;- Returns:
- The bytes for level.
-