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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PropertyOrder.BuilderImplements
PropertyOrderOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PropertyOrder.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PropertyOrder.Builder |
build()
public PropertyOrder build()
Type | Description |
PropertyOrder |
buildPartial()
public PropertyOrder buildPartial()
Type | Description |
PropertyOrder |
clear()
public PropertyOrder.Builder clear()
Type | Description |
PropertyOrder.Builder |
clearDirection()
public PropertyOrder.Builder clearDirection()
The direction to order by. Defaults to ASCENDING
.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
Type | Description |
PropertyOrder.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PropertyOrder.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PropertyOrder.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PropertyOrder.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PropertyOrder.Builder |
clearProperty()
public PropertyOrder.Builder clearProperty()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Type | Description |
PropertyOrder.Builder |
clone()
public PropertyOrder.Builder clone()
Type | Description |
PropertyOrder.Builder |
getDefaultInstanceForType()
public PropertyOrder getDefaultInstanceForType()
Type | Description |
PropertyOrder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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. |
getProperty()
public PropertyReference getProperty()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Type | Description |
PropertyReference | The property. |
getPropertyBuilder()
public PropertyReference.Builder getPropertyBuilder()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Type | Description |
PropertyReference.Builder |
getPropertyOrBuilder()
public PropertyReferenceOrBuilder getPropertyOrBuilder()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Type | Description |
PropertyReferenceOrBuilder |
hasProperty()
public boolean hasProperty()
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Type | Description |
boolean | Whether the property field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PropertyOrder other)
public PropertyOrder.Builder mergeFrom(PropertyOrder other)
Name | Description |
other | PropertyOrder |
Type | Description |
PropertyOrder.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PropertyOrder.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PropertyOrder.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PropertyOrder.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PropertyOrder.Builder |
mergeProperty(PropertyReference value)
public PropertyOrder.Builder mergeProperty(PropertyReference value)
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Name | Description |
value | PropertyReference |
Type | Description |
PropertyOrder.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PropertyOrder.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PropertyOrder.Builder |
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;
Name | Description |
value | PropertyOrder.Direction The direction to set. |
Type | Description |
PropertyOrder.Builder | This builder for chaining. |
setDirectionValue(int value)
public PropertyOrder.Builder setDirectionValue(int value)
The direction to order by. Defaults to ASCENDING
.
.google.datastore.v1.PropertyOrder.Direction direction = 2;
Name | Description |
value | int The enum numeric value on the wire for direction to set. |
Type | Description |
PropertyOrder.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PropertyOrder.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PropertyOrder.Builder |
setProperty(PropertyReference value)
public PropertyOrder.Builder setProperty(PropertyReference value)
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Name | Description |
value | PropertyReference |
Type | Description |
PropertyOrder.Builder |
setProperty(PropertyReference.Builder builderForValue)
public PropertyOrder.Builder setProperty(PropertyReference.Builder builderForValue)
The property to order by.
.google.datastore.v1.PropertyReference property = 1;
Name | Description |
builderForValue | PropertyReference.Builder |
Type | Description |
PropertyOrder.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PropertyOrder.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PropertyOrder.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PropertyOrder.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PropertyOrder.Builder |