Send feedback
Class ListValue.Builder (2.13.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.13.4 keyboard_arrow_down
public static final class ListValue . Builder extends Value . BaseBuilder<List <? extends Value <? >>, ListValue , ListValue . Builder >
Inheritance
java.lang.Object >
com.google.cloud.datastore.Value.BaseBuilder >
ListValue.Builder
Inherited Members
com.google.cloud.datastore.Value.BaseBuilder.build()
com.google.cloud.datastore.Value.BaseBuilder.get()
com.google.cloud.datastore.Value.BaseBuilder.getExcludeFromIndexes()
com.google.cloud.datastore.Value.BaseBuilder.getMeaning()
com.google.cloud.datastore.Value.BaseBuilder.getValueType()
com.google.cloud.datastore.Value.BaseBuilder.mergeFrom(P)
com.google.cloud.datastore.Value.BaseBuilder.set(V)
com.google.cloud.datastore.Value.BaseBuilder.setExcludeFromIndexes(boolean)
com.google.cloud.datastore.Value.BaseBuilder.setMeaning(int)
Methods
addValue(boolean first, boolean[] other)
public ListValue . Builder addValue ( boolean first , boolean [] other )
Adds the provided boolean values to the ListValue
builder.
Parameters
Returns
addValue(Timestamp first, Timestamp[] other)
public ListValue . Builder addValue ( Timestamp first , Timestamp [] other )
Adds the provided Timestamp
values to the ListValue
builder.
Parameters
Name Description first
com.google.cloud.Timestamp
other
com.google.cloud.Timestamp []
Returns
addValue(Blob first, Blob[] other)
public ListValue . Builder addValue ( Blob first , Blob [] other )
Adds the provided Blob
values to the ListValue
builder.
Parameters
Returns
addValue(FullEntity<?> first, FullEntity<?>[] other)
public ListValue . Builder addValue ( FullEntity <? > first , FullEntity <?>[] other )
Adds the provided FullEntity
values to the ListValue
builder.
Parameters
Returns
addValue(Key first, Key[] other)
public ListValue . Builder addValue ( Key first , Key [] other )
Adds the provided Key
values to the ListValue
builder.
Parameters
Name Description first
Key
other
Key []
Returns
addValue(LatLng first, LatLng[] other)
public ListValue . Builder addValue ( LatLng first , LatLng [] other )
Adds the provided LatLng
values to the ListValue
builder.
Parameters
Returns
addValue(Value<?> first, Value<?>[] other)
public ListValue . Builder addValue ( Value <? > first , Value <?>[] other )
Adds the provided values to the ListValue
builder.
Parameters
Returns
addValue(double first, double[] other)
public ListValue . Builder addValue ( double first , double [] other )
Adds the provided double values to the ListValue
builder.
Parameters
Returns
addValue(String first, String[] other)
public ListValue . Builder addValue ( String first , String [] other )
Adds the provided string values to the ListValue
builder.
Parameters
Returns
addValue(long first, long[] other)
public ListValue . Builder addValue ( long first , long [] other )
Adds the provided long values to the ListValue
builder.
Parameters
Returns
build()
Creates a ListValue
object.
Returns
Overrides
com.google.cloud.datastore.Value.BaseBuilder.build()
get()
public List <? extends Value <? >> get ()
Returns
Type Description List <? extends com.google.cloud.datastore.Value <? >>
Overrides
com.google.cloud.datastore.Value.BaseBuilder.get()
set(List<? extends Value<?>> values)
public ListValue . Builder set ( List <? extends Value <? >> values )
Sets the list of values of this ListValue
builder to values
. The provided
list is copied.
See Also: com.google.cloud.datastore.Value.BaseBuilder#set(java.lang.Object)
Parameter
Name Description values
List <? extends com.google.cloud.datastore.Value <? >>
Returns
Overrides
com.google.cloud.datastore.Value.BaseBuilder.set(V)
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]