public final class PubsubSnapshotMetadata extends 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 Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PubsubSnapshotMetadata() |
Modifier and Type | Method and Description |
---|---|
PubsubSnapshotMetadata |
clone() |
String |
getExpireTime()
The expire time of the Pubsub snapshot.
|
String |
getSnapshotName()
The name of the Pubsub snapshot.
|
String |
getTopicName()
The name of the Pubsub topic.
|
PubsubSnapshotMetadata |
set(String fieldName,
Object value) |
PubsubSnapshotMetadata |
setExpireTime(String expireTime)
The expire time of the Pubsub snapshot.
|
PubsubSnapshotMetadata |
setSnapshotName(String snapshotName)
The name of the Pubsub snapshot.
|
PubsubSnapshotMetadata |
setTopicName(String topicName)
The name of the Pubsub topic.
|
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 String getExpireTime()
null
for nonepublic PubsubSnapshotMetadata setExpireTime(String expireTime)
expireTime
- expireTime or null
for nonepublic String getSnapshotName()
null
for nonepublic PubsubSnapshotMetadata setSnapshotName(String snapshotName)
snapshotName
- snapshotName or null
for nonepublic String getTopicName()
null
for nonepublic PubsubSnapshotMetadata setTopicName(String topicName)
topicName
- topicName or null
for nonepublic PubsubSnapshotMetadata set(String fieldName, Object value)
set
in class GenericJson
public PubsubSnapshotMetadata clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.