Package com.google.firestore.v1
Class Cursor.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
com.google.firestore.v1.Cursor.Builder
- All Implemented Interfaces:
CursorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Cursor
public static final class Cursor.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
implements CursorOrBuilder
A position in a query result set.Protobuf type
google.firestore.v1.Cursor-
Method Summary
Modifier and TypeMethodDescriptionaddAllValues(Iterable<? extends Value> values) The values that represent a position, in the order they appear in the order by clause of a query.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) The values that represent a position, in the order they appear in the order by clause of a query.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.The values that represent a position, in the order they appear in the order by clause of a query.addValues(Value.Builder builderForValue) The values that represent a position, in the order they appear in the order by clause of a query.The values that represent a position, in the order they appear in the order by clause of a query.addValuesBuilder(int index) The values that represent a position, in the order they appear in the order by clause of a query.build()clear()If the position is just before or just after the given values, relative to the sort order defined by the query.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The values that represent a position, in the order they appear in the order by clause of a query.clone()booleanIf the position is just before or just after the given values, relative to the sort order defined by the query.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetValues(int index) The values that represent a position, in the order they appear in the order by clause of a query.getValuesBuilder(int index) The values that represent a position, in the order they appear in the order by clause of a query.The values that represent a position, in the order they appear in the order by clause of a query.intThe values that represent a position, in the order they appear in the order by clause of a query.The values that represent a position, in the order they appear in the order by clause of a query.getValuesOrBuilder(int index) The values that represent a position, in the order they appear in the order by clause of a query.List<? extends ValueOrBuilder>The values that represent a position, in the order they appear in the order by clause of a query.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final Cursor.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeValues(int index) The values that represent a position, in the order they appear in the order by clause of a query.setBefore(boolean value) If the position is just before or just after the given values, relative to the sort order defined by the query.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Cursor.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The values that represent a position, in the order they appear in the order by clause of a query.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.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
-
setRepeatedField
public Cursor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
-
addRepeatedField
public Cursor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Cursor.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
-
mergeFrom
public Cursor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Cursor.Builder>- Throws:
IOException
-
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;- Specified by:
getValuesListin interfaceCursorOrBuilder
-
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;- Specified by:
getValuesCountin interfaceCursorOrBuilder
-
getValues
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;- Specified by:
getValuesin interfaceCursorOrBuilder
-
setValues
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; -
setValues
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
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
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
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
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; -
addAllValues
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; -
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; -
removeValues
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; -
getValuesBuilder
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
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;- Specified by:
getValuesOrBuilderin interfaceCursorOrBuilder
-
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;- Specified by:
getValuesOrBuilderListin interfaceCursorOrBuilder
-
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
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; -
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; -
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;- Specified by:
getBeforein interfaceCursorOrBuilder- Returns:
- The before.
-
setBefore
If the position is just before or just after the given values, relative to the sort order defined by the query.
bool before = 2;- Parameters:
value- The before to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
-