public static final class ArrayValue.Builder extends GeneratedMessageV3.Builder<ArrayValue.Builder> implements ArrayValueOrBuilder
An array value.
Protobuf type google.firestore.v1.ArrayValue
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ArrayValue.BuilderImplements
ArrayValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
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;
Name | Description |
values | Iterable<? extends com.google.firestore.v1.Value> |
Type | Description |
ArrayValue.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ArrayValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ArrayValue.Builder |
addValues(Value value)
public ArrayValue.Builder addValues(Value value)
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Name | Description |
value | Value |
Type | Description |
ArrayValue.Builder |
addValues(Value.Builder builderForValue)
public ArrayValue.Builder addValues(Value.Builder builderForValue)
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Name | Description |
builderForValue | Value.Builder |
Type | Description |
ArrayValue.Builder |
addValues(int index, Value value)
public ArrayValue.Builder addValues(int index, Value value)
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Name | Description |
index | int |
value | Value |
Type | Description |
ArrayValue.Builder |
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;
Name | Description |
index | int |
builderForValue | Value.Builder |
Type | Description |
ArrayValue.Builder |
addValuesBuilder()
public Value.Builder addValuesBuilder()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Type | Description |
Value.Builder |
addValuesBuilder(int index)
public Value.Builder addValuesBuilder(int index)
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Name | Description |
index | int |
Type | Description |
Value.Builder |
build()
public ArrayValue build()
Type | Description |
ArrayValue |
buildPartial()
public ArrayValue buildPartial()
Type | Description |
ArrayValue |
clear()
public ArrayValue.Builder clear()
Type | Description |
ArrayValue.Builder |
clearField(Descriptors.FieldDescriptor field)
public ArrayValue.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ArrayValue.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ArrayValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ArrayValue.Builder |
clearValues()
public ArrayValue.Builder clearValues()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Type | Description |
ArrayValue.Builder |
clone()
public ArrayValue.Builder clone()
Type | Description |
ArrayValue.Builder |
getDefaultInstanceForType()
public ArrayValue getDefaultInstanceForType()
Type | Description |
ArrayValue |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getValues(int index)
public Value getValues(int index)
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Name | Description |
index | int |
Type | Description |
Value |
getValuesBuilder(int index)
public Value.Builder getValuesBuilder(int index)
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Name | Description |
index | int |
Type | Description |
Value.Builder |
getValuesBuilderList()
public List<Value.Builder> getValuesBuilderList()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Type | Description |
List<Builder> |
getValuesCount()
public int getValuesCount()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Type | Description |
int |
getValuesList()
public List<Value> getValuesList()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Type | Description |
List<Value> |
getValuesOrBuilder(int index)
public ValueOrBuilder getValuesOrBuilder(int index)
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Name | Description |
index | int |
Type | Description |
ValueOrBuilder |
getValuesOrBuilderList()
public List<? extends ValueOrBuilder> getValuesOrBuilderList()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Type | Description |
List<? extends com.google.firestore.v1.ValueOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ArrayValue other)
public ArrayValue.Builder mergeFrom(ArrayValue other)
Name | Description |
other | ArrayValue |
Type | Description |
ArrayValue.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ArrayValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ArrayValue.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ArrayValue.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ArrayValue.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ArrayValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ArrayValue.Builder |
removeValues(int index)
public ArrayValue.Builder removeValues(int index)
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Name | Description |
index | int |
Type | Description |
ArrayValue.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ArrayValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ArrayValue.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ArrayValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ArrayValue.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ArrayValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ArrayValue.Builder |
setValues(int index, Value value)
public ArrayValue.Builder setValues(int index, Value value)
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Name | Description |
index | int |
value | Value |
Type | Description |
ArrayValue.Builder |
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;
Name | Description |
index | int |
builderForValue | Value.Builder |
Type | Description |
ArrayValue.Builder |