public final class KeyRangeInfo
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 Spanner 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 |
---|
KeyRangeInfo() |
Modifier and Type | Method and Description |
---|---|
KeyRangeInfo |
clone() |
List<ContextValue> |
getContextValues()
The list of context values for this key range.
|
Integer |
getEndKeyIndex()
The index of the end key in indexed_keys.
|
LocalizedString |
getInfo()
Information about this key range, for all metrics.
|
Long |
getKeysCount()
The number of keys this range covers.
|
LocalizedString |
getMetric()
The name of the metric.
|
Integer |
getStartKeyIndex()
The index of the start key in indexed_keys.
|
String |
getTimeOffset()
The time offset.
|
LocalizedString |
getUnit()
The unit of the metric.
|
Float |
getValue()
The value of the metric.
|
KeyRangeInfo |
set(String fieldName,
Object value) |
KeyRangeInfo |
setContextValues(List<ContextValue> contextValues)
The list of context values for this key range.
|
KeyRangeInfo |
setEndKeyIndex(Integer endKeyIndex)
The index of the end key in indexed_keys.
|
KeyRangeInfo |
setInfo(LocalizedString info)
Information about this key range, for all metrics.
|
KeyRangeInfo |
setKeysCount(Long keysCount)
The number of keys this range covers.
|
KeyRangeInfo |
setMetric(LocalizedString metric)
The name of the metric.
|
KeyRangeInfo |
setStartKeyIndex(Integer startKeyIndex)
The index of the start key in indexed_keys.
|
KeyRangeInfo |
setTimeOffset(String timeOffset)
The time offset.
|
KeyRangeInfo |
setUnit(LocalizedString unit)
The unit of the metric.
|
KeyRangeInfo |
setValue(Float value)
The value of the metric.
|
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 List<ContextValue> getContextValues()
null
for nonepublic KeyRangeInfo setContextValues(List<ContextValue> contextValues)
contextValues
- contextValues or null
for nonepublic Integer getEndKeyIndex()
null
for nonepublic KeyRangeInfo setEndKeyIndex(Integer endKeyIndex)
endKeyIndex
- endKeyIndex or null
for nonepublic LocalizedString getInfo()
null
for nonepublic KeyRangeInfo setInfo(LocalizedString info)
info
- info or null
for nonepublic Long getKeysCount()
null
for nonepublic KeyRangeInfo setKeysCount(Long keysCount)
keysCount
- keysCount or null
for nonepublic LocalizedString getMetric()
null
for nonepublic KeyRangeInfo setMetric(LocalizedString metric)
metric
- metric or null
for nonepublic Integer getStartKeyIndex()
null
for nonepublic KeyRangeInfo setStartKeyIndex(Integer startKeyIndex)
startKeyIndex
- startKeyIndex or null
for nonepublic String getTimeOffset()
null
for nonepublic KeyRangeInfo setTimeOffset(String timeOffset)
timeOffset
- timeOffset or null
for nonepublic LocalizedString getUnit()
null
for nonepublic KeyRangeInfo setUnit(LocalizedString unit)
unit
- unit or null
for nonepublic Float getValue()
null
for nonepublic KeyRangeInfo setValue(Float value)
value
- value or null
for nonepublic KeyRangeInfo set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public KeyRangeInfo clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.