public static final class Index.IndexField.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Index.IndexField.Builder> implements Index.IndexFieldOrBuilder
A field in an index. The field_path describes which field is indexed, the value_mode describes how the field value is indexed.Protobuf type
google.firestore.admin.v1.Index.IndexField
Modifier and Type | Method and Description |
---|---|
Index.IndexField.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Index.IndexField |
build() |
Index.IndexField |
buildPartial() |
Index.IndexField.Builder |
clear() |
Index.IndexField.Builder |
clearArrayConfig()
Indicates that this field supports operations on `array_value`s.
|
Index.IndexField.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Index.IndexField.Builder |
clearFieldPath()
Can be __name__.
|
Index.IndexField.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Index.IndexField.Builder |
clearOrder()
Indicates that this field supports ordering by the specified order or
comparing using =, !=, <, <=, >, >=.
|
Index.IndexField.Builder |
clearValueMode() |
Index.IndexField.Builder |
clone() |
Index.IndexField.ArrayConfig |
getArrayConfig()
Indicates that this field supports operations on `array_value`s.
|
int |
getArrayConfigValue()
Indicates that this field supports operations on `array_value`s.
|
Index.IndexField |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFieldPath()
Can be __name__.
|
com.google.protobuf.ByteString |
getFieldPathBytes()
Can be __name__.
|
Index.IndexField.Order |
getOrder()
Indicates that this field supports ordering by the specified order or
comparing using =, !=, <, <=, >, >=.
|
int |
getOrderValue()
Indicates that this field supports ordering by the specified order or
comparing using =, !=, <, <=, >, >=.
|
Index.IndexField.ValueModeCase |
getValueModeCase() |
boolean |
hasArrayConfig()
Indicates that this field supports operations on `array_value`s.
|
boolean |
hasOrder()
Indicates that this field supports ordering by the specified order or
comparing using =, !=, <, <=, >, >=.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Index.IndexField.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Index.IndexField.Builder |
mergeFrom(Index.IndexField other) |
Index.IndexField.Builder |
mergeFrom(com.google.protobuf.Message other) |
Index.IndexField.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Index.IndexField.Builder |
setArrayConfig(Index.IndexField.ArrayConfig value)
Indicates that this field supports operations on `array_value`s.
|
Index.IndexField.Builder |
setArrayConfigValue(int value)
Indicates that this field supports operations on `array_value`s.
|
Index.IndexField.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Index.IndexField.Builder |
setFieldPath(String value)
Can be __name__.
|
Index.IndexField.Builder |
setFieldPathBytes(com.google.protobuf.ByteString value)
Can be __name__.
|
Index.IndexField.Builder |
setOrder(Index.IndexField.Order value)
Indicates that this field supports ordering by the specified order or
comparing using =, !=, <, <=, >, >=.
|
Index.IndexField.Builder |
setOrderValue(int value)
Indicates that this field supports ordering by the specified order or
comparing using =, !=, <, <=, >, >=.
|
Index.IndexField.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Index.IndexField.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<Index.IndexField.Builder>
public Index.IndexField.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<Index.IndexField.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<Index.IndexField.Builder>
public Index.IndexField getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Index.IndexField build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Index.IndexField buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Index.IndexField.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<Index.IndexField.Builder>
public Index.IndexField.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<Index.IndexField.Builder>
public Index.IndexField.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Index.IndexField.Builder>
public Index.IndexField.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Index.IndexField.Builder>
public Index.IndexField.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<Index.IndexField.Builder>
public Index.IndexField.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<Index.IndexField.Builder>
public Index.IndexField.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Index.IndexField.Builder>
public Index.IndexField.Builder mergeFrom(Index.IndexField other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Index.IndexField.Builder>
public Index.IndexField.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<Index.IndexField.Builder>
IOException
public Index.IndexField.ValueModeCase getValueModeCase()
getValueModeCase
in interface Index.IndexFieldOrBuilder
public Index.IndexField.Builder clearValueMode()
public String getFieldPath()
Can be __name__. For single field indexes, this must match the name of the field or may be omitted.
string field_path = 1;
getFieldPath
in interface Index.IndexFieldOrBuilder
public com.google.protobuf.ByteString getFieldPathBytes()
Can be __name__. For single field indexes, this must match the name of the field or may be omitted.
string field_path = 1;
getFieldPathBytes
in interface Index.IndexFieldOrBuilder
public Index.IndexField.Builder setFieldPath(String value)
Can be __name__. For single field indexes, this must match the name of the field or may be omitted.
string field_path = 1;
value
- The fieldPath to set.public Index.IndexField.Builder clearFieldPath()
Can be __name__. For single field indexes, this must match the name of the field or may be omitted.
string field_path = 1;
public Index.IndexField.Builder setFieldPathBytes(com.google.protobuf.ByteString value)
Can be __name__. For single field indexes, this must match the name of the field or may be omitted.
string field_path = 1;
value
- The bytes for fieldPath to set.public boolean hasOrder()
Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.
.google.firestore.admin.v1.Index.IndexField.Order order = 2;
hasOrder
in interface Index.IndexFieldOrBuilder
public int getOrderValue()
Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.
.google.firestore.admin.v1.Index.IndexField.Order order = 2;
getOrderValue
in interface Index.IndexFieldOrBuilder
public Index.IndexField.Builder setOrderValue(int value)
Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.
.google.firestore.admin.v1.Index.IndexField.Order order = 2;
value
- The enum numeric value on the wire for order to set.public Index.IndexField.Order getOrder()
Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.
.google.firestore.admin.v1.Index.IndexField.Order order = 2;
getOrder
in interface Index.IndexFieldOrBuilder
public Index.IndexField.Builder setOrder(Index.IndexField.Order value)
Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.
.google.firestore.admin.v1.Index.IndexField.Order order = 2;
value
- The order to set.public Index.IndexField.Builder clearOrder()
Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.
.google.firestore.admin.v1.Index.IndexField.Order order = 2;
public boolean hasArrayConfig()
Indicates that this field supports operations on `array_value`s.
.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;
hasArrayConfig
in interface Index.IndexFieldOrBuilder
public int getArrayConfigValue()
Indicates that this field supports operations on `array_value`s.
.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;
getArrayConfigValue
in interface Index.IndexFieldOrBuilder
public Index.IndexField.Builder setArrayConfigValue(int value)
Indicates that this field supports operations on `array_value`s.
.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;
value
- The enum numeric value on the wire for arrayConfig to set.public Index.IndexField.ArrayConfig getArrayConfig()
Indicates that this field supports operations on `array_value`s.
.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;
getArrayConfig
in interface Index.IndexFieldOrBuilder
public Index.IndexField.Builder setArrayConfig(Index.IndexField.ArrayConfig value)
Indicates that this field supports operations on `array_value`s.
.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;
value
- The arrayConfig to set.public Index.IndexField.Builder clearArrayConfig()
Indicates that this field supports operations on `array_value`s.
.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;
public final Index.IndexField.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Index.IndexField.Builder>
public final Index.IndexField.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Index.IndexField.Builder>
Copyright © 2023 Google LLC. All rights reserved.