All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.milvus.grpc.MilvusServiceGrpc Maven / Gradle / Ivy

Go to download

Java SDK for Milvus, a distributed high-performance vector search engine. update grpc to 1.42.1 update protobuf to 3.19.1

There is a newer version: 2.2.2.1
Show newest version
package io.milvus.grpc;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 */
@javax.annotation.Generated(
    value = "by gRPC proto compiler (version 1.42.1)",
    comments = "Source: milvus.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class MilvusServiceGrpc {

  private MilvusServiceGrpc() {}

  public static final String SERVICE_NAME = "milvus.proto.milvus.MilvusService";

  // Static method descriptors that strictly reflect the proto.
  private static volatile io.grpc.MethodDescriptor getCreateCollectionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateCollection",
      requestType = io.milvus.grpc.CreateCollectionRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateCollectionMethod() {
    io.grpc.MethodDescriptor getCreateCollectionMethod;
    if ((getCreateCollectionMethod = MilvusServiceGrpc.getCreateCollectionMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getCreateCollectionMethod = MilvusServiceGrpc.getCreateCollectionMethod) == null) {
          MilvusServiceGrpc.getCreateCollectionMethod = getCreateCollectionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCollection"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.CreateCollectionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("CreateCollection"))
              .build();
        }
      }
    }
    return getCreateCollectionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDropCollectionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DropCollection",
      requestType = io.milvus.grpc.DropCollectionRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDropCollectionMethod() {
    io.grpc.MethodDescriptor getDropCollectionMethod;
    if ((getDropCollectionMethod = MilvusServiceGrpc.getDropCollectionMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getDropCollectionMethod = MilvusServiceGrpc.getDropCollectionMethod) == null) {
          MilvusServiceGrpc.getDropCollectionMethod = getDropCollectionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropCollection"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.DropCollectionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("DropCollection"))
              .build();
        }
      }
    }
    return getDropCollectionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getHasCollectionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "HasCollection",
      requestType = io.milvus.grpc.HasCollectionRequest.class,
      responseType = io.milvus.grpc.BoolResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getHasCollectionMethod() {
    io.grpc.MethodDescriptor getHasCollectionMethod;
    if ((getHasCollectionMethod = MilvusServiceGrpc.getHasCollectionMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getHasCollectionMethod = MilvusServiceGrpc.getHasCollectionMethod) == null) {
          MilvusServiceGrpc.getHasCollectionMethod = getHasCollectionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "HasCollection"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.HasCollectionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.BoolResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("HasCollection"))
              .build();
        }
      }
    }
    return getHasCollectionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getLoadCollectionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "LoadCollection",
      requestType = io.milvus.grpc.LoadCollectionRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getLoadCollectionMethod() {
    io.grpc.MethodDescriptor getLoadCollectionMethod;
    if ((getLoadCollectionMethod = MilvusServiceGrpc.getLoadCollectionMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getLoadCollectionMethod = MilvusServiceGrpc.getLoadCollectionMethod) == null) {
          MilvusServiceGrpc.getLoadCollectionMethod = getLoadCollectionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LoadCollection"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.LoadCollectionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("LoadCollection"))
              .build();
        }
      }
    }
    return getLoadCollectionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getReleaseCollectionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ReleaseCollection",
      requestType = io.milvus.grpc.ReleaseCollectionRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getReleaseCollectionMethod() {
    io.grpc.MethodDescriptor getReleaseCollectionMethod;
    if ((getReleaseCollectionMethod = MilvusServiceGrpc.getReleaseCollectionMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getReleaseCollectionMethod = MilvusServiceGrpc.getReleaseCollectionMethod) == null) {
          MilvusServiceGrpc.getReleaseCollectionMethod = getReleaseCollectionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReleaseCollection"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ReleaseCollectionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("ReleaseCollection"))
              .build();
        }
      }
    }
    return getReleaseCollectionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDescribeCollectionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DescribeCollection",
      requestType = io.milvus.grpc.DescribeCollectionRequest.class,
      responseType = io.milvus.grpc.DescribeCollectionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDescribeCollectionMethod() {
    io.grpc.MethodDescriptor getDescribeCollectionMethod;
    if ((getDescribeCollectionMethod = MilvusServiceGrpc.getDescribeCollectionMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getDescribeCollectionMethod = MilvusServiceGrpc.getDescribeCollectionMethod) == null) {
          MilvusServiceGrpc.getDescribeCollectionMethod = getDescribeCollectionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DescribeCollection"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.DescribeCollectionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.DescribeCollectionResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("DescribeCollection"))
              .build();
        }
      }
    }
    return getDescribeCollectionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetCollectionStatisticsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetCollectionStatistics",
      requestType = io.milvus.grpc.GetCollectionStatisticsRequest.class,
      responseType = io.milvus.grpc.GetCollectionStatisticsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetCollectionStatisticsMethod() {
    io.grpc.MethodDescriptor getGetCollectionStatisticsMethod;
    if ((getGetCollectionStatisticsMethod = MilvusServiceGrpc.getGetCollectionStatisticsMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getGetCollectionStatisticsMethod = MilvusServiceGrpc.getGetCollectionStatisticsMethod) == null) {
          MilvusServiceGrpc.getGetCollectionStatisticsMethod = getGetCollectionStatisticsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCollectionStatistics"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetCollectionStatisticsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetCollectionStatisticsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("GetCollectionStatistics"))
              .build();
        }
      }
    }
    return getGetCollectionStatisticsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getShowCollectionsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ShowCollections",
      requestType = io.milvus.grpc.ShowCollectionsRequest.class,
      responseType = io.milvus.grpc.ShowCollectionsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getShowCollectionsMethod() {
    io.grpc.MethodDescriptor getShowCollectionsMethod;
    if ((getShowCollectionsMethod = MilvusServiceGrpc.getShowCollectionsMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getShowCollectionsMethod = MilvusServiceGrpc.getShowCollectionsMethod) == null) {
          MilvusServiceGrpc.getShowCollectionsMethod = getShowCollectionsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ShowCollections"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ShowCollectionsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ShowCollectionsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("ShowCollections"))
              .build();
        }
      }
    }
    return getShowCollectionsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCreatePartitionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreatePartition",
      requestType = io.milvus.grpc.CreatePartitionRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreatePartitionMethod() {
    io.grpc.MethodDescriptor getCreatePartitionMethod;
    if ((getCreatePartitionMethod = MilvusServiceGrpc.getCreatePartitionMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getCreatePartitionMethod = MilvusServiceGrpc.getCreatePartitionMethod) == null) {
          MilvusServiceGrpc.getCreatePartitionMethod = getCreatePartitionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePartition"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.CreatePartitionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("CreatePartition"))
              .build();
        }
      }
    }
    return getCreatePartitionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDropPartitionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DropPartition",
      requestType = io.milvus.grpc.DropPartitionRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDropPartitionMethod() {
    io.grpc.MethodDescriptor getDropPartitionMethod;
    if ((getDropPartitionMethod = MilvusServiceGrpc.getDropPartitionMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getDropPartitionMethod = MilvusServiceGrpc.getDropPartitionMethod) == null) {
          MilvusServiceGrpc.getDropPartitionMethod = getDropPartitionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropPartition"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.DropPartitionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("DropPartition"))
              .build();
        }
      }
    }
    return getDropPartitionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getHasPartitionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "HasPartition",
      requestType = io.milvus.grpc.HasPartitionRequest.class,
      responseType = io.milvus.grpc.BoolResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getHasPartitionMethod() {
    io.grpc.MethodDescriptor getHasPartitionMethod;
    if ((getHasPartitionMethod = MilvusServiceGrpc.getHasPartitionMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getHasPartitionMethod = MilvusServiceGrpc.getHasPartitionMethod) == null) {
          MilvusServiceGrpc.getHasPartitionMethod = getHasPartitionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "HasPartition"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.HasPartitionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.BoolResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("HasPartition"))
              .build();
        }
      }
    }
    return getHasPartitionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getLoadPartitionsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "LoadPartitions",
      requestType = io.milvus.grpc.LoadPartitionsRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getLoadPartitionsMethod() {
    io.grpc.MethodDescriptor getLoadPartitionsMethod;
    if ((getLoadPartitionsMethod = MilvusServiceGrpc.getLoadPartitionsMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getLoadPartitionsMethod = MilvusServiceGrpc.getLoadPartitionsMethod) == null) {
          MilvusServiceGrpc.getLoadPartitionsMethod = getLoadPartitionsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LoadPartitions"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.LoadPartitionsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("LoadPartitions"))
              .build();
        }
      }
    }
    return getLoadPartitionsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getReleasePartitionsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ReleasePartitions",
      requestType = io.milvus.grpc.ReleasePartitionsRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getReleasePartitionsMethod() {
    io.grpc.MethodDescriptor getReleasePartitionsMethod;
    if ((getReleasePartitionsMethod = MilvusServiceGrpc.getReleasePartitionsMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getReleasePartitionsMethod = MilvusServiceGrpc.getReleasePartitionsMethod) == null) {
          MilvusServiceGrpc.getReleasePartitionsMethod = getReleasePartitionsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReleasePartitions"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ReleasePartitionsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("ReleasePartitions"))
              .build();
        }
      }
    }
    return getReleasePartitionsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetPartitionStatisticsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetPartitionStatistics",
      requestType = io.milvus.grpc.GetPartitionStatisticsRequest.class,
      responseType = io.milvus.grpc.GetPartitionStatisticsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetPartitionStatisticsMethod() {
    io.grpc.MethodDescriptor getGetPartitionStatisticsMethod;
    if ((getGetPartitionStatisticsMethod = MilvusServiceGrpc.getGetPartitionStatisticsMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getGetPartitionStatisticsMethod = MilvusServiceGrpc.getGetPartitionStatisticsMethod) == null) {
          MilvusServiceGrpc.getGetPartitionStatisticsMethod = getGetPartitionStatisticsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPartitionStatistics"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetPartitionStatisticsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetPartitionStatisticsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("GetPartitionStatistics"))
              .build();
        }
      }
    }
    return getGetPartitionStatisticsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getShowPartitionsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ShowPartitions",
      requestType = io.milvus.grpc.ShowPartitionsRequest.class,
      responseType = io.milvus.grpc.ShowPartitionsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getShowPartitionsMethod() {
    io.grpc.MethodDescriptor getShowPartitionsMethod;
    if ((getShowPartitionsMethod = MilvusServiceGrpc.getShowPartitionsMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getShowPartitionsMethod = MilvusServiceGrpc.getShowPartitionsMethod) == null) {
          MilvusServiceGrpc.getShowPartitionsMethod = getShowPartitionsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ShowPartitions"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ShowPartitionsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ShowPartitionsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("ShowPartitions"))
              .build();
        }
      }
    }
    return getShowPartitionsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCreateAliasMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateAlias",
      requestType = io.milvus.grpc.CreateAliasRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateAliasMethod() {
    io.grpc.MethodDescriptor getCreateAliasMethod;
    if ((getCreateAliasMethod = MilvusServiceGrpc.getCreateAliasMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getCreateAliasMethod = MilvusServiceGrpc.getCreateAliasMethod) == null) {
          MilvusServiceGrpc.getCreateAliasMethod = getCreateAliasMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAlias"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.CreateAliasRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("CreateAlias"))
              .build();
        }
      }
    }
    return getCreateAliasMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDropAliasMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DropAlias",
      requestType = io.milvus.grpc.DropAliasRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDropAliasMethod() {
    io.grpc.MethodDescriptor getDropAliasMethod;
    if ((getDropAliasMethod = MilvusServiceGrpc.getDropAliasMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getDropAliasMethod = MilvusServiceGrpc.getDropAliasMethod) == null) {
          MilvusServiceGrpc.getDropAliasMethod = getDropAliasMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropAlias"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.DropAliasRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("DropAlias"))
              .build();
        }
      }
    }
    return getDropAliasMethod;
  }

  private static volatile io.grpc.MethodDescriptor getAlterAliasMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "AlterAlias",
      requestType = io.milvus.grpc.AlterAliasRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getAlterAliasMethod() {
    io.grpc.MethodDescriptor getAlterAliasMethod;
    if ((getAlterAliasMethod = MilvusServiceGrpc.getAlterAliasMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getAlterAliasMethod = MilvusServiceGrpc.getAlterAliasMethod) == null) {
          MilvusServiceGrpc.getAlterAliasMethod = getAlterAliasMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AlterAlias"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.AlterAliasRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("AlterAlias"))
              .build();
        }
      }
    }
    return getAlterAliasMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCreateIndexMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateIndex",
      requestType = io.milvus.grpc.CreateIndexRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateIndexMethod() {
    io.grpc.MethodDescriptor getCreateIndexMethod;
    if ((getCreateIndexMethod = MilvusServiceGrpc.getCreateIndexMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getCreateIndexMethod = MilvusServiceGrpc.getCreateIndexMethod) == null) {
          MilvusServiceGrpc.getCreateIndexMethod = getCreateIndexMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateIndex"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.CreateIndexRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("CreateIndex"))
              .build();
        }
      }
    }
    return getCreateIndexMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDescribeIndexMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DescribeIndex",
      requestType = io.milvus.grpc.DescribeIndexRequest.class,
      responseType = io.milvus.grpc.DescribeIndexResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDescribeIndexMethod() {
    io.grpc.MethodDescriptor getDescribeIndexMethod;
    if ((getDescribeIndexMethod = MilvusServiceGrpc.getDescribeIndexMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getDescribeIndexMethod = MilvusServiceGrpc.getDescribeIndexMethod) == null) {
          MilvusServiceGrpc.getDescribeIndexMethod = getDescribeIndexMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DescribeIndex"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.DescribeIndexRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.DescribeIndexResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("DescribeIndex"))
              .build();
        }
      }
    }
    return getDescribeIndexMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetIndexStateMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetIndexState",
      requestType = io.milvus.grpc.GetIndexStateRequest.class,
      responseType = io.milvus.grpc.GetIndexStateResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetIndexStateMethod() {
    io.grpc.MethodDescriptor getGetIndexStateMethod;
    if ((getGetIndexStateMethod = MilvusServiceGrpc.getGetIndexStateMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getGetIndexStateMethod = MilvusServiceGrpc.getGetIndexStateMethod) == null) {
          MilvusServiceGrpc.getGetIndexStateMethod = getGetIndexStateMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIndexState"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetIndexStateRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetIndexStateResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("GetIndexState"))
              .build();
        }
      }
    }
    return getGetIndexStateMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetIndexBuildProgressMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetIndexBuildProgress",
      requestType = io.milvus.grpc.GetIndexBuildProgressRequest.class,
      responseType = io.milvus.grpc.GetIndexBuildProgressResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetIndexBuildProgressMethod() {
    io.grpc.MethodDescriptor getGetIndexBuildProgressMethod;
    if ((getGetIndexBuildProgressMethod = MilvusServiceGrpc.getGetIndexBuildProgressMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getGetIndexBuildProgressMethod = MilvusServiceGrpc.getGetIndexBuildProgressMethod) == null) {
          MilvusServiceGrpc.getGetIndexBuildProgressMethod = getGetIndexBuildProgressMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIndexBuildProgress"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetIndexBuildProgressRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetIndexBuildProgressResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("GetIndexBuildProgress"))
              .build();
        }
      }
    }
    return getGetIndexBuildProgressMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDropIndexMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DropIndex",
      requestType = io.milvus.grpc.DropIndexRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDropIndexMethod() {
    io.grpc.MethodDescriptor getDropIndexMethod;
    if ((getDropIndexMethod = MilvusServiceGrpc.getDropIndexMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getDropIndexMethod = MilvusServiceGrpc.getDropIndexMethod) == null) {
          MilvusServiceGrpc.getDropIndexMethod = getDropIndexMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropIndex"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.DropIndexRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("DropIndex"))
              .build();
        }
      }
    }
    return getDropIndexMethod;
  }

  private static volatile io.grpc.MethodDescriptor getInsertMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Insert",
      requestType = io.milvus.grpc.InsertRequest.class,
      responseType = io.milvus.grpc.MutationResult.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getInsertMethod() {
    io.grpc.MethodDescriptor getInsertMethod;
    if ((getInsertMethod = MilvusServiceGrpc.getInsertMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getInsertMethod = MilvusServiceGrpc.getInsertMethod) == null) {
          MilvusServiceGrpc.getInsertMethod = getInsertMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Insert"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.InsertRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.MutationResult.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("Insert"))
              .build();
        }
      }
    }
    return getInsertMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Delete",
      requestType = io.milvus.grpc.DeleteRequest.class,
      responseType = io.milvus.grpc.MutationResult.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteMethod() {
    io.grpc.MethodDescriptor getDeleteMethod;
    if ((getDeleteMethod = MilvusServiceGrpc.getDeleteMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getDeleteMethod = MilvusServiceGrpc.getDeleteMethod) == null) {
          MilvusServiceGrpc.getDeleteMethod = getDeleteMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Delete"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.DeleteRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.MutationResult.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("Delete"))
              .build();
        }
      }
    }
    return getDeleteMethod;
  }

  private static volatile io.grpc.MethodDescriptor getSearchMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Search",
      requestType = io.milvus.grpc.SearchRequest.class,
      responseType = io.milvus.grpc.SearchResults.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getSearchMethod() {
    io.grpc.MethodDescriptor getSearchMethod;
    if ((getSearchMethod = MilvusServiceGrpc.getSearchMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getSearchMethod = MilvusServiceGrpc.getSearchMethod) == null) {
          MilvusServiceGrpc.getSearchMethod = getSearchMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Search"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.SearchRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.SearchResults.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("Search"))
              .build();
        }
      }
    }
    return getSearchMethod;
  }

  private static volatile io.grpc.MethodDescriptor getFlushMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Flush",
      requestType = io.milvus.grpc.FlushRequest.class,
      responseType = io.milvus.grpc.FlushResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getFlushMethod() {
    io.grpc.MethodDescriptor getFlushMethod;
    if ((getFlushMethod = MilvusServiceGrpc.getFlushMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getFlushMethod = MilvusServiceGrpc.getFlushMethod) == null) {
          MilvusServiceGrpc.getFlushMethod = getFlushMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Flush"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.FlushRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.FlushResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("Flush"))
              .build();
        }
      }
    }
    return getFlushMethod;
  }

  private static volatile io.grpc.MethodDescriptor getQueryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Query",
      requestType = io.milvus.grpc.QueryRequest.class,
      responseType = io.milvus.grpc.QueryResults.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getQueryMethod() {
    io.grpc.MethodDescriptor getQueryMethod;
    if ((getQueryMethod = MilvusServiceGrpc.getQueryMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getQueryMethod = MilvusServiceGrpc.getQueryMethod) == null) {
          MilvusServiceGrpc.getQueryMethod = getQueryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Query"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.QueryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.QueryResults.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("Query"))
              .build();
        }
      }
    }
    return getQueryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCalcDistanceMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CalcDistance",
      requestType = io.milvus.grpc.CalcDistanceRequest.class,
      responseType = io.milvus.grpc.CalcDistanceResults.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCalcDistanceMethod() {
    io.grpc.MethodDescriptor getCalcDistanceMethod;
    if ((getCalcDistanceMethod = MilvusServiceGrpc.getCalcDistanceMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getCalcDistanceMethod = MilvusServiceGrpc.getCalcDistanceMethod) == null) {
          MilvusServiceGrpc.getCalcDistanceMethod = getCalcDistanceMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CalcDistance"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.CalcDistanceRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.CalcDistanceResults.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("CalcDistance"))
              .build();
        }
      }
    }
    return getCalcDistanceMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetFlushStateMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetFlushState",
      requestType = io.milvus.grpc.GetFlushStateRequest.class,
      responseType = io.milvus.grpc.GetFlushStateResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetFlushStateMethod() {
    io.grpc.MethodDescriptor getGetFlushStateMethod;
    if ((getGetFlushStateMethod = MilvusServiceGrpc.getGetFlushStateMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getGetFlushStateMethod = MilvusServiceGrpc.getGetFlushStateMethod) == null) {
          MilvusServiceGrpc.getGetFlushStateMethod = getGetFlushStateMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFlushState"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetFlushStateRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetFlushStateResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("GetFlushState"))
              .build();
        }
      }
    }
    return getGetFlushStateMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetPersistentSegmentInfoMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetPersistentSegmentInfo",
      requestType = io.milvus.grpc.GetPersistentSegmentInfoRequest.class,
      responseType = io.milvus.grpc.GetPersistentSegmentInfoResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetPersistentSegmentInfoMethod() {
    io.grpc.MethodDescriptor getGetPersistentSegmentInfoMethod;
    if ((getGetPersistentSegmentInfoMethod = MilvusServiceGrpc.getGetPersistentSegmentInfoMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getGetPersistentSegmentInfoMethod = MilvusServiceGrpc.getGetPersistentSegmentInfoMethod) == null) {
          MilvusServiceGrpc.getGetPersistentSegmentInfoMethod = getGetPersistentSegmentInfoMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPersistentSegmentInfo"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetPersistentSegmentInfoRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetPersistentSegmentInfoResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("GetPersistentSegmentInfo"))
              .build();
        }
      }
    }
    return getGetPersistentSegmentInfoMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetQuerySegmentInfoMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetQuerySegmentInfo",
      requestType = io.milvus.grpc.GetQuerySegmentInfoRequest.class,
      responseType = io.milvus.grpc.GetQuerySegmentInfoResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetQuerySegmentInfoMethod() {
    io.grpc.MethodDescriptor getGetQuerySegmentInfoMethod;
    if ((getGetQuerySegmentInfoMethod = MilvusServiceGrpc.getGetQuerySegmentInfoMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getGetQuerySegmentInfoMethod = MilvusServiceGrpc.getGetQuerySegmentInfoMethod) == null) {
          MilvusServiceGrpc.getGetQuerySegmentInfoMethod = getGetQuerySegmentInfoMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQuerySegmentInfo"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetQuerySegmentInfoRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetQuerySegmentInfoResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("GetQuerySegmentInfo"))
              .build();
        }
      }
    }
    return getGetQuerySegmentInfoMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetReplicasMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetReplicas",
      requestType = io.milvus.grpc.GetReplicasRequest.class,
      responseType = io.milvus.grpc.GetReplicasResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetReplicasMethod() {
    io.grpc.MethodDescriptor getGetReplicasMethod;
    if ((getGetReplicasMethod = MilvusServiceGrpc.getGetReplicasMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getGetReplicasMethod = MilvusServiceGrpc.getGetReplicasMethod) == null) {
          MilvusServiceGrpc.getGetReplicasMethod = getGetReplicasMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetReplicas"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetReplicasRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetReplicasResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("GetReplicas"))
              .build();
        }
      }
    }
    return getGetReplicasMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDummyMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Dummy",
      requestType = io.milvus.grpc.DummyRequest.class,
      responseType = io.milvus.grpc.DummyResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDummyMethod() {
    io.grpc.MethodDescriptor getDummyMethod;
    if ((getDummyMethod = MilvusServiceGrpc.getDummyMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getDummyMethod = MilvusServiceGrpc.getDummyMethod) == null) {
          MilvusServiceGrpc.getDummyMethod = getDummyMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Dummy"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.DummyRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.DummyResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("Dummy"))
              .build();
        }
      }
    }
    return getDummyMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRegisterLinkMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "RegisterLink",
      requestType = io.milvus.grpc.RegisterLinkRequest.class,
      responseType = io.milvus.grpc.RegisterLinkResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRegisterLinkMethod() {
    io.grpc.MethodDescriptor getRegisterLinkMethod;
    if ((getRegisterLinkMethod = MilvusServiceGrpc.getRegisterLinkMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getRegisterLinkMethod = MilvusServiceGrpc.getRegisterLinkMethod) == null) {
          MilvusServiceGrpc.getRegisterLinkMethod = getRegisterLinkMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterLink"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.RegisterLinkRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.RegisterLinkResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("RegisterLink"))
              .build();
        }
      }
    }
    return getRegisterLinkMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetMetricsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetMetrics",
      requestType = io.milvus.grpc.GetMetricsRequest.class,
      responseType = io.milvus.grpc.GetMetricsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetMetricsMethod() {
    io.grpc.MethodDescriptor getGetMetricsMethod;
    if ((getGetMetricsMethod = MilvusServiceGrpc.getGetMetricsMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getGetMetricsMethod = MilvusServiceGrpc.getGetMetricsMethod) == null) {
          MilvusServiceGrpc.getGetMetricsMethod = getGetMetricsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMetrics"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetMetricsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetMetricsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("GetMetrics"))
              .build();
        }
      }
    }
    return getGetMetricsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getLoadBalanceMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "LoadBalance",
      requestType = io.milvus.grpc.LoadBalanceRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getLoadBalanceMethod() {
    io.grpc.MethodDescriptor getLoadBalanceMethod;
    if ((getLoadBalanceMethod = MilvusServiceGrpc.getLoadBalanceMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getLoadBalanceMethod = MilvusServiceGrpc.getLoadBalanceMethod) == null) {
          MilvusServiceGrpc.getLoadBalanceMethod = getLoadBalanceMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LoadBalance"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.LoadBalanceRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("LoadBalance"))
              .build();
        }
      }
    }
    return getLoadBalanceMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetCompactionStateMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetCompactionState",
      requestType = io.milvus.grpc.GetCompactionStateRequest.class,
      responseType = io.milvus.grpc.GetCompactionStateResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetCompactionStateMethod() {
    io.grpc.MethodDescriptor getGetCompactionStateMethod;
    if ((getGetCompactionStateMethod = MilvusServiceGrpc.getGetCompactionStateMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getGetCompactionStateMethod = MilvusServiceGrpc.getGetCompactionStateMethod) == null) {
          MilvusServiceGrpc.getGetCompactionStateMethod = getGetCompactionStateMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompactionState"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetCompactionStateRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetCompactionStateResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("GetCompactionState"))
              .build();
        }
      }
    }
    return getGetCompactionStateMethod;
  }

  private static volatile io.grpc.MethodDescriptor getManualCompactionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ManualCompaction",
      requestType = io.milvus.grpc.ManualCompactionRequest.class,
      responseType = io.milvus.grpc.ManualCompactionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getManualCompactionMethod() {
    io.grpc.MethodDescriptor getManualCompactionMethod;
    if ((getManualCompactionMethod = MilvusServiceGrpc.getManualCompactionMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getManualCompactionMethod = MilvusServiceGrpc.getManualCompactionMethod) == null) {
          MilvusServiceGrpc.getManualCompactionMethod = getManualCompactionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ManualCompaction"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ManualCompactionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ManualCompactionResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("ManualCompaction"))
              .build();
        }
      }
    }
    return getManualCompactionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetCompactionStateWithPlansMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetCompactionStateWithPlans",
      requestType = io.milvus.grpc.GetCompactionPlansRequest.class,
      responseType = io.milvus.grpc.GetCompactionPlansResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetCompactionStateWithPlansMethod() {
    io.grpc.MethodDescriptor getGetCompactionStateWithPlansMethod;
    if ((getGetCompactionStateWithPlansMethod = MilvusServiceGrpc.getGetCompactionStateWithPlansMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getGetCompactionStateWithPlansMethod = MilvusServiceGrpc.getGetCompactionStateWithPlansMethod) == null) {
          MilvusServiceGrpc.getGetCompactionStateWithPlansMethod = getGetCompactionStateWithPlansMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompactionStateWithPlans"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetCompactionPlansRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetCompactionPlansResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("GetCompactionStateWithPlans"))
              .build();
        }
      }
    }
    return getGetCompactionStateWithPlansMethod;
  }

  private static volatile io.grpc.MethodDescriptor getImportMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Import",
      requestType = io.milvus.grpc.ImportRequest.class,
      responseType = io.milvus.grpc.ImportResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getImportMethod() {
    io.grpc.MethodDescriptor getImportMethod;
    if ((getImportMethod = MilvusServiceGrpc.getImportMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getImportMethod = MilvusServiceGrpc.getImportMethod) == null) {
          MilvusServiceGrpc.getImportMethod = getImportMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Import"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ImportRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ImportResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("Import"))
              .build();
        }
      }
    }
    return getImportMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetImportStateMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetImportState",
      requestType = io.milvus.grpc.GetImportStateRequest.class,
      responseType = io.milvus.grpc.GetImportStateResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetImportStateMethod() {
    io.grpc.MethodDescriptor getGetImportStateMethod;
    if ((getGetImportStateMethod = MilvusServiceGrpc.getGetImportStateMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getGetImportStateMethod = MilvusServiceGrpc.getGetImportStateMethod) == null) {
          MilvusServiceGrpc.getGetImportStateMethod = getGetImportStateMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetImportState"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetImportStateRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.GetImportStateResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("GetImportState"))
              .build();
        }
      }
    }
    return getGetImportStateMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListImportTasksMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ListImportTasks",
      requestType = io.milvus.grpc.ListImportTasksRequest.class,
      responseType = io.milvus.grpc.ListImportTasksResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getListImportTasksMethod() {
    io.grpc.MethodDescriptor getListImportTasksMethod;
    if ((getListImportTasksMethod = MilvusServiceGrpc.getListImportTasksMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getListImportTasksMethod = MilvusServiceGrpc.getListImportTasksMethod) == null) {
          MilvusServiceGrpc.getListImportTasksMethod = getListImportTasksMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListImportTasks"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ListImportTasksRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ListImportTasksResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("ListImportTasks"))
              .build();
        }
      }
    }
    return getListImportTasksMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCreateCredentialMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateCredential",
      requestType = io.milvus.grpc.CreateCredentialRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateCredentialMethod() {
    io.grpc.MethodDescriptor getCreateCredentialMethod;
    if ((getCreateCredentialMethod = MilvusServiceGrpc.getCreateCredentialMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getCreateCredentialMethod = MilvusServiceGrpc.getCreateCredentialMethod) == null) {
          MilvusServiceGrpc.getCreateCredentialMethod = getCreateCredentialMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCredential"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.CreateCredentialRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("CreateCredential"))
              .build();
        }
      }
    }
    return getCreateCredentialMethod;
  }

  private static volatile io.grpc.MethodDescriptor getUpdateCredentialMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "UpdateCredential",
      requestType = io.milvus.grpc.UpdateCredentialRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getUpdateCredentialMethod() {
    io.grpc.MethodDescriptor getUpdateCredentialMethod;
    if ((getUpdateCredentialMethod = MilvusServiceGrpc.getUpdateCredentialMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getUpdateCredentialMethod = MilvusServiceGrpc.getUpdateCredentialMethod) == null) {
          MilvusServiceGrpc.getUpdateCredentialMethod = getUpdateCredentialMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCredential"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.UpdateCredentialRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("UpdateCredential"))
              .build();
        }
      }
    }
    return getUpdateCredentialMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteCredentialMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DeleteCredential",
      requestType = io.milvus.grpc.DeleteCredentialRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteCredentialMethod() {
    io.grpc.MethodDescriptor getDeleteCredentialMethod;
    if ((getDeleteCredentialMethod = MilvusServiceGrpc.getDeleteCredentialMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getDeleteCredentialMethod = MilvusServiceGrpc.getDeleteCredentialMethod) == null) {
          MilvusServiceGrpc.getDeleteCredentialMethod = getDeleteCredentialMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCredential"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.DeleteCredentialRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("DeleteCredential"))
              .build();
        }
      }
    }
    return getDeleteCredentialMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListCredUsersMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ListCredUsers",
      requestType = io.milvus.grpc.ListCredUsersRequest.class,
      responseType = io.milvus.grpc.ListCredUsersResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getListCredUsersMethod() {
    io.grpc.MethodDescriptor getListCredUsersMethod;
    if ((getListCredUsersMethod = MilvusServiceGrpc.getListCredUsersMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getListCredUsersMethod = MilvusServiceGrpc.getListCredUsersMethod) == null) {
          MilvusServiceGrpc.getListCredUsersMethod = getListCredUsersMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCredUsers"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ListCredUsersRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.ListCredUsersResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("ListCredUsers"))
              .build();
        }
      }
    }
    return getListCredUsersMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCreateRoleMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateRole",
      requestType = io.milvus.grpc.CreateRoleRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateRoleMethod() {
    io.grpc.MethodDescriptor getCreateRoleMethod;
    if ((getCreateRoleMethod = MilvusServiceGrpc.getCreateRoleMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getCreateRoleMethod = MilvusServiceGrpc.getCreateRoleMethod) == null) {
          MilvusServiceGrpc.getCreateRoleMethod = getCreateRoleMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRole"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.CreateRoleRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("CreateRole"))
              .build();
        }
      }
    }
    return getCreateRoleMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDropRoleMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DropRole",
      requestType = io.milvus.grpc.DropRoleRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDropRoleMethod() {
    io.grpc.MethodDescriptor getDropRoleMethod;
    if ((getDropRoleMethod = MilvusServiceGrpc.getDropRoleMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getDropRoleMethod = MilvusServiceGrpc.getDropRoleMethod) == null) {
          MilvusServiceGrpc.getDropRoleMethod = getDropRoleMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropRole"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.DropRoleRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("DropRole"))
              .build();
        }
      }
    }
    return getDropRoleMethod;
  }

  private static volatile io.grpc.MethodDescriptor getOperateUserRoleMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "OperateUserRole",
      requestType = io.milvus.grpc.OperateUserRoleRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getOperateUserRoleMethod() {
    io.grpc.MethodDescriptor getOperateUserRoleMethod;
    if ((getOperateUserRoleMethod = MilvusServiceGrpc.getOperateUserRoleMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getOperateUserRoleMethod = MilvusServiceGrpc.getOperateUserRoleMethod) == null) {
          MilvusServiceGrpc.getOperateUserRoleMethod = getOperateUserRoleMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "OperateUserRole"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.OperateUserRoleRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("OperateUserRole"))
              .build();
        }
      }
    }
    return getOperateUserRoleMethod;
  }

  private static volatile io.grpc.MethodDescriptor getSelectRoleMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "SelectRole",
      requestType = io.milvus.grpc.SelectRoleRequest.class,
      responseType = io.milvus.grpc.SelectRoleResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getSelectRoleMethod() {
    io.grpc.MethodDescriptor getSelectRoleMethod;
    if ((getSelectRoleMethod = MilvusServiceGrpc.getSelectRoleMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getSelectRoleMethod = MilvusServiceGrpc.getSelectRoleMethod) == null) {
          MilvusServiceGrpc.getSelectRoleMethod = getSelectRoleMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SelectRole"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.SelectRoleRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.SelectRoleResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("SelectRole"))
              .build();
        }
      }
    }
    return getSelectRoleMethod;
  }

  private static volatile io.grpc.MethodDescriptor getSelectUserMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "SelectUser",
      requestType = io.milvus.grpc.SelectUserRequest.class,
      responseType = io.milvus.grpc.SelectUserResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getSelectUserMethod() {
    io.grpc.MethodDescriptor getSelectUserMethod;
    if ((getSelectUserMethod = MilvusServiceGrpc.getSelectUserMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getSelectUserMethod = MilvusServiceGrpc.getSelectUserMethod) == null) {
          MilvusServiceGrpc.getSelectUserMethod = getSelectUserMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SelectUser"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.SelectUserRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.SelectUserResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("SelectUser"))
              .build();
        }
      }
    }
    return getSelectUserMethod;
  }

  private static volatile io.grpc.MethodDescriptor getSelectResourceMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "SelectResource",
      requestType = io.milvus.grpc.SelectResourceRequest.class,
      responseType = io.milvus.grpc.SelectResourceResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getSelectResourceMethod() {
    io.grpc.MethodDescriptor getSelectResourceMethod;
    if ((getSelectResourceMethod = MilvusServiceGrpc.getSelectResourceMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getSelectResourceMethod = MilvusServiceGrpc.getSelectResourceMethod) == null) {
          MilvusServiceGrpc.getSelectResourceMethod = getSelectResourceMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SelectResource"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.SelectResourceRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.SelectResourceResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("SelectResource"))
              .build();
        }
      }
    }
    return getSelectResourceMethod;
  }

  private static volatile io.grpc.MethodDescriptor getOperatePrivilegeMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "OperatePrivilege",
      requestType = io.milvus.grpc.OperatePrivilegeRequest.class,
      responseType = io.milvus.grpc.Status.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getOperatePrivilegeMethod() {
    io.grpc.MethodDescriptor getOperatePrivilegeMethod;
    if ((getOperatePrivilegeMethod = MilvusServiceGrpc.getOperatePrivilegeMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getOperatePrivilegeMethod = MilvusServiceGrpc.getOperatePrivilegeMethod) == null) {
          MilvusServiceGrpc.getOperatePrivilegeMethod = getOperatePrivilegeMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "OperatePrivilege"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.OperatePrivilegeRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.Status.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("OperatePrivilege"))
              .build();
        }
      }
    }
    return getOperatePrivilegeMethod;
  }

  private static volatile io.grpc.MethodDescriptor getSelectGrantMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "SelectGrant",
      requestType = io.milvus.grpc.SelectGrantRequest.class,
      responseType = io.milvus.grpc.SelectGrantResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getSelectGrantMethod() {
    io.grpc.MethodDescriptor getSelectGrantMethod;
    if ((getSelectGrantMethod = MilvusServiceGrpc.getSelectGrantMethod) == null) {
      synchronized (MilvusServiceGrpc.class) {
        if ((getSelectGrantMethod = MilvusServiceGrpc.getSelectGrantMethod) == null) {
          MilvusServiceGrpc.getSelectGrantMethod = getSelectGrantMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SelectGrant"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.SelectGrantRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  io.milvus.grpc.SelectGrantResponse.getDefaultInstance()))
              .setSchemaDescriptor(new MilvusServiceMethodDescriptorSupplier("SelectGrant"))
              .build();
        }
      }
    }
    return getSelectGrantMethod;
  }

  /**
   * Creates a new async stub that supports all call types for the service
   */
  public static MilvusServiceStub newStub(io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public MilvusServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new MilvusServiceStub(channel, callOptions);
        }
      };
    return MilvusServiceStub.newStub(factory, channel);
  }

  /**
   * Creates a new blocking-style stub that supports unary and streaming output calls on the service
   */
  public static MilvusServiceBlockingStub newBlockingStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public MilvusServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new MilvusServiceBlockingStub(channel, callOptions);
        }
      };
    return MilvusServiceBlockingStub.newStub(factory, channel);
  }

  /**
   * Creates a new ListenableFuture-style stub that supports unary calls on the service
   */
  public static MilvusServiceFutureStub newFutureStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public MilvusServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new MilvusServiceFutureStub(channel, callOptions);
        }
      };
    return MilvusServiceFutureStub.newStub(factory, channel);
  }

  /**
   */
  public static abstract class MilvusServiceImplBase implements io.grpc.BindableService {

    /**
     */
    public void createCollection(io.milvus.grpc.CreateCollectionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCollectionMethod(), responseObserver);
    }

    /**
     */
    public void dropCollection(io.milvus.grpc.DropCollectionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropCollectionMethod(), responseObserver);
    }

    /**
     */
    public void hasCollection(io.milvus.grpc.HasCollectionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getHasCollectionMethod(), responseObserver);
    }

    /**
     */
    public void loadCollection(io.milvus.grpc.LoadCollectionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLoadCollectionMethod(), responseObserver);
    }

    /**
     */
    public void releaseCollection(io.milvus.grpc.ReleaseCollectionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReleaseCollectionMethod(), responseObserver);
    }

    /**
     */
    public void describeCollection(io.milvus.grpc.DescribeCollectionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDescribeCollectionMethod(), responseObserver);
    }

    /**
     */
    public void getCollectionStatistics(io.milvus.grpc.GetCollectionStatisticsRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCollectionStatisticsMethod(), responseObserver);
    }

    /**
     */
    public void showCollections(io.milvus.grpc.ShowCollectionsRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getShowCollectionsMethod(), responseObserver);
    }

    /**
     */
    public void createPartition(io.milvus.grpc.CreatePartitionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreatePartitionMethod(), responseObserver);
    }

    /**
     */
    public void dropPartition(io.milvus.grpc.DropPartitionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropPartitionMethod(), responseObserver);
    }

    /**
     */
    public void hasPartition(io.milvus.grpc.HasPartitionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getHasPartitionMethod(), responseObserver);
    }

    /**
     */
    public void loadPartitions(io.milvus.grpc.LoadPartitionsRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLoadPartitionsMethod(), responseObserver);
    }

    /**
     */
    public void releasePartitions(io.milvus.grpc.ReleasePartitionsRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReleasePartitionsMethod(), responseObserver);
    }

    /**
     */
    public void getPartitionStatistics(io.milvus.grpc.GetPartitionStatisticsRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPartitionStatisticsMethod(), responseObserver);
    }

    /**
     */
    public void showPartitions(io.milvus.grpc.ShowPartitionsRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getShowPartitionsMethod(), responseObserver);
    }

    /**
     */
    public void createAlias(io.milvus.grpc.CreateAliasRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAliasMethod(), responseObserver);
    }

    /**
     */
    public void dropAlias(io.milvus.grpc.DropAliasRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropAliasMethod(), responseObserver);
    }

    /**
     */
    public void alterAlias(io.milvus.grpc.AlterAliasRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAlterAliasMethod(), responseObserver);
    }

    /**
     */
    public void createIndex(io.milvus.grpc.CreateIndexRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateIndexMethod(), responseObserver);
    }

    /**
     */
    public void describeIndex(io.milvus.grpc.DescribeIndexRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDescribeIndexMethod(), responseObserver);
    }

    /**
     */
    public void getIndexState(io.milvus.grpc.GetIndexStateRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIndexStateMethod(), responseObserver);
    }

    /**
     */
    public void getIndexBuildProgress(io.milvus.grpc.GetIndexBuildProgressRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIndexBuildProgressMethod(), responseObserver);
    }

    /**
     */
    public void dropIndex(io.milvus.grpc.DropIndexRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropIndexMethod(), responseObserver);
    }

    /**
     */
    public void insert(io.milvus.grpc.InsertRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInsertMethod(), responseObserver);
    }

    /**
     */
    public void delete(io.milvus.grpc.DeleteRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMethod(), responseObserver);
    }

    /**
     */
    public void search(io.milvus.grpc.SearchRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchMethod(), responseObserver);
    }

    /**
     */
    public void flush(io.milvus.grpc.FlushRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFlushMethod(), responseObserver);
    }

    /**
     */
    public void query(io.milvus.grpc.QueryRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryMethod(), responseObserver);
    }

    /**
     */
    public void calcDistance(io.milvus.grpc.CalcDistanceRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCalcDistanceMethod(), responseObserver);
    }

    /**
     */
    public void getFlushState(io.milvus.grpc.GetFlushStateRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFlushStateMethod(), responseObserver);
    }

    /**
     */
    public void getPersistentSegmentInfo(io.milvus.grpc.GetPersistentSegmentInfoRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPersistentSegmentInfoMethod(), responseObserver);
    }

    /**
     */
    public void getQuerySegmentInfo(io.milvus.grpc.GetQuerySegmentInfoRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQuerySegmentInfoMethod(), responseObserver);
    }

    /**
     */
    public void getReplicas(io.milvus.grpc.GetReplicasRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetReplicasMethod(), responseObserver);
    }

    /**
     */
    public void dummy(io.milvus.grpc.DummyRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDummyMethod(), responseObserver);
    }

    /**
     * 
     * TODO: remove
     * 
*/ public void registerLink(io.milvus.grpc.RegisterLinkRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRegisterLinkMethod(), responseObserver); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
     * 
