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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.firestore.v1.Value> |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ArrayValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
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 |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Value.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Value |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Value.Builder |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
addValuesBuilder()
public Value.Builder addValuesBuilder()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Returns | |
---|---|
Type | Description |
Value.Builder |
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 |
Returns | |
---|---|
Type | Description |
Value.Builder |
build()
public ArrayValue build()
Returns | |
---|---|
Type | Description |
ArrayValue |
buildPartial()
public ArrayValue buildPartial()
Returns | |
---|---|
Type | Description |
ArrayValue |
clear()
public ArrayValue.Builder clear()
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
clearField(Descriptors.FieldDescriptor field)
public ArrayValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ArrayValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
clearValues()
public ArrayValue.Builder clearValues()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
clone()
public ArrayValue.Builder clone()
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
getDefaultInstanceForType()
public ArrayValue getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ArrayValue |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
Returns | |
---|---|
Type | Description |
Value.Builder |
getValuesBuilderList()
public List<Value.Builder> getValuesBuilderList()
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
List<Value> |
getValuesOrBuilder(int index)
public ValueOrBuilder getValuesOrBuilder(int index)
Values in the array.
repeated .google.firestore.v1.Value values = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ValueOrBuilder |
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ArrayValue other)
public ArrayValue.Builder mergeFrom(ArrayValue other)
Parameter | |
---|---|
Name | Description |
other |
ArrayValue |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ArrayValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ArrayValue.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ArrayValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
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 |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ArrayValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ArrayValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ArrayValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Value |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Value.Builder |
Returns | |
---|---|
Type | Description |
ArrayValue.Builder |