Class DocOutline.Builder

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

public static final class DocOutline.Builder extends com.google.protobuf.GeneratedMessage.Builder<DocOutline.Builder> implements DocOutlineOrBuilder
 Format-neutral document outline representation.

 Populated from various sources: EPUB nav/TOC, HTML headings, Markdown headings,
 LaTeX sectioning, PDF outlines, etc. Provides consistent structure for navigation.
 
Protobuf type ai.pipestream.data.v1.DocOutline
  • 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<DocOutline.Builder>
    • clear

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

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

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

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

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

      public DocOutline.Builder mergeFrom(DocOutline other)
    • isInitialized

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

      public DocOutline.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<DocOutline.Builder>
      Throws:
      IOException
    • getSectionsList

      public List<Section> getSectionsList()
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
      Specified by:
      getSectionsList in interface DocOutlineOrBuilder
    • getSectionsCount

      public int getSectionsCount()
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
      Specified by:
      getSectionsCount in interface DocOutlineOrBuilder
    • getSections

      public Section getSections(int index)
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
      Specified by:
      getSections in interface DocOutlineOrBuilder
    • setSections

      public DocOutline.Builder setSections(int index, Section value)
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
    • setSections

      public DocOutline.Builder setSections(int index, Section.Builder builderForValue)
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
    • addSections

      public DocOutline.Builder addSections(Section value)
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
    • addSections

      public DocOutline.Builder addSections(int index, Section value)
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
    • addSections

      public DocOutline.Builder addSections(Section.Builder builderForValue)
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
    • addSections

      public DocOutline.Builder addSections(int index, Section.Builder builderForValue)
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
    • addAllSections

      public DocOutline.Builder addAllSections(Iterable<? extends Section> values)
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
    • clearSections

      public DocOutline.Builder clearSections()
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
    • removeSections

      public DocOutline.Builder removeSections(int index)
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
    • getSectionsBuilder

      public Section.Builder getSectionsBuilder(int index)
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
    • getSectionsOrBuilder

      public SectionOrBuilder getSectionsOrBuilder(int index)
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
      Specified by:
      getSectionsOrBuilder in interface DocOutlineOrBuilder
    • getSectionsOrBuilderList

      public List<? extends SectionOrBuilder> getSectionsOrBuilderList()
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
      Specified by:
      getSectionsOrBuilderList in interface DocOutlineOrBuilder
    • addSectionsBuilder

      public Section.Builder addSectionsBuilder()
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
    • addSectionsBuilder

      public Section.Builder addSectionsBuilder(int index)
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];
    • getSectionsBuilderList

      public List<Section.Builder> getSectionsBuilderList()
       Sections in preorder traversal order.
       
      repeated .ai.pipestream.data.v1.Section sections = 1 [json_name = "sections"];