public final class ClientLibrarySettings
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ClientLibrarySettings() |
Modifier and Type | Method and Description |
---|---|
ClientLibrarySettings |
clone() |
CppSettings |
getCppSettings()
Settings for C++ client libraries.
|
DotnetSettings |
getDotnetSettings()
Settings for .NET client libraries.
|
GoSettings |
getGoSettings()
Settings for Go client libraries.
|
JavaSettings |
getJavaSettings()
Settings for legacy Java features, supported in the Service YAML.
|
String |
getLaunchStage()
Launch stage of this version of the API.
|
NodeSettings |
getNodeSettings()
Settings for Node client libraries.
|
PhpSettings |
getPhpSettings()
Settings for PHP client libraries.
|
PythonSettings |
getPythonSettings()
Settings for Python client libraries.
|
Boolean |
getRestNumericEnums()
When using transport=rest, the client request will encode enums as numbers rather than strings.
|
RubySettings |
getRubySettings()
Settings for Ruby client libraries.
|
String |
getVersion()
Version of the API to apply these settings to.
|
ClientLibrarySettings |
set(String fieldName,
Object value) |
ClientLibrarySettings |
setCppSettings(CppSettings cppSettings)
Settings for C++ client libraries.
|
ClientLibrarySettings |
setDotnetSettings(DotnetSettings dotnetSettings)
Settings for .NET client libraries.
|
ClientLibrarySettings |
setGoSettings(GoSettings goSettings)
Settings for Go client libraries.
|
ClientLibrarySettings |
setJavaSettings(JavaSettings javaSettings)
Settings for legacy Java features, supported in the Service YAML.
|
ClientLibrarySettings |
setLaunchStage(String launchStage)
Launch stage of this version of the API.
|
ClientLibrarySettings |
setNodeSettings(NodeSettings nodeSettings)
Settings for Node client libraries.
|
ClientLibrarySettings |
setPhpSettings(PhpSettings phpSettings)
Settings for PHP client libraries.
|
ClientLibrarySettings |
setPythonSettings(PythonSettings pythonSettings)
Settings for Python client libraries.
|
ClientLibrarySettings |
setRestNumericEnums(Boolean restNumericEnums)
When using transport=rest, the client request will encode enums as numbers rather than strings.
|
ClientLibrarySettings |
setRubySettings(RubySettings rubySettings)
Settings for Ruby client libraries.
|
ClientLibrarySettings |
setVersion(String version)
Version of the API to apply these settings to.
|
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 CppSettings getCppSettings()
null
for nonepublic ClientLibrarySettings setCppSettings(CppSettings cppSettings)
cppSettings
- cppSettings or null
for nonepublic DotnetSettings getDotnetSettings()
null
for nonepublic ClientLibrarySettings setDotnetSettings(DotnetSettings dotnetSettings)
dotnetSettings
- dotnetSettings or null
for nonepublic GoSettings getGoSettings()
null
for nonepublic ClientLibrarySettings setGoSettings(GoSettings goSettings)
goSettings
- goSettings or null
for nonepublic JavaSettings getJavaSettings()
null
for nonepublic ClientLibrarySettings setJavaSettings(JavaSettings javaSettings)
javaSettings
- javaSettings or null
for nonepublic String getLaunchStage()
null
for nonepublic ClientLibrarySettings setLaunchStage(String launchStage)
launchStage
- launchStage or null
for nonepublic NodeSettings getNodeSettings()
null
for nonepublic ClientLibrarySettings setNodeSettings(NodeSettings nodeSettings)
nodeSettings
- nodeSettings or null
for nonepublic PhpSettings getPhpSettings()
null
for nonepublic ClientLibrarySettings setPhpSettings(PhpSettings phpSettings)
phpSettings
- phpSettings or null
for nonepublic PythonSettings getPythonSettings()
null
for nonepublic ClientLibrarySettings setPythonSettings(PythonSettings pythonSettings)
pythonSettings
- pythonSettings or null
for nonepublic Boolean getRestNumericEnums()
null
for nonepublic ClientLibrarySettings setRestNumericEnums(Boolean restNumericEnums)
restNumericEnums
- restNumericEnums or null
for nonepublic RubySettings getRubySettings()
null
for nonepublic ClientLibrarySettings setRubySettings(RubySettings rubySettings)
rubySettings
- rubySettings or null
for nonepublic String getVersion()
null
for nonepublic ClientLibrarySettings setVersion(String version)
version
- version or null
for nonepublic ClientLibrarySettings set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ClientLibrarySettings clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.