public final class ServiceUsageEnum
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 Usage 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
Constructor and Description |
---|
ServiceUsageEnum() |
Modifier and Type | Method and Description |
---|---|
ServiceUsageEnum |
clone() |
java.util.List<EnumValue> |
getEnumvalue()
Enum value definitions.
|
java.lang.String |
getName()
Enum type name.
|
java.util.List<Option> |
getOptions()
Protocol buffer options.
|
SourceContext |
getSourceContext()
The source context.
|
java.lang.String |
getSyntax()
The source syntax.
|
ServiceUsageEnum |
set(java.lang.String fieldName,
java.lang.Object value) |
ServiceUsageEnum |
setEnumvalue(java.util.List<EnumValue> enumvalue)
Enum value definitions.
|
ServiceUsageEnum |
setName(java.lang.String name)
Enum type name.
|
ServiceUsageEnum |
setOptions(java.util.List<Option> options)
Protocol buffer options.
|
ServiceUsageEnum |
setSourceContext(SourceContext sourceContext)
The source context.
|
ServiceUsageEnum |
setSyntax(java.lang.String syntax)
The source syntax.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<EnumValue> getEnumvalue()
null
for nonepublic ServiceUsageEnum setEnumvalue(java.util.List<EnumValue> enumvalue)
enumvalue
- enumvalue or null
for nonepublic java.lang.String getName()
null
for nonepublic ServiceUsageEnum setName(java.lang.String name)
name
- name or null
for nonepublic java.util.List<Option> getOptions()
null
for nonepublic ServiceUsageEnum setOptions(java.util.List<Option> options)
options
- options or null
for nonepublic SourceContext getSourceContext()
null
for nonepublic ServiceUsageEnum setSourceContext(SourceContext sourceContext)
sourceContext
- sourceContext or null
for nonepublic java.lang.String getSyntax()
null
for nonepublic ServiceUsageEnum setSyntax(java.lang.String syntax)
syntax
- syntax or null
for nonepublic ServiceUsageEnum set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ServiceUsageEnum clone()
clone
in class com.google.api.client.json.GenericJson