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 Admin SDK 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 |
---|
Schema() |
Modifier and Type | Method and Description |
---|---|
Schema |
clone() |
String |
getDisplayName()
Display name for the schema.
|
String |
getEtag()
The ETag of the resource.
|
List<SchemaFieldSpec> |
getFields()
A list of fields in the schema.
|
String |
getKind()
Kind of resource this is.
|
String |
getSchemaId()
The unique identifier of the schema (Read-only)
|
String |
getSchemaName()
The schema's name.
|
Schema |
set(String fieldName,
Object value) |
Schema |
setDisplayName(String displayName)
Display name for the schema.
|
Schema |
setEtag(String etag)
The ETag of the resource.
|
Schema |
setFields(List<SchemaFieldSpec> fields)
A list of fields in the schema.
|
Schema |
setKind(String kind)
Kind of resource this is.
|
Schema |
setSchemaId(String schemaId)
The unique identifier of the schema (Read-only)
|
Schema |
setSchemaName(String schemaName)
The schema's name.
|
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 getDisplayName()
null
for nonepublic Schema setDisplayName(String displayName)
displayName
- displayName or null
for nonepublic String getEtag()
null
for nonepublic Schema setEtag(String etag)
etag
- etag or null
for nonepublic List<SchemaFieldSpec> getFields()
null
for nonepublic Schema setFields(List<SchemaFieldSpec> fields)
fields
- fields or null
for nonepublic String getKind()
null
for nonepublic Schema setKind(String kind)
kind
- kind or null
for nonepublic String getSchemaId()
null
for nonepublic Schema setSchemaId(String schemaId)
schemaId
- schemaId or null
for nonepublic String getSchemaName()
null
for nonepublic Schema setSchemaName(String schemaName)
schemaName
- schemaName or null
for nonepublic Schema set(String fieldName, Object value)
set
in class GenericJson
public Schema clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.