public final class Database extends 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 SQL Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Database() |
| Modifier and Type | Method and Description |
|---|---|
Database |
clone() |
String |
getCharset()
The MySQL charset value.
|
String |
getCollation()
The MySQL collation value.
|
String |
getEtag()
This field is deprecated and will be removed from a future version of the API.
|
String |
getInstance()
The name of the Cloud SQL instance.
|
String |
getKind()
This is always sql#database.
|
String |
getName()
The name of the database in the Cloud SQL instance.
|
String |
getProject()
The project ID of the project containing the Cloud SQL database.
|
String |
getSelfLink()
The URI of this resource.
|
Database |
set(String fieldName,
Object value) |
Database |
setCharset(String charset)
The MySQL charset value.
|
Database |
setCollation(String collation)
The MySQL collation value.
|
Database |
setEtag(String etag)
This field is deprecated and will be removed from a future version of the API.
|
Database |
setInstance(String instance)
The name of the Cloud SQL instance.
|
Database |
setKind(String kind)
This is always sql#database.
|
Database |
setName(String name)
The name of the database in the Cloud SQL instance.
|
Database |
setProject(String project)
The project ID of the project containing the Cloud SQL database.
|
Database |
setSelfLink(String selfLink)
The URI of this resource.
|
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 getCharset()
null for nonepublic Database setCharset(String charset)
charset - charset or null for nonepublic String getCollation()
null for nonepublic Database setCollation(String collation)
collation - collation or null for nonepublic String getEtag()
null for nonepublic Database setEtag(String etag)
etag - etag or null for nonepublic String getInstance()
null for nonepublic Database setInstance(String instance)
instance - instance or null for nonepublic String getKind()
null for nonepublic Database setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic Database setName(String name)
name - name or null for nonepublic String getProject()
null for nonepublic Database setProject(String project)
project - project or null for nonepublic String getSelfLink()
null for nonepublic Database setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic Database set(String fieldName, Object value)
set in class GenericJsonpublic Database clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.