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.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()
Returns
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ArrayValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
|
Returns
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;
Parameter
Returns
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
Returns
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;
Parameters
Returns
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;
Returns
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
Returns
build()
public ArrayValue build()
Returns
buildPartial()
public ArrayValue buildPartial()
Returns
clear()
public ArrayValue.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ArrayValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ArrayValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
clone()
public ArrayValue.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ArrayValue getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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;
Returns
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
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;
Returns
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
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ArrayValue other)
public ArrayValue.Builder mergeFrom(ArrayValue other)
Parameter
Returns
public ArrayValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ArrayValue.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ArrayValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ArrayValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ArrayValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ArrayValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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;
Parameters
Returns