public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowRequest other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowRequest.getDefaultInstance()) return this; if (other.getWorkflowKey() != 0L) { setWorkflowKey(other.getWorkflowKey()); } if (other.getVersion() != 0) { setVersion(other.getVersion()); } if (!other.getBpmnProcessId().isEmpty()) { bpmnProcessId_ = other.bpmnProcessId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetWorkflow", requestType = io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowRequest.class, responseType = io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowRequest, io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowResponse> getGetWorkflowMethod() { io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowRequest, io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowResponse> getGetWorkflowMethod; if ((getGetWorkflowMethod = GatewayGrpc.getGetWorkflowMethod) == null) { synchronized (GatewayGrpc.class) { if ((getGetWorkflowMethod = GatewayGrpc.getGetWorkflowMethod) == null) { GatewayGrpc.getGetWorkflowMethod = getGetWorkflowMethod = io.grpc.MethodDescriptor.<io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowRequest, io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "gateway_protocol.Gateway", "GetWorkflow")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowResponse.getDefaultInstance())) .setSchemaDescriptor(new GatewayMethodDescriptorSupplier("GetWorkflow")) .build(); } } } return getGetWorkflowMethod; }
/** * <pre> * the BPMN process ID of the workflow definition * </pre> * * <code>string bpmnProcessId = 3;</code> */ public Builder clearBpmnProcessId() { bpmnProcessId_ = getDefaultInstance().getBpmnProcessId(); onChanged(); return this; } /**
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowRequest getDefaultInstanceForType() { return io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowRequest.getDefaultInstance(); }