public static final class KeyValue.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
KeyValue |
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.
|
public KeyValue build()
build
in interface ValueBuilder<Key,KeyValue,KeyValue.Builder>
public ValueType getValueType()
getValueType
in interface ValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
public B mergeFrom(P other)
mergeFrom
in interface ValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
public boolean getExcludeFromIndexes()
getExcludeFromIndexes
in interface ValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
public B setExcludeFromIndexes(boolean excludeFromIndexes)
setExcludeFromIndexes
in interface ValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
public int getMeaning()
ValueBuilder
getMeaning
in interface ValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
public B setMeaning(int meaning)
ValueBuilder
setMeaning
in interface ValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
public V get()
get
in interface ValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
public B set(V value)
set
in interface ValueBuilder<V,P extends Value<V>,B extends com.google.cloud.datastore.Value.BaseBuilder<V,P,B>>
Copyright © 2023 Google LLC. All rights reserved.