Class PropertyOrder (2.17.3)

public final class PropertyOrder extends GeneratedMessageV3 implements PropertyOrderOrBuilder

The desired order for a specific property.

Protobuf type google.datastore.v1.PropertyOrder

Static Fields

DIRECTION_FIELD_NUMBER

public static final int DIRECTION_FIELD_NUMBER
Field Value
TypeDescription
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PropertyOrder getDefaultInstance()
Returns
TypeDescription
PropertyOrder

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PropertyOrder.Builder newBuilder()
Returns
TypeDescription
PropertyOrder.Builder

newBuilder(PropertyOrder prototype)

public static PropertyOrder.Builder newBuilder(PropertyOrder prototype)
Parameter
NameDescription
prototypePropertyOrder
Returns
TypeDescription
PropertyOrder.Builder

parseDelimitedFrom(InputStream input)

public static PropertyOrder parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PropertyOrder
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyOrder parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyOrder
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PropertyOrder parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PropertyOrder
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PropertyOrder parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyOrder
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PropertyOrder parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PropertyOrder
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PropertyOrder parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyOrder
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PropertyOrder parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PropertyOrder
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyOrder parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyOrder
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PropertyOrder parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PropertyOrder
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyOrder parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyOrder
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PropertyOrder parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PropertyOrder
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PropertyOrder parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyOrder
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PropertyOrder> parser()
Returns
TypeDescription
Parser<PropertyOrder>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PropertyOrder getDefaultInstanceForType()
Returns
TypeDescription
PropertyOrder

getDirection()

public PropertyOrder.Direction getDirection()

The direction to order by. Defaults to ASCENDING.

.google.datastore.v1.PropertyOrder.Direction direction = 2;

Returns
TypeDescription
PropertyOrder.Direction

The direction.

getDirectionValue()

public int getDirectionValue()

The direction to order by. Defaults to ASCENDING.

.google.datastore.v1.PropertyOrder.Direction direction = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for direction.

getParserForType()

public Parser<PropertyOrder> getParserForType()
Returns
TypeDescription
Parser<PropertyOrder>
Overrides

getProperty()

public PropertyReference getProperty()

The property to order by.

.google.datastore.v1.PropertyReference property = 1;

Returns
TypeDescription
PropertyReference

The property.

getPropertyOrBuilder()

public PropertyReferenceOrBuilder getPropertyOrBuilder()

The property to order by.

.google.datastore.v1.PropertyReference property = 1;

Returns
TypeDescription
PropertyReferenceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasProperty()

public boolean hasProperty()

The property to order by.

.google.datastore.v1.PropertyReference property = 1;

Returns
TypeDescription
boolean

Whether the property field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PropertyOrder.Builder newBuilderForType()
Returns
TypeDescription
PropertyOrder.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PropertyOrder.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PropertyOrder.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PropertyOrder.Builder toBuilder()
Returns
TypeDescription
PropertyOrder.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException