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 ClassesModifier and TypeClassDescriptionstatic final classRepresents 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.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe 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.static LogStringstatic final com.google.protobuf.Descriptors.DescriptorgetId()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.com.google.protobuf.Parser<LogString> 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.intcom.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.inthashCode()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic LogString.Builderstatic LogString.BuildernewBuilder(LogString prototype) protected LogString.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static LogStringparseDelimitedFrom(InputStream input) static LogStringparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogStringparseFrom(byte[] data) static LogStringparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogStringparseFrom(com.google.protobuf.ByteString data) static LogStringparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogStringparseFrom(com.google.protobuf.CodedInputStream input) static LogStringparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogStringparseFrom(InputStream input) static LogStringparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LogStringparseFrom(ByteBuffer data) static LogStringparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LogString> parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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:
getIdin interfaceLogStringOrBuilder- 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:
getIdBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for id.
-
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:
getMessagein interfaceLogStringOrBuilder- 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:
getMessageBytesin interfaceLogStringOrBuilder- 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:
hasInstanceIdin interfaceLogStringOrBuilder- Returns:
- Whether the instanceId field is set.
-
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:
getInstanceIdin interfaceLogStringOrBuilder- 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:
getInstanceIdBytesin interfaceLogStringOrBuilder- 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:
hasBotAccountIdin interfaceLogStringOrBuilder- Returns:
- Whether the botAccountId field is set.
-
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:
getBotAccountIdin interfaceLogStringOrBuilder- 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:
getBotAccountIdBytesin interfaceLogStringOrBuilder- 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:
hasScriptIdin interfaceLogStringOrBuilder- Returns:
- Whether the scriptId field is set.
-
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:
getScriptIdin interfaceLogStringOrBuilder- 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:
getScriptIdBytesin interfaceLogStringOrBuilder- 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:
getPersonalin interfaceLogStringOrBuilder- 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:
hasInstanceNamein interfaceLogStringOrBuilder- Returns:
- Whether the instanceName field is set.
-
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:
getInstanceNamein interfaceLogStringOrBuilder- 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:
getInstanceNameBytesin interfaceLogStringOrBuilder- 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:
hasBotAccountNamein interfaceLogStringOrBuilder- Returns:
- Whether the botAccountName field is set.
-
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:
getBotAccountNamein interfaceLogStringOrBuilder- 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:
getBotAccountNameBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for botAccountName.
-
hasTimestamp
public boolean hasTimestamp()The timestamp when this log entry was created.
.google.protobuf.Timestamp timestamp = 9;- Specified by:
hasTimestampin interfaceLogStringOrBuilder- 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:
getTimestampin interfaceLogStringOrBuilder- 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:
getTimestampOrBuilderin interfaceLogStringOrBuilder
-
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:
hasLoggerNamein interfaceLogStringOrBuilder- Returns:
- Whether the loggerName field is set.
-
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:
getLoggerNamein interfaceLogStringOrBuilder- 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:
getLoggerNameBytesin interfaceLogStringOrBuilder- 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:
hasLevelin interfaceLogStringOrBuilder- Returns:
- Whether the level field is set.
-
getLevel
The log level (e.g., "INFO", "WARN", "ERROR", "DEBUG", "TRACE", "FATAL"). Corresponds to Log4j2 log levels.
optional string level = 11;- Specified by:
getLevelin interfaceLogStringOrBuilder- 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:
getLevelBytesin interfaceLogStringOrBuilder- Returns:
- The bytes for level.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static LogString parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LogString parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LogString parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LogString.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-