Class DocBinRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder>
de.uni_trier.recap.arg_services.nlp.v1.DocBinRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DocBinRequestOrBuilder, Cloneable
Enclosing class:
DocBinRequest

public static final class DocBinRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DocBinRequest.Builder> implements DocBinRequestOrBuilder
Protobuf type arg_services.nlp.v1.DocBinRequest
  • 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<DocBinRequest.Builder>
    • clear

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

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

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

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

      public DocBinRequest.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<DocBinRequest.Builder>
    • setField

      public DocBinRequest.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<DocBinRequest.Builder>
    • clearField

      public DocBinRequest.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<DocBinRequest.Builder>
    • clearOneof

      public DocBinRequest.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<DocBinRequest.Builder>
    • setRepeatedField

      public DocBinRequest.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<DocBinRequest.Builder>
    • addRepeatedField

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

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

      public DocBinRequest.Builder mergeFrom(DocBinRequest other)
    • isInitialized

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

      public DocBinRequest.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<DocBinRequest.Builder>
      Throws:
      IOException
    • getPipesCase

      public DocBinRequest.PipesCase getPipesCase()
      Specified by:
      getPipesCase in interface DocBinRequestOrBuilder
    • clearPipes

      public DocBinRequest.Builder clearPipes()
    • hasConfig

      public boolean hasConfig()
       Spacy config.
       
      .arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];
      Specified by:
      hasConfig in interface DocBinRequestOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public NlpConfig getConfig()
       Spacy config.
       
      .arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];
      Specified by:
      getConfig in interface DocBinRequestOrBuilder
      Returns:
      The config.
    • setConfig

      public DocBinRequest.Builder setConfig(NlpConfig value)
       Spacy config.
       
      .arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];
    • setConfig

      public DocBinRequest.Builder setConfig(NlpConfig.Builder builderForValue)
       Spacy config.
       
      .arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];
    • mergeConfig

      public DocBinRequest.Builder mergeConfig(NlpConfig value)
       Spacy config.
       
      .arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];
    • clearConfig

      public DocBinRequest.Builder clearConfig()
       Spacy config.
       
      .arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];
    • getConfigBuilder

      public NlpConfig.Builder getConfigBuilder()
       Spacy config.
       
      .arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];
    • getConfigOrBuilder

      public NlpConfigOrBuilder getConfigOrBuilder()
       Spacy config.
       
      .arg_services.nlp.v1.NlpConfig config = 1 [json_name = "config"];
      Specified by:
      getConfigOrBuilder in interface DocBinRequestOrBuilder
    • getTextsList

      public com.google.protobuf.ProtocolStringList getTextsList()
       List of strings to be processed.
       
      repeated string texts = 2 [json_name = "texts"];
      Specified by:
      getTextsList in interface DocBinRequestOrBuilder
      Returns:
      A list containing the texts.
    • getTextsCount

      public int getTextsCount()
       List of strings to be processed.
       
      repeated string texts = 2 [json_name = "texts"];
      Specified by:
      getTextsCount in interface DocBinRequestOrBuilder
      Returns:
      The count of texts.
    • getTexts

      public String getTexts(int index)
       List of strings to be processed.
       
      repeated string texts = 2 [json_name = "texts"];
      Specified by:
      getTexts in interface DocBinRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The texts at the given index.
    • getTextsBytes

      public com.google.protobuf.ByteString getTextsBytes(int index)
       List of strings to be processed.
       
      repeated string texts = 2 [json_name = "texts"];
      Specified by:
      getTextsBytes in interface DocBinRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the texts at the given index.
    • setTexts

      public DocBinRequest.Builder setTexts(int index, String value)
       List of strings to be processed.
       
      repeated string texts = 2 [json_name = "texts"];
      Parameters:
      index - The index to set the value at.
      value - The texts to set.
      Returns:
      This builder for chaining.
    • addTexts

      public DocBinRequest.Builder addTexts(String value)
       List of strings to be processed.
       
      repeated string texts = 2 [json_name = "texts"];
      Parameters:
      value - The texts to add.
      Returns:
      This builder for chaining.
    • addAllTexts

      public DocBinRequest.Builder addAllTexts(Iterable<String> values)
       List of strings to be processed.
       
      repeated string texts = 2 [json_name = "texts"];
      Parameters:
      values - The texts to add.
      Returns:
      This builder for chaining.
    • clearTexts

      public DocBinRequest.Builder clearTexts()
       List of strings to be processed.
       
      repeated string texts = 2 [json_name = "texts"];
      Returns:
      This builder for chaining.
    • addTextsBytes

      public DocBinRequest.Builder addTextsBytes(com.google.protobuf.ByteString value)
       List of strings to be processed.
       
      repeated string texts = 2 [json_name = "texts"];
      Parameters:
      value - The bytes of the texts to add.
      Returns:
      This builder for chaining.
    • hasAttributes

      public boolean hasAttributes()
       Attributes that shall be included in the DocBin object.
       Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`.
       Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`.
       [Documentation](https://spacy.io/api/token#attributes).
       
      optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"];
      Specified by:
      hasAttributes in interface DocBinRequestOrBuilder
      Returns:
      Whether the attributes field is set.
    • getAttributes

      public Strings getAttributes()
       Attributes that shall be included in the DocBin object.
       Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`.
       Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`.
       [Documentation](https://spacy.io/api/token#attributes).
       
      optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"];
      Specified by:
      getAttributes in interface DocBinRequestOrBuilder
      Returns:
      The attributes.
    • setAttributes

      public DocBinRequest.Builder setAttributes(Strings value)
       Attributes that shall be included in the DocBin object.
       Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`.
       Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`.
       [Documentation](https://spacy.io/api/token#attributes).
       
      optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"];
    • setAttributes

      public DocBinRequest.Builder setAttributes(Strings.Builder builderForValue)
       Attributes that shall be included in the DocBin object.
       Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`.
       Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`.
       [Documentation](https://spacy.io/api/token#attributes).
       
      optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"];
    • mergeAttributes

      public DocBinRequest.Builder mergeAttributes(Strings value)
       Attributes that shall be included in the DocBin object.
       Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`.
       Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`.
       [Documentation](https://spacy.io/api/token#attributes).
       
      optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"];
    • clearAttributes

      public DocBinRequest.Builder clearAttributes()
       Attributes that shall be included in the DocBin object.
       Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`.
       Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`.
       [Documentation](https://spacy.io/api/token#attributes).
       
      optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"];
    • getAttributesBuilder

      public Strings.Builder getAttributesBuilder()
       Attributes that shall be included in the DocBin object.
       Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`.
       Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`.
       [Documentation](https://spacy.io/api/token#attributes).
       
      optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"];
    • getAttributesOrBuilder

      public StringsOrBuilder getAttributesOrBuilder()
       Attributes that shall be included in the DocBin object.
       Defaults to `("ORTH", "TAG", "HEAD", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_KB_ID", "LEMMA", "MORPH", "POS")`.
       Possible values: `("IS_ALPHA", "IS_ASCII", "IS_DIGIT", "IS_LOWER", "IS_PUNCT", "IS_SPACE", "IS_TITLE", "IS_UPPER", "LIKE_URL", "LIKE_NUM", "LIKE_EMAIL", "IS_STOP", "IS_OOV_DEPRECATED", "IS_BRACKET", "IS_QUOTE", "IS_LEFT_PUNCT", "IS_RIGHT_PUNCT", "IS_CURRENCY", "ID", "ORTH", "LOWER", "NORM", "SHAPE", "PREFIX", "SUFFIX", "LENGTH", "CLUSTER", "LEMMA", "POS", "TAG", "DEP", "ENT_IOB", "ENT_TYPE", "ENT_ID", "ENT_KB_ID", "HEAD", "SENT_START", "SENT_END", "SPACY", "PROB", "LANG", "MORPH", "IDX")`.
       [Documentation](https://spacy.io/api/token#attributes).
       
      optional .arg_services.nlp.v1.Strings attributes = 3 [json_name = "attributes"];
      Specified by:
      getAttributesOrBuilder in interface DocBinRequestOrBuilder
    • hasEnabledPipes

      public boolean hasEnabledPipes()
      .arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];
      Specified by:
      hasEnabledPipes in interface DocBinRequestOrBuilder
      Returns:
      Whether the enabledPipes field is set.
    • getEnabledPipes

      public Strings getEnabledPipes()
      .arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];
      Specified by:
      getEnabledPipes in interface DocBinRequestOrBuilder
      Returns:
      The enabledPipes.
    • setEnabledPipes

      public DocBinRequest.Builder setEnabledPipes(Strings value)
      .arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];
    • setEnabledPipes

      public DocBinRequest.Builder setEnabledPipes(Strings.Builder builderForValue)
      .arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];
    • mergeEnabledPipes

      public DocBinRequest.Builder mergeEnabledPipes(Strings value)
      .arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];
    • clearEnabledPipes

      public DocBinRequest.Builder clearEnabledPipes()
      .arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];
    • getEnabledPipesBuilder

      public Strings.Builder getEnabledPipesBuilder()
      .arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];
    • getEnabledPipesOrBuilder

      public StringsOrBuilder getEnabledPipesOrBuilder()
      .arg_services.nlp.v1.Strings enabled_pipes = 4 [json_name = "enabledPipes"];
      Specified by:
      getEnabledPipesOrBuilder in interface DocBinRequestOrBuilder
    • hasDisabledPipes

      public boolean hasDisabledPipes()
      .arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];
      Specified by:
      hasDisabledPipes in interface DocBinRequestOrBuilder
      Returns:
      Whether the disabledPipes field is set.
    • getDisabledPipes

      public Strings getDisabledPipes()
      .arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];
      Specified by:
      getDisabledPipes in interface DocBinRequestOrBuilder
      Returns:
      The disabledPipes.
    • setDisabledPipes

      public DocBinRequest.Builder setDisabledPipes(Strings value)
      .arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];
    • setDisabledPipes

      public DocBinRequest.Builder setDisabledPipes(Strings.Builder builderForValue)
      .arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];
    • mergeDisabledPipes

      public DocBinRequest.Builder mergeDisabledPipes(Strings value)
      .arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];
    • clearDisabledPipes

      public DocBinRequest.Builder clearDisabledPipes()
      .arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];
    • getDisabledPipesBuilder

      public Strings.Builder getDisabledPipesBuilder()
      .arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];
    • getDisabledPipesOrBuilder

      public StringsOrBuilder getDisabledPipesOrBuilder()
      .arg_services.nlp.v1.Strings disabled_pipes = 5 [json_name = "disabledPipes"];
      Specified by:
      getDisabledPipesOrBuilder in interface DocBinRequestOrBuilder
    • getEmbeddingLevelsList

      public List<EmbeddingLevel> getEmbeddingLevelsList()
       List of vectors that shall be saved in the `DocBin` object.
       The computation is time-consuming, so you should only specify the embeddings you actually use!
       
      repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];
      Specified by:
      getEmbeddingLevelsList in interface DocBinRequestOrBuilder
      Returns:
      A list containing the embeddingLevels.
    • getEmbeddingLevelsCount

      public int getEmbeddingLevelsCount()
       List of vectors that shall be saved in the `DocBin` object.
       The computation is time-consuming, so you should only specify the embeddings you actually use!
       
      repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];
      Specified by:
      getEmbeddingLevelsCount in interface DocBinRequestOrBuilder
      Returns:
      The count of embeddingLevels.
    • getEmbeddingLevels

      public EmbeddingLevel getEmbeddingLevels(int index)
       List of vectors that shall be saved in the `DocBin` object.
       The computation is time-consuming, so you should only specify the embeddings you actually use!
       
      repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];
      Specified by:
      getEmbeddingLevels in interface DocBinRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The embeddingLevels at the given index.
    • setEmbeddingLevels

      public DocBinRequest.Builder setEmbeddingLevels(int index, EmbeddingLevel value)
       List of vectors that shall be saved in the `DocBin` object.
       The computation is time-consuming, so you should only specify the embeddings you actually use!
       
      repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];
      Parameters:
      index - The index to set the value at.
      value - The embeddingLevels to set.
      Returns:
      This builder for chaining.
    • addEmbeddingLevels

      public DocBinRequest.Builder addEmbeddingLevels(EmbeddingLevel value)
       List of vectors that shall be saved in the `DocBin` object.
       The computation is time-consuming, so you should only specify the embeddings you actually use!
       
      repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];
      Parameters:
      value - The embeddingLevels to add.
      Returns:
      This builder for chaining.
    • addAllEmbeddingLevels

      public DocBinRequest.Builder addAllEmbeddingLevels(Iterable<? extends EmbeddingLevel> values)
       List of vectors that shall be saved in the `DocBin` object.
       The computation is time-consuming, so you should only specify the embeddings you actually use!
       
      repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];
      Parameters:
      values - The embeddingLevels to add.
      Returns:
      This builder for chaining.
    • clearEmbeddingLevels

      public DocBinRequest.Builder clearEmbeddingLevels()
       List of vectors that shall be saved in the `DocBin` object.
       The computation is time-consuming, so you should only specify the embeddings you actually use!
       
      repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];
      Returns:
      This builder for chaining.
    • getEmbeddingLevelsValueList

      public List<Integer> getEmbeddingLevelsValueList()
       List of vectors that shall be saved in the `DocBin` object.
       The computation is time-consuming, so you should only specify the embeddings you actually use!
       
      repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];
      Specified by:
      getEmbeddingLevelsValueList in interface DocBinRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for embeddingLevels.
    • getEmbeddingLevelsValue

      public int getEmbeddingLevelsValue(int index)
       List of vectors that shall be saved in the `DocBin` object.
       The computation is time-consuming, so you should only specify the embeddings you actually use!
       
      repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];
      Specified by:
      getEmbeddingLevelsValue in interface DocBinRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of embeddingLevels at the given index.
    • setEmbeddingLevelsValue

      public DocBinRequest.Builder setEmbeddingLevelsValue(int index, int value)
       List of vectors that shall be saved in the `DocBin` object.
       The computation is time-consuming, so you should only specify the embeddings you actually use!
       
      repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for embeddingLevels to set.
      Returns:
      This builder for chaining.
    • addEmbeddingLevelsValue

      public DocBinRequest.Builder addEmbeddingLevelsValue(int value)
       List of vectors that shall be saved in the `DocBin` object.
       The computation is time-consuming, so you should only specify the embeddings you actually use!
       
      repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];
      Parameters:
      value - The enum numeric value on the wire for embeddingLevels to add.
      Returns:
      This builder for chaining.
    • addAllEmbeddingLevelsValue

      public DocBinRequest.Builder addAllEmbeddingLevelsValue(Iterable<Integer> values)
       List of vectors that shall be saved in the `DocBin` object.
       The computation is time-consuming, so you should only specify the embeddings you actually use!
       
      repeated .arg_services.nlp.v1.EmbeddingLevel embedding_levels = 6 [json_name = "embeddingLevels"];
      Parameters:
      values - The enum numeric values on the wire for embeddingLevels to add.
      Returns:
      This builder for chaining.
    • hasExtras

      public boolean hasExtras()
       Implementation-specific information can be encoded here
       
      .google.protobuf.Struct extras = 15 [json_name = "extras"];
      Specified by:
      hasExtras in interface DocBinRequestOrBuilder
      Returns:
      Whether the extras field is set.
    • getExtras

      public com.google.protobuf.Struct getExtras()
       Implementation-specific information can be encoded here
       
      .google.protobuf.Struct extras = 15 [json_name = "extras"];
      Specified by:
      getExtras in interface DocBinRequestOrBuilder
      Returns:
      The extras.
    • setExtras

      public DocBinRequest.Builder setExtras(com.google.protobuf.Struct value)
       Implementation-specific information can be encoded here
       
      .google.protobuf.Struct extras = 15 [json_name = "extras"];
    • setExtras

      public DocBinRequest.Builder setExtras(com.google.protobuf.Struct.Builder builderForValue)
       Implementation-specific information can be encoded here
       
      .google.protobuf.Struct extras = 15 [json_name = "extras"];
    • mergeExtras

      public DocBinRequest.Builder mergeExtras(com.google.protobuf.Struct value)
       Implementation-specific information can be encoded here
       
      .google.protobuf.Struct extras = 15 [json_name = "extras"];
    • clearExtras

      public DocBinRequest.Builder clearExtras()
       Implementation-specific information can be encoded here
       
      .google.protobuf.Struct extras = 15 [json_name = "extras"];
    • getExtrasBuilder

      public com.google.protobuf.Struct.Builder getExtrasBuilder()
       Implementation-specific information can be encoded here
       
      .google.protobuf.Struct extras = 15 [json_name = "extras"];
    • getExtrasOrBuilder

      public com.google.protobuf.StructOrBuilder getExtrasOrBuilder()
       Implementation-specific information can be encoded here
       
      .google.protobuf.Struct extras = 15 [json_name = "extras"];
      Specified by:
      getExtrasOrBuilder in interface DocBinRequestOrBuilder
    • setUnknownFields

      public final DocBinRequest.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<DocBinRequest.Builder>
    • mergeUnknownFields

      public final DocBinRequest.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<DocBinRequest.Builder>