public static final class Field.IndexConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Field.IndexConfig.Builder> implements Field.IndexConfigOrBuilder
The index configuration for this field.Protobuf type
google.firestore.admin.v1.Field.IndexConfig
Modifier and Type | Method and Description |
---|---|
Field.IndexConfig.Builder |
addAllIndexes(Iterable<? extends Index> values)
The indexes supported for this field.
|
Field.IndexConfig.Builder |
addIndexes(Index.Builder builderForValue)
The indexes supported for this field.
|
Field.IndexConfig.Builder |
addIndexes(Index value)
The indexes supported for this field.
|
Field.IndexConfig.Builder |
addIndexes(int index,
Index.Builder builderForValue)
The indexes supported for this field.
|
Field.IndexConfig.Builder |
addIndexes(int index,
Index value)
The indexes supported for this field.
|
Index.Builder |
addIndexesBuilder()
The indexes supported for this field.
|
Index.Builder |
addIndexesBuilder(int index)
The indexes supported for this field.
|
Field.IndexConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Field.IndexConfig |
build() |
Field.IndexConfig |
buildPartial() |
Field.IndexConfig.Builder |
clear() |
Field.IndexConfig.Builder |
clearAncestorField()
Output only.
|
Field.IndexConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Field.IndexConfig.Builder |
clearIndexes()
The indexes supported for this field.
|
Field.IndexConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Field.IndexConfig.Builder |
clearReverting()
Output only
When true, the `Field`'s index configuration is in the process of being
reverted.
|
Field.IndexConfig.Builder |
clearUsesAncestorConfig()
Output only.
|
Field.IndexConfig.Builder |
clone() |
String |
getAncestorField()
Output only.
|
com.google.protobuf.ByteString |
getAncestorFieldBytes()
Output only.
|
Field.IndexConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Index |
getIndexes(int index)
The indexes supported for this field.
|
Index.Builder |
getIndexesBuilder(int index)
The indexes supported for this field.
|
List<Index.Builder> |
getIndexesBuilderList()
The indexes supported for this field.
|
int |
getIndexesCount()
The indexes supported for this field.
|
List<Index> |
getIndexesList()
The indexes supported for this field.
|
IndexOrBuilder |
getIndexesOrBuilder(int index)
The indexes supported for this field.
|
List<? extends IndexOrBuilder> |
getIndexesOrBuilderList()
The indexes supported for this field.
|
boolean |
getReverting()
Output only
When true, the `Field`'s index configuration is in the process of being
reverted.
|
boolean |
getUsesAncestorConfig()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Field.IndexConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Field.IndexConfig.Builder |
mergeFrom(Field.IndexConfig other) |
Field.IndexConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
Field.IndexConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Field.IndexConfig.Builder |
removeIndexes(int index)
The indexes supported for this field.
|
Field.IndexConfig.Builder |
setAncestorField(String value)
Output only.
|
Field.IndexConfig.Builder |
setAncestorFieldBytes(com.google.protobuf.ByteString value)
Output only.
|
Field.IndexConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Field.IndexConfig.Builder |
setIndexes(int index,
Index.Builder builderForValue)
The indexes supported for this field.
|
Field.IndexConfig.Builder |
setIndexes(int index,
Index value)
The indexes supported for this field.
|
Field.IndexConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Field.IndexConfig.Builder |
setReverting(boolean value)
Output only
When true, the `Field`'s index configuration is in the process of being
reverted.
|
Field.IndexConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Field.IndexConfig.Builder |
setUsesAncestorConfig(boolean value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Field.IndexConfig.Builder>
public Field.IndexConfig.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Field.IndexConfig.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Field.IndexConfig.Builder>
public Field.IndexConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Field.IndexConfig build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Field.IndexConfig buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Field.IndexConfig.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Field.IndexConfig.Builder>
public Field.IndexConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Field.IndexConfig.Builder>
public Field.IndexConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Field.IndexConfig.Builder>
public Field.IndexConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Field.IndexConfig.Builder>
public Field.IndexConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Field.IndexConfig.Builder>
public Field.IndexConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Field.IndexConfig.Builder>
public Field.IndexConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Field.IndexConfig.Builder>
public Field.IndexConfig.Builder mergeFrom(Field.IndexConfig other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Field.IndexConfig.Builder>
public Field.IndexConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Field.IndexConfig.Builder>
IOException
public List<Index> getIndexesList()
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
getIndexesList
in interface Field.IndexConfigOrBuilder
public int getIndexesCount()
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
getIndexesCount
in interface Field.IndexConfigOrBuilder
public Index getIndexes(int index)
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
getIndexes
in interface Field.IndexConfigOrBuilder
public Field.IndexConfig.Builder setIndexes(int index, Index value)
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
public Field.IndexConfig.Builder setIndexes(int index, Index.Builder builderForValue)
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
public Field.IndexConfig.Builder addIndexes(Index value)
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
public Field.IndexConfig.Builder addIndexes(int index, Index value)
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
public Field.IndexConfig.Builder addIndexes(Index.Builder builderForValue)
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
public Field.IndexConfig.Builder addIndexes(int index, Index.Builder builderForValue)
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
public Field.IndexConfig.Builder addAllIndexes(Iterable<? extends Index> values)
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
public Field.IndexConfig.Builder clearIndexes()
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
public Field.IndexConfig.Builder removeIndexes(int index)
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
public Index.Builder getIndexesBuilder(int index)
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
public IndexOrBuilder getIndexesOrBuilder(int index)
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
getIndexesOrBuilder
in interface Field.IndexConfigOrBuilder
public List<? extends IndexOrBuilder> getIndexesOrBuilderList()
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
getIndexesOrBuilderList
in interface Field.IndexConfigOrBuilder
public Index.Builder addIndexesBuilder()
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
public Index.Builder addIndexesBuilder(int index)
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
public List<Index.Builder> getIndexesBuilderList()
The indexes supported for this field.
repeated .google.firestore.admin.v1.Index indexes = 1;
public 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;
getUsesAncestorConfig
in interface Field.IndexConfigOrBuilder
public Field.IndexConfig.Builder setUsesAncestorConfig(boolean value)
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;
value
- The usesAncestorConfig to set.public Field.IndexConfig.Builder clearUsesAncestorConfig()
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;
public 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;
getAncestorField
in interface Field.IndexConfigOrBuilder
public com.google.protobuf.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;
getAncestorFieldBytes
in interface Field.IndexConfigOrBuilder
public Field.IndexConfig.Builder setAncestorField(String value)
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;
value
- The ancestorField to set.public Field.IndexConfig.Builder clearAncestorField()
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;
public Field.IndexConfig.Builder setAncestorFieldBytes(com.google.protobuf.ByteString value)
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;
value
- The bytes for ancestorField to set.public 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;
getReverting
in interface Field.IndexConfigOrBuilder
public Field.IndexConfig.Builder setReverting(boolean value)
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;
value
- The reverting to set.public Field.IndexConfig.Builder clearReverting()
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;
public final Field.IndexConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Field.IndexConfig.Builder>
public final Field.IndexConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Field.IndexConfig.Builder>
Copyright © 2023 Google LLC. All rights reserved.