Send feedback
RewriterOptions.OutputType
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
RewriterOptions.OutputType specifies the style of output for rewriting.
Available output types include ELABORATE, EMOJIFY, FRIENDLY, PROFESSIONAL, REPHRASE, and SHORTEN.
These constants provide different ways to transform input text, such as adding emojis, changing the tone, or adjusting the length.
Specifies the style of output for rewriting.
Constant Summary
int
ELABORATE
Elaborates the input text.
int
EMOJIFY
Inserts appropriate emojis in the input
text.
int
FRIENDLY
Makes the input text more friendly.
int
PROFESSIONAL
Makes the input text more professional.
int
REPHRASE
Rephrases the input text.
int
SHORTEN
Shortens the input text.
Inherited Method Summary
From interface java.lang.annotation.Annotation
abstract Class <? extends Annotation >
annotationType ()
abstract boolean
abstract int
hashCode ()
abstract String
toString ()
Constants
public static final int
ELABORATE
Elaborates the input text.
Constant Value: 1
public static final int
EMOJIFY
Inserts appropriate emojis in the input text.
Constant Value: 2
public static final int
FRIENDLY
Makes the input text more friendly.
Constant Value: 4
public static final int
PROFESSIONAL
Makes the input text more professional.
Constant Value: 5
public static final int
REPHRASE
Rephrases the input text.
Constant Value: 6
public static final int
SHORTEN
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-14 UTC."],[],[]]