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