*/ public void getMetrics(io.milvus.grpc.GetMetricsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMetricsMethod(), responseObserver); } /** */ public void loadBalance(io.milvus.grpc.LoadBalanceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLoadBalanceMethod(), responseObserver); } /** */ public void getCompactionState(io.milvus.grpc.GetCompactionStateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompactionStateMethod(), responseObserver); } /** */ public void manualCompaction(io.milvus.grpc.ManualCompactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getManualCompactionMethod(), responseObserver); } /** */ public void getCompactionStateWithPlans(io.milvus.grpc.GetCompactionPlansRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompactionStateWithPlansMethod(), responseObserver); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+24+--+Support+bulk+load
     * 
*/ public void import_(io.milvus.grpc.ImportRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportMethod(), responseObserver); } /** */ public void getImportState(io.milvus.grpc.GetImportStateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetImportStateMethod(), responseObserver); } /** */ public void listImportTasks(io.milvus.grpc.ListImportTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListImportTasksMethod(), responseObserver); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+27+--+Support+Basic+Authentication
     * 
*/ public void createCredential(io.milvus.grpc.CreateCredentialRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCredentialMethod(), responseObserver); } /** */ public void updateCredential(io.milvus.grpc.UpdateCredentialRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCredentialMethod(), responseObserver); } /** */ public void deleteCredential(io.milvus.grpc.DeleteCredentialRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCredentialMethod(), responseObserver); } /** */ public void listCredUsers(io.milvus.grpc.ListCredUsersRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCredUsersMethod(), responseObserver); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+29+--+Support+Role-Based+Access+Control
     * 
