public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowResponse other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowResponse.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(); } if (!other.getResourceName().isEmpty()) { resourceName_ = other.resourceName_; onChanged(); } if (!other.getBpmnXml().isEmpty()) { bpmnXml_ = other.bpmnXml_; 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> * a BPMN XML representation of the workflow * </pre> * * <code>string bpmnXml = 5;</code> */ public Builder clearBpmnXml() { bpmnXml_ = getDefaultInstance().getBpmnXml(); onChanged(); return this; } /**
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowResponse getDefaultInstanceForType() { return io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowResponse.getDefaultInstance(); }
/** * <pre> * the name of the resource used to deployed the workflow * </pre> * * <code>string resourceName = 4;</code> */ public Builder clearResourceName() { resourceName_ = getDefaultInstance().getResourceName(); onChanged(); return this; } /**
/** * <pre> * the BPMN process ID of the workflow definition * </pre> * * <code>string bpmnProcessId = 3;</code> */ public Builder clearBpmnProcessId() { bpmnProcessId_ = getDefaultInstance().getBpmnProcessId(); onChanged(); return this; } /**