Send feedback
Class PropertyOrder.Builder (2.9.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.9.1 keyboard_arrow_down
public static final class PropertyOrder . Builder extends GeneratedMessageV3 . Builder<PropertyOrder . Builder > implements PropertyOrderOrBuilder
The desired order for a specific property.
Protobuf type google.datastore.v1.PropertyOrder
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PropertyOrder . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public PropertyOrder build ()
Returns
buildPartial()
public PropertyOrder buildPartial ()
Returns
clear()
public PropertyOrder . Builder clear ()
Returns
Overrides
clearDirection()
public PropertyOrder . Builder clearDirection ()
The direction to order by. Defaults to ASCENDING
.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public PropertyOrder . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PropertyOrder . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearProperty()
public PropertyOrder . Builder clearProperty ()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Returns
clone()
public PropertyOrder . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public PropertyOrder getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getDirection()
public PropertyOrder . Direction getDirection ()
The direction to order by. Defaults to ASCENDING
.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
Returns
getDirectionValue()
public int getDirectionValue ()
The direction to order by. Defaults to ASCENDING
.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
Returns
Type Description int The enum numeric value on the wire for direction.
getProperty()
public PropertyReference getProperty ()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Returns
getPropertyBuilder()
public PropertyReference . Builder getPropertyBuilder ()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Returns
getPropertyOrBuilder()
public PropertyReferenceOrBuilder getPropertyOrBuilder ()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Returns
hasProperty()
public boolean hasProperty ()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Returns
Type Description boolean Whether the property field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(PropertyOrder other)
public PropertyOrder . Builder mergeFrom ( PropertyOrder other )
Parameter
Returns
public PropertyOrder . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PropertyOrder . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeProperty(PropertyReference value)
public PropertyOrder . Builder mergeProperty ( PropertyReference value )
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PropertyOrder . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setDirection(PropertyOrder.Direction value)
public PropertyOrder . Builder setDirection ( PropertyOrder . Direction value )
The direction to order by. Defaults to ASCENDING
.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
Parameter
Returns
setDirectionValue(int value)
public PropertyOrder . Builder setDirectionValue ( int value )
The direction to order by. Defaults to ASCENDING
.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
Parameter
Name Description value int
The enum numeric value on the wire for direction to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PropertyOrder . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setProperty(PropertyReference value)
public PropertyOrder . Builder setProperty ( PropertyReference value )
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Parameter
Returns
setProperty(PropertyReference.Builder builderForValue)
public PropertyOrder . Builder setProperty ( PropertyReference . Builder builderForValue )
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PropertyOrder . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PropertyOrder . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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."],[],[]]