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
Modifier and Type | Method and Description |
---|---|
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.
|
Cursor.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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.
|
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.
|
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.
|
Cursor.Builder |
addValues(Value value)
The values that represent a position, in the order they appear in
the order by clause of a query.
|
Value.Builder |
addValuesBuilder()
The values that represent a position, in the order they appear in
the order by clause of a query.
|
Value.Builder |
addValuesBuilder(int index)
The values that represent a position, in the order they appear in
the order by clause of a query.
|
Cursor |
build() |
Cursor |
buildPartial() |
Cursor.Builder |
clear() |
Cursor.Builder |
clearBefore()
If the position is just before or just after the given values, relative
to the sort order defined by the query.
|
Cursor.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Cursor.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Cursor.Builder |
clearValues()
The values that represent a position, in the order they appear in
the order by clause of a query.
|
Cursor.Builder |
clone() |
boolean |
getBefore()
If the position is just before or just after the given values, relative
to the sort order defined by the query.
|
Cursor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Value |
getValues(int index)
The values that represent a position, in the order they appear in
the order by clause of a query.
|
Value.Builder |
getValuesBuilder(int index)
The values that represent a position, in the order they appear in
the order by clause of a query.
|
List<Value.Builder> |
getValuesBuilderList()
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.
|
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.
|
List<? extends ValueOrBuilder> |
getValuesOrBuilderList()
The values that represent a position, in the order they appear in
the order by clause of a query.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Cursor.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Cursor.Builder |
mergeFrom(Cursor other) |
Cursor.Builder |
mergeFrom(com.google.protobuf.Message other) |
Cursor.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Cursor.Builder |
removeValues(int index)
The values that represent a position, in the order they appear in
the order by clause of a query.
|
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.
|
Cursor.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cursor.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Cursor.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
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.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
public Cursor.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
public Cursor getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Cursor build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Cursor buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Cursor.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
public Cursor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
public Cursor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
public Cursor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
public Cursor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
public Cursor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
public Cursor.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Cursor.Builder>
public Cursor.Builder mergeFrom(Cursor other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
public Cursor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Cursor.Builder>
IOException
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;
getValuesList
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.v1.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.v1.Value values = 1;
getValues
in interface CursorOrBuilder
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
getValuesOrBuilder
in interface CursorOrBuilder
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;
getValuesOrBuilderList
in interface CursorOrBuilder
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;
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;
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;
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 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;
value
- The before to set.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;
public final Cursor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
public final Cursor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Cursor.Builder>
Copyright © 2023 Google LLC. All rights reserved.