public final class ScriptStackTraceElement
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 Apps Script 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 |
|---|
ScriptStackTraceElement() |
| Modifier and Type | Method and Description |
|---|---|
ScriptStackTraceElement |
clone() |
java.lang.String |
getFunction()
The name of the function that failed.
|
java.lang.Integer |
getLineNumber()
The line number where the script failed.
|
ScriptStackTraceElement |
set(java.lang.String fieldName,
java.lang.Object value) |
ScriptStackTraceElement |
setFunction(java.lang.String function)
The name of the function that failed.
|
ScriptStackTraceElement |
setLineNumber(java.lang.Integer lineNumber)
The line number where the script failed.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getFunction()
null for nonepublic ScriptStackTraceElement setFunction(java.lang.String function)
function - function or null for nonepublic java.lang.Integer getLineNumber()
null for nonepublic ScriptStackTraceElement setLineNumber(java.lang.Integer lineNumber)
lineNumber - lineNumber or null for nonepublic ScriptStackTraceElement set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ScriptStackTraceElement clone()
clone in class com.google.api.client.json.GenericJson