Class ScriptLogEntry.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ScriptLogEntry.Builder>
com.google.protobuf.GeneratedMessage.Builder<ScriptLogEntry.Builder>
com.soulfiremc.grpc.generated.ScriptLogEntry.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ScriptLogEntryOrBuilder, Cloneable
Enclosing class:
ScriptLogEntry

public static final class ScriptLogEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<ScriptLogEntry.Builder> implements ScriptLogEntryOrBuilder
A single log entry generated during script execution.
Provides detailed information about script operations for debugging and monitoring.
Protobuf type soulfire.v1.ScriptLogEntry
  • 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.Builder<ScriptLogEntry.Builder>
    • clear

      public ScriptLogEntry.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ScriptLogEntry.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ScriptLogEntry.Builder>
    • getDefaultInstanceForType

      public ScriptLogEntry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ScriptLogEntry build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ScriptLogEntry buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ScriptLogEntry.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ScriptLogEntry.Builder>
    • mergeFrom

      public ScriptLogEntry.Builder mergeFrom(ScriptLogEntry other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ScriptLogEntry.Builder>
    • mergeFrom

      public ScriptLogEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ScriptLogEntry.Builder>
      Throws:
      IOException
    • getScriptId

      public String getScriptId()
      The script that generated this log entry.
      Format: UUID string.
      
      string script_id = 1;
      Specified by:
      getScriptId in interface ScriptLogEntryOrBuilder
      Returns:
      The scriptId.
    • getScriptIdBytes

      public com.google.protobuf.ByteString getScriptIdBytes()
      The script that generated this log entry.
      Format: UUID string.
      
      string script_id = 1;
      Specified by:
      getScriptIdBytes in interface ScriptLogEntryOrBuilder
      Returns:
      The bytes for scriptId.
    • setScriptId

      public ScriptLogEntry.Builder setScriptId(String value)
      The script that generated this log entry.
      Format: UUID string.
      
      string script_id = 1;
      Parameters:
      value - The scriptId to set.
      Returns:
      This builder for chaining.
    • clearScriptId

      public ScriptLogEntry.Builder clearScriptId()
      The script that generated this log entry.
      Format: UUID string.
      
      string script_id = 1;
      Returns:
      This builder for chaining.
    • setScriptIdBytes

      public ScriptLogEntry.Builder setScriptIdBytes(com.google.protobuf.ByteString value)
      The script that generated this log entry.
      Format: UUID string.
      
      string script_id = 1;
      Parameters:
      value - The bytes for scriptId to set.
      Returns:
      This builder for chaining.
    • getNodeId

      public String getNodeId()
      The node that generated this log entry, if applicable.
      May be empty for script-level log entries.
      
      string node_id = 2;
      Specified by:
      getNodeId in interface ScriptLogEntryOrBuilder
      Returns:
      The nodeId.
    • getNodeIdBytes

      public com.google.protobuf.ByteString getNodeIdBytes()
      The node that generated this log entry, if applicable.
      May be empty for script-level log entries.
      
      string node_id = 2;
      Specified by:
      getNodeIdBytes in interface ScriptLogEntryOrBuilder
      Returns:
      The bytes for nodeId.
    • setNodeId

      public ScriptLogEntry.Builder setNodeId(String value)
      The node that generated this log entry, if applicable.
      May be empty for script-level log entries.
      
      string node_id = 2;
      Parameters:
      value - The nodeId to set.
      Returns:
      This builder for chaining.
    • clearNodeId

      public ScriptLogEntry.Builder clearNodeId()
      The node that generated this log entry, if applicable.
      May be empty for script-level log entries.
      
      string node_id = 2;
      Returns:
      This builder for chaining.
    • setNodeIdBytes

      public ScriptLogEntry.Builder setNodeIdBytes(com.google.protobuf.ByteString value)
      The node that generated this log entry, if applicable.
      May be empty for script-level log entries.
      
      string node_id = 2;
      Parameters:
      value - The bytes for nodeId to set.
      Returns:
      This builder for chaining.
    • getLevelValue

      public int getLevelValue()
      The severity level of this log entry.
      
      .soulfire.v1.LogLevel level = 3;
      Specified by:
      getLevelValue in interface ScriptLogEntryOrBuilder
      Returns:
      The enum numeric value on the wire for level.
    • setLevelValue

      public ScriptLogEntry.Builder setLevelValue(int value)
      The severity level of this log entry.
      
      .soulfire.v1.LogLevel level = 3;
      Parameters:
      value - The enum numeric value on the wire for level to set.
      Returns:
      This builder for chaining.
      Throws:
      IllegalArgumentException - if UNRECOGNIZED is provided.
    • getLevel

      public LogLevel getLevel()
      The severity level of this log entry.
      
      .soulfire.v1.LogLevel level = 3;
      Specified by:
      getLevel in interface ScriptLogEntryOrBuilder
      Returns:
      The level.
    • setLevel

      public ScriptLogEntry.Builder setLevel(LogLevel value)
      The severity level of this log entry.
      
      .soulfire.v1.LogLevel level = 3;
      Parameters:
      value - The level to set.
      Returns:
      This builder for chaining.
    • clearLevel

      public ScriptLogEntry.Builder clearLevel()
      The severity level of this log entry.
      
      .soulfire.v1.LogLevel level = 3;
      Returns:
      This builder for chaining.
    • getMessage

      public String getMessage()
      The log message content.
      
      string message = 4;
      Specified by:
      getMessage in interface ScriptLogEntryOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
      The log message content.
      
      string message = 4;
      Specified by:
      getMessageBytes in interface ScriptLogEntryOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public ScriptLogEntry.Builder setMessage(String value)
      The log message content.
      
      string message = 4;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public ScriptLogEntry.Builder clearMessage()
      The log message content.
      
      string message = 4;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public ScriptLogEntry.Builder setMessageBytes(com.google.protobuf.ByteString value)
      The log message content.
      
      string message = 4;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • hasTimestamp

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

      public com.google.protobuf.Timestamp getTimestamp()
      When this log entry was created.
      
      .google.protobuf.Timestamp timestamp = 5;
      Specified by:
      getTimestamp in interface ScriptLogEntryOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public ScriptLogEntry.Builder setTimestamp(com.google.protobuf.Timestamp value)
      When this log entry was created.
      
      .google.protobuf.Timestamp timestamp = 5;
    • setTimestamp

      public ScriptLogEntry.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
      When this log entry was created.
      
      .google.protobuf.Timestamp timestamp = 5;
    • mergeTimestamp

      public ScriptLogEntry.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
      When this log entry was created.
      
      .google.protobuf.Timestamp timestamp = 5;
    • clearTimestamp

      public ScriptLogEntry.Builder clearTimestamp()
      When this log entry was created.
      
      .google.protobuf.Timestamp timestamp = 5;
    • getTimestampBuilder

      public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
      When this log entry was created.
      
      .google.protobuf.Timestamp timestamp = 5;
    • getTimestampOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
      When this log entry was created.
      
      .google.protobuf.Timestamp timestamp = 5;
      Specified by:
      getTimestampOrBuilder in interface ScriptLogEntryOrBuilder