Class CompletionItem.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CompletionItem.Builder>
io.deephaven.proto.backplane.script.grpc.CompletionItem.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CompletionItemOrBuilder, Cloneable
Enclosing class:
CompletionItem

public static final class CompletionItem.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CompletionItem.Builder> implements CompletionItemOrBuilder
Protobuf type io.deephaven.proto.backplane.script.grpc.CompletionItem
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionItem.Builder>
    • clear

      public CompletionItem.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.GeneratedMessageV3.Builder<CompletionItem.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.GeneratedMessageV3.Builder<CompletionItem.Builder>
    • getDefaultInstanceForType

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

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

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

      public CompletionItem.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionItem.Builder>
    • setField

      public CompletionItem.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionItem.Builder>
    • clearField

      public CompletionItem.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionItem.Builder>
    • clearOneof

      public CompletionItem.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionItem.Builder>
    • setRepeatedField

      public CompletionItem.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionItem.Builder>
    • addRepeatedField

      public CompletionItem.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionItem.Builder>
    • mergeFrom

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

      public CompletionItem.Builder mergeFrom(CompletionItem other)
    • isInitialized

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

      public CompletionItem.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<CompletionItem.Builder>
      Throws:
      IOException
    • getStart

      public int getStart()
      int32 start = 1;
      Specified by:
      getStart in interface CompletionItemOrBuilder
      Returns:
      The start.
    • setStart

      public CompletionItem.Builder setStart(int value)
      int32 start = 1;
      Parameters:
      value - The start to set.
      Returns:
      This builder for chaining.
    • clearStart

      public CompletionItem.Builder clearStart()
      int32 start = 1;
      Returns:
      This builder for chaining.
    • getLength

      public int getLength()
      int32 length = 2;
      Specified by:
      getLength in interface CompletionItemOrBuilder
      Returns:
      The length.
    • setLength

      public CompletionItem.Builder setLength(int value)
      int32 length = 2;
      Parameters:
      value - The length to set.
      Returns:
      This builder for chaining.
    • clearLength

      public CompletionItem.Builder clearLength()
      int32 length = 2;
      Returns:
      This builder for chaining.
    • getLabel

      public String getLabel()
      string label = 3;
      Specified by:
      getLabel in interface CompletionItemOrBuilder
      Returns:
      The label.
    • getLabelBytes

      public com.google.protobuf.ByteString getLabelBytes()
      string label = 3;
      Specified by:
      getLabelBytes in interface CompletionItemOrBuilder
      Returns:
      The bytes for label.
    • setLabel

      public CompletionItem.Builder setLabel(String value)
      string label = 3;
      Parameters:
      value - The label to set.
      Returns:
      This builder for chaining.
    • clearLabel

      public CompletionItem.Builder clearLabel()
      string label = 3;
      Returns:
      This builder for chaining.
    • setLabelBytes

      public CompletionItem.Builder setLabelBytes(com.google.protobuf.ByteString value)
      string label = 3;
      Parameters:
      value - The bytes for label to set.
      Returns:
      This builder for chaining.
    • getKind

      public int getKind()
      int32 kind = 4;
      Specified by:
      getKind in interface CompletionItemOrBuilder
      Returns:
      The kind.
    • setKind

      public CompletionItem.Builder setKind(int value)
      int32 kind = 4;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public CompletionItem.Builder clearKind()
      int32 kind = 4;
      Returns:
      This builder for chaining.
    • getDetail

      public String getDetail()
      string detail = 5;
      Specified by:
      getDetail in interface CompletionItemOrBuilder
      Returns:
      The detail.
    • getDetailBytes

      public com.google.protobuf.ByteString getDetailBytes()
      string detail = 5;
      Specified by:
      getDetailBytes in interface CompletionItemOrBuilder
      Returns:
      The bytes for detail.
    • setDetail

      public CompletionItem.Builder setDetail(String value)
      string detail = 5;
      Parameters:
      value - The detail to set.
      Returns:
      This builder for chaining.
    • clearDetail

      public CompletionItem.Builder clearDetail()
      string detail = 5;
      Returns:
      This builder for chaining.
    • setDetailBytes

      public CompletionItem.Builder setDetailBytes(com.google.protobuf.ByteString value)
      string detail = 5;
      Parameters:
      value - The bytes for detail to set.
      Returns:
      This builder for chaining.
    • getDeprecated

      public boolean getDeprecated()
      bool deprecated = 7;
      Specified by:
      getDeprecated in interface CompletionItemOrBuilder
      Returns:
      The deprecated.
    • setDeprecated

      public CompletionItem.Builder setDeprecated(boolean value)
      bool deprecated = 7;
      Parameters:
      value - The deprecated to set.
      Returns:
      This builder for chaining.
    • clearDeprecated

      public CompletionItem.Builder clearDeprecated()
      bool deprecated = 7;
      Returns:
      This builder for chaining.
    • getPreselect

      public boolean getPreselect()
      bool preselect = 8;
      Specified by:
      getPreselect in interface CompletionItemOrBuilder
      Returns:
      The preselect.
    • setPreselect

      public CompletionItem.Builder setPreselect(boolean value)
      bool preselect = 8;
      Parameters:
      value - The preselect to set.
      Returns:
      This builder for chaining.
    • clearPreselect

      public CompletionItem.Builder clearPreselect()
      bool preselect = 8;
      Returns:
      This builder for chaining.
    • hasTextEdit

      public boolean hasTextEdit()
      .io.deephaven.proto.backplane.script.grpc.TextEdit text_edit = 9;
      Specified by:
      hasTextEdit in interface CompletionItemOrBuilder
      Returns:
      Whether the textEdit field is set.
    • getTextEdit

      public TextEdit getTextEdit()
      .io.deephaven.proto.backplane.script.grpc.TextEdit text_edit = 9;
      Specified by:
      getTextEdit in interface CompletionItemOrBuilder
      Returns:
      The textEdit.
    • setTextEdit

      public CompletionItem.Builder setTextEdit(TextEdit value)
      .io.deephaven.proto.backplane.script.grpc.TextEdit text_edit = 9;
    • setTextEdit

      public CompletionItem.Builder setTextEdit(TextEdit.Builder builderForValue)
      .io.deephaven.proto.backplane.script.grpc.TextEdit text_edit = 9;
    • mergeTextEdit

      public CompletionItem.Builder mergeTextEdit(TextEdit value)
      .io.deephaven.proto.backplane.script.grpc.TextEdit text_edit = 9;
    • clearTextEdit

      public CompletionItem.Builder clearTextEdit()
      .io.deephaven.proto.backplane.script.grpc.TextEdit text_edit = 9;
    • getTextEditBuilder

      public TextEdit.Builder getTextEditBuilder()
      .io.deephaven.proto.backplane.script.grpc.TextEdit text_edit = 9;
    • getTextEditOrBuilder

      public TextEditOrBuilder getTextEditOrBuilder()
      .io.deephaven.proto.backplane.script.grpc.TextEdit text_edit = 9;
      Specified by:
      getTextEditOrBuilder in interface CompletionItemOrBuilder
    • getSortText

      public String getSortText()
      string sort_text = 10;
      Specified by:
      getSortText in interface CompletionItemOrBuilder
      Returns:
      The sortText.
    • getSortTextBytes

      public com.google.protobuf.ByteString getSortTextBytes()
      string sort_text = 10;
      Specified by:
      getSortTextBytes in interface CompletionItemOrBuilder
      Returns:
      The bytes for sortText.
    • setSortText

      public CompletionItem.Builder setSortText(String value)
      string sort_text = 10;
      Parameters:
      value - The sortText to set.
      Returns:
      This builder for chaining.
    • clearSortText

      public CompletionItem.Builder clearSortText()
      string sort_text = 10;
      Returns:
      This builder for chaining.
    • setSortTextBytes

      public CompletionItem.Builder setSortTextBytes(com.google.protobuf.ByteString value)
      string sort_text = 10;
      Parameters:
      value - The bytes for sortText to set.
      Returns:
      This builder for chaining.
    • getFilterText

      public String getFilterText()
      string filter_text = 11;
      Specified by:
      getFilterText in interface CompletionItemOrBuilder
      Returns:
      The filterText.
    • getFilterTextBytes

      public com.google.protobuf.ByteString getFilterTextBytes()
      string filter_text = 11;
      Specified by:
      getFilterTextBytes in interface CompletionItemOrBuilder
      Returns:
      The bytes for filterText.
    • setFilterText

      public CompletionItem.Builder setFilterText(String value)
      string filter_text = 11;
      Parameters:
      value - The filterText to set.
      Returns:
      This builder for chaining.
    • clearFilterText

      public CompletionItem.Builder clearFilterText()
      string filter_text = 11;
      Returns:
      This builder for chaining.
    • setFilterTextBytes

      public CompletionItem.Builder setFilterTextBytes(com.google.protobuf.ByteString value)
      string filter_text = 11;
      Parameters:
      value - The bytes for filterText to set.
      Returns:
      This builder for chaining.
    • getInsertTextFormat

      public int getInsertTextFormat()
      int32 insert_text_format = 12;
      Specified by:
      getInsertTextFormat in interface CompletionItemOrBuilder
      Returns:
      The insertTextFormat.
    • setInsertTextFormat

      public CompletionItem.Builder setInsertTextFormat(int value)
      int32 insert_text_format = 12;
      Parameters:
      value - The insertTextFormat to set.
      Returns:
      This builder for chaining.
    • clearInsertTextFormat

      public CompletionItem.Builder clearInsertTextFormat()
      int32 insert_text_format = 12;
      Returns:
      This builder for chaining.
    • getAdditionalTextEditsList

      public List<TextEdit> getAdditionalTextEditsList()
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
      Specified by:
      getAdditionalTextEditsList in interface CompletionItemOrBuilder
    • getAdditionalTextEditsCount

      public int getAdditionalTextEditsCount()
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
      Specified by:
      getAdditionalTextEditsCount in interface CompletionItemOrBuilder
    • getAdditionalTextEdits

      public TextEdit getAdditionalTextEdits(int index)
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
      Specified by:
      getAdditionalTextEdits in interface CompletionItemOrBuilder
    • setAdditionalTextEdits

      public CompletionItem.Builder setAdditionalTextEdits(int index, TextEdit value)
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
    • setAdditionalTextEdits

      public CompletionItem.Builder setAdditionalTextEdits(int index, TextEdit.Builder builderForValue)
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
    • addAdditionalTextEdits

      public CompletionItem.Builder addAdditionalTextEdits(TextEdit value)
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
    • addAdditionalTextEdits

      public CompletionItem.Builder addAdditionalTextEdits(int index, TextEdit value)
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
    • addAdditionalTextEdits

      public CompletionItem.Builder addAdditionalTextEdits(TextEdit.Builder builderForValue)
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
    • addAdditionalTextEdits

      public CompletionItem.Builder addAdditionalTextEdits(int index, TextEdit.Builder builderForValue)
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
    • addAllAdditionalTextEdits

      public CompletionItem.Builder addAllAdditionalTextEdits(Iterable<? extends TextEdit> values)
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
    • clearAdditionalTextEdits

      public CompletionItem.Builder clearAdditionalTextEdits()
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
    • removeAdditionalTextEdits

      public CompletionItem.Builder removeAdditionalTextEdits(int index)
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
    • getAdditionalTextEditsBuilder

      public TextEdit.Builder getAdditionalTextEditsBuilder(int index)
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
    • getAdditionalTextEditsOrBuilder

      public TextEditOrBuilder getAdditionalTextEditsOrBuilder(int index)
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
      Specified by:
      getAdditionalTextEditsOrBuilder in interface CompletionItemOrBuilder
    • getAdditionalTextEditsOrBuilderList

      public List<? extends TextEditOrBuilder> getAdditionalTextEditsOrBuilderList()
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
      Specified by:
      getAdditionalTextEditsOrBuilderList in interface CompletionItemOrBuilder
    • addAdditionalTextEditsBuilder

      public TextEdit.Builder addAdditionalTextEditsBuilder()
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
    • addAdditionalTextEditsBuilder

      public TextEdit.Builder addAdditionalTextEditsBuilder(int index)
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
    • getAdditionalTextEditsBuilderList

      public List<TextEdit.Builder> getAdditionalTextEditsBuilderList()
      repeated .io.deephaven.proto.backplane.script.grpc.TextEdit additional_text_edits = 13;
    • getCommitCharactersList

      public com.google.protobuf.ProtocolStringList getCommitCharactersList()
      repeated string commit_characters = 14;
      Specified by:
      getCommitCharactersList in interface CompletionItemOrBuilder
      Returns:
      A list containing the commitCharacters.
    • getCommitCharactersCount

      public int getCommitCharactersCount()
      repeated string commit_characters = 14;
      Specified by:
      getCommitCharactersCount in interface CompletionItemOrBuilder
      Returns:
      The count of commitCharacters.
    • getCommitCharacters

      public String getCommitCharacters(int index)
      repeated string commit_characters = 14;
      Specified by:
      getCommitCharacters in interface CompletionItemOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The commitCharacters at the given index.
    • getCommitCharactersBytes

      public com.google.protobuf.ByteString getCommitCharactersBytes(int index)
      repeated string commit_characters = 14;
      Specified by:
      getCommitCharactersBytes in interface CompletionItemOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the commitCharacters at the given index.
    • setCommitCharacters

      public CompletionItem.Builder setCommitCharacters(int index, String value)
      repeated string commit_characters = 14;
      Parameters:
      index - The index to set the value at.
      value - The commitCharacters to set.
      Returns:
      This builder for chaining.
    • addCommitCharacters

      public CompletionItem.Builder addCommitCharacters(String value)
      repeated string commit_characters = 14;
      Parameters:
      value - The commitCharacters to add.
      Returns:
      This builder for chaining.
    • addAllCommitCharacters

      public CompletionItem.Builder addAllCommitCharacters(Iterable<String> values)
      repeated string commit_characters = 14;
      Parameters:
      values - The commitCharacters to add.
      Returns:
      This builder for chaining.
    • clearCommitCharacters

      public CompletionItem.Builder clearCommitCharacters()
      repeated string commit_characters = 14;
      Returns:
      This builder for chaining.
    • addCommitCharactersBytes

      public CompletionItem.Builder addCommitCharactersBytes(com.google.protobuf.ByteString value)
      repeated string commit_characters = 14;
      Parameters:
      value - The bytes of the commitCharacters to add.
      Returns:
      This builder for chaining.
    • hasDocumentation

      public boolean hasDocumentation()
      .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 15;
      Specified by:
      hasDocumentation in interface CompletionItemOrBuilder
      Returns:
      Whether the documentation field is set.
    • getDocumentation

      public MarkupContent getDocumentation()
      .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 15;
      Specified by:
      getDocumentation in interface CompletionItemOrBuilder
      Returns:
      The documentation.
    • setDocumentation

      public CompletionItem.Builder setDocumentation(MarkupContent value)
      .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 15;
    • setDocumentation

      public CompletionItem.Builder setDocumentation(MarkupContent.Builder builderForValue)
      .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 15;
    • mergeDocumentation

      public CompletionItem.Builder mergeDocumentation(MarkupContent value)
      .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 15;
    • clearDocumentation

      public CompletionItem.Builder clearDocumentation()
      .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 15;
    • getDocumentationBuilder

      public MarkupContent.Builder getDocumentationBuilder()
      .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 15;
    • getDocumentationOrBuilder

      public MarkupContentOrBuilder getDocumentationOrBuilder()
      .io.deephaven.proto.backplane.script.grpc.MarkupContent documentation = 15;
      Specified by:
      getDocumentationOrBuilder in interface CompletionItemOrBuilder
    • setUnknownFields

      public final CompletionItem.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionItem.Builder>
    • mergeUnknownFields

      public final CompletionItem.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CompletionItem.Builder>