*/ public void createRole(io.milvus.grpc.CreateRoleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRoleMethod(), responseObserver); } /** */ public void dropRole(io.milvus.grpc.DropRoleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropRoleMethod(), responseObserver); } /** */ public void operateUserRole(io.milvus.grpc.OperateUserRoleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getOperateUserRoleMethod(), responseObserver); } /** */ public void selectRole(io.milvus.grpc.SelectRoleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSelectRoleMethod(), responseObserver); } /** */ public void selectUser(io.milvus.grpc.SelectUserRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSelectUserMethod(), responseObserver); } /** */ public void selectResource(io.milvus.grpc.SelectResourceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSelectResourceMethod(), responseObserver); } /** */ public void operatePrivilege(io.milvus.grpc.OperatePrivilegeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getOperatePrivilegeMethod(), responseObserver); } /** */ public void selectGrant(io.milvus.grpc.SelectGrantRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSelectGrantMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateCollectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.CreateCollectionRequest, io.milvus.grpc.Status>( this, METHODID_CREATE_COLLECTION))) .addMethod( getDropCollectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.DropCollectionRequest, io.milvus.grpc.Status>( this, METHODID_DROP_COLLECTION))) .addMethod( getHasCollectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.HasCollectionRequest, io.milvus.grpc.BoolResponse>( this, METHODID_HAS_COLLECTION))) .addMethod( getLoadCollectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.LoadCollectionRequest, io.milvus.grpc.Status>( this, METHODID_LOAD_COLLECTION))) .addMethod( getReleaseCollectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.ReleaseCollectionRequest, io.milvus.grpc.Status>( this, METHODID_RELEASE_COLLECTION))) .addMethod( getDescribeCollectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.DescribeCollectionRequest, io.milvus.grpc.DescribeCollectionResponse>( this, METHODID_DESCRIBE_COLLECTION))) .addMethod( getGetCollectionStatisticsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.GetCollectionStatisticsRequest, io.milvus.grpc.GetCollectionStatisticsResponse>( this, METHODID_GET_COLLECTION_STATISTICS))) .addMethod( getShowCollectionsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.ShowCollectionsRequest, io.milvus.grpc.ShowCollectionsResponse>( this, METHODID_SHOW_COLLECTIONS))) .addMethod( getCreatePartitionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.CreatePartitionRequest, io.milvus.grpc.Status>( this, METHODID_CREATE_PARTITION))) .addMethod( getDropPartitionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.DropPartitionRequest, io.milvus.grpc.Status>( this, METHODID_DROP_PARTITION))) .addMethod( getHasPartitionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.HasPartitionRequest, io.milvus.grpc.BoolResponse>( this, METHODID_HAS_PARTITION))) .addMethod( getLoadPartitionsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.LoadPartitionsRequest, io.milvus.grpc.Status>( this, METHODID_LOAD_PARTITIONS))) .addMethod( getReleasePartitionsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.ReleasePartitionsRequest, io.milvus.grpc.Status>( this, METHODID_RELEASE_PARTITIONS))) .addMethod( getGetPartitionStatisticsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.GetPartitionStatisticsRequest, io.milvus.grpc.GetPartitionStatisticsResponse>( this, METHODID_GET_PARTITION_STATISTICS))) .addMethod( getShowPartitionsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.ShowPartitionsRequest, io.milvus.grpc.ShowPartitionsResponse>( this, METHODID_SHOW_PARTITIONS))) .addMethod( getCreateAliasMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.CreateAliasRequest, io.milvus.grpc.Status>( this, METHODID_CREATE_ALIAS))) .addMethod( getDropAliasMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.DropAliasRequest, io.milvus.grpc.Status>( this, METHODID_DROP_ALIAS))) .addMethod( getAlterAliasMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.AlterAliasRequest, io.milvus.grpc.Status>( this, METHODID_ALTER_ALIAS))) .addMethod( getCreateIndexMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.CreateIndexRequest, io.milvus.grpc.Status>( this, METHODID_CREATE_INDEX))) .addMethod( getDescribeIndexMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.DescribeIndexRequest, io.milvus.grpc.DescribeIndexResponse>( this, METHODID_DESCRIBE_INDEX))) .addMethod( getGetIndexStateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.GetIndexStateRequest, io.milvus.grpc.GetIndexStateResponse>( this, METHODID_GET_INDEX_STATE))) .addMethod( getGetIndexBuildProgressMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.GetIndexBuildProgressRequest, io.milvus.grpc.GetIndexBuildProgressResponse>( this, METHODID_GET_INDEX_BUILD_PROGRESS))) .addMethod( getDropIndexMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.DropIndexRequest, io.milvus.grpc.Status>( this, METHODID_DROP_INDEX))) .addMethod( getInsertMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.InsertRequest, io.milvus.grpc.MutationResult>( this, METHODID_INSERT))) .addMethod( getDeleteMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.DeleteRequest, io.milvus.grpc.MutationResult>( this, METHODID_DELETE))) .addMethod( getSearchMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.SearchRequest, io.milvus.grpc.SearchResults>( this, METHODID_SEARCH))) .addMethod( getFlushMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.FlushRequest, io.milvus.grpc.FlushResponse>( this, METHODID_FLUSH))) .addMethod( getQueryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.QueryRequest, io.milvus.grpc.QueryResults>( this, METHODID_QUERY))) .addMethod( getCalcDistanceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.CalcDistanceRequest, io.milvus.grpc.CalcDistanceResults>( this, METHODID_CALC_DISTANCE))) .addMethod( getGetFlushStateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.GetFlushStateRequest, io.milvus.grpc.GetFlushStateResponse>( this, METHODID_GET_FLUSH_STATE))) .addMethod( getGetPersistentSegmentInfoMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.GetPersistentSegmentInfoRequest, io.milvus.grpc.GetPersistentSegmentInfoResponse>( this, METHODID_GET_PERSISTENT_SEGMENT_INFO))) .addMethod( getGetQuerySegmentInfoMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.GetQuerySegmentInfoRequest, io.milvus.grpc.GetQuerySegmentInfoResponse>( this, METHODID_GET_QUERY_SEGMENT_INFO))) .addMethod( getGetReplicasMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.GetReplicasRequest, io.milvus.grpc.GetReplicasResponse>( this, METHODID_GET_REPLICAS))) .addMethod( getDummyMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.DummyRequest, io.milvus.grpc.DummyResponse>( this, METHODID_DUMMY))) .addMethod( getRegisterLinkMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.RegisterLinkRequest, io.milvus.grpc.RegisterLinkResponse>( this, METHODID_REGISTER_LINK))) .addMethod( getGetMetricsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.GetMetricsRequest, io.milvus.grpc.GetMetricsResponse>( this, METHODID_GET_METRICS))) .addMethod( getLoadBalanceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.LoadBalanceRequest, io.milvus.grpc.Status>( this, METHODID_LOAD_BALANCE))) .addMethod( getGetCompactionStateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.GetCompactionStateRequest, io.milvus.grpc.GetCompactionStateResponse>( this, METHODID_GET_COMPACTION_STATE))) .addMethod( getManualCompactionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.ManualCompactionRequest, io.milvus.grpc.ManualCompactionResponse>( this, METHODID_MANUAL_COMPACTION))) .addMethod( getGetCompactionStateWithPlansMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.GetCompactionPlansRequest, io.milvus.grpc.GetCompactionPlansResponse>( this, METHODID_GET_COMPACTION_STATE_WITH_PLANS))) .addMethod( getImportMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.ImportRequest, io.milvus.grpc.ImportResponse>( this, METHODID_IMPORT))) .addMethod( getGetImportStateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.GetImportStateRequest, io.milvus.grpc.GetImportStateResponse>( this, METHODID_GET_IMPORT_STATE))) .addMethod( getListImportTasksMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.ListImportTasksRequest, io.milvus.grpc.ListImportTasksResponse>( this, METHODID_LIST_IMPORT_TASKS))) .addMethod( getCreateCredentialMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.CreateCredentialRequest, io.milvus.grpc.Status>( this, METHODID_CREATE_CREDENTIAL))) .addMethod( getUpdateCredentialMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.UpdateCredentialRequest, io.milvus.grpc.Status>( this, METHODID_UPDATE_CREDENTIAL))) .addMethod( getDeleteCredentialMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.DeleteCredentialRequest, io.milvus.grpc.Status>( this, METHODID_DELETE_CREDENTIAL))) .addMethod( getListCredUsersMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.ListCredUsersRequest, io.milvus.grpc.ListCredUsersResponse>( this, METHODID_LIST_CRED_USERS))) .addMethod( getCreateRoleMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.CreateRoleRequest, io.milvus.grpc.Status>( this, METHODID_CREATE_ROLE))) .addMethod( getDropRoleMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.DropRoleRequest, io.milvus.grpc.Status>( this, METHODID_DROP_ROLE))) .addMethod( getOperateUserRoleMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.OperateUserRoleRequest, io.milvus.grpc.Status>( this, METHODID_OPERATE_USER_ROLE))) .addMethod( getSelectRoleMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.SelectRoleRequest, io.milvus.grpc.SelectRoleResponse>( this, METHODID_SELECT_ROLE))) .addMethod( getSelectUserMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.SelectUserRequest, io.milvus.grpc.SelectUserResponse>( this, METHODID_SELECT_USER))) .addMethod( getSelectResourceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.SelectResourceRequest, io.milvus.grpc.SelectResourceResponse>( this, METHODID_SELECT_RESOURCE))) .addMethod( getOperatePrivilegeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.OperatePrivilegeRequest, io.milvus.grpc.Status>( this, METHODID_OPERATE_PRIVILEGE))) .addMethod( getSelectGrantMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< io.milvus.grpc.SelectGrantRequest, io.milvus.grpc.SelectGrantResponse>( this, METHODID_SELECT_GRANT))) .build(); } } /** */ public static final class MilvusServiceStub extends io.grpc.stub.AbstractAsyncStub { private MilvusServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected MilvusServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new MilvusServiceStub(channel, callOptions); } /** */ public void createCollection(io.milvus.grpc.CreateCollectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateCollectionMethod(), getCallOptions()), request, responseObserver); } /** */ public void dropCollection(io.milvus.grpc.DropCollectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDropCollectionMethod(), getCallOptions()), request, responseObserver); } /** */ public void hasCollection(io.milvus.grpc.HasCollectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getHasCollectionMethod(), getCallOptions()), request, responseObserver); } /** */ public void loadCollection(io.milvus.grpc.LoadCollectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getLoadCollectionMethod(), getCallOptions()), request, responseObserver); } /** */ public void releaseCollection(io.milvus.grpc.ReleaseCollectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getReleaseCollectionMethod(), getCallOptions()), request, responseObserver); } /** */ public void describeCollection(io.milvus.grpc.DescribeCollectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDescribeCollectionMethod(), getCallOptions()), request, responseObserver); } /** */ public void getCollectionStatistics(io.milvus.grpc.GetCollectionStatisticsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetCollectionStatisticsMethod(), getCallOptions()), request, responseObserver); } /** */ public void showCollections(io.milvus.grpc.ShowCollectionsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getShowCollectionsMethod(), getCallOptions()), request, responseObserver); } /** */ public void createPartition(io.milvus.grpc.CreatePartitionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreatePartitionMethod(), getCallOptions()), request, responseObserver); } /** */ public void dropPartition(io.milvus.grpc.DropPartitionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDropPartitionMethod(), getCallOptions()), request, responseObserver); } /** */ public void hasPartition(io.milvus.grpc.HasPartitionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getHasPartitionMethod(), getCallOptions()), request, responseObserver); } /** */ public void loadPartitions(io.milvus.grpc.LoadPartitionsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getLoadPartitionsMethod(), getCallOptions()), request, responseObserver); } /** */ public void releasePartitions(io.milvus.grpc.ReleasePartitionsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getReleasePartitionsMethod(), getCallOptions()), request, responseObserver); } /** */ public void getPartitionStatistics(io.milvus.grpc.GetPartitionStatisticsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetPartitionStatisticsMethod(), getCallOptions()), request, responseObserver); } /** */ public void showPartitions(io.milvus.grpc.ShowPartitionsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getShowPartitionsMethod(), getCallOptions()), request, responseObserver); } /** */ public void createAlias(io.milvus.grpc.CreateAliasRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateAliasMethod(), getCallOptions()), request, responseObserver); } /** */ public void dropAlias(io.milvus.grpc.DropAliasRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDropAliasMethod(), getCallOptions()), request, responseObserver); } /** */ public void alterAlias(io.milvus.grpc.AlterAliasRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getAlterAliasMethod(), getCallOptions()), request, responseObserver); } /** */ public void createIndex(io.milvus.grpc.CreateIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateIndexMethod(), getCallOptions()), request, responseObserver); } /** */ public void describeIndex(io.milvus.grpc.DescribeIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDescribeIndexMethod(), getCallOptions()), request, responseObserver); } /** */ public void getIndexState(io.milvus.grpc.GetIndexStateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetIndexStateMethod(), getCallOptions()), request, responseObserver); } /** */ public void getIndexBuildProgress(io.milvus.grpc.GetIndexBuildProgressRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetIndexBuildProgressMethod(), getCallOptions()), request, responseObserver); } /** */ public void dropIndex(io.milvus.grpc.DropIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDropIndexMethod(), getCallOptions()), request, responseObserver); } /** */ public void insert(io.milvus.grpc.InsertRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getInsertMethod(), getCallOptions()), request, responseObserver); } /** */ public void delete(io.milvus.grpc.DeleteRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteMethod(), getCallOptions()), request, responseObserver); } /** */ public void search(io.milvus.grpc.SearchRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSearchMethod(), getCallOptions()), request, responseObserver); } /** */ public void flush(io.milvus.grpc.FlushRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getFlushMethod(), getCallOptions()), request, responseObserver); } /** */ public void query(io.milvus.grpc.QueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getQueryMethod(), getCallOptions()), request, responseObserver); } /** */ public void calcDistance(io.milvus.grpc.CalcDistanceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCalcDistanceMethod(), getCallOptions()), request, responseObserver); } /** */ public void getFlushState(io.milvus.grpc.GetFlushStateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetFlushStateMethod(), getCallOptions()), request, responseObserver); } /** */ public void getPersistentSegmentInfo(io.milvus.grpc.GetPersistentSegmentInfoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetPersistentSegmentInfoMethod(), getCallOptions()), request, responseObserver); } /** */ public void getQuerySegmentInfo(io.milvus.grpc.GetQuerySegmentInfoRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQuerySegmentInfoMethod(), getCallOptions()), request, responseObserver); } /** */ public void getReplicas(io.milvus.grpc.GetReplicasRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetReplicasMethod(), getCallOptions()), request, responseObserver); } /** */ public void dummy(io.milvus.grpc.DummyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDummyMethod(), getCallOptions()), request, responseObserver); } /** *
     * TODO: remove
     * 
*/ public void registerLink(io.milvus.grpc.RegisterLinkRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRegisterLinkMethod(), getCallOptions()), request, responseObserver); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
     * 
