public final class Type
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 Cloud Healthcare API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Type() |
Modifier and Type | Method and Description |
---|---|
Type |
clone() |
List<Field> |
getFields()
The (sub) fields this type has (if not primitive).
|
String |
getName()
The name of this type.
|
String |
getPrimitive()
If this is a primitive type then this field is the type of the primitive For example, STRING.
|
Type |
set(String fieldName,
Object value) |
Type |
setFields(List<Field> fields)
The (sub) fields this type has (if not primitive).
|
Type |
setName(String name)
The name of this type.
|
Type |
setPrimitive(String primitive)
If this is a primitive type then this field is the type of the primitive For example, STRING.
|
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 List<Field> getFields()
null
for nonepublic Type setFields(List<Field> fields)
fields
- fields or null
for nonepublic String getName()
null
for nonepublic Type setName(String name)
name
- name or null
for nonepublic String getPrimitive()
null
for nonepublic Type setPrimitive(String primitive)
primitive
- primitive or null
for nonepublic Type set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Type clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.