Class Index.IndexedProperty.Builder (2.30.0)
3.1.0 (latest)
2.40.0
2.37.0
2.36.0
2.34.0
2.33.3
2.32.3
2.31.4
2.30.0
2.29.1
2.28.2
2.27.1
2.26.4
2.25.2
2.24.3
2.23.0
2.22.0
2.21.3
2.20.2
2.19.2
2.18.5
2.17.6
public static final class Index . IndexedProperty . Builder extends GeneratedMessageV3 . Builder<Index . IndexedProperty . Builder > implements Index . IndexedPropertyOrBuilder
A property of an index.
Protobuf type google.datastore.admin.v1.Index.IndexedProperty
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 Index . IndexedProperty . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Index . IndexedProperty build ()
buildPartial()
public Index . IndexedProperty buildPartial ()
clear()
public Index . IndexedProperty . Builder clear ()
Overrides
clearDirection()
public Index . IndexedProperty . Builder clearDirection ()
Required. The indexed property's direction. Must not be
DIRECTION_UNSPECIFIED.
.google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public Index . IndexedProperty . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearName()
public Index . IndexedProperty . Builder clearName ()
Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public Index . IndexedProperty . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public Index . IndexedProperty . Builder clone ()
Overrides
getDefaultInstanceForType()
public Index . IndexedProperty getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getDirection()
public Index . Direction getDirection ()
Required. The indexed property's direction. Must not be
DIRECTION_UNSPECIFIED.
.google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];
getDirectionValue()
public int getDirectionValue ()
Required. The indexed property's direction. Must not be
DIRECTION_UNSPECIFIED.
.google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
The enum numeric value on the wire for direction.
getName()
Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The name.
getNameBytes()
public ByteString getNameBytes ()
Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for name.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Index.IndexedProperty other)
public Index . IndexedProperty . Builder mergeFrom ( Index . IndexedProperty other )
public Index . IndexedProperty . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Index . IndexedProperty . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Index . IndexedProperty . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDirection(Index.Direction value)
public Index . IndexedProperty . Builder setDirection ( Index . Direction value )
Required. The indexed property's direction. Must not be
DIRECTION_UNSPECIFIED.
.google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];
setDirectionValue(int value)
public Index . IndexedProperty . Builder setDirectionValue ( int value )
Required. The indexed property's direction. Must not be
DIRECTION_UNSPECIFIED.
.google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
int The enum numeric value on the wire for direction to set.
setField(Descriptors.FieldDescriptor field, Object value)
public Index . IndexedProperty . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setName(String value)
public Index . IndexedProperty . Builder setName ( String value )
Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
String The name to set.
setNameBytes(ByteString value)
public Index . IndexedProperty . Builder setNameBytes ( ByteString value )
Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
ByteString The bytes for name to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Index . IndexedProperty . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Index . IndexedProperty . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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 2026-06-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-18 UTC."],[],[]]