Interface Index.IndexField.SearchConfigOrBuilder (3.43.1)

public static interface Index.IndexField.SearchConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGeoSpec()

public abstract Index.IndexField.SearchConfig.SearchGeoSpec getGeoSpec()

Optional. The specification for building a geo search index for a field.

.google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchGeoSpec geo_spec = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec

The geoSpec.

getGeoSpecOrBuilder()

public abstract Index.IndexField.SearchConfig.SearchGeoSpecOrBuilder getGeoSpecOrBuilder()

Optional. The specification for building a geo search index for a field.

.google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchGeoSpec geo_spec = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpecOrBuilder

getTextSpec()

public abstract Index.IndexField.SearchConfig.SearchTextSpec getTextSpec()

Optional. The specification for building a text search index for a field.

.google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextSpec text_spec = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Index.IndexField.SearchConfig.SearchTextSpec

The textSpec.

getTextSpecOrBuilder()

public abstract Index.IndexField.SearchConfig.SearchTextSpecOrBuilder getTextSpecOrBuilder()

Optional. The specification for building a text search index for a field.

.google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextSpec text_spec = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Index.IndexField.SearchConfig.SearchTextSpecOrBuilder

hasGeoSpec()

public abstract boolean hasGeoSpec()

Optional. The specification for building a geo search index for a field.

.google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchGeoSpec geo_spec = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the geoSpec field is set.

hasTextSpec()

public abstract boolean hasTextSpec()

Optional. The specification for building a text search index for a field.

.google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextSpec text_spec = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the textSpec field is set.