public static final class ListValue.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ListValue.Builder |
addValue(Blob first,
Blob... other)
Adds the provided
Blob values to the ListValue builder. |
ListValue.Builder |
addValue(boolean first,
boolean... other)
Adds the provided boolean values to the
ListValue builder. |
ListValue.Builder |
addValue(double first,
double... other)
Adds the provided double values to the
ListValue builder. |
ListValue.Builder |
addValue(FullEntity<?> first,
FullEntity<?>... other)
Adds the provided
FullEntity values to the ListValue builder. |
ListValue.Builder |
addValue(Key first,
Key... other)
Adds the provided
Key values to the ListValue builder. |
ListValue.Builder |
addValue(LatLng first,
LatLng... other)
Adds the provided
LatLng values to the ListValue builder. |
ListValue.Builder |
addValue(long first,
long... other)
Adds the provided long values to the
ListValue builder. |
ListValue.Builder |
addValue(String first,
String... other)
Adds the provided string values to the
ListValue builder. |
ListValue.Builder |
addValue(com.google.cloud.Timestamp first,
com.google.cloud.Timestamp... other)
Adds the provided
Timestamp values to the ListValue builder. |
ListValue.Builder |
addValue(Value<?> first,
Value<?>... other)
Adds the provided values to the
ListValue builder. |
ListValue |
build()
Creates a
ListValue object. |
List<? extends Value<?>> |
get() |
boolean |
getExcludeFromIndexes() |
int |
getMeaning()
Deprecated.
|
ValueType |
getValueType() |
B |
mergeFrom(P other) |
ListValue.Builder |
set(List<? extends Value<?>> values)
Sets the list of values of this
ListValue builder to values . |
B |
setExcludeFromIndexes(boolean excludeFromIndexes) |
B |
setMeaning(int meaning)
Deprecated.
|
public ListValue.Builder addValue(Value<?> first, Value<?>... other)
ListValue
builder.public ListValue.Builder addValue(String first, String... other)
ListValue
builder.public ListValue.Builder addValue(long first, long... other)
ListValue
builder.public ListValue.Builder addValue(double first, double... other)
ListValue
builder.public ListValue.Builder addValue(boolean first, boolean... other)
ListValue
builder.public ListValue.Builder addValue(com.google.cloud.Timestamp first, com.google.cloud.Timestamp... other)
Timestamp
values to the ListValue
builder.public ListValue.Builder addValue(LatLng first, LatLng... other)
LatLng
values to the ListValue
builder.public ListValue.Builder addValue(Key first, Key... other)
Key
values to the ListValue
builder.public ListValue.Builder addValue(FullEntity<?> first, FullEntity<?>... other)
FullEntity
values to the ListValue
builder.public ListValue.Builder addValue(Blob first, Blob... other)
Blob
values to the ListValue
builder.public ListValue.Builder set(List<? extends Value<?>> values)
ListValue
builder to values
. The provided
list is copied.set
in interface ValueBuilder<List<? extends Value<?>>,ListValue,ListValue.Builder>
Value.BaseBuilder.set(java.lang.Object)
public List<? extends Value<?>> get()
get
in interface ValueBuilder<List<? extends Value<?>>,ListValue,ListValue.Builder>
public ListValue build()
ListValue
object.build
in interface ValueBuilder<List<? extends Value<?>>,ListValue,ListValue.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>>
Copyright © 2019 Google LLC. All rights reserved.