public static final class StructuredQuery.Order extends GeneratedMessageV3 implements StructuredQuery.OrderOrBuilder
An order on a field.
Protobuf type google.firestore.v1.StructuredQuery.Order
Static Fields
DIRECTION_FIELD_NUMBER
public static final int DIRECTION_FIELD_NUMBER
Field Value
FIELD_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StructuredQuery.Order getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StructuredQuery.Order.Builder newBuilder()
Returns
newBuilder(StructuredQuery.Order prototype)
public static StructuredQuery.Order.Builder newBuilder(StructuredQuery.Order prototype)
Parameter
Returns
public static StructuredQuery.Order parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StructuredQuery.Order parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StructuredQuery.Order parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Order parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StructuredQuery.Order parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Order parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StructuredQuery.Order parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StructuredQuery.Order parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StructuredQuery.Order parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StructuredQuery.Order parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StructuredQuery.Order parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.Order parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StructuredQuery.Order> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public StructuredQuery.Order getDefaultInstanceForType()
Returns
getDirection()
public StructuredQuery.Direction getDirection()
The direction to order by. Defaults to ASCENDING
.
.google.firestore.v1.StructuredQuery.Direction direction = 2;
Returns
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;
Returns
getFieldOrBuilder()
public StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder()
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Returns
getParserForType()
public Parser<StructuredQuery.Order> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StructuredQuery.Order.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StructuredQuery.Order.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StructuredQuery.Order.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions