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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Locale() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
clone() |
String |
getId()
The id for this locale.
|
String |
getName()
A human-friendly name for this language/locale.
|
String |
getRegion()
A human-friendly string representing the region for this locale.
|
List<String> |
getTags()
Tags for this dimension.
|
Locale |
set(String fieldName,
Object value) |
Locale |
setId(String id)
The id for this locale.
|
Locale |
setName(String name)
A human-friendly name for this language/locale.
|
Locale |
setRegion(String region)
A human-friendly string representing the region for this locale.
|
Locale |
setTags(List<String> tags)
Tags for this dimension.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getId()
null for nonepublic Locale setId(String id)
id - id or null for nonepublic String getName()
null for nonepublic Locale setName(String name)
name - name or null for nonepublic String getRegion()
null for nonepublic Locale setRegion(String region)
region - region or null for nonepublic List<String> getTags()
null for nonepublic Locale setTags(List<String> tags)
tags - tags or null for nonepublic Locale set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Locale clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.