*/ public void getMetrics(io.milvus.grpc.GetMetricsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetMetricsMethod(), getCallOptions()), request, responseObserver); } /** */ public void loadBalance(io.milvus.grpc.LoadBalanceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getLoadBalanceMethod(), getCallOptions()), request, responseObserver); } /** */ public void getCompactionState(io.milvus.grpc.GetCompactionStateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetCompactionStateMethod(), getCallOptions()), request, responseObserver); } /** */ public void manualCompaction(io.milvus.grpc.ManualCompactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getManualCompactionMethod(), getCallOptions()), request, responseObserver); } /** */ public void getCompactionStateWithPlans(io.milvus.grpc.GetCompactionPlansRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetCompactionStateWithPlansMethod(), getCallOptions()), request, responseObserver); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+24+--+Support+bulk+load
     * 
*/ public void import_(io.milvus.grpc.ImportRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getImportMethod(), getCallOptions()), request, responseObserver); } /** */ public void getImportState(io.milvus.grpc.GetImportStateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetImportStateMethod(), getCallOptions()), request, responseObserver); } /** */ public void listImportTasks(io.milvus.grpc.ListImportTasksRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListImportTasksMethod(), getCallOptions()), request, responseObserver); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+27+--+Support+Basic+Authentication
     * 
*/ public void createCredential(io.milvus.grpc.CreateCredentialRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateCredentialMethod(), getCallOptions()), request, responseObserver); } /** */ public void updateCredential(io.milvus.grpc.UpdateCredentialRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateCredentialMethod(), getCallOptions()), request, responseObserver); } /** */ public void deleteCredential(io.milvus.grpc.DeleteCredentialRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteCredentialMethod(), getCallOptions()), request, responseObserver); } /** */ public void listCredUsers(io.milvus.grpc.ListCredUsersRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListCredUsersMethod(), getCallOptions()), request, responseObserver); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+29+--+Support+Role-Based+Access+Control
     * 
