GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Locale() |
Modifier and Type | Method and Description |
---|---|
Blog.Locale |
clone() |
String |
getCountry()
The country this blog's locale is set to.
|
String |
getLanguage()
The language this blog is authored in.
|
String |
getVariant()
The language variant this blog is authored in.
|
Blog.Locale |
set(String fieldName,
Object value) |
Blog.Locale |
setCountry(String country)
The country this blog's locale is set to.
|
Blog.Locale |
setLanguage(String language)
The language this blog is authored in.
|
Blog.Locale |
setVariant(String variant)
The language variant this blog is authored in.
|
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 String getCountry()
null
for nonepublic Blog.Locale setCountry(String country)
country
- country or null
for nonepublic String getLanguage()
null
for nonepublic Blog.Locale setLanguage(String language)
language
- language or null
for nonepublic String getVariant()
null
for nonepublic Blog.Locale setVariant(String variant)
variant
- variant or null
for nonepublic Blog.Locale set(String fieldName, Object value)
set
in class GenericJson
public Blog.Locale clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.