Class SubscribeScriptLogsRequest.Builder

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

public static final class SubscribeScriptLogsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<SubscribeScriptLogsRequest.Builder> implements SubscribeScriptLogsRequestOrBuilder
Request to subscribe to log entries from a script.
Protobuf type soulfire.v1.SubscribeScriptLogsRequest
  • 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<SubscribeScriptLogsRequest.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<SubscribeScriptLogsRequest.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<SubscribeScriptLogsRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public SubscribeScriptLogsRequest.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<SubscribeScriptLogsRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public SubscribeScriptLogsRequest.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<SubscribeScriptLogsRequest.Builder>
      Throws:
      IOException
    • getInstanceId

      public String getInstanceId()
      The instance containing the script.
      Format: UUID string.
      
      string instance_id = 1;
      Specified by:
      getInstanceId in interface SubscribeScriptLogsRequestOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
      The instance containing the script.
      Format: UUID string.
      
      string instance_id = 1;
      Specified by:
      getInstanceIdBytes in interface SubscribeScriptLogsRequestOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

      public SubscribeScriptLogsRequest.Builder setInstanceId(String value)
      The instance containing the script.
      Format: UUID string.
      
      string instance_id = 1;
      Parameters:
      value - The instanceId to set.
      Returns:
      This builder for chaining.
    • clearInstanceId

      public SubscribeScriptLogsRequest.Builder clearInstanceId()
      The instance containing the script.
      Format: UUID string.
      
      string instance_id = 1;
      Returns:
      This builder for chaining.
    • setInstanceIdBytes

      public SubscribeScriptLogsRequest.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
      The instance containing the script.
      Format: UUID string.
      
      string instance_id = 1;
      Parameters:
      value - The bytes for instanceId to set.
      Returns:
      This builder for chaining.
    • getScriptId

      public String getScriptId()
      The ID of the script to receive logs from.
      Format: UUID string.
      
      string script_id = 2;
      Specified by:
      getScriptId in interface SubscribeScriptLogsRequestOrBuilder
      Returns:
      The scriptId.
    • getScriptIdBytes

      public com.google.protobuf.ByteString getScriptIdBytes()
      The ID of the script to receive logs from.
      Format: UUID string.
      
      string script_id = 2;
      Specified by:
      getScriptIdBytes in interface SubscribeScriptLogsRequestOrBuilder
      Returns:
      The bytes for scriptId.
    • setScriptId

      public SubscribeScriptLogsRequest.Builder setScriptId(String value)
      The ID of the script to receive logs from.
      Format: UUID string.
      
      string script_id = 2;
      Parameters:
      value - The scriptId to set.
      Returns:
      This builder for chaining.
    • clearScriptId

      public SubscribeScriptLogsRequest.Builder clearScriptId()
      The ID of the script to receive logs from.
      Format: UUID string.
      
      string script_id = 2;
      Returns:
      This builder for chaining.
    • setScriptIdBytes

      public SubscribeScriptLogsRequest.Builder setScriptIdBytes(com.google.protobuf.ByteString value)
      The ID of the script to receive logs from.
      Format: UUID string.
      
      string script_id = 2;
      Parameters:
      value - The bytes for scriptId to set.
      Returns:
      This builder for chaining.
    • getMinLevelValue

      public int getMinLevelValue()
      Minimum log level to receive.
      Only log entries at this level or higher severity will be streamed.
      
      .soulfire.v1.LogLevel min_level = 3;
      Specified by:
      getMinLevelValue in interface SubscribeScriptLogsRequestOrBuilder
      Returns:
      The enum numeric value on the wire for minLevel.
    • setMinLevelValue

      public SubscribeScriptLogsRequest.Builder setMinLevelValue(int value)
      Minimum log level to receive.
      Only log entries at this level or higher severity will be streamed.
      
      .soulfire.v1.LogLevel min_level = 3;
      Parameters:
      value - The enum numeric value on the wire for minLevel to set.
      Returns:
      This builder for chaining.
      Throws:
      IllegalArgumentException - if UNRECOGNIZED is provided.
    • getMinLevel

      public LogLevel getMinLevel()
      Minimum log level to receive.
      Only log entries at this level or higher severity will be streamed.
      
      .soulfire.v1.LogLevel min_level = 3;
      Specified by:
      getMinLevel in interface SubscribeScriptLogsRequestOrBuilder
      Returns:
      The minLevel.
    • setMinLevel

      public SubscribeScriptLogsRequest.Builder setMinLevel(LogLevel value)
      Minimum log level to receive.
      Only log entries at this level or higher severity will be streamed.
      
      .soulfire.v1.LogLevel min_level = 3;
      Parameters:
      value - The minLevel to set.
      Returns:
      This builder for chaining.
    • clearMinLevel

      public SubscribeScriptLogsRequest.Builder clearMinLevel()
      Minimum log level to receive.
      Only log entries at this level or higher severity will be streamed.
      
      .soulfire.v1.LogLevel min_level = 3;
      Returns:
      This builder for chaining.