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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetAutoID()bool autoID = 8;DataTypegetDataType().milvus.proto.schema.DataType data_type = 5;intgetDataTypeValue().milvus.proto.schema.DataType data_type = 5;ValueFieldgetDefaultValue()default_value only support scalars except array and json for nowValueFieldOrBuildergetDefaultValueOrBuilder()default_value only support scalars except array and json for nowStringgetDescription()string description = 4;com.google.protobuf.ByteStringgetDescriptionBytes()string description = 4;DataTypegetElementType()state is `Created`.intgetElementTypeValue()state is `Created`.longgetFieldID()int64 fieldID = 1;KeyValuePairgetIndexParams(int index)repeated .milvus.proto.common.KeyValuePair index_params = 7;intgetIndexParamsCount()repeated .milvus.proto.common.KeyValuePair index_params = 7;List<KeyValuePair>getIndexParamsList()repeated .milvus.proto.common.KeyValuePair index_params = 7;KeyValuePairOrBuildergetIndexParamsOrBuilder(int index)repeated .milvus.proto.common.KeyValuePair index_params = 7;List<? extends KeyValuePairOrBuilder>getIndexParamsOrBuilderList()repeated .milvus.proto.common.KeyValuePair index_params = 7;booleangetIsDynamic()mark whether this field is the dynamic fieldbooleangetIsPartitionKey()enable logic partitionsbooleangetIsPrimaryKey()bool is_primary_key = 3;StringgetName()string name = 2;com.google.protobuf.ByteStringgetNameBytes()string name = 2;FieldStategetState()To keep compatible with older version, the defaultintgetStateValue()To keep compatible with older version, the defaultKeyValuePairgetTypeParams(int index)repeated .milvus.proto.common.KeyValuePair type_params = 6;intgetTypeParamsCount()repeated .milvus.proto.common.KeyValuePair type_params = 6;List<KeyValuePair>getTypeParamsList()repeated .milvus.proto.common.KeyValuePair type_params = 6;KeyValuePairOrBuildergetTypeParamsOrBuilder(int index)repeated .milvus.proto.common.KeyValuePair type_params = 6;List<? extends KeyValuePairOrBuilder>getTypeParamsOrBuilderList()repeated .milvus.proto.common.KeyValuePair type_params = 6;booleanhasDefaultValue()default_value only support scalars except array and json for now-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
KeyValuePair getTypeParams(int index)
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
KeyValuePairOrBuilder getTypeParamsOrBuilder(int index)
repeated .milvus.proto.common.KeyValuePair type_params = 6;
-
getIndexParamsList
List<KeyValuePair> getIndexParamsList()
repeated .milvus.proto.common.KeyValuePair index_params = 7;
-
getIndexParams
KeyValuePair getIndexParams(int index)
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
KeyValuePairOrBuilder getIndexParamsOrBuilder(int index)
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.
-
-