@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ResolveIncident",
requestType = io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest.class,
responseType = io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest,
io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse> getResolveIncidentMethod() {
io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest, io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse> getResolveIncidentMethod;
if ((getResolveIncidentMethod = GatewayGrpc.getResolveIncidentMethod) == null) {
synchronized (GatewayGrpc.class) {
if ((getResolveIncidentMethod = GatewayGrpc.getResolveIncidentMethod) == null) {
GatewayGrpc.getResolveIncidentMethod = getResolveIncidentMethod =
io.grpc.MethodDescriptor.<io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest, io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"gateway_protocol.Gateway", "ResolveIncident"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse.getDefaultInstance()))
.setSchemaDescriptor(new GatewayMethodDescriptorSupplier("ResolveIncident"))
.build();
}
}
}
return getResolveIncidentMethod;
}