public final class Paragraph
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 |
---|
Paragraph() |
Modifier and Type | Method and Description |
---|---|
Paragraph |
clone() |
Bullet |
getBullet()
The bullet for this paragraph.
|
List<ParagraphElement> |
getElements()
The content of the paragraph, broken down into its component parts.
|
ParagraphStyle |
getParagraphStyle()
The style of this paragraph.
|
List<String> |
getPositionedObjectIds()
The IDs of the positioned objects tethered to this paragraph.
|
Map<String,SuggestedBullet> |
getSuggestedBulletChanges()
The suggested changes to this paragraph's bullet.
|
Map<String,SuggestedParagraphStyle> |
getSuggestedParagraphStyleChanges()
The suggested paragraph style changes to this paragraph, keyed by suggestion ID.
|
Map<String,ObjectReferences> |
getSuggestedPositionedObjectIds()
The IDs of the positioned objects suggested to be attached to this paragraph, keyed by
suggestion ID.
|
Paragraph |
set(String fieldName,
Object value) |
Paragraph |
setBullet(Bullet bullet)
The bullet for this paragraph.
|
Paragraph |
setElements(List<ParagraphElement> elements)
The content of the paragraph, broken down into its component parts.
|
Paragraph |
setParagraphStyle(ParagraphStyle paragraphStyle)
The style of this paragraph.
|
Paragraph |
setPositionedObjectIds(List<String> positionedObjectIds)
The IDs of the positioned objects tethered to this paragraph.
|
Paragraph |
setSuggestedBulletChanges(Map<String,SuggestedBullet> suggestedBulletChanges)
The suggested changes to this paragraph's bullet.
|
Paragraph |
setSuggestedParagraphStyleChanges(Map<String,SuggestedParagraphStyle> suggestedParagraphStyleChanges)
The suggested paragraph style changes to this paragraph, keyed by suggestion ID.
|
Paragraph |
setSuggestedPositionedObjectIds(Map<String,ObjectReferences> suggestedPositionedObjectIds)
The IDs of the positioned objects suggested to be attached to this paragraph, keyed by
suggestion ID.
|
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 Bullet getBullet()
null
for nonepublic Paragraph setBullet(Bullet bullet)
bullet
- bullet or null
for nonepublic List<ParagraphElement> getElements()
null
for nonepublic Paragraph setElements(List<ParagraphElement> elements)
elements
- elements or null
for nonepublic ParagraphStyle getParagraphStyle()
null
for nonepublic Paragraph setParagraphStyle(ParagraphStyle paragraphStyle)
paragraphStyle
- paragraphStyle or null
for nonepublic List<String> getPositionedObjectIds()
null
for nonepublic Paragraph setPositionedObjectIds(List<String> positionedObjectIds)
positionedObjectIds
- positionedObjectIds or null
for nonepublic Map<String,SuggestedBullet> getSuggestedBulletChanges()
null
for nonepublic Paragraph setSuggestedBulletChanges(Map<String,SuggestedBullet> suggestedBulletChanges)
suggestedBulletChanges
- suggestedBulletChanges or null
for nonepublic Map<String,SuggestedParagraphStyle> getSuggestedParagraphStyleChanges()
null
for nonepublic Paragraph setSuggestedParagraphStyleChanges(Map<String,SuggestedParagraphStyle> suggestedParagraphStyleChanges)
suggestedParagraphStyleChanges
- suggestedParagraphStyleChanges or null
for nonepublic Map<String,ObjectReferences> getSuggestedPositionedObjectIds()
null
for nonepublic Paragraph setSuggestedPositionedObjectIds(Map<String,ObjectReferences> suggestedPositionedObjectIds)
suggestedPositionedObjectIds
- suggestedPositionedObjectIds or null
for nonepublic Paragraph set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Paragraph clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.