Package com.google.cloud.datastore
Interface ValueBuilder<V,P extends Value<V>,B extends ValueBuilder<V,P,B>>
-
- Type Parameters:
V
- the data type that theValue
object holds.P
- the value type.B
- the value type's associated builder.
- All Known Implementing Classes:
BlobValue.Builder
,BooleanValue.Builder
,DoubleValue.Builder
,EntityValue.Builder
,KeyValue.Builder
,LatLngValue.Builder
,ListValue.Builder
,LongValue.Builder
,NullValue.Builder
,RawValue.Builder
,StringValue.Builder
,TimestampValue.Builder
public interface ValueBuilder<V,P extends Value<V>,B extends ValueBuilder<V,P,B>>
A common interface for Value builders.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description P
build()
V
get()
boolean
getExcludeFromIndexes()
int
getMeaning()
Deprecated.ValueType
getValueType()
B
mergeFrom(P other)
B
set(V value)
B
setExcludeFromIndexes(boolean excludeFromIndexes)
B
setMeaning(int meaning)
Deprecated.
-
-
-
Method Detail
-
getValueType
ValueType getValueType()
-
getExcludeFromIndexes
boolean getExcludeFromIndexes()
-
setExcludeFromIndexes
B setExcludeFromIndexes(boolean excludeFromIndexes)
-
getMeaning
int getMeaning()
Deprecated. This library preserves the field for backwards compatibility.
-
setMeaning
B setMeaning(int meaning)
Deprecated. This library preserves the field for backwards compatibility.
-
get
V get()
-
build
P build()
-
-