public final class SourceLocation
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 Error Reporting 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 |
---|
SourceLocation() |
Modifier and Type | Method and Description |
---|---|
SourceLocation |
clone() |
java.lang.String |
getFilePath()
The source code filename, which can include a truncated relative path, or a full path from a
production machine.
|
java.lang.String |
getFunctionName()
Human-readable name of a function or method.
|
java.lang.Integer |
getLineNumber()
1-based.
|
SourceLocation |
set(java.lang.String fieldName,
java.lang.Object value) |
SourceLocation |
setFilePath(java.lang.String filePath)
The source code filename, which can include a truncated relative path, or a full path from a
production machine.
|
SourceLocation |
setFunctionName(java.lang.String functionName)
Human-readable name of a function or method.
|
SourceLocation |
setLineNumber(java.lang.Integer lineNumber)
1-based.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getFilePath()
null
for nonepublic SourceLocation setFilePath(java.lang.String filePath)
filePath
- filePath or null
for nonepublic java.lang.String getFunctionName()
null
for nonepublic SourceLocation setFunctionName(java.lang.String functionName)
functionName
- functionName or null
for nonepublic java.lang.Integer getLineNumber()
null
for nonepublic SourceLocation setLineNumber(java.lang.Integer lineNumber)
lineNumber
- lineNumber or null
for nonepublic SourceLocation set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SourceLocation clone()
clone
in class com.google.api.client.json.GenericJson