public final class Service
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 Consumer Management 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 |
---|
Service() |
Modifier and Type | Method and Description |
---|---|
Service |
clone() |
java.util.List<Api> |
getApis()
A list of API interfaces exported by this service.
|
Authentication |
getAuthentication()
Auth configuration.
|
Backend |
getBackend()
API backend configuration.
|
Billing |
getBilling()
Billing configuration.
|
java.lang.Long |
getConfigVersion()
The semantic version of the service configuration.
|
Context |
getContext()
Context configuration.
|
Control |
getControl()
Configuration for the service control plane.
|
CustomError |
getCustomError()
Custom error configuration.
|
Documentation |
getDocumentation()
Additional API documentation.
|
java.util.List<Endpoint> |
getEndpoints()
Configuration for network endpoints.
|
java.util.List<ServiceConsumerManagementEnum> |
getEnums()
A list of all enum types included in this API service.
|
Http |
getHttp()
HTTP configuration.
|
java.lang.String |
getId()
A unique ID for a specific instance of this message, typically assigned by the client for
tracking purpose.
|
Logging |
getLogging()
Logging configuration.
|
java.util.List<LogDescriptor> |
getLogs()
Defines the logs used by this service.
|
java.util.List<MetricDescriptor> |
getMetrics()
Defines the metrics used by this service.
|
java.util.List<MonitoredResourceDescriptor> |
getMonitoredResources()
Defines the monitored resources used by this service.
|
Monitoring |
getMonitoring()
Monitoring configuration.
|
java.lang.String |
getName()
The service name, which is a DNS-like logical identifier for the service, such as
`calendar.googleapis.com`.
|
java.lang.String |
getProducerProjectId()
The Google project that owns this service.
|
Quota |
getQuota()
Quota configuration.
|
SourceInfo |
getSourceInfo()
Output only.
|
SystemParameters |
getSystemParameters()
System parameter configuration.
|
java.util.List<Type> |
getSystemTypes()
A list of all proto message types included in this API service.
|
java.lang.String |
getTitle()
The product title for this service.
|
java.util.List<Type> |
getTypes()
A list of all proto message types included in this API service.
|
Usage |
getUsage()
Configuration controlling usage of this service.
|
Service |
set(java.lang.String fieldName,
java.lang.Object value) |
Service |
setApis(java.util.List<Api> apis)
A list of API interfaces exported by this service.
|
Service |
setAuthentication(Authentication authentication)
Auth configuration.
|
Service |
setBackend(Backend backend)
API backend configuration.
|
Service |
setBilling(Billing billing)
Billing configuration.
|
Service |
setConfigVersion(java.lang.Long configVersion)
The semantic version of the service configuration.
|
Service |
setContext(Context context)
Context configuration.
|
Service |
setControl(Control control)
Configuration for the service control plane.
|
Service |
setCustomError(CustomError customError)
Custom error configuration.
|
Service |
setDocumentation(Documentation documentation)
Additional API documentation.
|
Service |
setEndpoints(java.util.List<Endpoint> endpoints)
Configuration for network endpoints.
|
Service |
setEnums(java.util.List<ServiceConsumerManagementEnum> enums)
A list of all enum types included in this API service.
|
Service |
setHttp(Http http)
HTTP configuration.
|
Service |
setId(java.lang.String id)
A unique ID for a specific instance of this message, typically assigned by the client for
tracking purpose.
|
Service |
setLogging(Logging logging)
Logging configuration.
|
Service |
setLogs(java.util.List<LogDescriptor> logs)
Defines the logs used by this service.
|
Service |
setMetrics(java.util.List<MetricDescriptor> metrics)
Defines the metrics used by this service.
|
Service |
setMonitoredResources(java.util.List<MonitoredResourceDescriptor> monitoredResources)
Defines the monitored resources used by this service.
|
Service |
setMonitoring(Monitoring monitoring)
Monitoring configuration.
|
Service |
setName(java.lang.String name)
The service name, which is a DNS-like logical identifier for the service, such as
`calendar.googleapis.com`.
|
Service |
setProducerProjectId(java.lang.String producerProjectId)
The Google project that owns this service.
|
Service |
setQuota(Quota quota)
Quota configuration.
|
Service |
setSourceInfo(SourceInfo sourceInfo)
Output only.
|
Service |
setSystemParameters(SystemParameters systemParameters)
System parameter configuration.
|
Service |
setSystemTypes(java.util.List<Type> systemTypes)
A list of all proto message types included in this API service.
|
Service |
setTitle(java.lang.String title)
The product title for this service.
|
Service |
setTypes(java.util.List<Type> types)
A list of all proto message types included in this API service.
|
Service |
setUsage(Usage usage)
Configuration controlling usage of this service.
|
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<Api> getApis()
null
for nonepublic Service setApis(java.util.List<Api> apis)
apis
- apis or null
for nonepublic Authentication getAuthentication()
null
for nonepublic Service setAuthentication(Authentication authentication)
authentication
- authentication or null
for nonepublic Backend getBackend()
null
for nonepublic Service setBackend(Backend backend)
backend
- backend or null
for nonepublic Billing getBilling()
null
for nonepublic Service setBilling(Billing billing)
billing
- billing or null
for nonepublic java.lang.Long getConfigVersion()
null
for nonepublic Service setConfigVersion(java.lang.Long configVersion)
configVersion
- configVersion or null
for nonepublic Context getContext()
null
for nonepublic Service setContext(Context context)
context
- context or null
for nonepublic Control getControl()
null
for nonepublic Service setControl(Control control)
control
- control or null
for nonepublic CustomError getCustomError()
null
for nonepublic Service setCustomError(CustomError customError)
customError
- customError or null
for nonepublic Documentation getDocumentation()
null
for nonepublic Service setDocumentation(Documentation documentation)
documentation
- documentation or null
for nonepublic java.util.List<Endpoint> getEndpoints()
null
for nonepublic Service setEndpoints(java.util.List<Endpoint> endpoints)
endpoints
- endpoints or null
for nonepublic java.util.List<ServiceConsumerManagementEnum> getEnums()
null
for nonepublic Service setEnums(java.util.List<ServiceConsumerManagementEnum> enums)
enums
- enums or null
for nonepublic Http getHttp()
null
for nonepublic Service setHttp(Http http)
http
- http or null
for nonepublic java.lang.String getId()
null
for nonepublic Service setId(java.lang.String id)
id
- id or null
for nonepublic Logging getLogging()
null
for nonepublic Service setLogging(Logging logging)
logging
- logging or null
for nonepublic java.util.List<LogDescriptor> getLogs()
null
for nonepublic Service setLogs(java.util.List<LogDescriptor> logs)
logs
- logs or null
for nonepublic java.util.List<MetricDescriptor> getMetrics()
null
for nonepublic Service setMetrics(java.util.List<MetricDescriptor> metrics)
metrics
- metrics or null
for nonepublic java.util.List<MonitoredResourceDescriptor> getMonitoredResources()
null
for nonepublic Service setMonitoredResources(java.util.List<MonitoredResourceDescriptor> monitoredResources)
monitoredResources
- monitoredResources or null
for nonepublic Monitoring getMonitoring()
null
for nonepublic Service setMonitoring(Monitoring monitoring)
monitoring
- monitoring or null
for nonepublic java.lang.String getName()
null
for nonepublic Service setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getProducerProjectId()
null
for nonepublic Service setProducerProjectId(java.lang.String producerProjectId)
producerProjectId
- producerProjectId or null
for nonepublic Quota getQuota()
null
for nonepublic Service setQuota(Quota quota)
quota
- quota or null
for nonepublic SourceInfo getSourceInfo()
null
for nonepublic Service setSourceInfo(SourceInfo sourceInfo)
sourceInfo
- sourceInfo or null
for nonepublic SystemParameters getSystemParameters()
null
for nonepublic Service setSystemParameters(SystemParameters systemParameters)
systemParameters
- systemParameters or null
for nonepublic java.util.List<Type> getSystemTypes()
null
for nonepublic Service setSystemTypes(java.util.List<Type> systemTypes)
systemTypes
- systemTypes or null
for nonepublic java.lang.String getTitle()
null
for nonepublic Service setTitle(java.lang.String title)
title
- title or null
for nonepublic java.util.List<Type> getTypes()
null
for nonepublic Service setTypes(java.util.List<Type> types)
types
- types or null
for nonepublic Usage getUsage()
null
for nonepublic Service setUsage(Usage usage)
usage
- usage or null
for nonepublic Service set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Service clone()
clone
in class com.google.api.client.json.GenericJson