target.apidocs.com.google.api.services.bigquery.model.ScriptStackFrame.html Maven / Gradle / Ivy
ScriptStackFrame (BigQuery API v2-rev20240727-2.0.0)
com.google.api.services.bigquery.model
Class ScriptStackFrame
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.bigquery.model.ScriptStackFrame
-
public final class ScriptStackFrame
extends com.google.api.client.json.GenericJson
Represents the location of the statement/expression being evaluated. Line and column numbers are
defined as follows: - Line and column numbers start with one. That is, line 1 column 1 denotes
the start of the script. - When inside a stored procedure, all line/column numbers are relative
to the procedure body, not the script in which the procedure was defined. - Start/end positions
exclude leading/trailing comments and whitespace. The end position always ends with a ";", when
present. - Multi-byte Unicode characters are treated as just one column. - If the original script
(or procedure definition) contains TAB characters, a tab "snaps" the indentation forward to the
nearest multiple of 8 characters, plus 1. For example, a TAB on column 1, 2, 3, 4, 5, 6 , or 8
will advance the next character to column 9. A TAB on column 9, 10, 11, 12, 13, 14, 15, or 16
will advance the next character to column 17.
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 BigQuery API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ScriptStackFrame()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ScriptStackFrame
clone()
Integer
getEndColumn()
Output only.
Integer
getEndLine()
Output only.
String
getProcedureId()
Output only.
Integer
getStartColumn()
Output only.
Integer
getStartLine()
Output only.
String
getText()
Output only.
ScriptStackFrame
set(String fieldName,
Object value)
ScriptStackFrame
setEndColumn(Integer endColumn)
Output only.
ScriptStackFrame
setEndLine(Integer endLine)
Output only.
ScriptStackFrame
setProcedureId(String procedureId)
Output only.
ScriptStackFrame
setStartColumn(Integer startColumn)
Output only.
ScriptStackFrame
setStartLine(Integer startLine)
Output only.
ScriptStackFrame
setText(String text)
Output only.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getEndColumn
public Integer getEndColumn()
Output only. One-based end column.
- Returns:
- value or
null
for none
-
setEndColumn
public ScriptStackFrame setEndColumn(Integer endColumn)
Output only. One-based end column.
- Parameters:
endColumn
- endColumn or null
for none
-
getEndLine
public Integer getEndLine()
Output only. One-based end line.
- Returns:
- value or
null
for none
-
setEndLine
public ScriptStackFrame setEndLine(Integer endLine)
Output only. One-based end line.
- Parameters:
endLine
- endLine or null
for none
-
getProcedureId
public String getProcedureId()
Output only. Name of the active procedure, empty if in a top-level script.
- Returns:
- value or
null
for none
-
setProcedureId
public ScriptStackFrame setProcedureId(String procedureId)
Output only. Name of the active procedure, empty if in a top-level script.
- Parameters:
procedureId
- procedureId or null
for none
-
getStartColumn
public Integer getStartColumn()
Output only. One-based start column.
- Returns:
- value or
null
for none
-
setStartColumn
public ScriptStackFrame setStartColumn(Integer startColumn)
Output only. One-based start column.
- Parameters:
startColumn
- startColumn or null
for none
-
getStartLine
public Integer getStartLine()
Output only. One-based start line.
- Returns:
- value or
null
for none
-
setStartLine
public ScriptStackFrame setStartLine(Integer startLine)
Output only. One-based start line.
- Parameters:
startLine
- startLine or null
for none
-
getText
public String getText()
Output only. Text of the current statement/expression.
- Returns:
- value or
null
for none
-
setText
public ScriptStackFrame setText(String text)
Output only. Text of the current statement/expression.
- Parameters:
text
- text or null
for none
-
set
public ScriptStackFrame set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ScriptStackFrame clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.