public static final class StorageObject.Owner extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Owner() |
Modifier and Type | Method and Description |
---|---|
StorageObject.Owner |
clone() |
String |
getEntity()
The entity, in the form user-userId.
|
String |
getEntityId()
The ID for the entity.
|
StorageObject.Owner |
set(String fieldName,
Object value) |
StorageObject.Owner |
setEntity(String entity)
The entity, in the form user-userId.
|
StorageObject.Owner |
setEntityId(String entityId)
The ID for the entity.
|
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 getEntity()
null
for nonepublic StorageObject.Owner setEntity(String entity)
entity
- entity or null
for nonepublic String getEntityId()
null
for nonepublic StorageObject.Owner setEntityId(String entityId)
entityId
- entityId or null
for nonepublic StorageObject.Owner set(String fieldName, Object value)
set
in class GenericJson
public StorageObject.Owner clone()
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.