Interface Index.IndexedPropertyOrBuilder (2.27.1)

publicstaticinterface Index.IndexedPropertyOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getDirection()

publicabstractIndex.DirectiongetDirection()

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
Index.Direction

The direction.

getDirectionValue()

publicabstractintgetDirectionValue()

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

publicabstractStringgetName()

Required. The property name to index.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

publicabstractByteStringgetNameBytes()

Required. The property name to index.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

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.