public static final class JsonSchema.Annotations extends GenericJson
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Annotations() |
| Modifier and Type | Method and Description |
|---|---|
JsonSchema.Annotations |
clone() |
List<String> |
getRequired()
A list of methods for which this property is required on requests.
|
JsonSchema.Annotations |
set(String fieldName,
Object value) |
JsonSchema.Annotations |
setRequired(List<String> required)
A list of methods for which this property is required on requests.
|
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 List<String> getRequired()
null for nonepublic JsonSchema.Annotations setRequired(List<String> required)
required - required or null for nonepublic JsonSchema.Annotations set(String fieldName, Object value)
set in class GenericJsonpublic JsonSchema.Annotations clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.