Interface Index.IndexFieldOrBuilder (3.20.0)

public static interface Index.IndexFieldOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArrayConfig()

public abstract Index.IndexField.ArrayConfig getArrayConfig()

Indicates that this field supports operations on array_values.

.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;

Returns
TypeDescription
Index.IndexField.ArrayConfig

The arrayConfig.

getArrayConfigValue()

public abstract int getArrayConfigValue()

Indicates that this field supports operations on array_values.

.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for arrayConfig.

getFieldPath()

public abstract String getFieldPath()

Can be name. For single field indexes, this must match the name of the field or may be omitted.

string field_path = 1;

Returns
TypeDescription
String

The fieldPath.

getFieldPathBytes()

public abstract ByteString getFieldPathBytes()

Can be name. For single field indexes, this must match the name of the field or may be omitted.

string field_path = 1;

Returns
TypeDescription
ByteString

The bytes for fieldPath.

getOrder()

public abstract Index.IndexField.Order getOrder()

Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.

.google.firestore.admin.v1.Index.IndexField.Order order = 2;

Returns
TypeDescription
Index.IndexField.Order

The order.

getOrderValue()

public abstract int getOrderValue()

Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.

.google.firestore.admin.v1.Index.IndexField.Order order = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for order.

getValueModeCase()

public abstract Index.IndexField.ValueModeCase getValueModeCase()
Returns
TypeDescription
Index.IndexField.ValueModeCase

hasArrayConfig()

public abstract boolean hasArrayConfig()

Indicates that this field supports operations on array_values.

.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;

Returns
TypeDescription
boolean

Whether the arrayConfig field is set.

hasOrder()

public abstract boolean hasOrder()

Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.

.google.firestore.admin.v1.Index.IndexField.Order order = 2;

Returns
TypeDescription
boolean

Whether the order field is set.