public final class StructuralElement
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Docs API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
StructuralElement() |
Modifier and Type | Method and Description |
---|---|
StructuralElement |
clone() |
Integer |
getEndIndex()
The zero-based end index of this structural element, exclusive, in UTF-16 code units.
|
Paragraph |
getParagraph()
A paragraph type of structural element.
|
SectionBreak |
getSectionBreak()
A section break type of structural element.
|
Integer |
getStartIndex()
The zero-based start index of this structural element, in UTF-16 code units.
|
Table |
getTable()
A table type of structural element.
|
TableOfContents |
getTableOfContents()
A table of contents type of structural element.
|
StructuralElement |
set(String fieldName,
Object value) |
StructuralElement |
setEndIndex(Integer endIndex)
The zero-based end index of this structural element, exclusive, in UTF-16 code units.
|
StructuralElement |
setParagraph(Paragraph paragraph)
A paragraph type of structural element.
|
StructuralElement |
setSectionBreak(SectionBreak sectionBreak)
A section break type of structural element.
|
StructuralElement |
setStartIndex(Integer startIndex)
The zero-based start index of this structural element, in UTF-16 code units.
|
StructuralElement |
setTable(Table table)
A table type of structural element.
|
StructuralElement |
setTableOfContents(TableOfContents tableOfContents)
A table of contents type of structural element.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Integer getEndIndex()
null
for nonepublic StructuralElement setEndIndex(Integer endIndex)
endIndex
- endIndex or null
for nonepublic Paragraph getParagraph()
null
for nonepublic StructuralElement setParagraph(Paragraph paragraph)
paragraph
- paragraph or null
for nonepublic SectionBreak getSectionBreak()
null
for nonepublic StructuralElement setSectionBreak(SectionBreak sectionBreak)
sectionBreak
- sectionBreak or null
for nonepublic Integer getStartIndex()
null
for nonepublic StructuralElement setStartIndex(Integer startIndex)
startIndex
- startIndex or null
for nonepublic Table getTable()
null
for nonepublic StructuralElement setTable(Table table)
table
- table or null
for nonepublic TableOfContents getTableOfContents()
null
for nonepublic StructuralElement setTableOfContents(TableOfContents tableOfContents)
tableOfContents
- tableOfContents or null
for nonepublic StructuralElement set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public StructuralElement clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.