Class CommandCompletionResponse.Builder

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

public static final class CommandCompletionResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<CommandCompletionResponse.Builder> implements CommandCompletionResponseOrBuilder
Response message containing tab-completion suggestions.
Protobuf type soulfire.v1.CommandCompletionResponse
  • 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<CommandCompletionResponse.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<CommandCompletionResponse.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<CommandCompletionResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public CommandCompletionResponse.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<CommandCompletionResponse.Builder>
      Throws:
      IOException
    • getSuggestionsList

      public List<CommandCompletion> getSuggestionsList()
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
      Specified by:
      getSuggestionsList in interface CommandCompletionResponseOrBuilder
    • getSuggestionsCount

      public int getSuggestionsCount()
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
      Specified by:
      getSuggestionsCount in interface CommandCompletionResponseOrBuilder
    • getSuggestions

      public CommandCompletion getSuggestions(int index)
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
      Specified by:
      getSuggestions in interface CommandCompletionResponseOrBuilder
    • setSuggestions

      public CommandCompletionResponse.Builder setSuggestions(int index, CommandCompletion value)
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
    • setSuggestions

      public CommandCompletionResponse.Builder setSuggestions(int index, CommandCompletion.Builder builderForValue)
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
    • addSuggestions

      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
    • addSuggestions

      public CommandCompletionResponse.Builder addSuggestions(int index, CommandCompletion value)
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
    • addSuggestions

      public CommandCompletionResponse.Builder addSuggestions(CommandCompletion.Builder builderForValue)
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
    • addSuggestions

      public CommandCompletionResponse.Builder addSuggestions(int index, CommandCompletion.Builder builderForValue)
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
    • addAllSuggestions

      public CommandCompletionResponse.Builder addAllSuggestions(Iterable<? extends CommandCompletion> values)
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
    • clearSuggestions

      public CommandCompletionResponse.Builder clearSuggestions()
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
    • removeSuggestions

      public CommandCompletionResponse.Builder removeSuggestions(int index)
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
    • getSuggestionsBuilder

      public CommandCompletion.Builder getSuggestionsBuilder(int index)
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
    • getSuggestionsOrBuilder

      public CommandCompletionOrBuilder getSuggestionsOrBuilder(int index)
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
      Specified by:
      getSuggestionsOrBuilder in interface CommandCompletionResponseOrBuilder
    • getSuggestionsOrBuilderList

      public List<? extends CommandCompletionOrBuilder> getSuggestionsOrBuilderList()
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
      Specified by:
      getSuggestionsOrBuilderList in interface CommandCompletionResponseOrBuilder
    • addSuggestionsBuilder

      public CommandCompletion.Builder addSuggestionsBuilder()
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
    • addSuggestionsBuilder

      public CommandCompletion.Builder addSuggestionsBuilder(int index)
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;
    • getSuggestionsBuilderList

      public List<CommandCompletion.Builder> getSuggestionsBuilderList()
      List of completion suggestions for the partial command.
      May be empty if no completions are available.
      Suggestions are generated based on the command's Brigadier definition
      and the current execution scope's visibility.
      
      repeated .soulfire.v1.CommandCompletion suggestions = 1;