io.milvus.grpc.CommonProto 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 search engine.
update grpc to 1.42.1
update protobuf to 3.19.1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: common.proto
package io.milvus.grpc;
public final class CommonProto {
private CommonProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
registry.add(io.milvus.grpc.CommonProto.privilegeExtObj);
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public static final int PRIVILEGE_EXT_OBJ_FIELD_NUMBER = 1001;
/**
* extend .google.protobuf.MessageOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.MessageOptions,
io.milvus.grpc.PrivilegeExt> privilegeExtObj = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
io.milvus.grpc.PrivilegeExt.class,
io.milvus.grpc.PrivilegeExt.getDefaultInstance());
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_common_Status_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_common_Status_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_common_KeyValuePair_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_common_KeyValuePair_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_common_KeyDataPair_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_common_KeyDataPair_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_common_Blob_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_common_Blob_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_common_PlaceholderValue_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_common_PlaceholderValue_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_common_PlaceholderGroup_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_common_PlaceholderGroup_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_common_Address_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_common_Address_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_common_MsgBase_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_common_MsgBase_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_common_MsgHeader_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_common_MsgHeader_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_common_DMLMsgHeader_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_common_DMLMsgHeader_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_common_PrivilegeExt_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_common_PrivilegeExt_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\014common.proto\022\023milvus.proto.common\032 goo" +
"gle/protobuf/descriptor.proto\"L\n\006Status\022" +
"2\n\nerror_code\030\001 \001(\0162\036.milvus.proto.commo" +
"n.ErrorCode\022\016\n\006reason\030\002 \001(\t\"*\n\014KeyValueP" +
"air\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"(\n\013KeyDa" +
"taPair\022\013\n\003key\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\"\025\n\004Blo" +
"b\022\r\n\005value\030\001 \001(\014\"c\n\020PlaceholderValue\022\013\n\003" +
"tag\030\001 \001(\t\0222\n\004type\030\002 \001(\0162$.milvus.proto.c" +
"ommon.PlaceholderType\022\016\n\006values\030\003 \003(\014\"O\n" +
"\020PlaceholderGroup\022;\n\014placeholders\030\001 \003(\0132" +
"%.milvus.proto.common.PlaceholderValue\"#" +
"\n\007Address\022\n\n\002ip\030\001 \001(\t\022\014\n\004port\030\002 \001(\003\"m\n\007M" +
"sgBase\022.\n\010msg_type\030\001 \001(\0162\034.milvus.proto." +
"common.MsgType\022\r\n\005msgID\030\002 \001(\003\022\021\n\ttimesta" +
"mp\030\003 \001(\004\022\020\n\010sourceID\030\004 \001(\003\"7\n\tMsgHeader\022" +
"*\n\004base\030\001 \001(\0132\034.milvus.proto.common.MsgB" +
"ase\"M\n\014DMLMsgHeader\022*\n\004base\030\001 \001(\0132\034.milv" +
"us.proto.common.MsgBase\022\021\n\tshardName\030\002 \001" +
"(\t\"\251\001\n\014PrivilegeExt\0228\n\rresource_type\030\001 \001" +
"(\0162!.milvus.proto.common.ResourceType\022B\n" +
"\022resource_privilege\030\002 \001(\0162&.milvus.proto" +
".common.ResourcePrivilege\022\033\n\023resource_na" +
"me_index\030\003 \001(\005*\323\010\n\tErrorCode\022\013\n\007Success\020" +
"\000\022\023\n\017UnexpectedError\020\001\022\021\n\rConnectFailed\020" +
"\002\022\024\n\020PermissionDenied\020\003\022\027\n\023CollectionNot" +
"Exists\020\004\022\023\n\017IllegalArgument\020\005\022\024\n\020Illegal" +
"Dimension\020\007\022\024\n\020IllegalIndexType\020\010\022\031\n\025Ill" +
"egalCollectionName\020\t\022\017\n\013IllegalTOPK\020\n\022\024\n" +
"\020IllegalRowRecord\020\013\022\023\n\017IllegalVectorID\020\014" +
"\022\027\n\023IllegalSearchResult\020\r\022\020\n\014FileNotFoun" +
"d\020\016\022\016\n\nMetaFailed\020\017\022\017\n\013CacheFailed\020\020\022\026\n\022" +
"CannotCreateFolder\020\021\022\024\n\020CannotCreateFile" +
"\020\022\022\026\n\022CannotDeleteFolder\020\023\022\024\n\020CannotDele" +
"teFile\020\024\022\023\n\017BuildIndexError\020\025\022\020\n\014Illegal" +
"NLIST\020\026\022\025\n\021IllegalMetricType\020\027\022\017\n\013OutOfM" +
"emory\020\030\022\021\n\rIndexNotExist\020\031\022\023\n\017EmptyColle" +
"ction\020\032\022\033\n\027UpdateImportTaskFailure\020\033\022\032\n\026" +
"CollectionNameNotFound\020\034\022\033\n\027CreateCreden" +
"tialFailure\020\035\022\033\n\027UpdateCredentialFailure" +
"\020\036\022\033\n\027DeleteCredentialFailure\020\037\022\030\n\024GetCr" +
"edentialFailure\020 \022\030\n\024ListCredUsersFailur" +
"e\020!\022\022\n\016GetUserFailure\020\"\022\025\n\021CreateRoleFai" +
"lure\020#\022\023\n\017DropRoleFailure\020$\022\032\n\026OperateUs" +
"erRoleFailure\020%\022\025\n\021SelectRoleFailure\020&\022\025" +
"\n\021SelectUserFailure\020\'\022\031\n\025SelectResourceF" +
"ailure\020(\022\033\n\027OperatePrivilegeFailure\020)\022\026\n" +
"\022SelectGrantFailure\020*\022!\n\035RefreshPolicyIn" +
"foCacheFailure\020+\022\025\n\021ListPolicyFailure\020,\022" +
"\022\n\016NotShardLeader\020-\022\026\n\022NoReplicaAvailabl" +
"e\020.\022\023\n\017SegmentNotFound\020/\022\022\n\rDDRequestRac" +
"e\020\350\007*X\n\nIndexState\022\022\n\016IndexStateNone\020\000\022\014" +
"\n\010Unissued\020\001\022\016\n\nInProgress\020\002\022\014\n\010Finished" +
"\020\003\022\n\n\006Failed\020\004*\202\001\n\014SegmentState\022\024\n\020Segme" +
"ntStateNone\020\000\022\014\n\010NotExist\020\001\022\013\n\007Growing\020\002" +
"\022\n\n\006Sealed\020\003\022\013\n\007Flushed\020\004\022\014\n\010Flushing\020\005\022" +
"\013\n\007Dropped\020\006\022\r\n\tImporting\020\007*>\n\017Placehold" +
"erType\022\010\n\004None\020\000\022\020\n\014BinaryVector\020d\022\017\n\013Fl" +
"oatVector\020e*\266\014\n\007MsgType\022\r\n\tUndefined\020\000\022\024" +
"\n\020CreateCollection\020d\022\022\n\016DropCollection\020e" +
"\022\021\n\rHasCollection\020f\022\026\n\022DescribeCollectio" +
"n\020g\022\023\n\017ShowCollections\020h\022\024\n\020GetSystemCon" +
"figs\020i\022\022\n\016LoadCollection\020j\022\025\n\021ReleaseCol" +
"lection\020k\022\017\n\013CreateAlias\020l\022\r\n\tDropAlias\020" +
"m\022\016\n\nAlterAlias\020n\022\024\n\017CreatePartition\020\310\001\022" +
"\022\n\rDropPartition\020\311\001\022\021\n\014HasPartition\020\312\001\022\026" +
"\n\021DescribePartition\020\313\001\022\023\n\016ShowPartitions" +
"\020\314\001\022\023\n\016LoadPartitions\020\315\001\022\026\n\021ReleaseParti" +
"tions\020\316\001\022\021\n\014ShowSegments\020\372\001\022\024\n\017DescribeS" +
"egment\020\373\001\022\021\n\014LoadSegments\020\374\001\022\024\n\017ReleaseS" +
"egments\020\375\001\022\024\n\017HandoffSegments\020\376\001\022\030\n\023Load" +
"BalanceSegments\020\377\001\022\025\n\020DescribeSegments\020\200" +
"\002\022\020\n\013CreateIndex\020\254\002\022\022\n\rDescribeIndex\020\255\002\022" +
"\016\n\tDropIndex\020\256\002\022\013\n\006Insert\020\220\003\022\013\n\006Delete\020\221" +
"\003\022\n\n\005Flush\020\222\003\022\027\n\022ResendSegmentStats\020\223\003\022\013" +
"\n\006Search\020\364\003\022\021\n\014SearchResult\020\365\003\022\022\n\rGetInd" +
"exState\020\366\003\022\032\n\025GetIndexBuildProgress\020\367\003\022\034" +
"\n\027GetCollectionStatistics\020\370\003\022\033\n\026GetParti" +
"tionStatistics\020\371\003\022\r\n\010Retrieve\020\372\003\022\023\n\016Retr" +
"ieveResult\020\373\003\022\024\n\017WatchDmChannels\020\374\003\022\025\n\020R" +
"emoveDmChannels\020\375\003\022\027\n\022WatchQueryChannels" +
"\020\376\003\022\030\n\023RemoveQueryChannels\020\377\003\022\035\n\030SealedS" +
"egmentsChangeInfo\020\200\004\022\027\n\022WatchDeltaChanne" +
"ls\020\201\004\022\024\n\017GetShardLeaders\020\202\004\022\020\n\013GetReplic" +
"as\020\203\004\022\020\n\013SegmentInfo\020\330\004\022\017\n\nSystemInfo\020\331\004" +
"\022\024\n\017GetRecoveryInfo\020\332\004\022\024\n\017GetSegmentStat" +
"e\020\333\004\022\r\n\010TimeTick\020\260\t\022\023\n\016QueryNodeStats\020\261\t" +
"\022\016\n\tLoadIndex\020\262\t\022\016\n\tRequestID\020\263\t\022\017\n\nRequ" +
"estTSO\020\264\t\022\024\n\017AllocateSegment\020\265\t\022\026\n\021Segme" +
"ntStatistics\020\266\t\022\025\n\020SegmentFlushDone\020\267\t\022\017" +
"\n\nDataNodeTt\020\270\t\022\025\n\020CreateCredential\020\334\013\022\022" +
"\n\rGetCredential\020\335\013\022\025\n\020DeleteCredential\020\336" +
"\013\022\025\n\020UpdateCredential\020\337\013\022\026\n\021ListCredUser" +
"names\020\340\013\022\017\n\nCreateRole\020\300\014\022\r\n\010DropRole\020\301\014" +
"\022\024\n\017OperateUserRole\020\302\014\022\017\n\nSelectRole\020\303\014\022" +
"\017\n\nSelectUser\020\304\014\022\023\n\016SelectResource\020\305\014\022\025\n" +
"\020OperatePrivilege\020\306\014\022\020\n\013SelectGrant\020\307\014\022\033" +
"\n\026RefreshPolicyInfoCache\020\310\014\022\017\n\nListPolic" +
"y\020\311\014*\"\n\007DslType\022\007\n\003Dsl\020\000\022\016\n\nBoolExprV1\020\001" +
"*B\n\017CompactionState\022\021\n\rUndefiedState\020\000\022\r" +
"\n\tExecuting\020\001\022\r\n\tCompleted\020\002*X\n\020Consiste" +
"ncyLevel\022\n\n\006Strong\020\000\022\013\n\007Session\020\001\022\013\n\007Bou" +
"nded\020\002\022\016\n\nEventually\020\003\022\016\n\nCustomized\020\004*\257" +
"\001\n\013ImportState\022\021\n\rImportPending\020\000\022\020\n\014Imp" +
"ortFailed\020\001\022\021\n\rImportStarted\020\002\022\024\n\020Import" +
"Downloaded\020\003\022\020\n\014ImportParsed\020\004\022\023\n\017Import" +
"Persisted\020\005\022\023\n\017ImportCompleted\020\006\022\026\n\022Impo" +
"rtAllocSegment\020\n*\036\n\014ResourceType\022\016\n\nColl" +
"ection\020\000*\335\001\n\021ResourcePrivilege\022\020\n\014Privil" +
"egeAll\020\000\022\023\n\017PrivilegeCreate\020\001\022\021\n\rPrivile" +
"geDrop\020\002\022\022\n\016PrivilegeAlter\020\003\022\021\n\rPrivileg" +
"eRead\020\004\022\021\n\rPrivilegeLoad\020\005\022\024\n\020PrivilegeR" +
"elease\020\006\022\024\n\020PrivilegeCompact\020\007\022\023\n\017Privil" +
"egeInsert\020\010\022\023\n\017PrivilegeDelete\020\t:^\n\021priv" +
"ilege_ext_obj\022\037.google.protobuf.MessageO" +
"ptions\030\351\007 \001(\0132!.milvus.proto.common.Priv" +
"ilegeExtBW\n\016io.milvus.grpcB\013CommonProtoP" +
"\001Z3github.com/milvus-io/milvus/internal/" +
"proto/commonpb\240\001\001b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.DescriptorProtos.getDescriptor(),
});
internal_static_milvus_proto_common_Status_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_milvus_proto_common_Status_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_common_Status_descriptor,
new java.lang.String[] { "ErrorCode", "Reason", });
internal_static_milvus_proto_common_KeyValuePair_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_milvus_proto_common_KeyValuePair_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_common_KeyValuePair_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_milvus_proto_common_KeyDataPair_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_milvus_proto_common_KeyDataPair_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_common_KeyDataPair_descriptor,
new java.lang.String[] { "Key", "Data", });
internal_static_milvus_proto_common_Blob_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_milvus_proto_common_Blob_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_common_Blob_descriptor,
new java.lang.String[] { "Value", });
internal_static_milvus_proto_common_PlaceholderValue_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_milvus_proto_common_PlaceholderValue_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_common_PlaceholderValue_descriptor,
new java.lang.String[] { "Tag", "Type", "Values", });
internal_static_milvus_proto_common_PlaceholderGroup_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_milvus_proto_common_PlaceholderGroup_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_common_PlaceholderGroup_descriptor,
new java.lang.String[] { "Placeholders", });
internal_static_milvus_proto_common_Address_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_milvus_proto_common_Address_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_common_Address_descriptor,
new java.lang.String[] { "Ip", "Port", });
internal_static_milvus_proto_common_MsgBase_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_milvus_proto_common_MsgBase_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_common_MsgBase_descriptor,
new java.lang.String[] { "MsgType", "MsgID", "Timestamp", "SourceID", });
internal_static_milvus_proto_common_MsgHeader_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_milvus_proto_common_MsgHeader_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_common_MsgHeader_descriptor,
new java.lang.String[] { "Base", });
internal_static_milvus_proto_common_DMLMsgHeader_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_milvus_proto_common_DMLMsgHeader_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_common_DMLMsgHeader_descriptor,
new java.lang.String[] { "Base", "ShardName", });
internal_static_milvus_proto_common_PrivilegeExt_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_milvus_proto_common_PrivilegeExt_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_common_PrivilegeExt_descriptor,
new java.lang.String[] { "ResourceType", "ResourcePrivilege", "ResourceNameIndex", });
privilegeExtObj.internalInit(descriptor.getExtensions().get(0));
com.google.protobuf.DescriptorProtos.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}