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;StringgetDescription()string description = 4;com.google.protobuf.ByteStringgetDescriptionBytes()string description = 4;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;booleangetIsPrimaryKey()bool is_primary_key = 3;StringgetName()string name = 2;com.google.protobuf.ByteStringgetNameBytes()string name = 2;FieldStategetState()To keep compatible with older version, the default state is `Created`.intgetStateValue()To keep compatible with older version, the default state is `Created`.KeyValuePairgetTypeParams(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;-
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 state is `Created`.
.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 state is `Created`.
.milvus.proto.schema.FieldState state = 9;- Returns:
- The state.
-
-