Class Index.IndexField.SearchConfig.SearchGeoSpec (3.43.1)

public static final class Index.IndexField.SearchConfig.SearchGeoSpec extends GeneratedMessage 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Index.IndexField.SearchConfig.SearchGeoSpec

Static Fields

GEO_JSON_INDEXING_DISABLED_FIELD_NUMBER

public static final int GEO_JSON_INDEXING_DISABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Index.IndexField.SearchConfig.SearchGeoSpec getDefaultInstance()
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec

getDescriptor()

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

newBuilder()

public static Index.IndexField.SearchConfig.SearchGeoSpec.Builder newBuilder()
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec.Builder

newBuilder(Index.IndexField.SearchConfig.SearchGeoSpec prototype)

public static Index.IndexField.SearchConfig.SearchGeoSpec.Builder newBuilder(Index.IndexField.SearchConfig.SearchGeoSpec prototype)
Parameter
Name Description
prototype Index.IndexField.SearchConfig.SearchGeoSpec
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec.Builder

parseDelimitedFrom(InputStream input)

public static Index.IndexField.SearchConfig.SearchGeoSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Index.IndexField.SearchConfig.SearchGeoSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Index.IndexField.SearchConfig.SearchGeoSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Index.IndexField.SearchConfig.SearchGeoSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Index.IndexField.SearchConfig.SearchGeoSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Index.IndexField.SearchConfig.SearchGeoSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Index.IndexField.SearchConfig.SearchGeoSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Index.IndexField.SearchConfig.SearchGeoSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Index.IndexField.SearchConfig.SearchGeoSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Index.IndexField.SearchConfig.SearchGeoSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Index.IndexField.SearchConfig.SearchGeoSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Index.IndexField.SearchConfig.SearchGeoSpec> parser()
Returns
Type Description
Parser<SearchGeoSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<Index.IndexField.SearchConfig.SearchGeoSpec> getParserForType()
Returns
Type Description
Parser<SearchGeoSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Index.IndexField.SearchConfig.SearchGeoSpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Index.IndexField.SearchConfig.SearchGeoSpec.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException