public final class Cursor extends GeneratedMessageV3 implements CursorOrBuilder
A position in a query result set.Protobuf type
google.firestore.v1beta1.Cursor
Modifier and Type | Class and Description |
---|---|
static class |
Cursor.Builder
A position in a query result set.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
BEFORE_FIELD_NUMBER |
static int |
VALUES_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
getBefore()
If the position is just before or just after the given values, relative
to the sort order defined by the query.
|
static Cursor |
getDefaultInstance() |
Cursor |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Parser<Cursor> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
Value |
getValues(int index)
The values that represent a position, in the order they appear in
the order by clause of a query.
|
int |
getValuesCount()
The values that represent a position, in the order they appear in
the order by clause of a query.
|
java.util.List<Value> |
getValuesList()
The values that represent a position, in the order they appear in
the order by clause of a query.
|
ValueOrBuilder |
getValuesOrBuilder(int index)
The values that represent a position, in the order they appear in
the order by clause of a query.
|
java.util.List<? extends ValueOrBuilder> |
getValuesOrBuilderList()
The values that represent a position, in the order they appear in
the order by clause of a query.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Cursor.Builder |
newBuilder() |
static Cursor.Builder |
newBuilder(Cursor prototype) |
Cursor.Builder |
newBuilderForType() |
protected Cursor.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Cursor |
parseDelimitedFrom(java.io.InputStream input) |
static Cursor |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Cursor |
parseFrom(byte[] data) |
static Cursor |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Cursor |
parseFrom(java.nio.ByteBuffer data) |
static Cursor |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Cursor |
parseFrom(ByteString data) |
static Cursor |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Cursor |
parseFrom(CodedInputStream input) |
static Cursor |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Cursor |
parseFrom(java.io.InputStream input) |
static Cursor |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Cursor> |
parser() |
Cursor.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int VALUES_FIELD_NUMBER
public static final int BEFORE_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public java.util.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.v1beta1.Value values = 1;
getValuesList
in interface CursorOrBuilder
public java.util.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.v1beta1.Value values = 1;
getValuesOrBuilderList
in interface CursorOrBuilder
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.v1beta1.Value values = 1;
getValuesCount
in interface CursorOrBuilder
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.v1beta1.Value values = 1;
getValues
in interface CursorOrBuilder
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.v1beta1.Value values = 1;
getValuesOrBuilder
in interface CursorOrBuilder
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;
getBefore
in interface CursorOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Cursor parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cursor parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cursor parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cursor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cursor parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cursor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cursor parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Cursor parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Cursor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Cursor parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Cursor parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Cursor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Cursor.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Cursor.Builder newBuilder()
public static Cursor.Builder newBuilder(Cursor prototype)
public Cursor.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Cursor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Cursor getDefaultInstance()
public Parser<Cursor> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Cursor getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder