public static final class ArrayValue.Builder extends GeneratedMessageV3.Builder<ArrayValue.Builder> implements ArrayValueOrBuilder
An array value.
Protobuf type google.datastore.v1.ArrayValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.datastore.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.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
Parameter |
Name |
Description |
value |
Value
|
addValues(Value.Builder builderForValue)
public ArrayValue.Builder addValues(Value.Builder builderForValue)
Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
addValues(int index, Value value)
public ArrayValue.Builder addValues(int index, Value value)
Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.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.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
addValuesBuilder()
public Value.Builder addValuesBuilder()
Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
addValuesBuilder(int index)
public Value.Builder addValuesBuilder(int index)
Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.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.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.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.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.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.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
Parameter |
Name |
Description |
index |
int
|
getValuesBuilderList()
public List<Value.Builder> getValuesBuilderList()
Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
getValuesCount()
public int getValuesCount()
Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
Returns |
Type |
Description |
int |
|
getValuesList()
public List<Value> getValuesList()
Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
getValuesOrBuilder(int index)
public ValueOrBuilder getValuesOrBuilder(int index)
Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
Parameter |
Name |
Description |
index |
int
|
getValuesOrBuilderList()
public List<? extends ValueOrBuilder> getValuesOrBuilderList()
Values in the array.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;
Returns |
Type |
Description |
List<? extends com.google.datastore.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.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.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.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.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.
The order of values in an array is preserved as long as all values have
identical settings for 'exclude_from_indexes'.
repeated .google.datastore.v1.Value values = 1;