Class PropertyOrder.Builder (2.30.0)

publicstaticfinalclass PropertyOrder.BuilderextendsGeneratedMessageV3.Builder<PropertyOrder.Builder>implementsPropertyOrderOrBuilder

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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicPropertyOrder.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PropertyOrder.Builder
Overrides

build()

publicPropertyOrderbuild()
Returns
Type Description
PropertyOrder

buildPartial()

publicPropertyOrderbuildPartial()
Returns
Type Description
PropertyOrder

clear()

publicPropertyOrder.Builderclear()
Returns
Type Description
PropertyOrder.Builder
Overrides

clearDirection()

publicPropertyOrder.BuilderclearDirection()

The direction to order by. Defaults to ASCENDING.

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

Returns
Type Description
PropertyOrder.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicPropertyOrder.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PropertyOrder.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicPropertyOrder.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PropertyOrder.Builder
Overrides

clearProperty()

publicPropertyOrder.BuilderclearProperty()

The property to order by.

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

Returns
Type Description
PropertyOrder.Builder

clone()

publicPropertyOrder.Builderclone()
Returns
Type Description
PropertyOrder.Builder
Overrides

getDefaultInstanceForType()

publicPropertyOrdergetDefaultInstanceForType()
Returns
Type Description
PropertyOrder

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDirection()

publicPropertyOrder.DirectiongetDirection()

The direction to order by. Defaults to ASCENDING.

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

Returns
Type Description
PropertyOrder.Direction

The direction.

getDirectionValue()

publicintgetDirectionValue()

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()

publicPropertyReferencegetProperty()

The property to order by.

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

Returns
Type Description
PropertyReference

The property.

getPropertyBuilder()

publicPropertyReference.BuildergetPropertyBuilder()

The property to order by.

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

Returns
Type Description
PropertyReference.Builder

getPropertyOrBuilder()

publicPropertyReferenceOrBuildergetPropertyOrBuilder()

The property to order by.

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

Returns
Type Description
PropertyReferenceOrBuilder

hasProperty()

publicbooleanhasProperty()

The property to order by.

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

Returns
Type Description
boolean

Whether the property field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PropertyOrder other)

publicPropertyOrder.BuildermergeFrom(PropertyOrderother)
Parameter
Name Description
other PropertyOrder
Returns
Type Description
PropertyOrder.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicPropertyOrder.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertyOrder.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicPropertyOrder.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
PropertyOrder.Builder
Overrides

mergeProperty(PropertyReference value)

publicPropertyOrder.BuildermergeProperty(PropertyReferencevalue)

The property to order by.

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

Parameter
Name Description
value PropertyReference
Returns
Type Description
PropertyOrder.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalPropertyOrder.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PropertyOrder.Builder
Overrides

setDirection(PropertyOrder.Direction value)

publicPropertyOrder.BuildersetDirection(PropertyOrder.Directionvalue)

The direction to order by. Defaults to ASCENDING.

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

Parameter
Name Description
value PropertyOrder.Direction

The direction to set.

Returns
Type Description
PropertyOrder.Builder

This builder for chaining.

setDirectionValue(int value)

publicPropertyOrder.BuildersetDirectionValue(intvalue)

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.

Returns
Type Description
PropertyOrder.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicPropertyOrder.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PropertyOrder.Builder
Overrides

setProperty(PropertyReference value)

publicPropertyOrder.BuildersetProperty(PropertyReferencevalue)

The property to order by.

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

Parameter
Name Description
value PropertyReference
Returns
Type Description
PropertyOrder.Builder

setProperty(PropertyReference.Builder builderForValue)

publicPropertyOrder.BuildersetProperty(PropertyReference.BuilderbuilderForValue)

The property to order by.

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

Parameter
Name Description
builderForValue PropertyReference.Builder
Returns
Type Description
PropertyOrder.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicPropertyOrder.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PropertyOrder.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalPropertyOrder.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PropertyOrder.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.