io.milvus.grpc.SchemaProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of milvus-sdk-java Show documentation
Show all versions of milvus-sdk-java Show documentation
Java SDK for Milvus, a distributed high-performance vector database.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: schema.proto
package io.milvus.grpc;
public final class SchemaProto {
private SchemaProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_FieldSchema_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_FieldSchema_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_CollectionSchema_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_CollectionSchema_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_BoolArray_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_BoolArray_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_IntArray_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_IntArray_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_LongArray_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_LongArray_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_FloatArray_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_FloatArray_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_DoubleArray_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_DoubleArray_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_BytesArray_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_BytesArray_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_StringArray_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_StringArray_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_ArrayArray_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_ArrayArray_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_JSONArray_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_JSONArray_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_ValueField_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_ValueField_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_ScalarField_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_ScalarField_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_VectorField_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_VectorField_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_FieldData_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_FieldData_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_IDs_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_IDs_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_schema_SearchResultData_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_schema_SearchResultData_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\014schema.proto\022\023milvus.proto.schema\032\014com" +
"mon.proto\032 google/protobuf/descriptor.pr" +
"oto\"\327\003\n\013FieldSchema\022\017\n\007fieldID\030\001 \001(\003\022\014\n\004" +
"name\030\002 \001(\t\022\026\n\016is_primary_key\030\003 \001(\010\022\023\n\013de" +
"scription\030\004 \001(\t\0220\n\tdata_type\030\005 \001(\0162\035.mil" +
"vus.proto.schema.DataType\0226\n\013type_params" +
"\030\006 \003(\0132!.milvus.proto.common.KeyValuePai" +
"r\0227\n\014index_params\030\007 \003(\0132!.milvus.proto.c" +
"ommon.KeyValuePair\022\016\n\006autoID\030\010 \001(\010\022.\n\005st" +
"ate\030\t \001(\0162\037.milvus.proto.schema.FieldSta" +
"te\0223\n\014element_type\030\n \001(\0162\035.milvus.proto." +
"schema.DataType\0226\n\rdefault_value\030\013 \001(\0132\037" +
".milvus.proto.schema.ValueField\022\022\n\nis_dy" +
"namic\030\014 \001(\010\022\030\n\020is_partition_key\030\r \001(\010\"\231\001" +
"\n\020CollectionSchema\022\014\n\004name\030\001 \001(\t\022\023\n\013desc" +
"ription\030\002 \001(\t\022\022\n\006autoID\030\003 \001(\010B\002\030\001\0220\n\006fie" +
"lds\030\004 \003(\0132 .milvus.proto.schema.FieldSch" +
"ema\022\034\n\024enable_dynamic_field\030\005 \001(\010\"\031\n\tBoo" +
"lArray\022\014\n\004data\030\001 \003(\010\"\030\n\010IntArray\022\014\n\004data" +
"\030\001 \003(\005\"\031\n\tLongArray\022\014\n\004data\030\001 \003(\003\"\032\n\nFlo" +
"atArray\022\014\n\004data\030\001 \003(\002\"\033\n\013DoubleArray\022\014\n\004" +
"data\030\001 \003(\001\"\032\n\nBytesArray\022\014\n\004data\030\001 \003(\014\"\033" +
"\n\013StringArray\022\014\n\004data\030\001 \003(\t\"q\n\nArrayArra" +
"y\022.\n\004data\030\001 \003(\0132 .milvus.proto.schema.Sc" +
"alarField\0223\n\014element_type\030\002 \001(\0162\035.milvus" +
".proto.schema.DataType\"\031\n\tJSONArray\022\014\n\004d" +
"ata\030\001 \003(\014\"\254\001\n\nValueField\022\023\n\tbool_data\030\001 " +
"\001(\010H\000\022\022\n\010int_data\030\002 \001(\005H\000\022\023\n\tlong_data\030\003" +
" \001(\003H\000\022\024\n\nfloat_data\030\004 \001(\002H\000\022\025\n\013double_d" +
"ata\030\005 \001(\001H\000\022\025\n\013string_data\030\006 \001(\tH\000\022\024\n\nby" +
"tes_data\030\007 \001(\014H\000B\006\n\004data\"\376\003\n\013ScalarField" +
"\0223\n\tbool_data\030\001 \001(\0132\036.milvus.proto.schem" +
"a.BoolArrayH\000\0221\n\010int_data\030\002 \001(\0132\035.milvus" +
".proto.schema.IntArrayH\000\0223\n\tlong_data\030\003 " +
"\001(\0132\036.milvus.proto.schema.LongArrayH\000\0225\n" +
"\nfloat_data\030\004 \001(\0132\037.milvus.proto.schema." +
"FloatArrayH\000\0227\n\013double_data\030\005 \001(\0132 .milv" +
"us.proto.schema.DoubleArrayH\000\0227\n\013string_" +
"data\030\006 \001(\0132 .milvus.proto.schema.StringA" +
"rrayH\000\0225\n\nbytes_data\030\007 \001(\0132\037.milvus.prot" +
"o.schema.BytesArrayH\000\0225\n\narray_data\030\010 \001(" +
"\0132\037.milvus.proto.schema.ArrayArrayH\000\0223\n\t" +
"json_data\030\t \001(\0132\036.milvus.proto.schema.JS" +
"ONArrayH\000B\006\n\004data\"t\n\013VectorField\022\013\n\003dim\030" +
"\001 \001(\003\0227\n\014float_vector\030\002 \001(\0132\037.milvus.pro" +
"to.schema.FloatArrayH\000\022\027\n\rbinary_vector\030" +
"\003 \001(\014H\000B\006\n\004data\"\345\001\n\tFieldData\022+\n\004type\030\001 " +
"\001(\0162\035.milvus.proto.schema.DataType\022\022\n\nfi" +
"eld_name\030\002 \001(\t\0223\n\007scalars\030\003 \001(\0132 .milvus" +
".proto.schema.ScalarFieldH\000\0223\n\007vectors\030\004" +
" \001(\0132 .milvus.proto.schema.VectorFieldH\000" +
"\022\020\n\010field_id\030\005 \001(\003\022\022\n\nis_dynamic\030\006 \001(\010B\007" +
"\n\005field\"w\n\003IDs\0220\n\006int_id\030\001 \001(\0132\036.milvus." +
"proto.schema.LongArrayH\000\0222\n\006str_id\030\002 \001(\013" +
"2 .milvus.proto.schema.StringArrayH\000B\n\n\010" +
"id_field\"\206\002\n\020SearchResultData\022\023\n\013num_que" +
"ries\030\001 \001(\003\022\r\n\005top_k\030\002 \001(\003\0223\n\013fields_data" +
"\030\003 \003(\0132\036.milvus.proto.schema.FieldData\022\016" +
"\n\006scores\030\004 \003(\002\022%\n\003ids\030\005 \001(\0132\030.milvus.pro" +
"to.schema.IDs\022\r\n\005topks\030\006 \003(\003\022\025\n\routput_f" +
"ields\030\007 \003(\t\022<\n\024group_by_field_value\030\010 \001(" +
"\0132\036.milvus.proto.schema.FieldData*\261\001\n\010Da" +
"taType\022\010\n\004None\020\000\022\010\n\004Bool\020\001\022\010\n\004Int8\020\002\022\t\n\005" +
"Int16\020\003\022\t\n\005Int32\020\004\022\t\n\005Int64\020\005\022\t\n\005Float\020\n" +
"\022\n\n\006Double\020\013\022\n\n\006String\020\024\022\013\n\007VarChar\020\025\022\t\n" +
"\005Array\020\026\022\010\n\004JSON\020\027\022\020\n\014BinaryVector\020d\022\017\n\013" +
"FloatVector\020e*V\n\nFieldState\022\020\n\014FieldCrea" +
"ted\020\000\022\021\n\rFieldCreating\020\001\022\021\n\rFieldDroppin" +
"g\020\002\022\020\n\014FieldDropped\020\003Bm\n\016io.milvus.grpcB" +
"\013SchemaProtoP\001Z4github.com/milvus-io/mil" +
"vus-proto/go-api/v2/schemapb\240\001\001\252\002\022Milvus" +
".Client.Grpcb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
io.milvus.grpc.CommonProto.getDescriptor(),
com.google.protobuf.DescriptorProtos.getDescriptor(),
});
internal_static_milvus_proto_schema_FieldSchema_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_milvus_proto_schema_FieldSchema_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_FieldSchema_descriptor,
new java.lang.String[] { "FieldID", "Name", "IsPrimaryKey", "Description", "DataType", "TypeParams", "IndexParams", "AutoID", "State", "ElementType", "DefaultValue", "IsDynamic", "IsPartitionKey", });
internal_static_milvus_proto_schema_CollectionSchema_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_milvus_proto_schema_CollectionSchema_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_CollectionSchema_descriptor,
new java.lang.String[] { "Name", "Description", "AutoID", "Fields", "EnableDynamicField", });
internal_static_milvus_proto_schema_BoolArray_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_milvus_proto_schema_BoolArray_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_BoolArray_descriptor,
new java.lang.String[] { "Data", });
internal_static_milvus_proto_schema_IntArray_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_milvus_proto_schema_IntArray_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_IntArray_descriptor,
new java.lang.String[] { "Data", });
internal_static_milvus_proto_schema_LongArray_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_milvus_proto_schema_LongArray_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_LongArray_descriptor,
new java.lang.String[] { "Data", });
internal_static_milvus_proto_schema_FloatArray_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_milvus_proto_schema_FloatArray_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_FloatArray_descriptor,
new java.lang.String[] { "Data", });
internal_static_milvus_proto_schema_DoubleArray_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_milvus_proto_schema_DoubleArray_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_DoubleArray_descriptor,
new java.lang.String[] { "Data", });
internal_static_milvus_proto_schema_BytesArray_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_milvus_proto_schema_BytesArray_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_BytesArray_descriptor,
new java.lang.String[] { "Data", });
internal_static_milvus_proto_schema_StringArray_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_milvus_proto_schema_StringArray_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_StringArray_descriptor,
new java.lang.String[] { "Data", });
internal_static_milvus_proto_schema_ArrayArray_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_milvus_proto_schema_ArrayArray_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_ArrayArray_descriptor,
new java.lang.String[] { "Data", "ElementType", });
internal_static_milvus_proto_schema_JSONArray_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_milvus_proto_schema_JSONArray_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_JSONArray_descriptor,
new java.lang.String[] { "Data", });
internal_static_milvus_proto_schema_ValueField_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_milvus_proto_schema_ValueField_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_ValueField_descriptor,
new java.lang.String[] { "BoolData", "IntData", "LongData", "FloatData", "DoubleData", "StringData", "BytesData", "Data", });
internal_static_milvus_proto_schema_ScalarField_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_milvus_proto_schema_ScalarField_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_ScalarField_descriptor,
new java.lang.String[] { "BoolData", "IntData", "LongData", "FloatData", "DoubleData", "StringData", "BytesData", "ArrayData", "JsonData", "Data", });
internal_static_milvus_proto_schema_VectorField_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_milvus_proto_schema_VectorField_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_VectorField_descriptor,
new java.lang.String[] { "Dim", "FloatVector", "BinaryVector", "Data", });
internal_static_milvus_proto_schema_FieldData_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_milvus_proto_schema_FieldData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_FieldData_descriptor,
new java.lang.String[] { "Type", "FieldName", "Scalars", "Vectors", "FieldId", "IsDynamic", "Field", });
internal_static_milvus_proto_schema_IDs_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_milvus_proto_schema_IDs_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_IDs_descriptor,
new java.lang.String[] { "IntId", "StrId", "IdField", });
internal_static_milvus_proto_schema_SearchResultData_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_milvus_proto_schema_SearchResultData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_schema_SearchResultData_descriptor,
new java.lang.String[] { "NumQueries", "TopK", "FieldsData", "Scores", "Ids", "Topks", "OutputFields", "GroupByFieldValue", });
io.milvus.grpc.CommonProto.getDescriptor();
com.google.protobuf.DescriptorProtos.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}