Class Index.IndexField.SearchConfig.SearchGeoSpec.Builder (3.43.1)

public static final class Index.IndexField.SearchConfig.SearchGeoSpec.Builder extends GeneratedMessage.Builder<Index.IndexField.SearchConfig.SearchGeoSpec.Builder> implements Index.IndexField.SearchConfig.SearchGeoSpecOrBuilder

The specification for how to build a geo search index for a field.

Protobuf type google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchGeoSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Index.IndexField.SearchConfig.SearchGeoSpec build()
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec

buildPartial()

public Index.IndexField.SearchConfig.SearchGeoSpec buildPartial()
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec

clear()

public Index.IndexField.SearchConfig.SearchGeoSpec.Builder clear()
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec.Builder
Overrides

clearGeoJsonIndexingDisabled()

public Index.IndexField.SearchConfig.SearchGeoSpec.Builder clearGeoJsonIndexingDisabled()

Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed.

bool geo_json_indexing_disabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec.Builder

This builder for chaining.

getDefaultInstanceForType()

public Index.IndexField.SearchConfig.SearchGeoSpec getDefaultInstanceForType()
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGeoJsonIndexingDisabled()

public boolean getGeoJsonIndexingDisabled()

Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed.

bool geo_json_indexing_disabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The geoJsonIndexingDisabled.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Index.IndexField.SearchConfig.SearchGeoSpec other)

public Index.IndexField.SearchConfig.SearchGeoSpec.Builder mergeFrom(Index.IndexField.SearchConfig.SearchGeoSpec other)
Parameter
Name Description
other Index.IndexField.SearchConfig.SearchGeoSpec
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Index.IndexField.SearchConfig.SearchGeoSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Index.IndexField.SearchConfig.SearchGeoSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec.Builder
Overrides

setGeoJsonIndexingDisabled(boolean value)

public Index.IndexField.SearchConfig.SearchGeoSpec.Builder setGeoJsonIndexingDisabled(boolean value)

Optional. Disables geoJSON indexing for the field. By default, geoJSON points are indexed.

bool geo_json_indexing_disabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The geoJsonIndexingDisabled to set.

Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec.Builder

This builder for chaining.