Send feedback
Class StructuredQuery.Order.Builder (3.15.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.15.2 keyboard_arrow_down
public static final class StructuredQuery . Order . Builder extends GeneratedMessageV3 . Builder<StructuredQuery . Order . Builder > implements StructuredQuery . OrderOrBuilder
An order on a field.
Protobuf type google.firestore.v1.StructuredQuery.Order
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery . Order . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public StructuredQuery . Order build ()
buildPartial()
public StructuredQuery . Order buildPartial ()
clear()
public StructuredQuery . Order . Builder clear ()
Overrides
clearDirection()
public StructuredQuery . Order . Builder clearDirection ()
The direction to order by. Defaults to ASCENDING
.
.google.firestore.v1.StructuredQuery.Direction direction = 2;
clearField()
public StructuredQuery . Order . Builder clearField ()
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
clearField(Descriptors.FieldDescriptor field)
public StructuredQuery . Order . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StructuredQuery . Order . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public StructuredQuery . Order . Builder clone ()
Overrides
getDefaultInstanceForType()
public StructuredQuery . Order getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getDirection()
public StructuredQuery . Direction getDirection ()
The direction to order by. Defaults to ASCENDING
.
.google.firestore.v1.StructuredQuery.Direction direction = 2;
getDirectionValue()
public int getDirectionValue ()
The direction to order by. Defaults to ASCENDING
.
.google.firestore.v1.StructuredQuery.Direction direction = 2;
Returns Type Description int
The enum numeric value on the wire for direction.
getField()
public StructuredQuery . FieldReference getField ()
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
getFieldBuilder()
public StructuredQuery . FieldReference . Builder getFieldBuilder ()
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
getFieldOrBuilder()
public StructuredQuery . FieldReferenceOrBuilder getFieldOrBuilder ()
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
hasField()
public boolean hasField ()
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Returns Type Description boolean
Whether the field field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeField(StructuredQuery.FieldReference value)
public StructuredQuery . Order . Builder mergeField ( StructuredQuery . FieldReference value )
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
mergeFrom(StructuredQuery.Order other)
public StructuredQuery . Order . Builder mergeFrom ( StructuredQuery . Order other )
public StructuredQuery . Order . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public StructuredQuery . Order . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery . Order . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDirection(StructuredQuery.Direction value)
public StructuredQuery . Order . Builder setDirection ( StructuredQuery . Direction value )
The direction to order by. Defaults to ASCENDING
.
.google.firestore.v1.StructuredQuery.Direction direction = 2;
setDirectionValue(int value)
public StructuredQuery . Order . Builder setDirectionValue ( int value )
The direction to order by. Defaults to ASCENDING
.
.google.firestore.v1.StructuredQuery.Direction direction = 2;
Parameter Name Description value
int
The enum numeric value on the wire for direction to set.
setField(StructuredQuery.FieldReference value)
public StructuredQuery . Order . Builder setField ( StructuredQuery . FieldReference value )
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
setField(StructuredQuery.FieldReference.Builder builderForValue)
public StructuredQuery . Order . Builder setField ( StructuredQuery . FieldReference . Builder builderForValue )
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery . Order . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StructuredQuery . Order . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery . Order . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]