Interface CommandRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CommandRequest, CommandRequest.Builder

@Generated public interface CommandRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The command string to execute.
    com.google.protobuf.ByteString
    The command string to execute.
    The execution scope that determines which instances/bots the command can affect and what permissions are required.
    The execution scope that determines which instances/bots the command can affect and what permissions are required.
    boolean
    The execution scope that determines which instances/bots the command can affect and what permissions are required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

    • hasScope

      boolean hasScope()
      The execution scope that determines which instances/bots the command can affect
      and what permissions are required. Must be set to one of the scope options.
      
      .soulfire.v1.CommandScope scope = 4;
      Returns:
      Whether the scope field is set.
    • getScope

      CommandScope getScope()
      The execution scope that determines which instances/bots the command can affect
      and what permissions are required. Must be set to one of the scope options.
      
      .soulfire.v1.CommandScope scope = 4;
      Returns:
      The scope.
    • getScopeOrBuilder

      CommandScopeOrBuilder getScopeOrBuilder()
      The execution scope that determines which instances/bots the command can affect
      and what permissions are required. Must be set to one of the scope options.
      
      .soulfire.v1.CommandScope scope = 4;
    • getCommand

      String getCommand()
      The command string to execute. This follows the Brigadier command format,
      e.g., "help", "move 100 64 200", "say Hello world".
      Leading/trailing whitespace will be stripped before execution.
      
      string command = 3;
      Returns:
      The command.
    • getCommandBytes

      com.google.protobuf.ByteString getCommandBytes()
      The command string to execute. This follows the Brigadier command format,
      e.g., "help", "move 100 64 200", "say Hello world".
      Leading/trailing whitespace will be stripped before execution.
      
      string command = 3;
      Returns:
      The bytes for command.