@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; }
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest getDefaultInstanceForType() { return io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest.getDefaultInstance(); }
public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest.getDefaultInstance()) return this; if (other.getWorkflowInstanceKey() != 0L) { setWorkflowInstanceKey(other.getWorkflowInstanceKey()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }