Refine search
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getGetConfigurationMethod(), asyncUnaryCall( new MethodHandlers< alluxio.grpc.GetConfigurationPOptions, alluxio.grpc.GetConfigurationPResponse>( this, METHODID_GET_CONFIGURATION))) .build(); } }
Builder addService(ServerServiceDefinition service) { services.put(service.getServiceDescriptor().getName(), service); return this; }
public void removeService(ServerServiceDefinition service) { if (service != null) { for (ServerMethodDefinition<?, ?> method : service.getMethods()) { methods.remove(method.getMethodDescriptor().getFullMethodName()); } } }
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( METHOD_LEASE_GRANT, asyncUnaryCall( new MethodHandlers< etcdserverpb.Rpc.LeaseGrantRequest, etcdserverpb.Rpc.LeaseGrantResponse>( this, METHODID_LEASE_GRANT))) .addMethod( METHOD_LEASE_REVOKE, asyncUnaryCall( new MethodHandlers< etcdserverpb.Rpc.LeaseRevokeRequest, etcdserverpb.Rpc.LeaseRevokeResponse>( this, METHODID_LEASE_REVOKE))) .addMethod( METHOD_LEASE_KEEP_ALIVE, asyncBidiStreamingCall( new MethodHandlers< etcdserverpb.Rpc.LeaseKeepAliveRequest,
@java.lang.Override public io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( METHOD_GET_FEATURE, asyncUnaryCall( new MethodHandlers< io.grpc.examples.routeguide.Point, io.grpc.examples.routeguide.Feature>( this, METHODID_GET_FEATURE))) .addMethod( METHOD_LIST_FEATURES, asyncServerStreamingCall( new MethodHandlers< io.grpc.examples.routeguide.Rectangle, io.grpc.examples.routeguide.Feature>( this, METHODID_LIST_FEATURES))) .addMethod( METHOD_RECORD_ROUTE, asyncClientStreamingCall( new MethodHandlers< io.grpc.examples.routeguide.Point,
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( METHOD_ALARM, asyncUnaryCall( new MethodHandlers< etcdserverpb.Rpc.AlarmRequest, etcdserverpb.Rpc.AlarmResponse>( this, METHODID_ALARM))) .addMethod( METHOD_STATUS, asyncUnaryCall( new MethodHandlers< etcdserverpb.Rpc.StatusRequest, etcdserverpb.Rpc.StatusResponse>( this, METHODID_STATUS))) .addMethod( METHOD_DEFRAGMENT, asyncUnaryCall( new MethodHandlers< etcdserverpb.Rpc.DefragmentRequest,
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( METHOD_WATCH, asyncBidiStreamingCall( new MethodHandlers< etcdserverpb.Rpc.WatchRequest, etcdserverpb.Rpc.WatchResponse>( this, METHODID_WATCH))) .build(); } }
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getOpenStreamMethod(), asyncBidiStreamingCall( new MethodHandlers< io.axoniq.axonserver.grpc.query.QueryProviderOutbound, io.axoniq.axonserver.grpc.query.QueryProviderInbound>( this, METHODID_OPEN_STREAM))) .addMethod( getQueryMethod(), asyncServerStreamingCall( new MethodHandlers< io.axoniq.axonserver.grpc.query.QueryRequest, io.axoniq.axonserver.grpc.query.QueryResponse>( this, METHODID_QUERY))) .addMethod( getSubscriptionMethod(), asyncBidiStreamingCall( new MethodHandlers< io.axoniq.axonserver.grpc.query.SubscriptionQueryRequest, io.axoniq.axonserver.grpc.query.SubscriptionQueryResponse>( this, METHODID_SUBSCRIPTION))) .build(); } }
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getStreamingOutputCallMethod(), asyncServerStreamingCall( new VertxMethodHandlers< io.vertx.example.grpc.Messages.StreamingOutputCallRequest, io.vertx.example.grpc.Messages.StreamingOutputCallResponse>( this, METHODID_STREAMING_OUTPUT_CALL))) .build(); } }
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getStreamingInputCallMethod(), asyncClientStreamingCall( new MethodHandlers< io.vertx.example.grpc.Messages.StreamingInputCallRequest, io.vertx.example.grpc.Messages.StreamingInputCallResponse>( this, METHODID_STREAMING_INPUT_CALL))) .build(); } }
@SuppressWarnings({"unchecked", "rawtypes"}) public static ServerServiceDefinition getServiceDefByAnnotation(Class<?> clazz) throws Exception { ServiceDescriptor serviceDesc = getServiceDesc(getGrpcClassName(clazz)); io.grpc.ServerServiceDefinition.Builder builder = io.grpc.ServerServiceDefinition.builder(serviceDesc); for (MethodDescriptor<?, ?> methodDesc : serviceDesc.getMethods()) { builder.addMethod(methodDesc, new MotanServerCallHandler()); } return builder.build(); }
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getDetectIntentMethodHelper(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.DetectIntentRequest, com.google.cloud.dialogflow.v2beta1.DetectIntentResponse>( this, METHODID_DETECT_INTENT))) .addMethod( getStreamingDetectIntentMethodHelper(), asyncBidiStreamingCall( new MethodHandlers< com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest, com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse>( this, METHODID_STREAMING_DETECT_INTENT))) .build(); } }
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getGetFeatureMethod(), asyncUnaryCall( new VertxMethodHandlers< io.grpc.examples.routeguide.Point, io.grpc.examples.routeguide.Feature>( this, METHODID_GET_FEATURE))) .addMethod( getListFeaturesMethod(), asyncServerStreamingCall( new VertxMethodHandlers< io.grpc.examples.routeguide.Rectangle, io.grpc.examples.routeguide.Feature>( this, METHODID_LIST_FEATURES))) .addMethod( getRecordRouteMethod(), asyncClientStreamingCall( new VertxMethodHandlers< io.grpc.examples.routeguide.Point,
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateReadSessionMethodHelper(), asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession>( this, METHODID_CREATE_READ_SESSION))) .addMethod( getReadRowsMethodHelper(), asyncServerStreamingCall( new MethodHandlers< com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse>( this, METHODID_READ_ROWS))) .addMethod( getBatchCreateReadSessionStreamsMethodHelper(), asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.storage.v1beta1.Storage
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getAuthenticateMethod(), asyncBidiStreamingCall( new MethodHandlers< alluxio.grpc.SaslMessage, alluxio.grpc.SaslMessage>( this, METHODID_AUTHENTICATE))) .build(); } }
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getStreamingOutputCallMethod(), asyncServerStreamingCall( new MethodHandlers< io.vertx.example.grpc.Messages.StreamingOutputCallRequest, io.vertx.example.grpc.Messages.StreamingOutputCallResponse>( this, METHODID_STREAMING_OUTPUT_CALL))) .build(); } }
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getStreamingInputCallMethod(), asyncClientStreamingCall( new VertxMethodHandlers< io.vertx.example.grpc.Messages.StreamingInputCallRequest, io.vertx.example.grpc.Messages.StreamingInputCallResponse>( this, METHODID_STREAMING_INPUT_CALL))) .build(); } }
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getMetricsHeartbeatMethod(), asyncUnaryCall( new MethodHandlers< alluxio.grpc.MetricsHeartbeatPRequest, alluxio.grpc.MetricsHeartbeatPResponse>( this, METHODID_METRICS_HEARTBEAT))) .build(); } }
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getDetectIntentMethodHelper(), asyncUnaryCall( new MethodHandlers< com.google.cloud.dialogflow.v2.DetectIntentRequest, com.google.cloud.dialogflow.v2.DetectIntentResponse>( this, METHODID_DETECT_INTENT))) .addMethod( getStreamingDetectIntentMethodHelper(), asyncBidiStreamingCall( new MethodHandlers< com.google.cloud.dialogflow.v2.StreamingDetectIntentRequest, com.google.cloud.dialogflow.v2.StreamingDetectIntentResponse>( this, METHODID_STREAMING_DETECT_INTENT))) .build(); } }
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getGetFeatureMethod(), asyncUnaryCall( new MethodHandlers< io.grpc.examples.routeguide.Point, io.grpc.examples.routeguide.Feature>( this, METHODID_GET_FEATURE))) .addMethod( getListFeaturesMethod(), asyncServerStreamingCall( new MethodHandlers< io.grpc.examples.routeguide.Rectangle, io.grpc.examples.routeguide.Feature>( this, METHODID_LIST_FEATURES))) .addMethod( getRecordRouteMethod(), asyncClientStreamingCall( new MethodHandlers< io.grpc.examples.routeguide.Point,