Package io.milvus.grpc
Interface CollectionSchemaOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CollectionSchema,CollectionSchema.Builder
public interface CollectionSchemaOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleangetAutoID()Deprecated.milvus.proto.schema.CollectionSchema.autoID is deprecated.StringgetDbName()string dbName = 8;com.google.protobuf.ByteStringgetDbNameBytes()string dbName = 8;StringgetDescription()string description = 2;com.google.protobuf.ByteStringgetDescriptionBytes()string description = 2;booleangetDoPhysicalBackfill()bool do_physical_backfill = 13;booleangetEnableDynamicField()mark whether this table has the dynamic field function enabled.booleangetEnableNamespace()bool enable_namespace = 15;StringgetExternalSource()0 when the collection is created or the collection schema is updated before 2.6.5.com.google.protobuf.ByteStringgetExternalSourceBytes()0 when the collection is created or the collection schema is updated before 2.6.5.StringgetExternalSpec()string external_spec = 12;com.google.protobuf.ByteStringgetExternalSpecBytes()string external_spec = 12;FieldSchemagetFields(int index)repeated .milvus.proto.schema.FieldSchema fields = 4;intgetFieldsCount()repeated .milvus.proto.schema.FieldSchema fields = 4;List<FieldSchema>getFieldsList()repeated .milvus.proto.schema.FieldSchema fields = 4;FieldSchemaOrBuildergetFieldsOrBuilder(int index)repeated .milvus.proto.schema.FieldSchema fields = 4;List<? extends FieldSchemaOrBuilder>getFieldsOrBuilderList()repeated .milvus.proto.schema.FieldSchema fields = 4;longgetFileResourceIds(int index)repeated int64 file_resource_ids = 14;intgetFileResourceIdsCount()repeated int64 file_resource_ids = 14;List<Long>getFileResourceIdsList()repeated int64 file_resource_ids = 14;FunctionSchemagetFunctions(int index)repeated .milvus.proto.schema.FunctionSchema functions = 7;intgetFunctionsCount()repeated .milvus.proto.schema.FunctionSchema functions = 7;List<FunctionSchema>getFunctionsList()repeated .milvus.proto.schema.FunctionSchema functions = 7;FunctionSchemaOrBuildergetFunctionsOrBuilder(int index)repeated .milvus.proto.schema.FunctionSchema functions = 7;List<? extends FunctionSchemaOrBuilder>getFunctionsOrBuilderList()repeated .milvus.proto.schema.FunctionSchema functions = 7;StringgetName()string name = 1;com.google.protobuf.ByteStringgetNameBytes()string name = 1;KeyValuePairgetProperties(int index)repeated .milvus.proto.common.KeyValuePair properties = 6;intgetPropertiesCount()repeated .milvus.proto.common.KeyValuePair properties = 6;List<KeyValuePair>getPropertiesList()repeated .milvus.proto.common.KeyValuePair properties = 6;KeyValuePairOrBuildergetPropertiesOrBuilder(int index)repeated .milvus.proto.common.KeyValuePair properties = 6;List<? extends KeyValuePairOrBuilder>getPropertiesOrBuilderList()repeated .milvus.proto.common.KeyValuePair properties = 6;StructArrayFieldSchemagetStructArrayFields(int index)repeated .milvus.proto.schema.StructArrayFieldSchema struct_array_fields = 9;intgetStructArrayFieldsCount()repeated .milvus.proto.schema.StructArrayFieldSchema struct_array_fields = 9;List<StructArrayFieldSchema>getStructArrayFieldsList()repeated .milvus.proto.schema.StructArrayFieldSchema struct_array_fields = 9;StructArrayFieldSchemaOrBuildergetStructArrayFieldsOrBuilder(int index)repeated .milvus.proto.schema.StructArrayFieldSchema struct_array_fields = 9;List<? extends StructArrayFieldSchemaOrBuilder>getStructArrayFieldsOrBuilderList()repeated .milvus.proto.schema.StructArrayFieldSchema struct_array_fields = 9;intgetVersion()The version of current collection schema updates, increment every time the schema content is updating,-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
string name = 1;- Returns:
- The bytes for name.
-
getDescription
String getDescription()
string description = 2;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
string description = 2;- Returns:
- The bytes for description.
-
getAutoID
@Deprecated boolean getAutoID()
Deprecated.milvus.proto.schema.CollectionSchema.autoID is deprecated. See schema.proto;l=114deprecated later, keep compatible with c++ part now
bool autoID = 3 [deprecated = true];- Returns:
- The autoID.
-
getFieldsList
List<FieldSchema> getFieldsList()
repeated .milvus.proto.schema.FieldSchema fields = 4;
-
getFields
FieldSchema getFields(int index)
repeated .milvus.proto.schema.FieldSchema fields = 4;
-
getFieldsCount
int getFieldsCount()
repeated .milvus.proto.schema.FieldSchema fields = 4;
-
getFieldsOrBuilderList
List<? extends FieldSchemaOrBuilder> getFieldsOrBuilderList()
repeated .milvus.proto.schema.FieldSchema fields = 4;
-
getFieldsOrBuilder
FieldSchemaOrBuilder getFieldsOrBuilder(int index)
repeated .milvus.proto.schema.FieldSchema fields = 4;
-
getEnableDynamicField
boolean getEnableDynamicField()
mark whether this table has the dynamic field function enabled.
bool enable_dynamic_field = 5;- Returns:
- The enableDynamicField.
-
getPropertiesList
List<KeyValuePair> getPropertiesList()
repeated .milvus.proto.common.KeyValuePair properties = 6;
-
getProperties
KeyValuePair getProperties(int index)
repeated .milvus.proto.common.KeyValuePair properties = 6;
-
getPropertiesCount
int getPropertiesCount()
repeated .milvus.proto.common.KeyValuePair properties = 6;
-
getPropertiesOrBuilderList
List<? extends KeyValuePairOrBuilder> getPropertiesOrBuilderList()
repeated .milvus.proto.common.KeyValuePair properties = 6;
-
getPropertiesOrBuilder
KeyValuePairOrBuilder getPropertiesOrBuilder(int index)
repeated .milvus.proto.common.KeyValuePair properties = 6;
-
getFunctionsList
List<FunctionSchema> getFunctionsList()
repeated .milvus.proto.schema.FunctionSchema functions = 7;
-
getFunctions
FunctionSchema getFunctions(int index)
repeated .milvus.proto.schema.FunctionSchema functions = 7;
-
getFunctionsCount
int getFunctionsCount()
repeated .milvus.proto.schema.FunctionSchema functions = 7;
-
getFunctionsOrBuilderList
List<? extends FunctionSchemaOrBuilder> getFunctionsOrBuilderList()
repeated .milvus.proto.schema.FunctionSchema functions = 7;
-
getFunctionsOrBuilder
FunctionSchemaOrBuilder getFunctionsOrBuilder(int index)
repeated .milvus.proto.schema.FunctionSchema functions = 7;
-
getDbName
String getDbName()
string dbName = 8;- Returns:
- The dbName.
-
getDbNameBytes
com.google.protobuf.ByteString getDbNameBytes()
string dbName = 8;- Returns:
- The bytes for dbName.
-
getStructArrayFieldsList
List<StructArrayFieldSchema> getStructArrayFieldsList()
repeated .milvus.proto.schema.StructArrayFieldSchema struct_array_fields = 9;
-
getStructArrayFields
StructArrayFieldSchema getStructArrayFields(int index)
repeated .milvus.proto.schema.StructArrayFieldSchema struct_array_fields = 9;
-
getStructArrayFieldsCount
int getStructArrayFieldsCount()
repeated .milvus.proto.schema.StructArrayFieldSchema struct_array_fields = 9;
-
getStructArrayFieldsOrBuilderList
List<? extends StructArrayFieldSchemaOrBuilder> getStructArrayFieldsOrBuilderList()
repeated .milvus.proto.schema.StructArrayFieldSchema struct_array_fields = 9;
-
getStructArrayFieldsOrBuilder
StructArrayFieldSchemaOrBuilder getStructArrayFieldsOrBuilder(int index)
repeated .milvus.proto.schema.StructArrayFieldSchema struct_array_fields = 9;
-
getVersion
int getVersion()
The version of current collection schema updates, increment every time the schema content is updating,
int32 version = 10;- Returns:
- The version.
-
getExternalSource
String getExternalSource()
0 when the collection is created or the collection schema is updated before 2.6.5. the name dbName and description take no effect to it.
string external_source = 11;- Returns:
- The externalSource.
-
getExternalSourceBytes
com.google.protobuf.ByteString getExternalSourceBytes()
0 when the collection is created or the collection schema is updated before 2.6.5. the name dbName and description take no effect to it.
string external_source = 11;- Returns:
- The bytes for externalSource.
-
getExternalSpec
String getExternalSpec()
string external_spec = 12;- Returns:
- The externalSpec.
-
getExternalSpecBytes
com.google.protobuf.ByteString getExternalSpecBytes()
string external_spec = 12;- Returns:
- The bytes for externalSpec.
-
getDoPhysicalBackfill
boolean getDoPhysicalBackfill()
bool do_physical_backfill = 13;- Returns:
- The doPhysicalBackfill.
-
getFileResourceIdsList
List<Long> getFileResourceIdsList()
repeated int64 file_resource_ids = 14;- Returns:
- A list containing the fileResourceIds.
-
getFileResourceIdsCount
int getFileResourceIdsCount()
repeated int64 file_resource_ids = 14;- Returns:
- The count of fileResourceIds.
-
getFileResourceIds
long getFileResourceIds(int index)
repeated int64 file_resource_ids = 14;- Parameters:
index- The index of the element to return.- Returns:
- The fileResourceIds at the given index.
-
getEnableNamespace
boolean getEnableNamespace()
bool enable_namespace = 15;- Returns:
- The enableNamespace.
-
-