Class TikaParseStatus.Builder

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

public static final class TikaParseStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<TikaParseStatus.Builder> implements TikaParseStatusOrBuilder
 Parse status
 
Protobuf type ai.pipestream.parsed.data.tika.v1.TikaParseStatus
  • 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<TikaParseStatus.Builder>
    • clear

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

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

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

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

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

      public TikaParseStatus.Builder mergeFrom(TikaParseStatus other)
    • isInitialized

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

      public TikaParseStatus.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<TikaParseStatus.Builder>
      Throws:
      IOException
    • getStatusValue

      public int getStatusValue()
      .ai.pipestream.parsed.data.tika.v1.TikaParseStatus.Status status = 1 [json_name = "status"];
      Specified by:
      getStatusValue in interface TikaParseStatusOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public TikaParseStatus.Builder setStatusValue(int value)
      .ai.pipestream.parsed.data.tika.v1.TikaParseStatus.Status status = 1 [json_name = "status"];
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

      public TikaParseStatus.Status getStatus()
      .ai.pipestream.parsed.data.tika.v1.TikaParseStatus.Status status = 1 [json_name = "status"];
      Specified by:
      getStatus in interface TikaParseStatusOrBuilder
      Returns:
      The status.
    • setStatus

      .ai.pipestream.parsed.data.tika.v1.TikaParseStatus.Status status = 1 [json_name = "status"];
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public TikaParseStatus.Builder clearStatus()
      .ai.pipestream.parsed.data.tika.v1.TikaParseStatus.Status status = 1 [json_name = "status"];
      Returns:
      This builder for chaining.
    • getParseTimeMs

      public long getParseTimeMs()
      int64 parse_time_ms = 2 [json_name = "parseTimeMs"];
      Specified by:
      getParseTimeMs in interface TikaParseStatusOrBuilder
      Returns:
      The parseTimeMs.
    • setParseTimeMs

      public TikaParseStatus.Builder setParseTimeMs(long value)
      int64 parse_time_ms = 2 [json_name = "parseTimeMs"];
      Parameters:
      value - The parseTimeMs to set.
      Returns:
      This builder for chaining.
    • clearParseTimeMs

      public TikaParseStatus.Builder clearParseTimeMs()
      int64 parse_time_ms = 2 [json_name = "parseTimeMs"];
      Returns:
      This builder for chaining.
    • getParserUsed

      public String getParserUsed()
      string parser_used = 3 [json_name = "parserUsed"];
      Specified by:
      getParserUsed in interface TikaParseStatusOrBuilder
      Returns:
      The parserUsed.
    • getParserUsedBytes

      public com.google.protobuf.ByteString getParserUsedBytes()
      string parser_used = 3 [json_name = "parserUsed"];
      Specified by:
      getParserUsedBytes in interface TikaParseStatusOrBuilder
      Returns:
      The bytes for parserUsed.
    • setParserUsed

      public TikaParseStatus.Builder setParserUsed(String value)
      string parser_used = 3 [json_name = "parserUsed"];
      Parameters:
      value - The parserUsed to set.
      Returns:
      This builder for chaining.
    • clearParserUsed

      public TikaParseStatus.Builder clearParserUsed()
      string parser_used = 3 [json_name = "parserUsed"];
      Returns:
      This builder for chaining.
    • setParserUsedBytes

      public TikaParseStatus.Builder setParserUsedBytes(com.google.protobuf.ByteString value)
      string parser_used = 3 [json_name = "parserUsed"];
      Parameters:
      value - The bytes for parserUsed to set.
      Returns:
      This builder for chaining.
    • getParsersUsedList

      public com.google.protobuf.ProtocolStringList getParsersUsedList()
      repeated string parsers_used = 4 [json_name = "parsersUsed"];
      Specified by:
      getParsersUsedList in interface TikaParseStatusOrBuilder
      Returns:
      A list containing the parsersUsed.
    • getParsersUsedCount

      public int getParsersUsedCount()
      repeated string parsers_used = 4 [json_name = "parsersUsed"];
      Specified by:
      getParsersUsedCount in interface TikaParseStatusOrBuilder
      Returns:
      The count of parsersUsed.
    • getParsersUsed

      public String getParsersUsed(int index)
      repeated string parsers_used = 4 [json_name = "parsersUsed"];
      Specified by:
      getParsersUsed in interface TikaParseStatusOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The parsersUsed at the given index.
    • getParsersUsedBytes

      public com.google.protobuf.ByteString getParsersUsedBytes(int index)
      repeated string parsers_used = 4 [json_name = "parsersUsed"];
      Specified by:
      getParsersUsedBytes in interface TikaParseStatusOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the parsersUsed at the given index.
    • setParsersUsed

      public TikaParseStatus.Builder setParsersUsed(int index, String value)
      repeated string parsers_used = 4 [json_name = "parsersUsed"];
      Parameters:
      index - The index to set the value at.
      value - The parsersUsed to set.
      Returns:
      This builder for chaining.
    • addParsersUsed

      public TikaParseStatus.Builder addParsersUsed(String value)
      repeated string parsers_used = 4 [json_name = "parsersUsed"];
      Parameters:
      value - The parsersUsed to add.
      Returns:
      This builder for chaining.
    • addAllParsersUsed

      public TikaParseStatus.Builder addAllParsersUsed(Iterable<String> values)
      repeated string parsers_used = 4 [json_name = "parsersUsed"];
      Parameters:
      values - The parsersUsed to add.
      Returns:
      This builder for chaining.
    • clearParsersUsed

      public TikaParseStatus.Builder clearParsersUsed()
      repeated string parsers_used = 4 [json_name = "parsersUsed"];
      Returns:
      This builder for chaining.
    • addParsersUsedBytes

      public TikaParseStatus.Builder addParsersUsedBytes(com.google.protobuf.ByteString value)
      repeated string parsers_used = 4 [json_name = "parsersUsed"];
      Parameters:
      value - The bytes of the parsersUsed to add.
      Returns:
      This builder for chaining.
    • getWarningsList

      public com.google.protobuf.ProtocolStringList getWarningsList()
      repeated string warnings = 5 [json_name = "warnings"];
      Specified by:
      getWarningsList in interface TikaParseStatusOrBuilder
      Returns:
      A list containing the warnings.
    • getWarningsCount

      public int getWarningsCount()
      repeated string warnings = 5 [json_name = "warnings"];
      Specified by:
      getWarningsCount in interface TikaParseStatusOrBuilder
      Returns:
      The count of warnings.
    • getWarnings

      public String getWarnings(int index)
      repeated string warnings = 5 [json_name = "warnings"];
      Specified by:
      getWarnings in interface TikaParseStatusOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The warnings at the given index.
    • getWarningsBytes

      public com.google.protobuf.ByteString getWarningsBytes(int index)
      repeated string warnings = 5 [json_name = "warnings"];
      Specified by:
      getWarningsBytes in interface TikaParseStatusOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the warnings at the given index.
    • setWarnings

      public TikaParseStatus.Builder setWarnings(int index, String value)
      repeated string warnings = 5 [json_name = "warnings"];
      Parameters:
      index - The index to set the value at.
      value - The warnings to set.
      Returns:
      This builder for chaining.
    • addWarnings

      public TikaParseStatus.Builder addWarnings(String value)
      repeated string warnings = 5 [json_name = "warnings"];
      Parameters:
      value - The warnings to add.
      Returns:
      This builder for chaining.
    • addAllWarnings

      public TikaParseStatus.Builder addAllWarnings(Iterable<String> values)
      repeated string warnings = 5 [json_name = "warnings"];
      Parameters:
      values - The warnings to add.
      Returns:
      This builder for chaining.
    • clearWarnings

      public TikaParseStatus.Builder clearWarnings()
      repeated string warnings = 5 [json_name = "warnings"];
      Returns:
      This builder for chaining.
    • addWarningsBytes

      public TikaParseStatus.Builder addWarningsBytes(com.google.protobuf.ByteString value)
      repeated string warnings = 5 [json_name = "warnings"];
      Parameters:
      value - The bytes of the warnings to add.
      Returns:
      This builder for chaining.
    • getErrorsList

      public com.google.protobuf.ProtocolStringList getErrorsList()
      repeated string errors = 6 [json_name = "errors"];
      Specified by:
      getErrorsList in interface TikaParseStatusOrBuilder
      Returns:
      A list containing the errors.
    • getErrorsCount

      public int getErrorsCount()
      repeated string errors = 6 [json_name = "errors"];
      Specified by:
      getErrorsCount in interface TikaParseStatusOrBuilder
      Returns:
      The count of errors.
    • getErrors

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

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

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

      public TikaParseStatus.Builder addErrors(String value)
      repeated string errors = 6 [json_name = "errors"];
      Parameters:
      value - The errors to add.
      Returns:
      This builder for chaining.
    • addAllErrors

      public TikaParseStatus.Builder addAllErrors(Iterable<String> values)
      repeated string errors = 6 [json_name = "errors"];
      Parameters:
      values - The errors to add.
      Returns:
      This builder for chaining.
    • clearErrors

      public TikaParseStatus.Builder clearErrors()
      repeated string errors = 6 [json_name = "errors"];
      Returns:
      This builder for chaining.
    • addErrorsBytes

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