*/ public void createRole(io.milvus.grpc.CreateRoleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateRoleMethod(), getCallOptions()), request, responseObserver); } /** */ public void dropRole(io.milvus.grpc.DropRoleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDropRoleMethod(), getCallOptions()), request, responseObserver); } /** */ public void operateUserRole(io.milvus.grpc.OperateUserRoleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getOperateUserRoleMethod(), getCallOptions()), request, responseObserver); } /** */ public void selectRole(io.milvus.grpc.SelectRoleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSelectRoleMethod(), getCallOptions()), request, responseObserver); } /** */ public void selectUser(io.milvus.grpc.SelectUserRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSelectUserMethod(), getCallOptions()), request, responseObserver); } /** */ public void selectResource(io.milvus.grpc.SelectResourceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSelectResourceMethod(), getCallOptions()), request, responseObserver); } /** */ public void operatePrivilege(io.milvus.grpc.OperatePrivilegeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getOperatePrivilegeMethod(), getCallOptions()), request, responseObserver); } /** */ public void selectGrant(io.milvus.grpc.SelectGrantRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSelectGrantMethod(), getCallOptions()), request, responseObserver); } } /** */ public static final class MilvusServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private MilvusServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected MilvusServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new MilvusServiceBlockingStub(channel, callOptions); } /** */ public io.milvus.grpc.Status createCollection(io.milvus.grpc.CreateCollectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateCollectionMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status dropCollection(io.milvus.grpc.DropCollectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDropCollectionMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.BoolResponse hasCollection(io.milvus.grpc.HasCollectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getHasCollectionMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status loadCollection(io.milvus.grpc.LoadCollectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLoadCollectionMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status releaseCollection(io.milvus.grpc.ReleaseCollectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getReleaseCollectionMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.DescribeCollectionResponse describeCollection(io.milvus.grpc.DescribeCollectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDescribeCollectionMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.GetCollectionStatisticsResponse getCollectionStatistics(io.milvus.grpc.GetCollectionStatisticsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetCollectionStatisticsMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.ShowCollectionsResponse showCollections(io.milvus.grpc.ShowCollectionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getShowCollectionsMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status createPartition(io.milvus.grpc.CreatePartitionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreatePartitionMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status dropPartition(io.milvus.grpc.DropPartitionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDropPartitionMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.BoolResponse hasPartition(io.milvus.grpc.HasPartitionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getHasPartitionMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status loadPartitions(io.milvus.grpc.LoadPartitionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLoadPartitionsMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status releasePartitions(io.milvus.grpc.ReleasePartitionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getReleasePartitionsMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.GetPartitionStatisticsResponse getPartitionStatistics(io.milvus.grpc.GetPartitionStatisticsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetPartitionStatisticsMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.ShowPartitionsResponse showPartitions(io.milvus.grpc.ShowPartitionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getShowPartitionsMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status createAlias(io.milvus.grpc.CreateAliasRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateAliasMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status dropAlias(io.milvus.grpc.DropAliasRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDropAliasMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status alterAlias(io.milvus.grpc.AlterAliasRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAlterAliasMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status createIndex(io.milvus.grpc.CreateIndexRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateIndexMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.DescribeIndexResponse describeIndex(io.milvus.grpc.DescribeIndexRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDescribeIndexMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.GetIndexStateResponse getIndexState(io.milvus.grpc.GetIndexStateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetIndexStateMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.GetIndexBuildProgressResponse getIndexBuildProgress(io.milvus.grpc.GetIndexBuildProgressRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetIndexBuildProgressMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status dropIndex(io.milvus.grpc.DropIndexRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDropIndexMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.MutationResult insert(io.milvus.grpc.InsertRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getInsertMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.MutationResult delete(io.milvus.grpc.DeleteRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.SearchResults search(io.milvus.grpc.SearchRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.FlushResponse flush(io.milvus.grpc.FlushRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getFlushMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.QueryResults query(io.milvus.grpc.QueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getQueryMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.CalcDistanceResults calcDistance(io.milvus.grpc.CalcDistanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCalcDistanceMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.GetFlushStateResponse getFlushState(io.milvus.grpc.GetFlushStateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetFlushStateMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.GetPersistentSegmentInfoResponse getPersistentSegmentInfo(io.milvus.grpc.GetPersistentSegmentInfoRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetPersistentSegmentInfoMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.GetQuerySegmentInfoResponse getQuerySegmentInfo(io.milvus.grpc.GetQuerySegmentInfoRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQuerySegmentInfoMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.GetReplicasResponse getReplicas(io.milvus.grpc.GetReplicasRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetReplicasMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.DummyResponse dummy(io.milvus.grpc.DummyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDummyMethod(), getCallOptions(), request); } /** *
     * TODO: remove
     * 
*/ public io.milvus.grpc.RegisterLinkResponse registerLink(io.milvus.grpc.RegisterLinkRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRegisterLinkMethod(), getCallOptions(), request); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
     * 
*/ public io.milvus.grpc.GetMetricsResponse getMetrics(io.milvus.grpc.GetMetricsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetMetricsMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status loadBalance(io.milvus.grpc.LoadBalanceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLoadBalanceMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.GetCompactionStateResponse getCompactionState(io.milvus.grpc.GetCompactionStateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetCompactionStateMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.ManualCompactionResponse manualCompaction(io.milvus.grpc.ManualCompactionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getManualCompactionMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.GetCompactionPlansResponse getCompactionStateWithPlans(io.milvus.grpc.GetCompactionPlansRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetCompactionStateWithPlansMethod(), getCallOptions(), request); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+24+--+Support+bulk+load
     * 
*/ public io.milvus.grpc.ImportResponse import_(io.milvus.grpc.ImportRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.GetImportStateResponse getImportState(io.milvus.grpc.GetImportStateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetImportStateMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.ListImportTasksResponse listImportTasks(io.milvus.grpc.ListImportTasksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListImportTasksMethod(), getCallOptions(), request); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+27+--+Support+Basic+Authentication
     * 
*/ public io.milvus.grpc.Status createCredential(io.milvus.grpc.CreateCredentialRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateCredentialMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status updateCredential(io.milvus.grpc.UpdateCredentialRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateCredentialMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status deleteCredential(io.milvus.grpc.DeleteCredentialRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteCredentialMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.ListCredUsersResponse listCredUsers(io.milvus.grpc.ListCredUsersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListCredUsersMethod(), getCallOptions(), request); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+29+--+Support+Role-Based+Access+Control
     * 
*/ public io.milvus.grpc.Status createRole(io.milvus.grpc.CreateRoleRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateRoleMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status dropRole(io.milvus.grpc.DropRoleRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDropRoleMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status operateUserRole(io.milvus.grpc.OperateUserRoleRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getOperateUserRoleMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.SelectRoleResponse selectRole(io.milvus.grpc.SelectRoleRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSelectRoleMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.SelectUserResponse selectUser(io.milvus.grpc.SelectUserRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSelectUserMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.SelectResourceResponse selectResource(io.milvus.grpc.SelectResourceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSelectResourceMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.Status operatePrivilege(io.milvus.grpc.OperatePrivilegeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getOperatePrivilegeMethod(), getCallOptions(), request); } /** */ public io.milvus.grpc.SelectGrantResponse selectGrant(io.milvus.grpc.SelectGrantRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSelectGrantMethod(), getCallOptions(), request); } } /** */ public static final class MilvusServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private MilvusServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected MilvusServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new MilvusServiceFutureStub(channel, callOptions); } /** */ public com.google.common.util.concurrent.ListenableFuture createCollection( io.milvus.grpc.CreateCollectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateCollectionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture dropCollection( io.milvus.grpc.DropCollectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDropCollectionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture hasCollection( io.milvus.grpc.HasCollectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getHasCollectionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture loadCollection( io.milvus.grpc.LoadCollectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getLoadCollectionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture releaseCollection( io.milvus.grpc.ReleaseCollectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getReleaseCollectionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture describeCollection( io.milvus.grpc.DescribeCollectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDescribeCollectionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getCollectionStatistics( io.milvus.grpc.GetCollectionStatisticsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetCollectionStatisticsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture showCollections( io.milvus.grpc.ShowCollectionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getShowCollectionsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture createPartition( io.milvus.grpc.CreatePartitionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreatePartitionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture dropPartition( io.milvus.grpc.DropPartitionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDropPartitionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture hasPartition( io.milvus.grpc.HasPartitionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getHasPartitionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture loadPartitions( io.milvus.grpc.LoadPartitionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getLoadPartitionsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture releasePartitions( io.milvus.grpc.ReleasePartitionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getReleasePartitionsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getPartitionStatistics( io.milvus.grpc.GetPartitionStatisticsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetPartitionStatisticsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture showPartitions( io.milvus.grpc.ShowPartitionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getShowPartitionsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture createAlias( io.milvus.grpc.CreateAliasRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateAliasMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture dropAlias( io.milvus.grpc.DropAliasRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDropAliasMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture alterAlias( io.milvus.grpc.AlterAliasRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAlterAliasMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture createIndex( io.milvus.grpc.CreateIndexRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateIndexMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture describeIndex( io.milvus.grpc.DescribeIndexRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDescribeIndexMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getIndexState( io.milvus.grpc.GetIndexStateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIndexStateMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getIndexBuildProgress( io.milvus.grpc.GetIndexBuildProgressRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIndexBuildProgressMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture dropIndex( io.milvus.grpc.DropIndexRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDropIndexMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture insert( io.milvus.grpc.InsertRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getInsertMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture delete( io.milvus.grpc.DeleteRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture search( io.milvus.grpc.SearchRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSearchMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture flush( io.milvus.grpc.FlushRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getFlushMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture query( io.milvus.grpc.QueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getQueryMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture calcDistance( io.milvus.grpc.CalcDistanceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCalcDistanceMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getFlushState( io.milvus.grpc.GetFlushStateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetFlushStateMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getPersistentSegmentInfo( io.milvus.grpc.GetPersistentSegmentInfoRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetPersistentSegmentInfoMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getQuerySegmentInfo( io.milvus.grpc.GetQuerySegmentInfoRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQuerySegmentInfoMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getReplicas( io.milvus.grpc.GetReplicasRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetReplicasMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture dummy( io.milvus.grpc.DummyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDummyMethod(), getCallOptions()), request); } /** *
     * TODO: remove
     * 
*/ public com.google.common.util.concurrent.ListenableFuture registerLink( io.milvus.grpc.RegisterLinkRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRegisterLinkMethod(), getCallOptions()), request); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getMetrics( io.milvus.grpc.GetMetricsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetMetricsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture loadBalance( io.milvus.grpc.LoadBalanceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getLoadBalanceMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getCompactionState( io.milvus.grpc.GetCompactionStateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetCompactionStateMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture manualCompaction( io.milvus.grpc.ManualCompactionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getManualCompactionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getCompactionStateWithPlans( io.milvus.grpc.GetCompactionPlansRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetCompactionStateWithPlansMethod(), getCallOptions()), request); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+24+--+Support+bulk+load
     * 
*/ public com.google.common.util.concurrent.ListenableFuture import_( io.milvus.grpc.ImportRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getImportMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getImportState( io.milvus.grpc.GetImportStateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetImportStateMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture listImportTasks( io.milvus.grpc.ListImportTasksRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListImportTasksMethod(), getCallOptions()), request); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+27+--+Support+Basic+Authentication
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createCredential( io.milvus.grpc.CreateCredentialRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateCredentialMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture updateCredential( io.milvus.grpc.UpdateCredentialRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateCredentialMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture deleteCredential( io.milvus.grpc.DeleteCredentialRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteCredentialMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture listCredUsers( io.milvus.grpc.ListCredUsersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListCredUsersMethod(), getCallOptions()), request); } /** *
     * https://wiki.lfaidata.foundation/display/MIL/MEP+29+--+Support+Role-Based+Access+Control
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createRole( io.milvus.grpc.CreateRoleRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateRoleMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture dropRole( io.milvus.grpc.DropRoleRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDropRoleMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture operateUserRole( io.milvus.grpc.OperateUserRoleRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getOperateUserRoleMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture selectRole( io.milvus.grpc.SelectRoleRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSelectRoleMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture selectUser( io.milvus.grpc.SelectUserRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSelectUserMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture selectResource( io.milvus.grpc.SelectResourceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSelectResourceMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture operatePrivilege( io.milvus.grpc.OperatePrivilegeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getOperatePrivilegeMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture selectGrant( io.milvus.grpc.SelectGrantRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSelectGrantMethod(), getCallOptions()), request); } } private static final int METHODID_CREATE_COLLECTION = 0; private static final int METHODID_DROP_COLLECTION = 1; private static final int METHODID_HAS_COLLECTION = 2; private static final int METHODID_LOAD_COLLECTION = 3; private static final int METHODID_RELEASE_COLLECTION = 4; private static final int METHODID_DESCRIBE_COLLECTION = 5; private static final int METHODID_GET_COLLECTION_STATISTICS = 6; private static final int METHODID_SHOW_COLLECTIONS = 7; private static final int METHODID_CREATE_PARTITION = 8; private static final int METHODID_DROP_PARTITION = 9; private static final int METHODID_HAS_PARTITION = 10; private static final int METHODID_LOAD_PARTITIONS = 11; private static final int METHODID_RELEASE_PARTITIONS = 12; private static final int METHODID_GET_PARTITION_STATISTICS = 13; private static final int METHODID_SHOW_PARTITIONS = 14; private static final int METHODID_CREATE_ALIAS = 15; private static final int METHODID_DROP_ALIAS = 16; private static final int METHODID_ALTER_ALIAS = 17; private static final int METHODID_CREATE_INDEX = 18; private static final int METHODID_DESCRIBE_INDEX = 19; private static final int METHODID_GET_INDEX_STATE = 20; private static final int METHODID_GET_INDEX_BUILD_PROGRESS = 21; private static final int METHODID_DROP_INDEX = 22; private static final int METHODID_INSERT = 23; private static final int METHODID_DELETE = 24; private static final int METHODID_SEARCH = 25; private static final int METHODID_FLUSH = 26; private static final int METHODID_QUERY = 27; private static final int METHODID_CALC_DISTANCE = 28; private static final int METHODID_GET_FLUSH_STATE = 29; private static final int METHODID_GET_PERSISTENT_SEGMENT_INFO = 30; private static final int METHODID_GET_QUERY_SEGMENT_INFO = 31; private static final int METHODID_GET_REPLICAS = 32; private static final int METHODID_DUMMY = 33; private static final int METHODID_REGISTER_LINK = 34; private static final int METHODID_GET_METRICS = 35; private static final int METHODID_LOAD_BALANCE = 36; private static final int METHODID_GET_COMPACTION_STATE = 37; private static final int METHODID_MANUAL_COMPACTION = 38; private static final int METHODID_GET_COMPACTION_STATE_WITH_PLANS = 39; private static final int METHODID_IMPORT = 40; private static final int METHODID_GET_IMPORT_STATE = 41; private static final int METHODID_LIST_IMPORT_TASKS = 42; private static final int METHODID_CREATE_CREDENTIAL = 43; private static final int METHODID_UPDATE_CREDENTIAL = 44; private static final int METHODID_DELETE_CREDENTIAL = 45; private static final int METHODID_LIST_CRED_USERS = 46; private static final int METHODID_CREATE_ROLE = 47; private static final int METHODID_DROP_ROLE = 48; private static final int METHODID_OPERATE_USER_ROLE = 49; private static final int METHODID_SELECT_ROLE = 50; private static final int METHODID_SELECT_USER = 51; private static final int METHODID_SELECT_RESOURCE = 52; private static final int METHODID_OPERATE_PRIVILEGE = 53; private static final int METHODID_SELECT_GRANT = 54; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, io.grpc.stub.ServerCalls.ServerStreamingMethod, io.grpc.stub.ServerCalls.ClientStreamingMethod, io.grpc.stub.ServerCalls.BidiStreamingMethod { private final MilvusServiceImplBase serviceImpl; private final int methodId; MethodHandlers(MilvusServiceImplBase serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_COLLECTION: serviceImpl.createCollection((io.milvus.grpc.CreateCollectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DROP_COLLECTION: serviceImpl.dropCollection((io.milvus.grpc.DropCollectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_HAS_COLLECTION: serviceImpl.hasCollection((io.milvus.grpc.HasCollectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LOAD_COLLECTION: serviceImpl.loadCollection((io.milvus.grpc.LoadCollectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RELEASE_COLLECTION: serviceImpl.releaseCollection((io.milvus.grpc.ReleaseCollectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_COLLECTION: serviceImpl.describeCollection((io.milvus.grpc.DescribeCollectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_COLLECTION_STATISTICS: serviceImpl.getCollectionStatistics((io.milvus.grpc.GetCollectionStatisticsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SHOW_COLLECTIONS: serviceImpl.showCollections((io.milvus.grpc.ShowCollectionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_PARTITION: serviceImpl.createPartition((io.milvus.grpc.CreatePartitionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DROP_PARTITION: serviceImpl.dropPartition((io.milvus.grpc.DropPartitionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_HAS_PARTITION: serviceImpl.hasPartition((io.milvus.grpc.HasPartitionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LOAD_PARTITIONS: serviceImpl.loadPartitions((io.milvus.grpc.LoadPartitionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RELEASE_PARTITIONS: serviceImpl.releasePartitions((io.milvus.grpc.ReleasePartitionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_PARTITION_STATISTICS: serviceImpl.getPartitionStatistics((io.milvus.grpc.GetPartitionStatisticsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SHOW_PARTITIONS: serviceImpl.showPartitions((io.milvus.grpc.ShowPartitionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_ALIAS: serviceImpl.createAlias((io.milvus.grpc.CreateAliasRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DROP_ALIAS: serviceImpl.dropAlias((io.milvus.grpc.DropAliasRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ALTER_ALIAS: serviceImpl.alterAlias((io.milvus.grpc.AlterAliasRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_INDEX: serviceImpl.createIndex((io.milvus.grpc.CreateIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_INDEX: serviceImpl.describeIndex((io.milvus.grpc.DescribeIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_INDEX_STATE: serviceImpl.getIndexState((io.milvus.grpc.GetIndexStateRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_INDEX_BUILD_PROGRESS: serviceImpl.getIndexBuildProgress((io.milvus.grpc.GetIndexBuildProgressRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DROP_INDEX: serviceImpl.dropIndex((io.milvus.grpc.DropIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_INSERT: serviceImpl.insert((io.milvus.grpc.InsertRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE: serviceImpl.delete((io.milvus.grpc.DeleteRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SEARCH: serviceImpl.search((io.milvus.grpc.SearchRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_FLUSH: serviceImpl.flush((io.milvus.grpc.FlushRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_QUERY: serviceImpl.query((io.milvus.grpc.QueryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CALC_DISTANCE: serviceImpl.calcDistance((io.milvus.grpc.CalcDistanceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_FLUSH_STATE: serviceImpl.getFlushState((io.milvus.grpc.GetFlushStateRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_PERSISTENT_SEGMENT_INFO: serviceImpl.getPersistentSegmentInfo((io.milvus.grpc.GetPersistentSegmentInfoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_QUERY_SEGMENT_INFO: serviceImpl.getQuerySegmentInfo((io.milvus.grpc.GetQuerySegmentInfoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_REPLICAS: serviceImpl.getReplicas((io.milvus.grpc.GetReplicasRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DUMMY: serviceImpl.dummy((io.milvus.grpc.DummyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_REGISTER_LINK: serviceImpl.registerLink((io.milvus.grpc.RegisterLinkRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_METRICS: serviceImpl.getMetrics((io.milvus.grpc.GetMetricsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LOAD_BALANCE: serviceImpl.loadBalance((io.milvus.grpc.LoadBalanceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_COMPACTION_STATE: serviceImpl.getCompactionState((io.milvus.grpc.GetCompactionStateRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_MANUAL_COMPACTION: serviceImpl.manualCompaction((io.milvus.grpc.ManualCompactionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_COMPACTION_STATE_WITH_PLANS: serviceImpl.getCompactionStateWithPlans((io.milvus.grpc.GetCompactionPlansRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_IMPORT: serviceImpl.import_((io.milvus.grpc.ImportRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IMPORT_STATE: serviceImpl.getImportState((io.milvus.grpc.GetImportStateRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_IMPORT_TASKS: serviceImpl.listImportTasks((io.milvus.grpc.ListImportTasksRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_CREDENTIAL: serviceImpl.createCredential((io.milvus.grpc.CreateCredentialRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_CREDENTIAL: serviceImpl.updateCredential((io.milvus.grpc.UpdateCredentialRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_CREDENTIAL: serviceImpl.deleteCredential((io.milvus.grpc.DeleteCredentialRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_CRED_USERS: serviceImpl.listCredUsers((io.milvus.grpc.ListCredUsersRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_ROLE: serviceImpl.createRole((io.milvus.grpc.CreateRoleRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DROP_ROLE: serviceImpl.dropRole((io.milvus.grpc.DropRoleRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_OPERATE_USER_ROLE: serviceImpl.operateUserRole((io.milvus.grpc.OperateUserRoleRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SELECT_ROLE: serviceImpl.selectRole((io.milvus.grpc.SelectRoleRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SELECT_USER: serviceImpl.selectUser((io.milvus.grpc.SelectUserRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SELECT_RESOURCE: serviceImpl.selectResource((io.milvus.grpc.SelectResourceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_OPERATE_PRIVILEGE: serviceImpl.operatePrivilege((io.milvus.grpc.OperatePrivilegeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SELECT_GRANT: serviceImpl.selectGrant((io.milvus.grpc.SelectGrantRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); } } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { default: throw new AssertionError(); } } } private static abstract class MilvusServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { MilvusServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return io.milvus.grpc.MilvusProto.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("MilvusService"); } } private static final class MilvusServiceFileDescriptorSupplier extends MilvusServiceBaseDescriptorSupplier { MilvusServiceFileDescriptorSupplier() {} } private static final class MilvusServiceMethodDescriptorSupplier extends MilvusServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; MilvusServiceMethodDescriptorSupplier(String methodName) { this.methodName = methodName; } @java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (MilvusServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new MilvusServiceFileDescriptorSupplier()) .addMethod(getCreateCollectionMethod()) .addMethod(getDropCollectionMethod()) .addMethod(getHasCollectionMethod()) .addMethod(getLoadCollectionMethod()) .addMethod(getReleaseCollectionMethod()) .addMethod(getDescribeCollectionMethod()) .addMethod(getGetCollectionStatisticsMethod()) .addMethod(getShowCollectionsMethod()) .addMethod(getCreatePartitionMethod()) .addMethod(getDropPartitionMethod()) .addMethod(getHasPartitionMethod()) .addMethod(getLoadPartitionsMethod()) .addMethod(getReleasePartitionsMethod()) .addMethod(getGetPartitionStatisticsMethod()) .addMethod(getShowPartitionsMethod()) .addMethod(getCreateAliasMethod()) .addMethod(getDropAliasMethod()) .addMethod(getAlterAliasMethod()) .addMethod(getCreateIndexMethod()) .addMethod(getDescribeIndexMethod()) .addMethod(getGetIndexStateMethod()) .addMethod(getGetIndexBuildProgressMethod()) .addMethod(getDropIndexMethod()) .addMethod(getInsertMethod()) .addMethod(getDeleteMethod()) .addMethod(getSearchMethod()) .addMethod(getFlushMethod()) .addMethod(getQueryMethod()) .addMethod(getCalcDistanceMethod()) .addMethod(getGetFlushStateMethod()) .addMethod(getGetPersistentSegmentInfoMethod()) .addMethod(getGetQuerySegmentInfoMethod()) .addMethod(getGetReplicasMethod()) .addMethod(getDummyMethod()) .addMethod(getRegisterLinkMethod()) .addMethod(getGetMetricsMethod()) .addMethod(getLoadBalanceMethod()) .addMethod(getGetCompactionStateMethod()) .addMethod(getManualCompactionMethod()) .addMethod(getGetCompactionStateWithPlansMethod()) .addMethod(getImportMethod()) .addMethod(getGetImportStateMethod()) .addMethod(getListImportTasksMethod()) .addMethod(getCreateCredentialMethod()) .addMethod(getUpdateCredentialMethod()) .addMethod(getDeleteCredentialMethod()) .addMethod(getListCredUsersMethod()) .addMethod(getCreateRoleMethod()) .addMethod(getDropRoleMethod()) .addMethod(getOperateUserRoleMethod()) .addMethod(getSelectRoleMethod()) .addMethod(getSelectUserMethod()) .addMethod(getSelectResourceMethod()) .addMethod(getOperatePrivilegeMethod()) .addMethod(getSelectGrantMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy