public final class Schema 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 Cloud Pub/Sub API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Schema() |
| Modifier and Type | Method and Description |
|---|---|
Schema |
clone() |
String |
getDefinition()
The definition of the schema.
|
String |
getName()
Required.
|
String |
getRevisionCreateTime()
Output only.
|
String |
getRevisionId()
Output only.
|
String |
getType()
The type of the schema definition.
|
Schema |
set(String fieldName,
Object value) |
Schema |
setDefinition(String definition)
The definition of the schema.
|
Schema |
setName(String name)
Required.
|
Schema |
setRevisionCreateTime(String revisionCreateTime)
Output only.
|
Schema |
setRevisionId(String revisionId)
Output only.
|
Schema |
setType(String type)
The type of the schema definition.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDefinition()
null for nonepublic Schema setDefinition(String definition)
definition - definition or null for nonepublic String getName()
null for nonepublic Schema setName(String name)
name - name or null for nonepublic String getRevisionCreateTime()
null for nonepublic Schema setRevisionCreateTime(String revisionCreateTime)
revisionCreateTime - revisionCreateTime or null for nonepublic String getRevisionId()
null for nonepublic Schema setRevisionId(String revisionId)
revisionId - revisionId or null for nonepublic String getType()
null for nonepublic Schema setType(String type)
type - type or null for nonepublic Schema set(String fieldName, Object value)
set in class GenericJsonpublic Schema clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.