Package io.milvus.grpc
Interface FieldSchemaOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FieldSchema,FieldSchema.Builder
public interface FieldSchemaOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbool autoID = 8;.milvus.proto.schema.DataType data_type = 5;int.milvus.proto.schema.DataType data_type = 5;default_value only support scalars except array and json for nowdefault_value only support scalars except array and json for nowstring description = 4;com.google.protobuf.ByteStringstring description = 4;state is `Created`.intstate is `Created`.longint64 fieldID = 1;getIndexParams(int index) repeated .milvus.proto.common.KeyValuePair index_params = 7;intrepeated .milvus.proto.common.KeyValuePair index_params = 7;repeated .milvus.proto.common.KeyValuePair index_params = 7;getIndexParamsOrBuilder(int index) repeated .milvus.proto.common.KeyValuePair index_params = 7;List<? extends KeyValuePairOrBuilder> repeated .milvus.proto.common.KeyValuePair index_params = 7;booleanbool is_clustering_key = 14;booleanmark whether this field is the dynamic fieldbooleanenable logic partitionsbooleanbool is_primary_key = 3;getName()string name = 2;com.google.protobuf.ByteStringstring name = 2;getState()To keep compatible with older version, the defaultintTo keep compatible with older version, the defaultgetTypeParams(int index) repeated .milvus.proto.common.KeyValuePair type_params = 6;intrepeated .milvus.proto.common.KeyValuePair type_params = 6;repeated .milvus.proto.common.KeyValuePair type_params = 6;getTypeParamsOrBuilder(int index) repeated .milvus.proto.common.KeyValuePair type_params = 6;List<? extends KeyValuePairOrBuilder> repeated .milvus.proto.common.KeyValuePair type_params = 6;booleandefault_value only support scalars except array and json for nowMethods 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
-
getFieldID
long getFieldID()int64 fieldID = 1;- Returns:
- The fieldID.
-
getName
String getName()string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 2;- Returns:
- The bytes for name.
-
getIsPrimaryKey
boolean getIsPrimaryKey()bool is_primary_key = 3;- Returns:
- The isPrimaryKey.
-
getDescription
String getDescription()string description = 4;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()string description = 4;- Returns:
- The bytes for description.
-
getDataTypeValue
int getDataTypeValue().milvus.proto.schema.DataType data_type = 5;- Returns:
- The enum numeric value on the wire for dataType.
-
getDataType
DataType getDataType().milvus.proto.schema.DataType data_type = 5;- Returns:
- The dataType.
-
getTypeParamsList
List<KeyValuePair> getTypeParamsList()repeated .milvus.proto.common.KeyValuePair type_params = 6; -
getTypeParams
repeated .milvus.proto.common.KeyValuePair type_params = 6; -
getTypeParamsCount
int getTypeParamsCount()repeated .milvus.proto.common.KeyValuePair type_params = 6; -
getTypeParamsOrBuilderList
List<? extends KeyValuePairOrBuilder> getTypeParamsOrBuilderList()repeated .milvus.proto.common.KeyValuePair type_params = 6; -
getTypeParamsOrBuilder
repeated .milvus.proto.common.KeyValuePair type_params = 6; -
getIndexParamsList
List<KeyValuePair> getIndexParamsList()repeated .milvus.proto.common.KeyValuePair index_params = 7; -
getIndexParams
repeated .milvus.proto.common.KeyValuePair index_params = 7; -
getIndexParamsCount
int getIndexParamsCount()repeated .milvus.proto.common.KeyValuePair index_params = 7; -
getIndexParamsOrBuilderList
List<? extends KeyValuePairOrBuilder> getIndexParamsOrBuilderList()repeated .milvus.proto.common.KeyValuePair index_params = 7; -
getIndexParamsOrBuilder
repeated .milvus.proto.common.KeyValuePair index_params = 7; -
getAutoID
boolean getAutoID()bool autoID = 8;- Returns:
- The autoID.
-
getStateValue
int getStateValue()To keep compatible with older version, the default
.milvus.proto.schema.FieldState state = 9;- Returns:
- The enum numeric value on the wire for state.
-
getState
FieldState getState()To keep compatible with older version, the default
.milvus.proto.schema.FieldState state = 9;- Returns:
- The state.
-
getElementTypeValue
int getElementTypeValue()state is `Created`.
.milvus.proto.schema.DataType element_type = 10;- Returns:
- The enum numeric value on the wire for elementType.
-
getElementType
DataType getElementType()state is `Created`.
.milvus.proto.schema.DataType element_type = 10;- Returns:
- The elementType.
-
hasDefaultValue
boolean hasDefaultValue()default_value only support scalars except array and json for now
.milvus.proto.schema.ValueField default_value = 11;- Returns:
- Whether the defaultValue field is set.
-
getDefaultValue
ValueField getDefaultValue()default_value only support scalars except array and json for now
.milvus.proto.schema.ValueField default_value = 11;- Returns:
- The defaultValue.
-
getDefaultValueOrBuilder
ValueFieldOrBuilder getDefaultValueOrBuilder()default_value only support scalars except array and json for now
.milvus.proto.schema.ValueField default_value = 11; -
getIsDynamic
boolean getIsDynamic()mark whether this field is the dynamic field
bool is_dynamic = 12;- Returns:
- The isDynamic.
-
getIsPartitionKey
boolean getIsPartitionKey()enable logic partitions
bool is_partition_key = 13;- Returns:
- The isPartitionKey.
-
getIsClusteringKey
boolean getIsClusteringKey()bool is_clustering_key = 14;- Returns:
- The isClusteringKey.
-