Package com.google.firestore.admin.v1
Interface Index.IndexFieldOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Index.IndexField,Index.IndexField.Builder
- Enclosing class:
- Index
public static interface Index.IndexFieldOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIndicates that this field supports operations on `array_value`s.intIndicates that this field supports operations on `array_value`s.Can be __name__.com.google.protobuf.ByteStringCan be __name__.getOrder()Indicates that this field supports ordering by the specified order or comparing using =, !intIndicates that this field supports ordering by the specified order or comparing using =, !Indicates that this field supports nearest neighbor and distance operations on vector.Indicates that this field supports nearest neighbor and distance operations on vector.booleanIndicates that this field supports operations on `array_value`s.booleanhasOrder()Indicates that this field supports ordering by the specified order or comparing using =, !booleanIndicates that this field supports nearest neighbor and distance operations on vector.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFieldPath
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;- Returns:
- The fieldPath.
-
getFieldPathBytes
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;- Returns:
- The bytes for fieldPath.
-
hasOrder
boolean hasOrder()Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.
.google.firestore.admin.v1.Index.IndexField.Order order = 2;- Returns:
- Whether the order field is set.
-
getOrderValue
int getOrderValue()Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.
.google.firestore.admin.v1.Index.IndexField.Order order = 2;- Returns:
- The enum numeric value on the wire for order.
-
getOrder
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;- Returns:
- The order.
-
hasArrayConfig
boolean hasArrayConfig()Indicates that this field supports operations on `array_value`s.
.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;- Returns:
- Whether the arrayConfig field is set.
-
getArrayConfigValue
int getArrayConfigValue()Indicates that this field supports operations on `array_value`s.
.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;- Returns:
- The enum numeric value on the wire for arrayConfig.
-
getArrayConfig
Index.IndexField.ArrayConfig getArrayConfig()Indicates that this field supports operations on `array_value`s.
.google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3;- Returns:
- The arrayConfig.
-
hasVectorConfig
boolean hasVectorConfig()Indicates that this field supports nearest neighbor and distance operations on vector.
.google.firestore.admin.v1.Index.IndexField.VectorConfig vector_config = 4;- Returns:
- Whether the vectorConfig field is set.
-
getVectorConfig
Index.IndexField.VectorConfig getVectorConfig()Indicates that this field supports nearest neighbor and distance operations on vector.
.google.firestore.admin.v1.Index.IndexField.VectorConfig vector_config = 4;- Returns:
- The vectorConfig.
-
getVectorConfigOrBuilder
Index.IndexField.VectorConfigOrBuilder getVectorConfigOrBuilder()Indicates that this field supports nearest neighbor and distance operations on vector.
.google.firestore.admin.v1.Index.IndexField.VectorConfig vector_config = 4; -
getValueModeCase
Index.IndexField.ValueModeCase getValueModeCase()
-