Package com.google.cloud.datastore
Class StringValue.Builder
- java.lang.Object
-
- com.google.cloud.datastore.StringValue.Builder
-
- All Implemented Interfaces:
ValueBuilder<String,StringValue,StringValue.Builder>
- Enclosing class:
- StringValue
public static final class StringValue.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringValuebuild()Vget()booleangetExcludeFromIndexes()intgetMeaning()Deprecated.ValueTypegetValueType()BmergeFrom(P other)Bset(V value)BsetExcludeFromIndexes(boolean excludeFromIndexes)BsetMeaning(int meaning)Deprecated.
-
-
-
Method Detail
-
build
public StringValue build()
- Specified by:
buildin interfaceValueBuilder<String,StringValue,StringValue.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>>
-
-