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 Service Networking 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Type() |
| Modifier and Type | Method and Description |
|---|---|
Type |
clone() |
String |
getEdition()
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
List<Field> |
getFields()
The list of fields.
|
String |
getName()
The fully qualified message name.
|
List<String> |
getOneofs()
The list of types appearing in `oneof` definitions in this type.
|
List<Option> |
getOptions()
The protocol buffer options.
|
SourceContext |
getSourceContext()
The source context.
|
String |
getSyntax()
The source syntax.
|
Type |
set(String fieldName,
Object value) |
Type |
setEdition(String edition)
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
Type |
setFields(List<Field> fields)
The list of fields.
|
Type |
setName(String name)
The fully qualified message name.
|
Type |
setOneofs(List<String> oneofs)
The list of types appearing in `oneof` definitions in this type.
|
Type |
setOptions(List<Option> options)
The protocol buffer options.
|
Type |
setSourceContext(SourceContext sourceContext)
The source context.
|
Type |
setSyntax(String syntax)
The source syntax.
|
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 getEdition()
null for nonepublic Type setEdition(String edition)
edition - edition or 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 List<String> getOneofs()
null for nonepublic Type setOneofs(List<String> oneofs)
oneofs - oneofs or null for nonepublic List<Option> getOptions()
null for nonepublic Type setOptions(List<Option> options)
options - options or null for nonepublic SourceContext getSourceContext()
null for nonepublic Type setSourceContext(SourceContext sourceContext)
sourceContext - sourceContext or null for nonepublic String getSyntax()
null for nonepublic Type setSyntax(String syntax)
syntax - syntax or null for nonepublic Type set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Type clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.