Package com.google.cloud.datastore
Class BooleanValue.Builder
- java.lang.Object
-
- com.google.cloud.datastore.BooleanValue.Builder
-
- All Implemented Interfaces:
ValueBuilder<Boolean,BooleanValue,BooleanValue.Builder>
- Enclosing class:
- BooleanValue
public static final class BooleanValue.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanValue
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
-
build
public BooleanValue build()
- Specified by:
build
in interfaceValueBuilder<Boolean,BooleanValue,BooleanValue.Builder>
-
getValueType
public ValueType getValueType()
- Specified by:
getValueType
in 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:
mergeFrom
in interfaceValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
-
getExcludeFromIndexes
public boolean getExcludeFromIndexes()
- Specified by:
getExcludeFromIndexes
in 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:
setExcludeFromIndexes
in 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:ValueBuilder
Deprecated. This library preserves the field for backwards compatibility.- Specified by:
getMeaning
in 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:ValueBuilder
Deprecated. This library preserves the field for backwards compatibility.- Specified by:
setMeaning
in interfaceValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
-
get
public V get()
- Specified by:
get
in 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:
set
in interfaceValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
-
-