public static final class Cursor.Builder extends GeneratedMessageV3.Builder<Cursor.Builder> implements CursorOrBuilder
A position in a query result set.
Protobuf type google.firestore.v1.Cursor
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 Cursor.Builder addAllValues(Iterable<? extends Value> values)
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.firestore.v1.Value>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cursor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addValues(Value value)
public Cursor.Builder addValues(Value value)
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Parameter
Name | Description |
value | Value
|
Returns
addValues(Value.Builder builderForValue)
public Cursor.Builder addValues(Value.Builder builderForValue)
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Parameter
Returns
addValues(int index, Value value)
public Cursor.Builder addValues(int index, Value value)
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Parameters
Returns
addValues(int index, Value.Builder builderForValue)
public Cursor.Builder addValues(int index, Value.Builder builderForValue)
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Parameters
Returns
addValuesBuilder()
public Value.Builder addValuesBuilder()
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Returns
addValuesBuilder(int index)
public Value.Builder addValuesBuilder(int index)
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Parameter
Returns
build()
Returns
buildPartial()
public Cursor buildPartial()
Returns
clear()
public Cursor.Builder clear()
Returns
Overrides
clearBefore()
public Cursor.Builder clearBefore()
If the position is just before or just after the given values, relative
to the sort order defined by the query.
bool before = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public Cursor.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Cursor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearValues()
public Cursor.Builder clearValues()
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Returns
clone()
public Cursor.Builder clone()
Returns
Overrides
getBefore()
public boolean getBefore()
If the position is just before or just after the given values, relative
to the sort order defined by the query.
bool before = 2;
Returns
getDefaultInstanceForType()
public Cursor getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getValues(int index)
public Value getValues(int index)
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Parameter
Returns
getValuesBuilder(int index)
public Value.Builder getValuesBuilder(int index)
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Parameter
Returns
getValuesBuilderList()
public List<Value.Builder> getValuesBuilderList()
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Returns
getValuesCount()
public int getValuesCount()
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Returns
getValuesList()
public List<Value> getValuesList()
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Returns
getValuesOrBuilder(int index)
public ValueOrBuilder getValuesOrBuilder(int index)
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Parameter
Returns
getValuesOrBuilderList()
public List<? extends ValueOrBuilder> getValuesOrBuilderList()
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Returns
Type | Description |
List<? extends com.google.firestore.v1.ValueOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Cursor other)
public Cursor.Builder mergeFrom(Cursor other)
Parameter
Returns
public Cursor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Cursor.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cursor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeValues(int index)
public Cursor.Builder removeValues(int index)
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Parameter
Returns
setBefore(boolean value)
public Cursor.Builder setBefore(boolean value)
If the position is just before or just after the given values, relative
to the sort order defined by the query.
bool before = 2;
Parameter
Name | Description |
value | boolean
The before to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Cursor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cursor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Cursor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setValues(int index, Value value)
public Cursor.Builder setValues(int index, Value value)
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Parameters
Returns
setValues(int index, Value.Builder builderForValue)
public Cursor.Builder setValues(int index, Value.Builder builderForValue)
The values that represent a position, in the order they appear in
the order by clause of a query.
Can contain fewer values than specified in the order by clause.
repeated .google.firestore.v1.Value values = 1;
Parameters
Returns