GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Context() |
Modifier and Type | Method and Description |
---|---|
Comment.Context |
clone() |
String |
getType()
The MIME type of the context snippet.
|
String |
getValue()
Data representation of the segment of the file being commented on.
|
Comment.Context |
set(String fieldName,
Object value) |
Comment.Context |
setType(String type)
The MIME type of the context snippet.
|
Comment.Context |
setValue(String value)
Data representation of the segment of the file being commented on.
|
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 getType()
null
for nonepublic Comment.Context setType(String type)
type
- type or null
for nonepublic String getValue()
null
for nonepublic Comment.Context setValue(String value)
value
- value or null
for nonepublic Comment.Context set(String fieldName, Object value)
set
in class GenericJson
public Comment.Context clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.