Interface Field.IndexConfigOrBuilder (3.4.2)

public static interface Field.IndexConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAncestorField()

public abstract String getAncestorField()

Output only. Specifies the resource name of the Field from which this field's index configuration is set (when uses_ancestor_config is true), or from which it would be set if this field had no index configuration (when uses_ancestor_config is false).

string ancestor_field = 3;

Returns
TypeDescription
String

The ancestorField.

getAncestorFieldBytes()

public abstract ByteString getAncestorFieldBytes()

Output only. Specifies the resource name of the Field from which this field's index configuration is set (when uses_ancestor_config is true), or from which it would be set if this field had no index configuration (when uses_ancestor_config is false).

string ancestor_field = 3;

Returns
TypeDescription
ByteString

The bytes for ancestorField.

getIndexes(int index)

public abstract Index getIndexes(int index)

The indexes supported for this field.

repeated .google.firestore.admin.v1.Index indexes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Index

getIndexesCount()

public abstract int getIndexesCount()

The indexes supported for this field.

repeated .google.firestore.admin.v1.Index indexes = 1;

Returns
TypeDescription
int

getIndexesList()

public abstract List<Index> getIndexesList()

The indexes supported for this field.

repeated .google.firestore.admin.v1.Index indexes = 1;

Returns
TypeDescription
List<Index>

getIndexesOrBuilder(int index)

public abstract IndexOrBuilder getIndexesOrBuilder(int index)

The indexes supported for this field.

repeated .google.firestore.admin.v1.Index indexes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
IndexOrBuilder

getIndexesOrBuilderList()

public abstract List<? extends IndexOrBuilder> getIndexesOrBuilderList()

The indexes supported for this field.

repeated .google.firestore.admin.v1.Index indexes = 1;

Returns
TypeDescription
List<? extends com.google.firestore.admin.v1.IndexOrBuilder>

getReverting()

public abstract boolean getReverting()

Output only When true, the Field's index configuration is in the process of being reverted. Once complete, the index config will transition to the same state as the field specified by ancestor_field, at which point uses_ancestor_config will be true and reverting will be false.

bool reverting = 4;

Returns
TypeDescription
boolean

The reverting.

getUsesAncestorConfig()

public abstract boolean getUsesAncestorConfig()

Output only. When true, the Field's index configuration is set from the configuration specified by the ancestor_field. When false, the Field's index configuration is defined explicitly.

bool uses_ancestor_config = 2;

Returns
TypeDescription
boolean

The usesAncestorConfig.