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 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=114
         deprecated 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.