Class TikaMetadataEntry.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TikaMetadataEntry.Builder>
com.google.protobuf.GeneratedMessage.Builder<TikaMetadataEntry.Builder>
ai.pipestream.parsed.data.tika.v1.TikaMetadataEntry.Builder
All Implemented Interfaces:
TikaMetadataEntryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TikaMetadataEntry

public static final class TikaMetadataEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<TikaMetadataEntry.Builder> implements TikaMetadataEntryOrBuilder
 Generic metadata entry for properties not covered by the strongly-typed fields.
 Most metadata should be in the specific typed fields above.
 
Protobuf type ai.pipestream.parsed.data.tika.v1.TikaMetadataEntry
  • 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<TikaMetadataEntry.Builder>
    • clear

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

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

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

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

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

      public TikaMetadataEntry.Builder mergeFrom(TikaMetadataEntry other)
    • isInitialized

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

      public TikaMetadataEntry.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<TikaMetadataEntry.Builder>
      Throws:
      IOException
    • getValueCase

      public TikaMetadataEntry.ValueCase getValueCase()
      Specified by:
      getValueCase in interface TikaMetadataEntryOrBuilder
    • clearValue

      public TikaMetadataEntry.Builder clearValue()
    • getKey

      public String getKey()
      string key = 1 [json_name = "key"];
      Specified by:
      getKey in interface TikaMetadataEntryOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
      string key = 1 [json_name = "key"];
      Specified by:
      getKeyBytes in interface TikaMetadataEntryOrBuilder
      Returns:
      The bytes for key.
    • setKey

      public TikaMetadataEntry.Builder setKey(String value)
      string key = 1 [json_name = "key"];
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public TikaMetadataEntry.Builder clearKey()
      string key = 1 [json_name = "key"];
      Returns:
      This builder for chaining.
    • setKeyBytes

      public TikaMetadataEntry.Builder setKeyBytes(com.google.protobuf.ByteString value)
      string key = 1 [json_name = "key"];
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • hasText

      public boolean hasText()
      string text = 2 [json_name = "text"];
      Specified by:
      hasText in interface TikaMetadataEntryOrBuilder
      Returns:
      Whether the text field is set.
    • getText

      public String getText()
      string text = 2 [json_name = "text"];
      Specified by:
      getText in interface TikaMetadataEntryOrBuilder
      Returns:
      The text.
    • getTextBytes

      public com.google.protobuf.ByteString getTextBytes()
      string text = 2 [json_name = "text"];
      Specified by:
      getTextBytes in interface TikaMetadataEntryOrBuilder
      Returns:
      The bytes for text.
    • setText

      public TikaMetadataEntry.Builder setText(String value)
      string text = 2 [json_name = "text"];
      Parameters:
      value - The text to set.
      Returns:
      This builder for chaining.
    • clearText

      public TikaMetadataEntry.Builder clearText()
      string text = 2 [json_name = "text"];
      Returns:
      This builder for chaining.
    • setTextBytes

      public TikaMetadataEntry.Builder setTextBytes(com.google.protobuf.ByteString value)
      string text = 2 [json_name = "text"];
      Parameters:
      value - The bytes for text to set.
      Returns:
      This builder for chaining.
    • hasInteger

      public boolean hasInteger()
      int64 integer = 3 [json_name = "integer"];
      Specified by:
      hasInteger in interface TikaMetadataEntryOrBuilder
      Returns:
      Whether the integer field is set.
    • getInteger

      public long getInteger()
      int64 integer = 3 [json_name = "integer"];
      Specified by:
      getInteger in interface TikaMetadataEntryOrBuilder
      Returns:
      The integer.
    • setInteger

      public TikaMetadataEntry.Builder setInteger(long value)
      int64 integer = 3 [json_name = "integer"];
      Parameters:
      value - The integer to set.
      Returns:
      This builder for chaining.
    • clearInteger

      public TikaMetadataEntry.Builder clearInteger()
      int64 integer = 3 [json_name = "integer"];
      Returns:
      This builder for chaining.
    • hasNumber

      public boolean hasNumber()
      double number = 4 [json_name = "number"];
      Specified by:
      hasNumber in interface TikaMetadataEntryOrBuilder
      Returns:
      Whether the number field is set.
    • getNumber

      public double getNumber()
      double number = 4 [json_name = "number"];
      Specified by:
      getNumber in interface TikaMetadataEntryOrBuilder
      Returns:
      The number.
    • setNumber

      public TikaMetadataEntry.Builder setNumber(double value)
      double number = 4 [json_name = "number"];
      Parameters:
      value - The number to set.
      Returns:
      This builder for chaining.
    • clearNumber

      public TikaMetadataEntry.Builder clearNumber()
      double number = 4 [json_name = "number"];
      Returns:
      This builder for chaining.
    • hasBoolean

      public boolean hasBoolean()
      bool boolean = 5 [json_name = "boolean"];
      Specified by:
      hasBoolean in interface TikaMetadataEntryOrBuilder
      Returns:
      Whether the boolean field is set.
    • getBoolean

      public boolean getBoolean()
      bool boolean = 5 [json_name = "boolean"];
      Specified by:
      getBoolean in interface TikaMetadataEntryOrBuilder
      Returns:
      The boolean.
    • setBoolean

      public TikaMetadataEntry.Builder setBoolean(boolean value)
      bool boolean = 5 [json_name = "boolean"];
      Parameters:
      value - The boolean to set.
      Returns:
      This builder for chaining.
    • clearBoolean

      public TikaMetadataEntry.Builder clearBoolean()
      bool boolean = 5 [json_name = "boolean"];
      Returns:
      This builder for chaining.
    • hasDate

      public boolean hasDate()
      .google.protobuf.Timestamp date = 6 [json_name = "date"];
      Specified by:
      hasDate in interface TikaMetadataEntryOrBuilder
      Returns:
      Whether the date field is set.
    • getDate

      public com.google.protobuf.Timestamp getDate()
      .google.protobuf.Timestamp date = 6 [json_name = "date"];
      Specified by:
      getDate in interface TikaMetadataEntryOrBuilder
      Returns:
      The date.
    • setDate

      public TikaMetadataEntry.Builder setDate(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp date = 6 [json_name = "date"];
    • setDate

      public TikaMetadataEntry.Builder setDate(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp date = 6 [json_name = "date"];
    • mergeDate

      public TikaMetadataEntry.Builder mergeDate(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp date = 6 [json_name = "date"];
    • clearDate

      public TikaMetadataEntry.Builder clearDate()
      .google.protobuf.Timestamp date = 6 [json_name = "date"];
    • getDateBuilder

      public com.google.protobuf.Timestamp.Builder getDateBuilder()
      .google.protobuf.Timestamp date = 6 [json_name = "date"];
    • getDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDateOrBuilder()
      .google.protobuf.Timestamp date = 6 [json_name = "date"];
      Specified by:
      getDateOrBuilder in interface TikaMetadataEntryOrBuilder
    • hasTextList

      public boolean hasTextList()
      .ai.pipestream.parsed.data.tika.v1.StringList text_list = 7 [json_name = "textList"];
      Specified by:
      hasTextList in interface TikaMetadataEntryOrBuilder
      Returns:
      Whether the textList field is set.
    • getTextList

      public StringList getTextList()
      .ai.pipestream.parsed.data.tika.v1.StringList text_list = 7 [json_name = "textList"];
      Specified by:
      getTextList in interface TikaMetadataEntryOrBuilder
      Returns:
      The textList.
    • setTextList

      public TikaMetadataEntry.Builder setTextList(StringList value)
      .ai.pipestream.parsed.data.tika.v1.StringList text_list = 7 [json_name = "textList"];
    • setTextList

      public TikaMetadataEntry.Builder setTextList(StringList.Builder builderForValue)
      .ai.pipestream.parsed.data.tika.v1.StringList text_list = 7 [json_name = "textList"];
    • mergeTextList

      public TikaMetadataEntry.Builder mergeTextList(StringList value)
      .ai.pipestream.parsed.data.tika.v1.StringList text_list = 7 [json_name = "textList"];
    • clearTextList

      public TikaMetadataEntry.Builder clearTextList()
      .ai.pipestream.parsed.data.tika.v1.StringList text_list = 7 [json_name = "textList"];
    • getTextListBuilder

      public StringList.Builder getTextListBuilder()
      .ai.pipestream.parsed.data.tika.v1.StringList text_list = 7 [json_name = "textList"];
    • getTextListOrBuilder

      public StringListOrBuilder getTextListOrBuilder()
      .ai.pipestream.parsed.data.tika.v1.StringList text_list = 7 [json_name = "textList"];
      Specified by:
      getTextListOrBuilder in interface TikaMetadataEntryOrBuilder