@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CancelWorkflowInstance", requestType = io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest.class, responseType = io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest, io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse> getCancelWorkflowInstanceMethod() { io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest, io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse> getCancelWorkflowInstanceMethod; if ((getCancelWorkflowInstanceMethod = GatewayGrpc.getCancelWorkflowInstanceMethod) == null) { synchronized (GatewayGrpc.class) { if ((getCancelWorkflowInstanceMethod = GatewayGrpc.getCancelWorkflowInstanceMethod) == null) { GatewayGrpc.getCancelWorkflowInstanceMethod = getCancelWorkflowInstanceMethod = io.grpc.MethodDescriptor.<io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest, io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "gateway_protocol.Gateway", "CancelWorkflowInstance")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse.getDefaultInstance())) .setSchemaDescriptor(new GatewayMethodDescriptorSupplier("CancelWorkflowInstance")) .build(); } } } return getCancelWorkflowInstanceMethod; }
public static CancelWorkflowInstanceResponse toCancelWorkflowInstanceResponse( long key, WorkflowInstanceRecord brokerResponse) { return CancelWorkflowInstanceResponse.getDefaultInstance(); }
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse getDefaultInstanceForType() { return io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse.getDefaultInstance(); }
public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }