public final class User
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 Cloud SQL Admin 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 |
---|
User() |
Modifier and Type | Method and Description |
---|---|
User |
clone() |
java.lang.String |
getEtag()
This field is deprecated and will be removed from a future version of the API.
|
java.lang.String |
getHost()
The host name from which the user can connect.
|
java.lang.String |
getInstance()
The name of the Cloud SQL instance.
|
java.lang.String |
getKind()
This is always sql#user.
|
java.lang.String |
getName()
The name of the user in the Cloud SQL instance.
|
java.lang.String |
getPassword()
The password for the user.
|
java.lang.String |
getProject()
The project ID of the project containing the Cloud SQL database.
|
User |
set(java.lang.String fieldName,
java.lang.Object value) |
User |
setEtag(java.lang.String etag)
This field is deprecated and will be removed from a future version of the API.
|
User |
setHost(java.lang.String host)
The host name from which the user can connect.
|
User |
setInstance(java.lang.String instance)
The name of the Cloud SQL instance.
|
User |
setKind(java.lang.String kind)
This is always sql#user.
|
User |
setName(java.lang.String name)
The name of the user in the Cloud SQL instance.
|
User |
setPassword(java.lang.String password)
The password for the user.
|
User |
setProject(java.lang.String project)
The project ID of the project containing the Cloud SQL database.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getEtag()
null
for nonepublic User setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.String getHost()
null
for nonepublic User setHost(java.lang.String host)
host
- host or null
for nonepublic java.lang.String getInstance()
null
for nonepublic User setInstance(java.lang.String instance)
instance
- instance or null
for nonepublic java.lang.String getKind()
null
for nonepublic User setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getName()
null
for nonepublic User setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getPassword()
null
for nonepublic User setPassword(java.lang.String password)
password
- password or null
for nonepublic java.lang.String getProject()
null
for nonepublic User setProject(java.lang.String project)
project
- project or null
for nonepublic User set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public User clone()
clone
in class com.google.api.client.json.GenericJson