Send feedback
Class ArrayValue.Builder (3.15.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.15.2 keyboard_arrow_down
public static final class ArrayValue . Builder extends GeneratedMessageV3 . Builder<ArrayValue . Builder > implements ArrayValueOrBuilder
An array value.
Protobuf type google.firestore.v1.ArrayValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllValues(Iterable<? extends Value> values)
public ArrayValue . Builder addAllValues ( Iterable <? extends Value > values )
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Parameter Name Description values
Iterable <? extends com.google.firestore.v1.Value >
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ArrayValue . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addValues(Value value)
public ArrayValue . Builder addValues ( Value value )
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Parameter Name Description value
Value
addValues(Value.Builder builderForValue)
public ArrayValue . Builder addValues ( Value . Builder builderForValue )
Values in the array.
repeated .google.firestore.v1.Value values = 1;
addValues(int index, Value value)
public ArrayValue . Builder addValues ( int index , Value value )
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Parameters Name Description index
int
value
Value
addValues(int index, Value.Builder builderForValue)
public ArrayValue . Builder addValues ( int index , Value . Builder builderForValue )
Values in the array.
repeated .google.firestore.v1.Value values = 1;
addValuesBuilder()
public Value . Builder addValuesBuilder ()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
addValuesBuilder(int index)
public Value . Builder addValuesBuilder ( int index )
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Parameter Name Description index
int
build()
public ArrayValue build ()
buildPartial()
public ArrayValue buildPartial ()
clear()
public ArrayValue . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ArrayValue . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ArrayValue . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearValues()
public ArrayValue . Builder clearValues ()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
clone()
public ArrayValue . Builder clone ()
Overrides
getDefaultInstanceForType()
public ArrayValue getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getValues(int index)
public Value getValues ( int index )
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Parameter Name Description index
int
Returns Type Description Value
getValuesBuilder(int index)
public Value . Builder getValuesBuilder ( int index )
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Parameter Name Description index
int
getValuesBuilderList()
public List<Value . Builder > getValuesBuilderList ()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
getValuesCount()
public int getValuesCount ()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Returns Type Description int
getValuesList()
public List<Value> getValuesList ()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
getValuesOrBuilder(int index)
public ValueOrBuilder getValuesOrBuilder ( int index )
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Parameter Name Description index
int
getValuesOrBuilderList()
public List <? extends ValueOrBuilder > getValuesOrBuilderList ()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Returns Type Description List <? extends com.google.firestore.v1.ValueOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ArrayValue other)
public ArrayValue . Builder mergeFrom ( ArrayValue other )
public ArrayValue . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ArrayValue . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ArrayValue . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeValues(int index)
public ArrayValue . Builder removeValues ( int index )
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Parameter Name Description index
int
setField(Descriptors.FieldDescriptor field, Object value)
public ArrayValue . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ArrayValue . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ArrayValue . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setValues(int index, Value value)
public ArrayValue . Builder setValues ( int index , Value value )
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Parameters Name Description index
int
value
Value
setValues(int index, Value.Builder builderForValue)
public ArrayValue . Builder setValues ( int index , Value . Builder builderForValue )
Values in the array.
repeated .google.firestore.v1.Value values = 1;
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."],[],[]]