public final class PropertyOrder extends GeneratedMessageV3 implements PropertyOrderOrBuilder
The desired order for a specific property.
Protobuf type google.datastore.v1.PropertyOrder
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PropertyOrderImplements
PropertyOrderOrBuilderStatic Fields
DIRECTION_FIELD_NUMBER
public static final int DIRECTION_FIELD_NUMBER
Type | Description |
int |
PROPERTY_FIELD_NUMBER
public static final int PROPERTY_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static PropertyOrder getDefaultInstance()
Type | Description |
PropertyOrder |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static PropertyOrder.Builder newBuilder()
Type | Description |
PropertyOrder.Builder |
newBuilder(PropertyOrder prototype)
public static PropertyOrder.Builder newBuilder(PropertyOrder prototype)
Name | Description |
prototype | PropertyOrder |
Type | Description |
PropertyOrder.Builder |
parseDelimitedFrom(InputStream input)
public static PropertyOrder parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PropertyOrder |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PropertyOrder parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PropertyOrder |
Type | Description |
IOException |
parseFrom(byte[] data)
public static PropertyOrder parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
PropertyOrder |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PropertyOrder parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PropertyOrder |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PropertyOrder parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
PropertyOrder |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PropertyOrder parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PropertyOrder |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PropertyOrder parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
PropertyOrder |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PropertyOrder parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PropertyOrder |
Type | Description |
IOException |
parseFrom(InputStream input)
public static PropertyOrder parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PropertyOrder |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PropertyOrder parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PropertyOrder |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PropertyOrder parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
PropertyOrder |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PropertyOrder parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PropertyOrder |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PropertyOrder> parser()
Type | Description |
Parser<PropertyOrder> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public PropertyOrder getDefaultInstanceForType()
Type | Description |
PropertyOrder |
getDirection()
public PropertyOrder.Direction getDirection()
The direction to order by. Defaults to ASCENDING
.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
Type | Description |
PropertyOrder.Direction | The direction. |
getDirectionValue()
public int getDirectionValue()
The direction to order by. Defaults to ASCENDING
.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
Type | Description |
int | The enum numeric value on the wire for direction. |
getParserForType()
public Parser<PropertyOrder> getParserForType()
Type | Description |
Parser<PropertyOrder> |
getProperty()
public PropertyReference getProperty()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Type | Description |
PropertyReference | The property. |
getPropertyOrBuilder()
public PropertyReferenceOrBuilder getPropertyOrBuilder()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Type | Description |
PropertyReferenceOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasProperty()
public boolean hasProperty()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Type | Description |
boolean | Whether the property 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 PropertyOrder.Builder newBuilderForType()
Type | Description |
PropertyOrder.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PropertyOrder.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
PropertyOrder.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public PropertyOrder.Builder toBuilder()
Type | Description |
PropertyOrder.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |