Package com.google.cloud.datastore
Class LongValue.Builder
- java.lang.Object
-
- com.google.cloud.datastore.LongValue.Builder
-
- All Implemented Interfaces:
ValueBuilder<Long,LongValue,LongValue.Builder>
- Enclosing class:
- LongValue
public static final class LongValue.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongValuebuild()Vget()booleangetExcludeFromIndexes()intgetMeaning()Deprecated.ValueTypegetValueType()BmergeFrom(P other)Bset(V value)BsetExcludeFromIndexes(boolean excludeFromIndexes)BsetMeaning(int meaning)Deprecated.
-
-
-
Method Detail
-
build
public LongValue build()
- Specified by:
buildin interfaceValueBuilder<Long,LongValue,LongValue.Builder>
-
getValueType
public ValueType getValueType()
- Specified by:
getValueTypein interfaceValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
-
mergeFrom
public B mergeFrom(P other)
- Specified by:
mergeFromin interfaceValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
-
getExcludeFromIndexes
public boolean getExcludeFromIndexes()
- Specified by:
getExcludeFromIndexesin interfaceValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
-
setExcludeFromIndexes
public B setExcludeFromIndexes(boolean excludeFromIndexes)
- Specified by:
setExcludeFromIndexesin interfaceValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
-
getMeaning
public int getMeaning()
Description copied from interface:ValueBuilderDeprecated. This library preserves the field for backwards compatibility.- Specified by:
getMeaningin interfaceValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
-
setMeaning
public B setMeaning(int meaning)
Description copied from interface:ValueBuilderDeprecated. This library preserves the field for backwards compatibility.- Specified by:
setMeaningin interfaceValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
-
get
public V get()
- Specified by:
getin interfaceValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
-
set
public B set(V value)
- Specified by:
setin interfaceValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
-
-