public final class SourceMetadata
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 Google Dataflow API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
SourceMetadata() |
Modifier and Type | Method and Description |
---|---|
SourceMetadata |
clone() |
java.lang.Long |
getEstimatedSizeBytes()
An estimate of the total size (in bytes) of the data that would be read from this source.
|
java.lang.Boolean |
getInfinite()
Specifies that the size of this source is known to be infinite (this is a streaming source).
|
java.lang.Boolean |
getProducesSortedKeys()
Whether this source is known to produce key/value pairs with the (encoded) keys in
lexicographically sorted order.
|
SourceMetadata |
set(java.lang.String fieldName,
java.lang.Object value) |
SourceMetadata |
setEstimatedSizeBytes(java.lang.Long estimatedSizeBytes)
An estimate of the total size (in bytes) of the data that would be read from this source.
|
SourceMetadata |
setInfinite(java.lang.Boolean infinite)
Specifies that the size of this source is known to be infinite (this is a streaming source).
|
SourceMetadata |
setProducesSortedKeys(java.lang.Boolean producesSortedKeys)
Whether this source is known to produce key/value pairs with the (encoded) keys in
lexicographically sorted order.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Long getEstimatedSizeBytes()
null
for nonepublic SourceMetadata setEstimatedSizeBytes(java.lang.Long estimatedSizeBytes)
estimatedSizeBytes
- estimatedSizeBytes or null
for nonepublic java.lang.Boolean getInfinite()
null
for nonepublic SourceMetadata setInfinite(java.lang.Boolean infinite)
infinite
- infinite or null
for nonepublic java.lang.Boolean getProducesSortedKeys()
null
for nonepublic SourceMetadata setProducesSortedKeys(java.lang.Boolean producesSortedKeys)
producesSortedKeys
- producesSortedKeys or null
for nonepublic SourceMetadata set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SourceMetadata clone()
clone
in class com.google.api.client.json.GenericJson