Interface CommandCompletionRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommandCompletionRequest, CommandCompletionRequest.Builder
@Generated
public interface CommandCompletionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe partial command string to complete.com.google.protobuf.ByteStringThe partial command string to complete.intThe cursor position within the command string (0-indexed).getScope()The execution scope that determines which instances/bots are visible for completion suggestions.The execution scope that determines which instances/bots are visible for completion suggestions.booleanhasScope()The execution scope that determines which instances/bots are visible for completion suggestions.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
-
hasScope
boolean hasScope()The execution scope that determines which instances/bots are visible for completion suggestions. Must be set to one of the scope options.
.soulfire.v1.CommandScope scope = 5;- Returns:
- Whether the scope field is set.
-
getScope
CommandScope getScope()The execution scope that determines which instances/bots are visible for completion suggestions. Must be set to one of the scope options.
.soulfire.v1.CommandScope scope = 5;- Returns:
- The scope.
-
getScopeOrBuilder
CommandScopeOrBuilder getScopeOrBuilder()The execution scope that determines which instances/bots are visible for completion suggestions. Must be set to one of the scope options.
.soulfire.v1.CommandScope scope = 5; -
getCommand
String getCommand()The partial command string to complete. May be an incomplete command that the user is typing, e.g., "mov" or "move 100 ".
string command = 3;- Returns:
- The command.
-
getCommandBytes
com.google.protobuf.ByteString getCommandBytes()The partial command string to complete. May be an incomplete command that the user is typing, e.g., "mov" or "move 100 ".
string command = 3;- Returns:
- The bytes for command.
-
getCursor
int getCursor()The cursor position within the command string (0-indexed). Completions will be generated for the token at this position. Typically this is the length of the command string for end-of-line completion.
int32 cursor = 4;- Returns:
- The cursor.
-