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 theValueobject 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 Pbuild()Vget()booleangetExcludeFromIndexes()intgetMeaning()Deprecated.ValueTypegetValueType()BmergeFrom(P other)Bset(V value)BsetExcludeFromIndexes(boolean excludeFromIndexes)BsetMeaning(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()
-
-