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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StructuredQuery.Order.BuilderImplements
StructuredQuery.OrderOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery.Order.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StructuredQuery.Order.Builder |
build()
public StructuredQuery.Order build()
Type | Description |
StructuredQuery.Order |
buildPartial()
public StructuredQuery.Order buildPartial()
Type | Description |
StructuredQuery.Order |
clear()
public StructuredQuery.Order.Builder clear()
Type | Description |
StructuredQuery.Order.Builder |
clearDirection()
public StructuredQuery.Order.Builder clearDirection()
The direction to order by. Defaults to ASCENDING
.
.google.firestore.v1.StructuredQuery.Direction direction = 2;
Type | Description |
StructuredQuery.Order.Builder | This builder for chaining. |
clearField()
public StructuredQuery.Order.Builder clearField()
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Type | Description |
StructuredQuery.Order.Builder |
clearField(Descriptors.FieldDescriptor field)
public StructuredQuery.Order.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
StructuredQuery.Order.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StructuredQuery.Order.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
StructuredQuery.Order.Builder |
clone()
public StructuredQuery.Order.Builder clone()
Type | Description |
StructuredQuery.Order.Builder |
getDefaultInstanceForType()
public StructuredQuery.Order getDefaultInstanceForType()
Type | Description |
StructuredQuery.Order |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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. |
getFieldBuilder()
public StructuredQuery.FieldReference.Builder getFieldBuilder()
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Type | Description |
StructuredQuery.FieldReference.Builder |
getFieldOrBuilder()
public StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder()
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Type | Description |
StructuredQuery.FieldReferenceOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeField(StructuredQuery.FieldReference value)
public StructuredQuery.Order.Builder mergeField(StructuredQuery.FieldReference value)
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Name | Description |
value | StructuredQuery.FieldReference |
Type | Description |
StructuredQuery.Order.Builder |
mergeFrom(StructuredQuery.Order other)
public StructuredQuery.Order.Builder mergeFrom(StructuredQuery.Order other)
Name | Description |
other | StructuredQuery.Order |
Type | Description |
StructuredQuery.Order.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StructuredQuery.Order.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StructuredQuery.Order.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public StructuredQuery.Order.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
StructuredQuery.Order.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery.Order.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StructuredQuery.Order.Builder |
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;
Name | Description |
value | StructuredQuery.Direction The direction to set. |
Type | Description |
StructuredQuery.Order.Builder | This builder for chaining. |
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;
Name | Description |
value | int The enum numeric value on the wire for direction to set. |
Type | Description |
StructuredQuery.Order.Builder | This builder for chaining. |
setField(StructuredQuery.FieldReference value)
public StructuredQuery.Order.Builder setField(StructuredQuery.FieldReference value)
The field to order by.
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
Name | Description |
value | StructuredQuery.FieldReference |
Type | Description |
StructuredQuery.Order.Builder |
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;
Name | Description |
builderForValue | StructuredQuery.FieldReference.Builder |
Type | Description |
StructuredQuery.Order.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StructuredQuery.Order.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StructuredQuery.Order.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StructuredQuery.Order.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
StructuredQuery.Order.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StructuredQuery.Order.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StructuredQuery.Order.Builder |