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