public final class PropertyOrder extends GeneratedMessageV3 implements PropertyOrderOrBuilder
The desired order for a specific property.
Protobuf type google.datastore.v1.PropertyOrder
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DIRECTION_FIELD_NUMBER
public static final int DIRECTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROPERTY_FIELD_NUMBER
public static final int PROPERTY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PropertyOrder getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PropertyOrder.Builder newBuilder()
newBuilder(PropertyOrder prototype)
public static PropertyOrder.Builder newBuilder(PropertyOrder prototype)
public static PropertyOrder parseDelimitedFrom(InputStream input)
public static PropertyOrder parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PropertyOrder parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PropertyOrder parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PropertyOrder parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PropertyOrder parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PropertyOrder parseFrom(CodedInputStream input)
public static PropertyOrder parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PropertyOrder parseFrom(InputStream input)
public static PropertyOrder parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PropertyOrder parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PropertyOrder parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PropertyOrder> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public PropertyOrder getDefaultInstanceForType()
getDirection()
public PropertyOrder.Direction getDirection()
The direction to order by. Defaults to ASCENDING
.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
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.
|
getParserForType()
public Parser<PropertyOrder> getParserForType()
Overrides
getProperty()
public PropertyReference getProperty()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
getPropertyOrBuilder()
public PropertyReferenceOrBuilder getPropertyOrBuilder()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PropertyOrder.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PropertyOrder.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PropertyOrder.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides