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
Constructor and Description |
---|
Paragraph() |
Modifier and Type | Method and Description |
---|---|
Paragraph |
clone() |
Bullet |
getBullet()
The bullet for this paragraph.
|
java.util.List<ParagraphElement> |
getElements()
The content of the paragraph broken down into its component parts.
|
ParagraphStyle |
getParagraphStyle()
The style of this paragraph.
|
java.util.List<java.lang.String> |
getPositionedObjectIds()
The IDs of the positioned objects tethered to this paragraph.
|
java.util.Map<java.lang.String,SuggestedBullet> |
getSuggestedBulletChanges()
The suggested changes to this paragraph's bullet.
|
java.util.Map<java.lang.String,SuggestedParagraphStyle> |
getSuggestedParagraphStyleChanges()
The suggested paragraph style changes to this paragraph, keyed by suggestion ID.
|
java.util.Map<java.lang.String,ObjectReferences> |
getSuggestedPositionedObjectIds()
The IDs of the positioned objects that are suggested to be attached to this paragraph, keyed by
suggestion ID.
|
Paragraph |
set(java.lang.String fieldName,
java.lang.Object value) |
Paragraph |
setBullet(Bullet bullet)
The bullet for this paragraph.
|
Paragraph |
setElements(java.util.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(java.util.List<java.lang.String> positionedObjectIds)
The IDs of the positioned objects tethered to this paragraph.
|
Paragraph |
setSuggestedBulletChanges(java.util.Map<java.lang.String,SuggestedBullet> suggestedBulletChanges)
The suggested changes to this paragraph's bullet.
|
Paragraph |
setSuggestedParagraphStyleChanges(java.util.Map<java.lang.String,SuggestedParagraphStyle> suggestedParagraphStyleChanges)
The suggested paragraph style changes to this paragraph, keyed by suggestion ID.
|
Paragraph |
setSuggestedPositionedObjectIds(java.util.Map<java.lang.String,ObjectReferences> suggestedPositionedObjectIds)
The IDs of the positioned objects that are suggested to be attached to this paragraph, keyed by
suggestion ID.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Bullet getBullet()
null
for nonepublic Paragraph setBullet(Bullet bullet)
bullet
- bullet or null
for nonepublic java.util.List<ParagraphElement> getElements()
null
for nonepublic Paragraph setElements(java.util.List<ParagraphElement> elements)
elements
- elements or null
for nonepublic ParagraphStyle getParagraphStyle()
null
for nonepublic Paragraph setParagraphStyle(ParagraphStyle paragraphStyle)
paragraphStyle
- paragraphStyle or null
for nonepublic java.util.List<java.lang.String> getPositionedObjectIds()
null
for nonepublic Paragraph setPositionedObjectIds(java.util.List<java.lang.String> positionedObjectIds)
positionedObjectIds
- positionedObjectIds or null
for nonepublic java.util.Map<java.lang.String,SuggestedBullet> getSuggestedBulletChanges()
null
for nonepublic Paragraph setSuggestedBulletChanges(java.util.Map<java.lang.String,SuggestedBullet> suggestedBulletChanges)
suggestedBulletChanges
- suggestedBulletChanges or null
for nonepublic java.util.Map<java.lang.String,SuggestedParagraphStyle> getSuggestedParagraphStyleChanges()
null
for nonepublic Paragraph setSuggestedParagraphStyleChanges(java.util.Map<java.lang.String,SuggestedParagraphStyle> suggestedParagraphStyleChanges)
suggestedParagraphStyleChanges
- suggestedParagraphStyleChanges or null
for nonepublic java.util.Map<java.lang.String,ObjectReferences> getSuggestedPositionedObjectIds()
null
for nonepublic Paragraph setSuggestedPositionedObjectIds(java.util.Map<java.lang.String,ObjectReferences> suggestedPositionedObjectIds)
suggestedPositionedObjectIds
- suggestedPositionedObjectIds or null
for nonepublic Paragraph set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Paragraph clone()
clone
in class com.google.api.client.json.GenericJson