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

public static final class Index.IndexField.SearchConfig.SearchTextSpec.Builder extends GeneratedMessage.Builder<Index.IndexField.SearchConfig.SearchTextSpec.Builder> implements Index.IndexField.SearchConfig.SearchTextSpecOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addAllIndexSpecs(Iterable<? extends Index.IndexField.SearchConfig.SearchTextIndexSpec> values)

public Index.IndexField.SearchConfig.SearchTextSpec.Builder addAllIndexSpecs(Iterable<? extends Index.IndexField.SearchConfig.SearchTextIndexSpec> values)

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec>
Returns
Type Description
Index.IndexField.SearchConfig.SearchTextSpec.Builder

addIndexSpecs(Index.IndexField.SearchConfig.SearchTextIndexSpec value)

public Index.IndexField.SearchConfig.SearchTextSpec.Builder addIndexSpecs(Index.IndexField.SearchConfig.SearchTextIndexSpec value)

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Index.IndexField.SearchConfig.SearchTextIndexSpec
Returns
Type Description
Index.IndexField.SearchConfig.SearchTextSpec.Builder

addIndexSpecs(Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder builderForValue)

public Index.IndexField.SearchConfig.SearchTextSpec.Builder addIndexSpecs(Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder builderForValue)

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder
Returns
Type Description
Index.IndexField.SearchConfig.SearchTextSpec.Builder

addIndexSpecs(int index, Index.IndexField.SearchConfig.SearchTextIndexSpec value)

public Index.IndexField.SearchConfig.SearchTextSpec.Builder addIndexSpecs(int index, Index.IndexField.SearchConfig.SearchTextIndexSpec value)

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Index.IndexField.SearchConfig.SearchTextIndexSpec
Returns
Type Description
Index.IndexField.SearchConfig.SearchTextSpec.Builder

addIndexSpecs(int index, Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder builderForValue)

public Index.IndexField.SearchConfig.SearchTextSpec.Builder addIndexSpecs(int index, Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder builderForValue)

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder
Returns
Type Description
Index.IndexField.SearchConfig.SearchTextSpec.Builder

addIndexSpecsBuilder()

public Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder addIndexSpecsBuilder()

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

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

addIndexSpecsBuilder(int index)

public Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder addIndexSpecsBuilder(int index)

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder

build()

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

buildPartial()

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

clear()

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

clearIndexSpecs()

public Index.IndexField.SearchConfig.SearchTextSpec.Builder clearIndexSpecs()

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getIndexSpecs(int index)

public Index.IndexField.SearchConfig.SearchTextIndexSpec getIndexSpecs(int index)

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Index.IndexField.SearchConfig.SearchTextIndexSpec

getIndexSpecsBuilder(int index)

public Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder getIndexSpecsBuilder(int index)

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder

getIndexSpecsBuilderList()

public List<Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder> getIndexSpecsBuilderList()

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getIndexSpecsCount()

public int getIndexSpecsCount()

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getIndexSpecsList()

public List<Index.IndexField.SearchConfig.SearchTextIndexSpec> getIndexSpecsList()

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<SearchTextIndexSpec>

getIndexSpecsOrBuilder(int index)

public Index.IndexField.SearchConfig.SearchTextIndexSpecOrBuilder getIndexSpecsOrBuilder(int index)

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Index.IndexField.SearchConfig.SearchTextIndexSpecOrBuilder

getIndexSpecsOrBuilderList()

public List<? extends Index.IndexField.SearchConfig.SearchTextIndexSpecOrBuilder> getIndexSpecsOrBuilderList()

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpecOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Index.IndexField.SearchConfig.SearchTextSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeIndexSpecs(int index)

public Index.IndexField.SearchConfig.SearchTextSpec.Builder removeIndexSpecs(int index)

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Index.IndexField.SearchConfig.SearchTextSpec.Builder

setIndexSpecs(int index, Index.IndexField.SearchConfig.SearchTextIndexSpec value)

public Index.IndexField.SearchConfig.SearchTextSpec.Builder setIndexSpecs(int index, Index.IndexField.SearchConfig.SearchTextIndexSpec value)

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Index.IndexField.SearchConfig.SearchTextIndexSpec
Returns
Type Description
Index.IndexField.SearchConfig.SearchTextSpec.Builder

setIndexSpecs(int index, Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder builderForValue)

public Index.IndexField.SearchConfig.SearchTextSpec.Builder setIndexSpecs(int index, Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder builderForValue)

Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.

repeated .google.firestore.admin.v1.Index.IndexField.SearchConfig.SearchTextIndexSpec index_specs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Index.IndexField.SearchConfig.SearchTextIndexSpec.Builder
Returns
Type Description
Index.IndexField.SearchConfig.SearchTextSpec.Builder