Package io.milvus.grpc
Interface FieldDataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FieldData,FieldData.Builder
public interface FieldDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongint64 field_id = 5;string field_name = 2;com.google.protobuf.ByteStringstring field_name = 2;booleanbool is_dynamic = 6;.milvus.proto.schema.ScalarField scalars = 3;.milvus.proto.schema.ScalarField scalars = 3;.milvus.proto.schema.StructArrayField struct_arrays = 8;.milvus.proto.schema.StructArrayField struct_arrays = 8;getType().milvus.proto.schema.DataType type = 1;int.milvus.proto.schema.DataType type = 1;booleangetValidData(int index) repeated bool valid_data = 7;intrepeated bool valid_data = 7;repeated bool valid_data = 7;.milvus.proto.schema.VectorField vectors = 4;.milvus.proto.schema.VectorField vectors = 4;boolean.milvus.proto.schema.ScalarField scalars = 3;boolean.milvus.proto.schema.StructArrayField struct_arrays = 8;boolean.milvus.proto.schema.VectorField vectors = 4;Methods 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
-
getTypeValue
int getTypeValue().milvus.proto.schema.DataType type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
DataType getType().milvus.proto.schema.DataType type = 1;- Returns:
- The type.
-
getFieldName
String getFieldName()string field_name = 2;- Returns:
- The fieldName.
-
getFieldNameBytes
com.google.protobuf.ByteString getFieldNameBytes()string field_name = 2;- Returns:
- The bytes for fieldName.
-
hasScalars
boolean hasScalars().milvus.proto.schema.ScalarField scalars = 3;- Returns:
- Whether the scalars field is set.
-
getScalars
ScalarField getScalars().milvus.proto.schema.ScalarField scalars = 3;- Returns:
- The scalars.
-
getScalarsOrBuilder
ScalarFieldOrBuilder getScalarsOrBuilder().milvus.proto.schema.ScalarField scalars = 3; -
hasVectors
boolean hasVectors().milvus.proto.schema.VectorField vectors = 4;- Returns:
- Whether the vectors field is set.
-
getVectors
VectorField getVectors().milvus.proto.schema.VectorField vectors = 4;- Returns:
- The vectors.
-
getVectorsOrBuilder
VectorFieldOrBuilder getVectorsOrBuilder().milvus.proto.schema.VectorField vectors = 4; -
hasStructArrays
boolean hasStructArrays().milvus.proto.schema.StructArrayField struct_arrays = 8;- Returns:
- Whether the structArrays field is set.
-
getStructArrays
StructArrayField getStructArrays().milvus.proto.schema.StructArrayField struct_arrays = 8;- Returns:
- The structArrays.
-
getStructArraysOrBuilder
StructArrayFieldOrBuilder getStructArraysOrBuilder().milvus.proto.schema.StructArrayField struct_arrays = 8; -
getFieldId
long getFieldId()int64 field_id = 5;- Returns:
- The fieldId.
-
getIsDynamic
boolean getIsDynamic()bool is_dynamic = 6;- Returns:
- The isDynamic.
-
getValidDataList
repeated bool valid_data = 7;- Returns:
- A list containing the validData.
-
getValidDataCount
int getValidDataCount()repeated bool valid_data = 7;- Returns:
- The count of validData.
-
getValidData
boolean getValidData(int index) repeated bool valid_data = 7;- Parameters:
index- The index of the element to return.- Returns:
- The validData at the given index.
-
getFieldCase
FieldData.FieldCase getFieldCase()
-