public final class XPSTableSpec
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 Cloud Natural Language 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
XPSTableSpec() |
Modifier and Type | Method and Description |
---|---|
XPSTableSpec |
clone() |
Map<String,XPSColumnSpec> |
getColumnSpecs()
Mapping from column id to column spec.
|
Long |
getImportedDataSizeInBytes()
The total size of imported data of the table.
|
Long |
getRowCount()
The number of rows in the table.
|
Integer |
getTimeColumnId()
The id of the time column.
|
Long |
getValidRowCount()
The number of valid rows.
|
XPSTableSpec |
set(String fieldName,
Object value) |
XPSTableSpec |
setColumnSpecs(Map<String,XPSColumnSpec> columnSpecs)
Mapping from column id to column spec.
|
XPSTableSpec |
setImportedDataSizeInBytes(Long importedDataSizeInBytes)
The total size of imported data of the table.
|
XPSTableSpec |
setRowCount(Long rowCount)
The number of rows in the table.
|
XPSTableSpec |
setTimeColumnId(Integer timeColumnId)
The id of the time column.
|
XPSTableSpec |
setValidRowCount(Long validRowCount)
The number of valid rows.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Map<String,XPSColumnSpec> getColumnSpecs()
null
for nonepublic XPSTableSpec setColumnSpecs(Map<String,XPSColumnSpec> columnSpecs)
columnSpecs
- columnSpecs or null
for nonepublic Long getImportedDataSizeInBytes()
null
for nonepublic XPSTableSpec setImportedDataSizeInBytes(Long importedDataSizeInBytes)
importedDataSizeInBytes
- importedDataSizeInBytes or null
for nonepublic Long getRowCount()
null
for nonepublic XPSTableSpec setRowCount(Long rowCount)
rowCount
- rowCount or null
for nonepublic Integer getTimeColumnId()
null
for nonepublic XPSTableSpec setTimeColumnId(Integer timeColumnId)
timeColumnId
- timeColumnId or null
for nonepublic Long getValidRowCount()
null
for nonepublic XPSTableSpec setValidRowCount(Long validRowCount)
validRowCount
- validRowCount or null
for nonepublic XPSTableSpec set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public XPSTableSpec clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.