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

grpc.control_client.ScsControlGrpc Maven / Gradle / Ivy

There is a newer version: 0.119.4
Show newest version
package grpc.control_client;

import static io.grpc.MethodDescriptor.generateFullMethodName;

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

  private ScsControlGrpc() {}

  public static final String SERVICE_NAME = "control_client.ScsControl";

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

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateCache",
      requestType = grpc.control_client._CreateCacheRequest.class,
      responseType = grpc.control_client._CreateCacheResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateCacheMethod() {
    io.grpc.MethodDescriptor getCreateCacheMethod;
    if ((getCreateCacheMethod = ScsControlGrpc.getCreateCacheMethod) == null) {
      synchronized (ScsControlGrpc.class) {
        if ((getCreateCacheMethod = ScsControlGrpc.getCreateCacheMethod) == null) {
          ScsControlGrpc.getCreateCacheMethod = getCreateCacheMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCache"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._CreateCacheRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._CreateCacheResponse.getDefaultInstance()))
              .setSchemaDescriptor(new ScsControlMethodDescriptorSupplier("CreateCache"))
              .build();
        }
      }
    }
    return getCreateCacheMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteCacheMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DeleteCache",
      requestType = grpc.control_client._DeleteCacheRequest.class,
      responseType = grpc.control_client._DeleteCacheResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteCacheMethod() {
    io.grpc.MethodDescriptor getDeleteCacheMethod;
    if ((getDeleteCacheMethod = ScsControlGrpc.getDeleteCacheMethod) == null) {
      synchronized (ScsControlGrpc.class) {
        if ((getDeleteCacheMethod = ScsControlGrpc.getDeleteCacheMethod) == null) {
          ScsControlGrpc.getDeleteCacheMethod = getDeleteCacheMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCache"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._DeleteCacheRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._DeleteCacheResponse.getDefaultInstance()))
              .setSchemaDescriptor(new ScsControlMethodDescriptorSupplier("DeleteCache"))
              .build();
        }
      }
    }
    return getDeleteCacheMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListCachesMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ListCaches",
      requestType = grpc.control_client._ListCachesRequest.class,
      responseType = grpc.control_client._ListCachesResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getListCachesMethod() {
    io.grpc.MethodDescriptor getListCachesMethod;
    if ((getListCachesMethod = ScsControlGrpc.getListCachesMethod) == null) {
      synchronized (ScsControlGrpc.class) {
        if ((getListCachesMethod = ScsControlGrpc.getListCachesMethod) == null) {
          ScsControlGrpc.getListCachesMethod = getListCachesMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCaches"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._ListCachesRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._ListCachesResponse.getDefaultInstance()))
              .setSchemaDescriptor(new ScsControlMethodDescriptorSupplier("ListCaches"))
              .build();
        }
      }
    }
    return getListCachesMethod;
  }

  private static volatile io.grpc.MethodDescriptor getFlushCacheMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "FlushCache",
      requestType = grpc.control_client._FlushCacheRequest.class,
      responseType = grpc.control_client._FlushCacheResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getFlushCacheMethod() {
    io.grpc.MethodDescriptor getFlushCacheMethod;
    if ((getFlushCacheMethod = ScsControlGrpc.getFlushCacheMethod) == null) {
      synchronized (ScsControlGrpc.class) {
        if ((getFlushCacheMethod = ScsControlGrpc.getFlushCacheMethod) == null) {
          ScsControlGrpc.getFlushCacheMethod = getFlushCacheMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FlushCache"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._FlushCacheRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._FlushCacheResponse.getDefaultInstance()))
              .setSchemaDescriptor(new ScsControlMethodDescriptorSupplier("FlushCache"))
              .build();
        }
      }
    }
    return getFlushCacheMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCreateSigningKeyMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateSigningKey",
      requestType = grpc.control_client._CreateSigningKeyRequest.class,
      responseType = grpc.control_client._CreateSigningKeyResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateSigningKeyMethod() {
    io.grpc.MethodDescriptor getCreateSigningKeyMethod;
    if ((getCreateSigningKeyMethod = ScsControlGrpc.getCreateSigningKeyMethod) == null) {
      synchronized (ScsControlGrpc.class) {
        if ((getCreateSigningKeyMethod = ScsControlGrpc.getCreateSigningKeyMethod) == null) {
          ScsControlGrpc.getCreateSigningKeyMethod = getCreateSigningKeyMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSigningKey"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._CreateSigningKeyRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._CreateSigningKeyResponse.getDefaultInstance()))
              .setSchemaDescriptor(new ScsControlMethodDescriptorSupplier("CreateSigningKey"))
              .build();
        }
      }
    }
    return getCreateSigningKeyMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRevokeSigningKeyMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "RevokeSigningKey",
      requestType = grpc.control_client._RevokeSigningKeyRequest.class,
      responseType = grpc.control_client._RevokeSigningKeyResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRevokeSigningKeyMethod() {
    io.grpc.MethodDescriptor getRevokeSigningKeyMethod;
    if ((getRevokeSigningKeyMethod = ScsControlGrpc.getRevokeSigningKeyMethod) == null) {
      synchronized (ScsControlGrpc.class) {
        if ((getRevokeSigningKeyMethod = ScsControlGrpc.getRevokeSigningKeyMethod) == null) {
          ScsControlGrpc.getRevokeSigningKeyMethod = getRevokeSigningKeyMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RevokeSigningKey"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._RevokeSigningKeyRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._RevokeSigningKeyResponse.getDefaultInstance()))
              .setSchemaDescriptor(new ScsControlMethodDescriptorSupplier("RevokeSigningKey"))
              .build();
        }
      }
    }
    return getRevokeSigningKeyMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListSigningKeysMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ListSigningKeys",
      requestType = grpc.control_client._ListSigningKeysRequest.class,
      responseType = grpc.control_client._ListSigningKeysResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getListSigningKeysMethod() {
    io.grpc.MethodDescriptor getListSigningKeysMethod;
    if ((getListSigningKeysMethod = ScsControlGrpc.getListSigningKeysMethod) == null) {
      synchronized (ScsControlGrpc.class) {
        if ((getListSigningKeysMethod = ScsControlGrpc.getListSigningKeysMethod) == null) {
          ScsControlGrpc.getListSigningKeysMethod = getListSigningKeysMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSigningKeys"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._ListSigningKeysRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._ListSigningKeysResponse.getDefaultInstance()))
              .setSchemaDescriptor(new ScsControlMethodDescriptorSupplier("ListSigningKeys"))
              .build();
        }
      }
    }
    return getListSigningKeysMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCreateIndexMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateIndex",
      requestType = grpc.control_client._CreateIndexRequest.class,
      responseType = grpc.control_client._CreateIndexResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateIndexMethod() {
    io.grpc.MethodDescriptor getCreateIndexMethod;
    if ((getCreateIndexMethod = ScsControlGrpc.getCreateIndexMethod) == null) {
      synchronized (ScsControlGrpc.class) {
        if ((getCreateIndexMethod = ScsControlGrpc.getCreateIndexMethod) == null) {
          ScsControlGrpc.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(
                  grpc.control_client._CreateIndexRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._CreateIndexResponse.getDefaultInstance()))
              .setSchemaDescriptor(new ScsControlMethodDescriptorSupplier("CreateIndex"))
              .build();
        }
      }
    }
    return getCreateIndexMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteIndexMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DeleteIndex",
      requestType = grpc.control_client._DeleteIndexRequest.class,
      responseType = grpc.control_client._DeleteIndexResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteIndexMethod() {
    io.grpc.MethodDescriptor getDeleteIndexMethod;
    if ((getDeleteIndexMethod = ScsControlGrpc.getDeleteIndexMethod) == null) {
      synchronized (ScsControlGrpc.class) {
        if ((getDeleteIndexMethod = ScsControlGrpc.getDeleteIndexMethod) == null) {
          ScsControlGrpc.getDeleteIndexMethod = getDeleteIndexMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIndex"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._DeleteIndexRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._DeleteIndexResponse.getDefaultInstance()))
              .setSchemaDescriptor(new ScsControlMethodDescriptorSupplier("DeleteIndex"))
              .build();
        }
      }
    }
    return getDeleteIndexMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListIndexesMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ListIndexes",
      requestType = grpc.control_client._ListIndexesRequest.class,
      responseType = grpc.control_client._ListIndexesResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getListIndexesMethod() {
    io.grpc.MethodDescriptor getListIndexesMethod;
    if ((getListIndexesMethod = ScsControlGrpc.getListIndexesMethod) == null) {
      synchronized (ScsControlGrpc.class) {
        if ((getListIndexesMethod = ScsControlGrpc.getListIndexesMethod) == null) {
          ScsControlGrpc.getListIndexesMethod = getListIndexesMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIndexes"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._ListIndexesRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._ListIndexesResponse.getDefaultInstance()))
              .setSchemaDescriptor(new ScsControlMethodDescriptorSupplier("ListIndexes"))
              .build();
        }
      }
    }
    return getListIndexesMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCreateStoreMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateStore",
      requestType = grpc.control_client._CreateStoreRequest.class,
      responseType = grpc.control_client._CreateStoreResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateStoreMethod() {
    io.grpc.MethodDescriptor getCreateStoreMethod;
    if ((getCreateStoreMethod = ScsControlGrpc.getCreateStoreMethod) == null) {
      synchronized (ScsControlGrpc.class) {
        if ((getCreateStoreMethod = ScsControlGrpc.getCreateStoreMethod) == null) {
          ScsControlGrpc.getCreateStoreMethod = getCreateStoreMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateStore"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._CreateStoreRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._CreateStoreResponse.getDefaultInstance()))
              .setSchemaDescriptor(new ScsControlMethodDescriptorSupplier("CreateStore"))
              .build();
        }
      }
    }
    return getCreateStoreMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteStoreMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DeleteStore",
      requestType = grpc.control_client._DeleteStoreRequest.class,
      responseType = grpc.control_client._DeleteStoreResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteStoreMethod() {
    io.grpc.MethodDescriptor getDeleteStoreMethod;
    if ((getDeleteStoreMethod = ScsControlGrpc.getDeleteStoreMethod) == null) {
      synchronized (ScsControlGrpc.class) {
        if ((getDeleteStoreMethod = ScsControlGrpc.getDeleteStoreMethod) == null) {
          ScsControlGrpc.getDeleteStoreMethod = getDeleteStoreMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteStore"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._DeleteStoreRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._DeleteStoreResponse.getDefaultInstance()))
              .setSchemaDescriptor(new ScsControlMethodDescriptorSupplier("DeleteStore"))
              .build();
        }
      }
    }
    return getDeleteStoreMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListStoresMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ListStores",
      requestType = grpc.control_client._ListStoresRequest.class,
      responseType = grpc.control_client._ListStoresResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getListStoresMethod() {
    io.grpc.MethodDescriptor getListStoresMethod;
    if ((getListStoresMethod = ScsControlGrpc.getListStoresMethod) == null) {
      synchronized (ScsControlGrpc.class) {
        if ((getListStoresMethod = ScsControlGrpc.getListStoresMethod) == null) {
          ScsControlGrpc.getListStoresMethod = getListStoresMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListStores"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._ListStoresRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  grpc.control_client._ListStoresResponse.getDefaultInstance()))
              .setSchemaDescriptor(new ScsControlMethodDescriptorSupplier("ListStores"))
              .build();
        }
      }
    }
    return getListStoresMethod;
  }

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

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

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

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

    /**
     */
    public void createCache(grpc.control_client._CreateCacheRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCacheMethod(), responseObserver);
    }

    /**
     */
    public void deleteCache(grpc.control_client._DeleteCacheRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCacheMethod(), responseObserver);
    }

    /**
     */
    public void listCaches(grpc.control_client._ListCachesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCachesMethod(), responseObserver);
    }

    /**
     */
    public void flushCache(grpc.control_client._FlushCacheRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFlushCacheMethod(), responseObserver);
    }

    /**
     */
    public void createSigningKey(grpc.control_client._CreateSigningKeyRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSigningKeyMethod(), responseObserver);
    }

    /**
     */
    public void revokeSigningKey(grpc.control_client._RevokeSigningKeyRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRevokeSigningKeyMethod(), responseObserver);
    }

    /**
     */
    public void listSigningKeys(grpc.control_client._ListSigningKeysRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSigningKeysMethod(), responseObserver);
    }

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

    /**
     */
    public void deleteIndex(grpc.control_client._DeleteIndexRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteIndexMethod(), responseObserver);
    }

    /**
     */
    public void listIndexes(grpc.control_client._ListIndexesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListIndexesMethod(), responseObserver);
    }

    /**
     */
    public void createStore(grpc.control_client._CreateStoreRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateStoreMethod(), responseObserver);
    }

    /**
     */
    public void deleteStore(grpc.control_client._DeleteStoreRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteStoreMethod(), responseObserver);
    }

    /**
     */
    public void listStores(grpc.control_client._ListStoresRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListStoresMethod(), responseObserver);
    }

    @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
      return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
          .addMethod(
            getCreateCacheMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.control_client._CreateCacheRequest,
                grpc.control_client._CreateCacheResponse>(
                  this, METHODID_CREATE_CACHE)))
          .addMethod(
            getDeleteCacheMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.control_client._DeleteCacheRequest,
                grpc.control_client._DeleteCacheResponse>(
                  this, METHODID_DELETE_CACHE)))
          .addMethod(
            getListCachesMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.control_client._ListCachesRequest,
                grpc.control_client._ListCachesResponse>(
                  this, METHODID_LIST_CACHES)))
          .addMethod(
            getFlushCacheMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.control_client._FlushCacheRequest,
                grpc.control_client._FlushCacheResponse>(
                  this, METHODID_FLUSH_CACHE)))
          .addMethod(
            getCreateSigningKeyMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.control_client._CreateSigningKeyRequest,
                grpc.control_client._CreateSigningKeyResponse>(
                  this, METHODID_CREATE_SIGNING_KEY)))
          .addMethod(
            getRevokeSigningKeyMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.control_client._RevokeSigningKeyRequest,
                grpc.control_client._RevokeSigningKeyResponse>(
                  this, METHODID_REVOKE_SIGNING_KEY)))
          .addMethod(
            getListSigningKeysMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.control_client._ListSigningKeysRequest,
                grpc.control_client._ListSigningKeysResponse>(
                  this, METHODID_LIST_SIGNING_KEYS)))
          .addMethod(
            getCreateIndexMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.control_client._CreateIndexRequest,
                grpc.control_client._CreateIndexResponse>(
                  this, METHODID_CREATE_INDEX)))
          .addMethod(
            getDeleteIndexMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.control_client._DeleteIndexRequest,
                grpc.control_client._DeleteIndexResponse>(
                  this, METHODID_DELETE_INDEX)))
          .addMethod(
            getListIndexesMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.control_client._ListIndexesRequest,
                grpc.control_client._ListIndexesResponse>(
                  this, METHODID_LIST_INDEXES)))
          .addMethod(
            getCreateStoreMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.control_client._CreateStoreRequest,
                grpc.control_client._CreateStoreResponse>(
                  this, METHODID_CREATE_STORE)))
          .addMethod(
            getDeleteStoreMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.control_client._DeleteStoreRequest,
                grpc.control_client._DeleteStoreResponse>(
                  this, METHODID_DELETE_STORE)))
          .addMethod(
            getListStoresMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                grpc.control_client._ListStoresRequest,
                grpc.control_client._ListStoresResponse>(
                  this, METHODID_LIST_STORES)))
          .build();
    }
  }

  /**
   */
  public static final class ScsControlStub extends io.grpc.stub.AbstractAsyncStub {
    private ScsControlStub(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected ScsControlStub build(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      return new ScsControlStub(channel, callOptions);
    }

    /**
     */
    public void createCache(grpc.control_client._CreateCacheRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getCreateCacheMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void deleteCache(grpc.control_client._DeleteCacheRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getDeleteCacheMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void listCaches(grpc.control_client._ListCachesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getListCachesMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void flushCache(grpc.control_client._FlushCacheRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getFlushCacheMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void createSigningKey(grpc.control_client._CreateSigningKeyRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getCreateSigningKeyMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void revokeSigningKey(grpc.control_client._RevokeSigningKeyRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getRevokeSigningKeyMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void listSigningKeys(grpc.control_client._ListSigningKeysRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getListSigningKeysMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void createIndex(grpc.control_client._CreateIndexRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getCreateIndexMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void deleteIndex(grpc.control_client._DeleteIndexRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void listIndexes(grpc.control_client._ListIndexesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getListIndexesMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void createStore(grpc.control_client._CreateStoreRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getCreateStoreMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void deleteStore(grpc.control_client._DeleteStoreRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getDeleteStoreMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void listStores(grpc.control_client._ListStoresRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getListStoresMethod(), getCallOptions()), request, responseObserver);
    }
  }

  /**
   */
  public static final class ScsControlBlockingStub extends io.grpc.stub.AbstractBlockingStub {
    private ScsControlBlockingStub(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected ScsControlBlockingStub build(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      return new ScsControlBlockingStub(channel, callOptions);
    }

    /**
     */
    public grpc.control_client._CreateCacheResponse createCache(grpc.control_client._CreateCacheRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getCreateCacheMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.control_client._DeleteCacheResponse deleteCache(grpc.control_client._DeleteCacheRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getDeleteCacheMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.control_client._ListCachesResponse listCaches(grpc.control_client._ListCachesRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getListCachesMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.control_client._FlushCacheResponse flushCache(grpc.control_client._FlushCacheRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getFlushCacheMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.control_client._CreateSigningKeyResponse createSigningKey(grpc.control_client._CreateSigningKeyRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getCreateSigningKeyMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.control_client._RevokeSigningKeyResponse revokeSigningKey(grpc.control_client._RevokeSigningKeyRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getRevokeSigningKeyMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.control_client._ListSigningKeysResponse listSigningKeys(grpc.control_client._ListSigningKeysRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getListSigningKeysMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.control_client._CreateIndexResponse createIndex(grpc.control_client._CreateIndexRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getCreateIndexMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.control_client._DeleteIndexResponse deleteIndex(grpc.control_client._DeleteIndexRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getDeleteIndexMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.control_client._ListIndexesResponse listIndexes(grpc.control_client._ListIndexesRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getListIndexesMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.control_client._CreateStoreResponse createStore(grpc.control_client._CreateStoreRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getCreateStoreMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.control_client._DeleteStoreResponse deleteStore(grpc.control_client._DeleteStoreRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getDeleteStoreMethod(), getCallOptions(), request);
    }

    /**
     */
    public grpc.control_client._ListStoresResponse listStores(grpc.control_client._ListStoresRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getListStoresMethod(), getCallOptions(), request);
    }
  }

  /**
   */
  public static final class ScsControlFutureStub extends io.grpc.stub.AbstractFutureStub {
    private ScsControlFutureStub(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected ScsControlFutureStub build(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      return new ScsControlFutureStub(channel, callOptions);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture createCache(
        grpc.control_client._CreateCacheRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getCreateCacheMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture deleteCache(
        grpc.control_client._DeleteCacheRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getDeleteCacheMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture listCaches(
        grpc.control_client._ListCachesRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getListCachesMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture flushCache(
        grpc.control_client._FlushCacheRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getFlushCacheMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture createSigningKey(
        grpc.control_client._CreateSigningKeyRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getCreateSigningKeyMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture revokeSigningKey(
        grpc.control_client._RevokeSigningKeyRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getRevokeSigningKeyMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture listSigningKeys(
        grpc.control_client._ListSigningKeysRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getListSigningKeysMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture createIndex(
        grpc.control_client._CreateIndexRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getCreateIndexMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture deleteIndex(
        grpc.control_client._DeleteIndexRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture listIndexes(
        grpc.control_client._ListIndexesRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getListIndexesMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture createStore(
        grpc.control_client._CreateStoreRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getCreateStoreMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture deleteStore(
        grpc.control_client._DeleteStoreRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getDeleteStoreMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture listStores(
        grpc.control_client._ListStoresRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getListStoresMethod(), getCallOptions()), request);
    }
  }

  private static final int METHODID_CREATE_CACHE = 0;
  private static final int METHODID_DELETE_CACHE = 1;
  private static final int METHODID_LIST_CACHES = 2;
  private static final int METHODID_FLUSH_CACHE = 3;
  private static final int METHODID_CREATE_SIGNING_KEY = 4;
  private static final int METHODID_REVOKE_SIGNING_KEY = 5;
  private static final int METHODID_LIST_SIGNING_KEYS = 6;
  private static final int METHODID_CREATE_INDEX = 7;
  private static final int METHODID_DELETE_INDEX = 8;
  private static final int METHODID_LIST_INDEXES = 9;
  private static final int METHODID_CREATE_STORE = 10;
  private static final int METHODID_DELETE_STORE = 11;
  private static final int METHODID_LIST_STORES = 12;

  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 ScsControlImplBase serviceImpl;
    private final int methodId;

    MethodHandlers(ScsControlImplBase 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_CACHE:
          serviceImpl.createCache((grpc.control_client._CreateCacheRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_DELETE_CACHE:
          serviceImpl.deleteCache((grpc.control_client._DeleteCacheRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_LIST_CACHES:
          serviceImpl.listCaches((grpc.control_client._ListCachesRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_FLUSH_CACHE:
          serviceImpl.flushCache((grpc.control_client._FlushCacheRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_CREATE_SIGNING_KEY:
          serviceImpl.createSigningKey((grpc.control_client._CreateSigningKeyRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_REVOKE_SIGNING_KEY:
          serviceImpl.revokeSigningKey((grpc.control_client._RevokeSigningKeyRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_LIST_SIGNING_KEYS:
          serviceImpl.listSigningKeys((grpc.control_client._ListSigningKeysRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_CREATE_INDEX:
          serviceImpl.createIndex((grpc.control_client._CreateIndexRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_DELETE_INDEX:
          serviceImpl.deleteIndex((grpc.control_client._DeleteIndexRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_LIST_INDEXES:
          serviceImpl.listIndexes((grpc.control_client._ListIndexesRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_CREATE_STORE:
          serviceImpl.createStore((grpc.control_client._CreateStoreRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_DELETE_STORE:
          serviceImpl.deleteStore((grpc.control_client._DeleteStoreRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_LIST_STORES:
          serviceImpl.listStores((grpc.control_client._ListStoresRequest) 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 ScsControlBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
    ScsControlBaseDescriptorSupplier() {}

    @java.lang.Override
    public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
      return grpc.control_client.Controlclient.getDescriptor();
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
      return getFileDescriptor().findServiceByName("ScsControl");
    }
  }

  private static final class ScsControlFileDescriptorSupplier
      extends ScsControlBaseDescriptorSupplier {
    ScsControlFileDescriptorSupplier() {}
  }

  private static final class ScsControlMethodDescriptorSupplier
      extends ScsControlBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
    private final String methodName;

    ScsControlMethodDescriptorSupplier(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 (ScsControlGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
              .setSchemaDescriptor(new ScsControlFileDescriptorSupplier())
              .addMethod(getCreateCacheMethod())
              .addMethod(getDeleteCacheMethod())
              .addMethod(getListCachesMethod())
              .addMethod(getFlushCacheMethod())
              .addMethod(getCreateSigningKeyMethod())
              .addMethod(getRevokeSigningKeyMethod())
              .addMethod(getListSigningKeysMethod())
              .addMethod(getCreateIndexMethod())
              .addMethod(getDeleteIndexMethod())
              .addMethod(getListIndexesMethod())
              .addMethod(getCreateStoreMethod())
              .addMethod(getDeleteStoreMethod())
              .addMethod(getListStoresMethod())
              .build();
        }
      }
    }
    return result;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy