V
- the type of the content for this valuepublic abstract class Value<V> extends Object implements Serializable
NullValue
). All values are immutable (including their content).
To edit (a copy) use toBuilder()
. Unsupported value (deprecated or unrecognized) would
be represented by RawValue
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
excludeFromIndexes()
Returns whether this value should be excluded from indexes.
|
static Value<?> |
fromPb(Value proto) |
V |
get() |
ValueType |
getType()
Returns the type of this value.
|
int |
hashCode() |
abstract ValueBuilder<?,?,?> |
toBuilder() |
String |
toString() |
public final ValueType getType()
public final boolean excludeFromIndexes()
public final V get()
public abstract ValueBuilder<?,?,?> toBuilder()
Copyright © 2023 Google LLC. All rights reserved.