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, unknownFieldsmemoizedSizememoizedHashCode| 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int VALUES_FIELD_NUMBER
public static final int BEFORE_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public 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 CursorOrBuilderpublic 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 CursorOrBuilderpublic 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 CursorOrBuilderpublic 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 CursorOrBuilderpublic 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 CursorOrBuilderpublic 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 CursorOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Cursor parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cursor parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cursor parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cursor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cursor parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cursor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cursor parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Cursor parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Cursor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Cursor parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Cursor parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Cursor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Cursor.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Cursor.Builder newBuilder()
public static Cursor.Builder newBuilder(Cursor prototype)
public Cursor.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Cursor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Cursor getDefaultInstance()
public Parser<Cursor> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Cursor getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder