public final class Locale
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 Testing 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 |
---|
Locale() |
Modifier and Type | Method and Description |
---|---|
Locale |
clone() |
java.lang.String |
getId()
The id for this locale.
|
java.lang.String |
getName()
A human-friendly name for this language/locale.
|
java.lang.String |
getRegion()
A human-friendly string representing the region for this locale.
|
java.util.List<java.lang.String> |
getTags()
Tags for this dimension.
|
Locale |
set(java.lang.String fieldName,
java.lang.Object value) |
Locale |
setId(java.lang.String id)
The id for this locale.
|
Locale |
setName(java.lang.String name)
A human-friendly name for this language/locale.
|
Locale |
setRegion(java.lang.String region)
A human-friendly string representing the region for this locale.
|
Locale |
setTags(java.util.List<java.lang.String> tags)
Tags for this dimension.
|
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 getId()
null
for nonepublic Locale setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getName()
null
for nonepublic Locale setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getRegion()
null
for nonepublic Locale setRegion(java.lang.String region)
region
- region or null
for nonepublic java.util.List<java.lang.String> getTags()
null
for nonepublic Locale setTags(java.util.List<java.lang.String> tags)
tags
- tags or null
for nonepublic Locale set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Locale clone()
clone
in class com.google.api.client.json.GenericJson