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
Type | Property and Description |
---|---|
PropertyOrder.Builder |
clear
The property to order by.
|
boolean |
has
The property to order by.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public boolean hasProperty
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
hasProperty
in interface PropertyOrderOrBuilder
public PropertyOrder.Builder clearProperty
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<PropertyOrder.Builder>
public PropertyOrder.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<PropertyOrder.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<PropertyOrder.Builder>
public PropertyOrder getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public PropertyOrder build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public PropertyOrder buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public PropertyOrder.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<PropertyOrder.Builder>
public PropertyOrder.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<PropertyOrder.Builder>
public PropertyOrder.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<PropertyOrder.Builder>
public PropertyOrder.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<PropertyOrder.Builder>
public PropertyOrder.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<PropertyOrder.Builder>
public PropertyOrder.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<PropertyOrder.Builder>
public PropertyOrder.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<PropertyOrder.Builder>
public PropertyOrder.Builder mergeFrom(PropertyOrder other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<PropertyOrder.Builder>
public PropertyOrder.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<PropertyOrder.Builder>
java.io.IOException
public boolean hasProperty()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
hasProperty
in interface PropertyOrderOrBuilder
public PropertyReference getProperty()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
getProperty
in interface PropertyOrderOrBuilder
public PropertyOrder.Builder setProperty(PropertyReference value)
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
public PropertyOrder.Builder setProperty(PropertyReference.Builder builderForValue)
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
public PropertyOrder.Builder mergeProperty(PropertyReference value)
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
public PropertyOrder.Builder clearProperty()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
public PropertyReference.Builder getPropertyBuilder()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
public PropertyReferenceOrBuilder getPropertyOrBuilder()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
getPropertyOrBuilder
in interface PropertyOrderOrBuilder
public int getDirectionValue()
The direction to order by. Defaults to `ASCENDING`.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
getDirectionValue
in interface PropertyOrderOrBuilder
public PropertyOrder.Builder setDirectionValue(int value)
The direction to order by. Defaults to `ASCENDING`.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
public PropertyOrder.Direction getDirection()
The direction to order by. Defaults to `ASCENDING`.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
getDirection
in interface PropertyOrderOrBuilder
public PropertyOrder.Builder setDirection(PropertyOrder.Direction value)
The direction to order by. Defaults to `ASCENDING`.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
public PropertyOrder.Builder clearDirection()
The direction to order by. Defaults to `ASCENDING`.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
public final PropertyOrder.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<PropertyOrder.Builder>
public final PropertyOrder.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<PropertyOrder.Builder>