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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PropertyOrder.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PropertyOrder build()
buildPartial()
public PropertyOrder buildPartial()
clear()
public PropertyOrder.Builder clear()
Overrides
clearDirection()
public PropertyOrder.Builder clearDirection()
The direction to order by. Defaults to ASCENDING
.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
clearField(Descriptors.FieldDescriptor field)
public PropertyOrder.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PropertyOrder.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProperty()
public PropertyOrder.Builder clearProperty()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
clone()
public PropertyOrder.Builder clone()
Overrides
getDefaultInstanceForType()
public PropertyOrder getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
getProperty()
public PropertyReference getProperty()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
getPropertyBuilder()
public PropertyReference.Builder getPropertyBuilder()
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PropertyOrder other)
public PropertyOrder.Builder mergeFrom(PropertyOrder other)
public PropertyOrder.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PropertyOrder.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeProperty(PropertyReference value)
public PropertyOrder.Builder mergeProperty(PropertyReference value)
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PropertyOrder.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public PropertyOrder.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setProperty(PropertyReference value)
public PropertyOrder.Builder setProperty(PropertyReference value)
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
setProperty(PropertyReference.Builder builderForValue)
public PropertyOrder.Builder setProperty(PropertyReference.Builder builderForValue)
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PropertyOrder.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PropertyOrder.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides