Class FingerprintAnalyzer.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<FingerprintAnalyzer.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<FingerprintAnalyzer.Builder>
org.opensearch.protobufs.FingerprintAnalyzer.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, FingerprintAnalyzerOrBuilder
Enclosing class:
FingerprintAnalyzer

public static final class FingerprintAnalyzer.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FingerprintAnalyzer.Builder> implements FingerprintAnalyzerOrBuilder
Protobuf type FingerprintAnalyzer
  • 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<FingerprintAnalyzer.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<FingerprintAnalyzer.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<FingerprintAnalyzer.Builder>
    • getDefaultInstanceForType

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

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

      public FingerprintAnalyzer buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<FingerprintAnalyzer.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public FingerprintAnalyzer.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<FingerprintAnalyzer.Builder>
      Throws:
      IOException
    • getTypeValue

      public int getTypeValue()
      .FingerprintAnalyzerType type = 1 [json_name = "type"];
      Specified by:
      getTypeValue in interface FingerprintAnalyzerOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public FingerprintAnalyzer.Builder setTypeValue(int value)
      .FingerprintAnalyzerType type = 1 [json_name = "type"];
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public FingerprintAnalyzerType getType()
      .FingerprintAnalyzerType type = 1 [json_name = "type"];
      Specified by:
      getType in interface FingerprintAnalyzerOrBuilder
      Returns:
      The type.
    • setType

      .FingerprintAnalyzerType type = 1 [json_name = "type"];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public FingerprintAnalyzer.Builder clearType()
      .FingerprintAnalyzerType type = 1 [json_name = "type"];
      Returns:
      This builder for chaining.
    • hasVersion

      public boolean hasVersion()
      optional string version = 2 [json_name = "version"];
      Specified by:
      hasVersion in interface FingerprintAnalyzerOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public String getVersion()
      optional string version = 2 [json_name = "version"];
      Specified by:
      getVersion in interface FingerprintAnalyzerOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
      optional string version = 2 [json_name = "version"];
      Specified by:
      getVersionBytes in interface FingerprintAnalyzerOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public FingerprintAnalyzer.Builder setVersion(String value)
      optional string version = 2 [json_name = "version"];
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public FingerprintAnalyzer.Builder clearVersion()
      optional string version = 2 [json_name = "version"];
      Returns:
      This builder for chaining.
    • setVersionBytes

      public FingerprintAnalyzer.Builder setVersionBytes(com.google.protobuf.ByteString value)
      optional string version = 2 [json_name = "version"];
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getMaxOutputSize

      public int getMaxOutputSize()
      int32 max_output_size = 3 [json_name = "maxOutputSize"];
      Specified by:
      getMaxOutputSize in interface FingerprintAnalyzerOrBuilder
      Returns:
      The maxOutputSize.
    • setMaxOutputSize

      public FingerprintAnalyzer.Builder setMaxOutputSize(int value)
      int32 max_output_size = 3 [json_name = "maxOutputSize"];
      Parameters:
      value - The maxOutputSize to set.
      Returns:
      This builder for chaining.
    • clearMaxOutputSize

      public FingerprintAnalyzer.Builder clearMaxOutputSize()
      int32 max_output_size = 3 [json_name = "maxOutputSize"];
      Returns:
      This builder for chaining.
    • getPreserveOriginal

      public boolean getPreserveOriginal()
      bool preserve_original = 4 [json_name = "preserveOriginal"];
      Specified by:
      getPreserveOriginal in interface FingerprintAnalyzerOrBuilder
      Returns:
      The preserveOriginal.
    • setPreserveOriginal

      public FingerprintAnalyzer.Builder setPreserveOriginal(boolean value)
      bool preserve_original = 4 [json_name = "preserveOriginal"];
      Parameters:
      value - The preserveOriginal to set.
      Returns:
      This builder for chaining.
    • clearPreserveOriginal

      public FingerprintAnalyzer.Builder clearPreserveOriginal()
      bool preserve_original = 4 [json_name = "preserveOriginal"];
      Returns:
      This builder for chaining.
    • getSeparator

      public String getSeparator()
      string separator = 5 [json_name = "separator"];
      Specified by:
      getSeparator in interface FingerprintAnalyzerOrBuilder
      Returns:
      The separator.
    • getSeparatorBytes

      public com.google.protobuf.ByteString getSeparatorBytes()
      string separator = 5 [json_name = "separator"];
      Specified by:
      getSeparatorBytes in interface FingerprintAnalyzerOrBuilder
      Returns:
      The bytes for separator.
    • setSeparator

      public FingerprintAnalyzer.Builder setSeparator(String value)
      string separator = 5 [json_name = "separator"];
      Parameters:
      value - The separator to set.
      Returns:
      This builder for chaining.
    • clearSeparator

      public FingerprintAnalyzer.Builder clearSeparator()
      string separator = 5 [json_name = "separator"];
      Returns:
      This builder for chaining.
    • setSeparatorBytes

      public FingerprintAnalyzer.Builder setSeparatorBytes(com.google.protobuf.ByteString value)
      string separator = 5 [json_name = "separator"];
      Parameters:
      value - The bytes for separator to set.
      Returns:
      This builder for chaining.
    • getStopwordsList

      public com.google.protobuf.ProtocolStringList getStopwordsList()
      repeated string stopwords = 6 [json_name = "stopwords"];
      Specified by:
      getStopwordsList in interface FingerprintAnalyzerOrBuilder
      Returns:
      A list containing the stopwords.
    • getStopwordsCount

      public int getStopwordsCount()
      repeated string stopwords = 6 [json_name = "stopwords"];
      Specified by:
      getStopwordsCount in interface FingerprintAnalyzerOrBuilder
      Returns:
      The count of stopwords.
    • getStopwords

      public String getStopwords(int index)
      repeated string stopwords = 6 [json_name = "stopwords"];
      Specified by:
      getStopwords in interface FingerprintAnalyzerOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The stopwords at the given index.
    • getStopwordsBytes

      public com.google.protobuf.ByteString getStopwordsBytes(int index)
      repeated string stopwords = 6 [json_name = "stopwords"];
      Specified by:
      getStopwordsBytes in interface FingerprintAnalyzerOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the stopwords at the given index.
    • setStopwords

      public FingerprintAnalyzer.Builder setStopwords(int index, String value)
      repeated string stopwords = 6 [json_name = "stopwords"];
      Parameters:
      index - The index to set the value at.
      value - The stopwords to set.
      Returns:
      This builder for chaining.
    • addStopwords

      public FingerprintAnalyzer.Builder addStopwords(String value)
      repeated string stopwords = 6 [json_name = "stopwords"];
      Parameters:
      value - The stopwords to add.
      Returns:
      This builder for chaining.
    • addAllStopwords

      public FingerprintAnalyzer.Builder addAllStopwords(Iterable<String> values)
      repeated string stopwords = 6 [json_name = "stopwords"];
      Parameters:
      values - The stopwords to add.
      Returns:
      This builder for chaining.
    • clearStopwords

      public FingerprintAnalyzer.Builder clearStopwords()
      repeated string stopwords = 6 [json_name = "stopwords"];
      Returns:
      This builder for chaining.
    • addStopwordsBytes

      public FingerprintAnalyzer.Builder addStopwordsBytes(com.google.protobuf.ByteString value)
      repeated string stopwords = 6 [json_name = "stopwords"];
      Parameters:
      value - The bytes of the stopwords to add.
      Returns:
      This builder for chaining.
    • hasStopwordsPath

      public boolean hasStopwordsPath()
      optional string stopwords_path = 7 [json_name = "stopwordsPath"];
      Specified by:
      hasStopwordsPath in interface FingerprintAnalyzerOrBuilder
      Returns:
      Whether the stopwordsPath field is set.
    • getStopwordsPath

      public String getStopwordsPath()
      optional string stopwords_path = 7 [json_name = "stopwordsPath"];
      Specified by:
      getStopwordsPath in interface FingerprintAnalyzerOrBuilder
      Returns:
      The stopwordsPath.
    • getStopwordsPathBytes

      public com.google.protobuf.ByteString getStopwordsPathBytes()
      optional string stopwords_path = 7 [json_name = "stopwordsPath"];
      Specified by:
      getStopwordsPathBytes in interface FingerprintAnalyzerOrBuilder
      Returns:
      The bytes for stopwordsPath.
    • setStopwordsPath

      public FingerprintAnalyzer.Builder setStopwordsPath(String value)
      optional string stopwords_path = 7 [json_name = "stopwordsPath"];
      Parameters:
      value - The stopwordsPath to set.
      Returns:
      This builder for chaining.
    • clearStopwordsPath

      public FingerprintAnalyzer.Builder clearStopwordsPath()
      optional string stopwords_path = 7 [json_name = "stopwordsPath"];
      Returns:
      This builder for chaining.
    • setStopwordsPathBytes

      public FingerprintAnalyzer.Builder setStopwordsPathBytes(com.google.protobuf.ByteString value)
      optional string stopwords_path = 7 [json_name = "stopwordsPath"];
      Parameters:
      value - The bytes for stopwordsPath to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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