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

cz.proto.ingestion.v2.IGSRouterServiceGrpc Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package cz.proto.ingestion.v2;

import static io.grpc.MethodDescriptor.generateFullMethodName;

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

  private IGSRouterServiceGrpc() {}

  public static final String SERVICE_NAME = "cz.proto.ingestion.v2.IGSRouterService";

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

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetControllerAddress",
      requestType = cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest.class,
      responseType = cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetControllerAddressMethod() {
    io.grpc.MethodDescriptor getGetControllerAddressMethod;
    if ((getGetControllerAddressMethod = IGSRouterServiceGrpc.getGetControllerAddressMethod) == null) {
      synchronized (IGSRouterServiceGrpc.class) {
        if ((getGetControllerAddressMethod = IGSRouterServiceGrpc.getGetControllerAddressMethod) == null) {
          IGSRouterServiceGrpc.getGetControllerAddressMethod = getGetControllerAddressMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetControllerAddress"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse.getDefaultInstance()))
              .setSchemaDescriptor(new IGSRouterServiceMethodDescriptorSupplier("GetControllerAddress"))
              .build();
        }
      }
    }
    return getGetControllerAddressMethod;
  }

  private static volatile io.grpc.MethodDescriptor getUpdateRouteRuleMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "UpdateRouteRule",
      requestType = cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest.class,
      responseType = cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getUpdateRouteRuleMethod() {
    io.grpc.MethodDescriptor getUpdateRouteRuleMethod;
    if ((getUpdateRouteRuleMethod = IGSRouterServiceGrpc.getUpdateRouteRuleMethod) == null) {
      synchronized (IGSRouterServiceGrpc.class) {
        if ((getUpdateRouteRuleMethod = IGSRouterServiceGrpc.getUpdateRouteRuleMethod) == null) {
          IGSRouterServiceGrpc.getUpdateRouteRuleMethod = getUpdateRouteRuleMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRouteRule"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse.getDefaultInstance()))
              .setSchemaDescriptor(new IGSRouterServiceMethodDescriptorSupplier("UpdateRouteRule"))
              .build();
        }
      }
    }
    return getUpdateRouteRuleMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRemoveRouteRuleMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "RemoveRouteRule",
      requestType = cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest.class,
      responseType = cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRemoveRouteRuleMethod() {
    io.grpc.MethodDescriptor getRemoveRouteRuleMethod;
    if ((getRemoveRouteRuleMethod = IGSRouterServiceGrpc.getRemoveRouteRuleMethod) == null) {
      synchronized (IGSRouterServiceGrpc.class) {
        if ((getRemoveRouteRuleMethod = IGSRouterServiceGrpc.getRemoveRouteRuleMethod) == null) {
          IGSRouterServiceGrpc.getRemoveRouteRuleMethod = getRemoveRouteRuleMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveRouteRule"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse.getDefaultInstance()))
              .setSchemaDescriptor(new IGSRouterServiceMethodDescriptorSupplier("RemoveRouteRule"))
              .build();
        }
      }
    }
    return getRemoveRouteRuleMethod;
  }

  private static volatile io.grpc.MethodDescriptor getChangeDefaultServiceMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ChangeDefaultService",
      requestType = cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest.class,
      responseType = cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getChangeDefaultServiceMethod() {
    io.grpc.MethodDescriptor getChangeDefaultServiceMethod;
    if ((getChangeDefaultServiceMethod = IGSRouterServiceGrpc.getChangeDefaultServiceMethod) == null) {
      synchronized (IGSRouterServiceGrpc.class) {
        if ((getChangeDefaultServiceMethod = IGSRouterServiceGrpc.getChangeDefaultServiceMethod) == null) {
          IGSRouterServiceGrpc.getChangeDefaultServiceMethod = getChangeDefaultServiceMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChangeDefaultService"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse.getDefaultInstance()))
              .setSchemaDescriptor(new IGSRouterServiceMethodDescriptorSupplier("ChangeDefaultService"))
              .build();
        }
      }
    }
    return getChangeDefaultServiceMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRegisterNewServiceMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "RegisterNewService",
      requestType = cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest.class,
      responseType = cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRegisterNewServiceMethod() {
    io.grpc.MethodDescriptor getRegisterNewServiceMethod;
    if ((getRegisterNewServiceMethod = IGSRouterServiceGrpc.getRegisterNewServiceMethod) == null) {
      synchronized (IGSRouterServiceGrpc.class) {
        if ((getRegisterNewServiceMethod = IGSRouterServiceGrpc.getRegisterNewServiceMethod) == null) {
          IGSRouterServiceGrpc.getRegisterNewServiceMethod = getRegisterNewServiceMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterNewService"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse.getDefaultInstance()))
              .setSchemaDescriptor(new IGSRouterServiceMethodDescriptorSupplier("RegisterNewService"))
              .build();
        }
      }
    }
    return getRegisterNewServiceMethod;
  }

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

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

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

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

    /**
     */
    public void getControllerAddress(cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetControllerAddressMethod(), responseObserver);
    }

    /**
     * 
     * route maintains api
     * 
*/ public void updateRouteRule(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRouteRuleMethod(), responseObserver); } /** */ public void removeRouteRule(cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveRouteRuleMethod(), responseObserver); } /** */ public void changeDefaultService(cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChangeDefaultServiceMethod(), responseObserver); } /** *
     * controller will call this api to register to router
     * 
*/ public void registerNewService(cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRegisterNewServiceMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getGetControllerAddressMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest, cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse>( this, METHODID_GET_CONTROLLER_ADDRESS))) .addMethod( getUpdateRouteRuleMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest, cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse>( this, METHODID_UPDATE_ROUTE_RULE))) .addMethod( getRemoveRouteRuleMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest, cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse>( this, METHODID_REMOVE_ROUTE_RULE))) .addMethod( getChangeDefaultServiceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest, cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse>( this, METHODID_CHANGE_DEFAULT_SERVICE))) .addMethod( getRegisterNewServiceMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest, cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse>( this, METHODID_REGISTER_NEW_SERVICE))) .build(); } } /** */ public static final class IGSRouterServiceStub extends io.grpc.stub.AbstractAsyncStub { private IGSRouterServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected IGSRouterServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new IGSRouterServiceStub(channel, callOptions); } /** */ public void getControllerAddress(cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetControllerAddressMethod(), getCallOptions()), request, responseObserver); } /** *
     * route maintains api
     * 
*/ public void updateRouteRule(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateRouteRuleMethod(), getCallOptions()), request, responseObserver); } /** */ public void removeRouteRule(cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRemoveRouteRuleMethod(), getCallOptions()), request, responseObserver); } /** */ public void changeDefaultService(cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getChangeDefaultServiceMethod(), getCallOptions()), request, responseObserver); } /** *
     * controller will call this api to register to router
     * 
*/ public void registerNewService(cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRegisterNewServiceMethod(), getCallOptions()), request, responseObserver); } } /** */ public static final class IGSRouterServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private IGSRouterServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected IGSRouterServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new IGSRouterServiceBlockingStub(channel, callOptions); } /** */ public cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse getControllerAddress(cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetControllerAddressMethod(), getCallOptions(), request); } /** *
     * route maintains api
     * 
*/ public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse updateRouteRule(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateRouteRuleMethod(), getCallOptions(), request); } /** */ public cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse removeRouteRule(cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRemoveRouteRuleMethod(), getCallOptions(), request); } /** */ public cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse changeDefaultService(cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getChangeDefaultServiceMethod(), getCallOptions(), request); } /** *
     * controller will call this api to register to router
     * 
*/ public cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse registerNewService(cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRegisterNewServiceMethod(), getCallOptions(), request); } } /** */ public static final class IGSRouterServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private IGSRouterServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected IGSRouterServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new IGSRouterServiceFutureStub(channel, callOptions); } /** */ public com.google.common.util.concurrent.ListenableFuture getControllerAddress( cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetControllerAddressMethod(), getCallOptions()), request); } /** *
     * route maintains api
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateRouteRule( cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateRouteRuleMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture removeRouteRule( cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRemoveRouteRuleMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture changeDefaultService( cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getChangeDefaultServiceMethod(), getCallOptions()), request); } /** *
     * controller will call this api to register to router
     * 
*/ public com.google.common.util.concurrent.ListenableFuture registerNewService( cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRegisterNewServiceMethod(), getCallOptions()), request); } } private static final int METHODID_GET_CONTROLLER_ADDRESS = 0; private static final int METHODID_UPDATE_ROUTE_RULE = 1; private static final int METHODID_REMOVE_ROUTE_RULE = 2; private static final int METHODID_CHANGE_DEFAULT_SERVICE = 3; private static final int METHODID_REGISTER_NEW_SERVICE = 4; 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 IGSRouterServiceImplBase serviceImpl; private final int methodId; MethodHandlers(IGSRouterServiceImplBase 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_GET_CONTROLLER_ADDRESS: serviceImpl.getControllerAddress((cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_ROUTE_RULE: serviceImpl.updateRouteRule((cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_REMOVE_ROUTE_RULE: serviceImpl.removeRouteRule((cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHANGE_DEFAULT_SERVICE: serviceImpl.changeDefaultService((cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_REGISTER_NEW_SERVICE: serviceImpl.registerNewService((cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest) 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 IGSRouterServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { IGSRouterServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return cz.proto.ingestion.v2.IngestionV2.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("IGSRouterService"); } } private static final class IGSRouterServiceFileDescriptorSupplier extends IGSRouterServiceBaseDescriptorSupplier { IGSRouterServiceFileDescriptorSupplier() {} } private static final class IGSRouterServiceMethodDescriptorSupplier extends IGSRouterServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; IGSRouterServiceMethodDescriptorSupplier(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 (IGSRouterServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new IGSRouterServiceFileDescriptorSupplier()) .addMethod(getGetControllerAddressMethod()) .addMethod(getUpdateRouteRuleMethod()) .addMethod(getRemoveRouteRuleMethod()) .addMethod(getChangeDefaultServiceMethod()) .addMethod(getRegisterNewServiceMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy