Interface CommandCompletionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommandCompletion, CommandCompletion.Builder
@Generated
public interface CommandCompletionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe suggested text to insert at the cursor position.com.google.protobuf.ByteStringThe suggested text to insert at the cursor position.Optional tooltip providing additional context about this suggestion.com.google.protobuf.ByteStringOptional tooltip providing additional context about this suggestion.booleanOptional tooltip providing additional context about this suggestion.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
-
getSuggestion
String getSuggestion()The suggested text to insert at the cursor position. This is the actual completion value, not the full command.
string suggestion = 1;- Returns:
- The suggestion.
-
getSuggestionBytes
com.google.protobuf.ByteString getSuggestionBytes()The suggested text to insert at the cursor position. This is the actual completion value, not the full command.
string suggestion = 1;- Returns:
- The bytes for suggestion.
-
hasTooltip
boolean hasTooltip()Optional tooltip providing additional context about this suggestion. May contain formatted text explaining what the suggestion does. If not present, no tooltip should be displayed.
optional string tooltip = 2;- Returns:
- Whether the tooltip field is set.
-
getTooltip
String getTooltip()Optional tooltip providing additional context about this suggestion. May contain formatted text explaining what the suggestion does. If not present, no tooltip should be displayed.
optional string tooltip = 2;- Returns:
- The tooltip.
-
getTooltipBytes
com.google.protobuf.ByteString getTooltipBytes()Optional tooltip providing additional context about this suggestion. May contain formatted text explaining what the suggestion does. If not present, no tooltip should be displayed.
optional string tooltip = 2;- Returns:
- The bytes for tooltip.
-