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

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
    milvus.proto.schema.CollectionSchema.autoID is deprecated.
    string description = 2;
    com.google.protobuf.ByteString
    string description = 2;
    boolean
    mark whether this table has the dynamic field function enabled.
    getFields(int index)
    repeated .milvus.proto.schema.FieldSchema fields = 4;
    int
    repeated .milvus.proto.schema.FieldSchema fields = 4;
    repeated .milvus.proto.schema.FieldSchema fields = 4;
    getFieldsOrBuilder(int index)
    repeated .milvus.proto.schema.FieldSchema fields = 4;
    repeated .milvus.proto.schema.FieldSchema fields = 4;
    string name = 1;
    com.google.protobuf.ByteString
    string name = 1;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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=71
       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.